Counterfactual reasoning: Testing language models' understanding of hypothetical scenarios
On the map: LLM reasoning → Causal reasoning in LLMs
Abstract (arXiv)
Current pre-trained language models have enabled remarkable improvements in downstream tasks, but it remains difficult to distinguish effects of statistical correlation from more systematic logical reasoning grounded on the understanding of real world. We tease these factors apart by leveraging counterfactual conditionals, which force language models to predict unusual consequences based on hypothetical propositions. We introduce a set of tests from psycholinguistic experiments, as well as larger-scale controlled datasets, to probe counterfactual predictions from five pre-trained language models. We find that models are consistently able to override real-world knowledge in counterfactual scenarios, and that this effect is more robust in case of stronger baseline world knowledge -- however, we also find that for most models this effect appears largely to be driven by simple lexical cues. When we mitigate effects of both world knowledge and lexical cues to test knowledge of linguistic nuances of counterfactuals, we find that only GPT-3 shows sensitivity to these nuances, though this sensitivity is also non-trivially impacted by lexical associative factors.
Key facts. Cited by 27 papers in the map (data through 14 Oct 2026). Placed in Causal reasoning in LLMs, one of 17 directions in LLM reasoning. Builds on 10 of its 21 references that are in the map. First posted on arXiv 26 May 2023.
Builds on
10 of 21 references.
References · 10
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 981
- 2019Explain Yourself! Leveraging Language Models for Commonsense Reasoningcited by 367
- 2022Language Models Are Greedy Reasoners: A Systematic Formal Analysis of Chain-of-Thoughtcited by 337
- 2019Probing Neural Network Comprehension of Natural Language Argumentscited by 214
- 2019Counterfactual Story Reasoning and Generationcited by 88
- 2021CRASS: A Novel Data Set and Benchmark to Test Counterfactual Reasoning of Large Language Modelscited by 34
Built on by
Citing papers per year: 2023: 5; 2024: 9; 2025: 7; 2026: 6.
27 papers.
Sort:
By area:
- 2023Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Taskscited by 246
- 2024Beyond Accuracy: Evaluating the Reasoning Behavior of Large Language Models -- A Surveycited by 83
- 2023Characterizing Mechanisms for Factual Recall in Language Modelscited by 48
- 2025Unveiling Causal Reasoning in Large Language Models: Reality or Mirage?cited by 38
- 2023Examining LLMs' Uncertainty Expression Towards Questions Outside Parametric Knowledgecited by 32
- 2024Controllable Context Sensitivity and the Knob Behind Itcited by 23
- 2023MenatQA: A New Dataset for Testing the Temporal Comprehension and Reasoning Abilities of Large Language Modelscited by 15
- 2024A Theory for Length Generalization in Learning to Reasoncited by 11
- 2024MARS: Benchmarking the Metaphysical Reasoning Abilities of Language Models with a Multi-task Evaluation Datasetcited by 11
- 2023Conditions for Length Generalization in Learning Reasoning Skillscited by 7
- 2024Pre-Trained Language Models Represent Some Geographic Populations Better Than Otherscited by 6
- 2024The Odyssey of Commonsense Causality: From Foundational Benchmarks to Cutting-Edge Reasoningcited by 5
15 more
- 2025On the Eligibility of LLMs for Counterfactual Reasoning: A Decompositional Studycited by 5
- 2025Counterfactual reasoning: an analysis of in-context emergencecited by 4
- 2025GraphLocator: Graph-guided Causal Reasoning for Issue Localizationcited by 4
- 2024The Base-Rate Effect on LLM Benchmark Performance: Disambiguating Test-Taking Strategies from Benchmark Performancecited by 3
- 2025Exploring the Hidden Reasoning Process of Large Language Models by Misleading Themcited by 3
- 2026CaSKG: Counterfactual-Causal Skill Graphs for Scalable Agent Skill Retrievalcited by 3
- 2026Evidence-Grounded Verified Agentic Reasoning: A Path Toward Eliminating LLM Hallucination in Empirical Inference via Tool-Attested Kernel Proofscited by 2
- 2024Counterfactual Reasoning with Knowledge Graph Embeddingscited by 1
- 2024ACCORD: Closing the Commonsense Measurability Gapcited by 1
- 2025Robustness of Neurosymbolic Reasoners on First-Order Logic Problemscited by 1
- 2025Catch Me If You Can: How Smaller Reasoning Models Pretend to Reason with Mathematical Fidelitycited by 0
- 2026Evaluating LLMs as Human Surrogates in Controlled Experimentscited by 0
- 2026CauSim: Scaling Causal Reasoning with Increasingly Complex Causal Simulatorscited by 0
- 2026One mechanism for many mental spaces: a shared router over a value slot in language modelscited by 0
- 2026Can AI Scientists Change Their Minds? Prior-Evidence Conflict in Synthetic Universescited by 0
- 2026Can AI Scientists Change Their Minds? Prior-Evidence Conflict in Synthetic Universes29 Sep 2026
- 2026CaSKG: Counterfactual-Causal Skill Graphs for Scalable Agent Skill Retrieval26 Aug 2026
- 2026Evidence-Grounded Verified Agentic Reasoning: A Path Toward Eliminating LLM Hallucination in Empirical Inference via Tool-Attested Kernel Proofs14 Jul 2026
- 2026One mechanism for many mental spaces: a shared router over a value slot in language models11 Jul 2026
- 2026CauSim: Scaling Causal Reasoning with Increasingly Complex Causal Simulators9 May 2026
- 2026Evaluating LLMs as Human Surrogates in Controlled Experiments8 Mar 2026
- 2025GraphLocator: Graph-guided Causal Reasoning for Issue Localization27 Dec 2025
- 2025Catch Me If You Can: How Smaller Reasoning Models Pretend to Reason with Mathematical Fidelity29 Nov 2025
- 2025Robustness of Neurosymbolic Reasoners on First-Order Logic Problems22 Sep 2025
- 2025Unveiling Causal Reasoning in Large Language Models: Reality or Mirage?26 Jun 2025
- 2025Counterfactual reasoning: an analysis of in-context emergence5 Jun 2025
- 2025On the Eligibility of LLMs for Counterfactual Reasoning: A Decompositional Study17 May 2025
15 more
- 2025Exploring the Hidden Reasoning Process of Large Language Models by Misleading Them20 Mar 2025
- 2024Controllable Context Sensitivity and the Knob Behind It11 Nov 2024
- 2024The Odyssey of Commonsense Causality: From Foundational Benchmarks to Cutting-Edge Reasoning27 Jun 2024
- 2024The Base-Rate Effect on LLM Benchmark Performance: Disambiguating Test-Taking Strategies from Benchmark Performance17 Jun 2024
- 2024ACCORD: Closing the Commonsense Measurability Gap4 Jun 2024
- 2024MARS: Benchmarking the Metaphysical Reasoning Abilities of Language Models with a Multi-task Evaluation Dataset4 Jun 2024
- 2024Beyond Accuracy: Evaluating the Reasoning Behavior of Large Language Models -- A Survey2 Apr 2024
- 2024A Theory for Length Generalization in Learning to Reason31 Mar 2024
- 2024Pre-Trained Language Models Represent Some Geographic Populations Better Than Others16 Mar 2024
- 2024Counterfactual Reasoning with Knowledge Graph Embeddings11 Mar 2024
- 2023Conditions for Length Generalization in Learning Reasoning Skills22 Nov 2023
- 2023Examining LLMs' Uncertainty Expression Towards Questions Outside Parametric Knowledge16 Nov 2023
- 2023Characterizing Mechanisms for Factual Recall in Language Models24 Oct 2023
- 2023MenatQA: A New Dataset for Testing the Temporal Comprehension and Reasoning Abilities of Large Language Models8 Oct 2023
- 2023Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Tasks5 Jul 2023
- 2023Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Taskscited by 246
- 2024Beyond Accuracy: Evaluating the Reasoning Behavior of Large Language Models -- A Surveycited by 83
- 2025Unveiling Causal Reasoning in Large Language Models: Reality or Mirage?cited by 38
- 2023MenatQA: A New Dataset for Testing the Temporal Comprehension and Reasoning Abilities of Large Language Modelscited by 15
- 2024MARS: Benchmarking the Metaphysical Reasoning Abilities of Language Models with a Multi-task Evaluation Datasetcited by 11
- 2023Conditions for Length Generalization in Learning Reasoning Skillscited by 7
- 2025On the Eligibility of LLMs for Counterfactual Reasoning: A Decompositional Studycited by 5
- 2025Counterfactual reasoning: an analysis of in-context emergencecited by 4
- 2025GraphLocator: Graph-guided Causal Reasoning for Issue Localizationcited by 4
- 2025Exploring the Hidden Reasoning Process of Large Language Models by Misleading Themcited by 3
- 2026Evidence-Grounded Verified Agentic Reasoning: A Path Toward Eliminating LLM Hallucination in Empirical Inference via Tool-Attested Kernel Proofscited by 2
- 2024ACCORD: Closing the Commonsense Measurability Gapcited by 1
12 most cited of 15 All 15 (JSON)
- 2026Evidence-Grounded Verified Agentic Reasoning: A Path Toward Eliminating LLM Hallucination in Empirical Inference via Tool-Attested Kernel Proofs14 Jul 2026
- 2026CauSim: Scaling Causal Reasoning with Increasingly Complex Causal Simulators9 May 2026
- 2025GraphLocator: Graph-guided Causal Reasoning for Issue Localization27 Dec 2025
- 2025Catch Me If You Can: How Smaller Reasoning Models Pretend to Reason with Mathematical Fidelity29 Nov 2025
- 2025Robustness of Neurosymbolic Reasoners on First-Order Logic Problems22 Sep 2025
- 2025Unveiling Causal Reasoning in Large Language Models: Reality or Mirage?26 Jun 2025
- 2025Counterfactual reasoning: an analysis of in-context emergence5 Jun 2025
- 2025On the Eligibility of LLMs for Counterfactual Reasoning: A Decompositional Study17 May 2025
- 2025Exploring the Hidden Reasoning Process of Large Language Models by Misleading Them20 Mar 2025
- 2024ACCORD: Closing the Commonsense Measurability Gap4 Jun 2024
- 2024MARS: Benchmarking the Metaphysical Reasoning Abilities of Language Models with a Multi-task Evaluation Dataset4 Jun 2024
- 2024Beyond Accuracy: Evaluating the Reasoning Behavior of Large Language Models -- A Survey2 Apr 2024
12 newest of 15 All 15 (JSON)
- 2023Characterizing Mechanisms for Factual Recall in Language Modelscited by 48
- 2023Examining LLMs' Uncertainty Expression Towards Questions Outside Parametric Knowledgecited by 32
- 2024Controllable Context Sensitivity and the Knob Behind Itcited by 23
- 2024A Theory for Length Generalization in Learning to Reasoncited by 11
- 2024Pre-Trained Language Models Represent Some Geographic Populations Better Than Otherscited by 6
- 2024The Odyssey of Commonsense Causality: From Foundational Benchmarks to Cutting-Edge Reasoningcited by 5
- 2024The Base-Rate Effect on LLM Benchmark Performance: Disambiguating Test-Taking Strategies from Benchmark Performancecited by 3
- 2024Counterfactual Reasoning with Knowledge Graph Embeddingscited by 1
- 2026One mechanism for many mental spaces: a shared router over a value slot in language modelscited by 0
- 2026Can AI Scientists Change Their Minds? Prior-Evidence Conflict in Synthetic Universescited by 0
- 2026Can AI Scientists Change Their Minds? Prior-Evidence Conflict in Synthetic Universes29 Sep 2026
- 2026One mechanism for many mental spaces: a shared router over a value slot in language models11 Jul 2026
- 2024Controllable Context Sensitivity and the Knob Behind It11 Nov 2024
- 2024The Odyssey of Commonsense Causality: From Foundational Benchmarks to Cutting-Edge Reasoning27 Jun 2024
- 2024The Base-Rate Effect on LLM Benchmark Performance: Disambiguating Test-Taking Strategies from Benchmark Performance17 Jun 2024
- 2024A Theory for Length Generalization in Learning to Reason31 Mar 2024
- 2024Pre-Trained Language Models Represent Some Geographic Populations Better Than Others16 Mar 2024
- 2024Counterfactual Reasoning with Knowledge Graph Embeddings11 Mar 2024
- 2023Examining LLMs' Uncertainty Expression Towards Questions Outside Parametric Knowledge16 Nov 2023
- 2023Characterizing Mechanisms for Factual Recall in Language Models24 Oct 2023
Similar, not cited
Close in wording, no citation either way
- 2022Counterfactual reasoning: Do language models need world knowledge for causal understanding?
- 2024Evidence from counterfactual tasks supports emergent analogical reasoning in large language models
- 2023What If the TV Was Off? Examining Counterfactual Reasoning Abilities of Multi-modal Language Models
- 2024Using Counterfactual Tasks to Evaluate the Generality of Analogical Reasoning in Large Language Models
- 2025Flying Pigs, FaR and Beyond: Evaluating LLM Reasoning in Counterfactual Worlds
- 2025CounterBench: Evaluating and Improving Counterfactual Reasoning in Large Language Models
- 2023Do Models Explain Themselves? Counterfactual Simulatability of Natural Language Explanations
- 2023CLOMO: Counterfactual Logical Modification with Large Language Models