Counterfactual Consistency Prompting
What it does
A two-step prompting method where the model first answers a counterfactual (opposite) question and then answers the original question taking the first answer into account. This forces the LLM to consider both sides of the problem, reducing contradictions and improving the accuracy of logical reasoning through internal consistency checking.
When it helps
Apply the counterfactual alignment method when you need to obtain logically consistent and well-founded answers to complex questions, especially those concerning temporal relationships, cause-and-effect relationships, or decision-making. Particularly effective in situations where the model tends to give contradictory answers to mutually exclusive questions. Suitable for critical tasks requiring fact-checking, alternative analysis, and hallucination reduction. Use when working with temporal sequences
A prompt you can paste
Generic by design: it applies the technique without knowing your task. Adapt the marked parts.
You are an expert in applying advanced prompt engineering techniques to enhance LLM reasoning. Your task is to create a reusable prompt template that leverages Counterfactual Consistency Prompting (CCP) for improved relative temporal understanding and reduced contradictions.
**Objective:** To generate a prompt structure that forces an LLM to consistently consider mutually exclusive temporal alternatives, thereby increasing the accuracy and coherence of its responses.
---
### **Core Task:**
Analyze a given scenario involving multiple events and determine their temporal relationship (e.g., which event occurred before, after, or concurrently).
### **Prompt Structure:**
**Role:** You are an AI assistant tasked with analyzing temporal relationships between events with high accuracy and logical consistency.
**Context:**
[**USER: INSERT SCENARIO DESCRIPTION HERE.** This should detail the events and any known temporal information or ambiguities. For example: "Consider a sequence of events: Event A, Event B, and Event C. We know that Event B happened after Event A. However, the relationship between Event B and Event C is unclear."]
**Instructions:**
1. **Counterfactual Analysis (Step 1):**
* First, address the **opposite** temporal relationship for the primary point of ambiguity.
* Specifically, consider the question: "[**USER: INSERT COUNTERFACTUAL TEMPORAL QUESTION HERE.** For example: 'Did Event C happen *before* Event B?']"
* Provide a detailed reasoning for why this counterfactual scenario might be true or false, based on the provided context. Explain any implications if this counterfactual were the case.
2. **Consistent Analysis (Step 2):**
* Now, taking into account the reasoning and potential implications from the counterfactual analysis in Step 1, address the **original** temporal relationship.
* Specifically, answer the question: "[**USER: INSERT ORIGINAL TEMPORAL QUESTION HERE.** For example: 'Did Event C happen *after* Event B?']"
* Provide a clear, definitive answer, supported by a logical explanation that reconciles with your analysis in Step 1. Ensure there are no contradictions.
**Output Format:**
Present your response clearly, with distinct sections for the Counterfactual Analysis and the Consistent Analysis. Use bullet points for reasoning where appropriate.
If this one does not fit, the two closest alternatives in the corpus are Anti-Bias Prompting and Tabular Prompting, which target the same failure from a different angle.
Worked example
The same technique applied to a concrete job: work through a multi-step planning problem. Use it as the pattern for your own case rather than as a finished artefact.
You are an expert AI assistant specializing in logical reasoning and problem-solving, particularly in tasks requiring temporal understanding and consistency. **Task:** Develop a multi-step plan to address a complex problem. **Problem Context:** You need to create a plan for a new marketing campaign for a hypothetical product. The campaign has several interconnected phases, and the timing of each phase is critical for its success. **Product:** "Chrono-Sync" - a smart wearable device that helps users manage their time and productivity by synchronizing their digital calendars with their physical environment. **Campaign Goal:** Generate pre-orders and build initial brand awareness. **Key Campaign Phases & Dependencies:** 1. **Phase 1: Market Research & Strategy Definition.** This must be completed *before* Phase 2. 2. **Phase 2: Creative Asset Development (Ad copy, visuals).** This must be completed *before* Phase 3. 3. **Phase 3: Pre-launch Teaser Campaign.** This must start *after* Phase 2 is complete and run for 2 weeks. 4. **Phase 4: Official Launch & Pre-order Window.** This must start *after* Phase 3 has concluded and run for 4 weeks. 5. **Phase 5: Post-launch Analysis & Optimization.** This begins immediately *after* Phase 4 ends. **Your Goal:** Create a detailed, step-by-step plan for this marketing campaign, ensuring temporal consistency and avoiding contradictions. **Instructions (Counterfactual Consistency Prompting Method):** **STEP 1: Analyze the "NOT" Scenarios (Counterfactual Analysis)** For each critical temporal dependency listed above, first describe why the campaign would **FAIL** or be **significantly hampered** if the order or duration of the phases were incorrect. Be specific about the negative consequences. For example: * If Phase 1 is not completed *before* Phase 2: What specific problems arise in Phase 2? * If Phase 3 does not start *after* Phase 2: What is lost? * If Phase 4 does not start *after* Phase 3: What are the risks? * If Phase 5 does not start *after* Phase 4: What opportunities are missed? **STEP 2: Develop the Consistent Plan** Now, **using the insights gained from Step 1** (i.e., understanding the critical importance of the correct sequence and timing), create a detailed, actionable plan for the "Chrono-Sync" marketing campaign. For each phase, provide: * **Phase Name:** (As listed above) * **Objective:** What is the primary goal of this phase? * **Key Activities:** Specific tasks to be performed. * **Timing:** Precise start and end dates/durations, ensuring they respect the dependencies identified in Step 1. Assume the campaign starts on **March 1st, 2025**. * **Deliverables:** What tangible outputs will this phase produce? * **Success Metrics:** How will you measure the success of this phase? **Output Format:** Present the plan clearly, using Markdown for structure. Ensure the temporal relationships between phases are explicitly stated and logically sound.
Get this written for your actual task
Paste what you are trying to do and the corpus will be matched against it directly. Free, no account, about ten seconds.
single retrieval pass
That number is low on purpose, and it is real. It is the raw similarity of one retrieval pass: no specialist read the paper, no judge compared anything, the first plausible match won.
one of which is this page
Picking the right one for a specific task is the work, and it is the work GetDecision does.
| This page | one technique, generic prompt |
| What you just ran | one technique matched to your wording, nothing verified |
| Full run | ten specialists read the papers in full, a judge ranks the top three for your task and shows its reasoning, generation on the model you pick, saved to your history |
See the top three for your taskTen specialists, a judge, and the reasoning shown. Free account, first run included.
Run the full analysis