CoBe: A Benchmark For Conversational Counterfactual Text Editing
cs.CL, cs.AI, cs.ET, cs.LG
Submitted: 2026-10-09
Updated: 2026-10-09
Comments: accepted to NeurIPS'26 workshops on Trustworthy AI For Good (AI4GOOD) and Trustworthy AI Evaluations (TAE)
License: http://creativecommons.org/licenses/by-nc-sa/4.0/
The gist: Counterfactual text editing is the ability to revise a given text in light of a hypothetical change while preserving facts not causally affected by that change.
Terminology
Abstract
Counterfactual text editing is the ability to revise a given text in light of a hypothetical change while preserving facts not causally affected by that change. When asked what would have happened if a doctor had not recommended surgery, the model output should retain the patient's medical history and modify only the consequences of the decision. This requires causal understanding: a model must determine, without being explicitly instructed to, what events are affected by the hypothetical change and what should remain fixed. This skill is central to human reasoning, especially in safety-critical domains like healthcare or law. By contrast, the task of associational text generation merely generates text statistically associated with the altered condition. In the medical example, an associational response might make the patient's symptoms less severe because milder cases correlate with no surgery. Such responses produce a plausible scenario, but not the counterfactual version of the given one. Prior counterfactual-text datasets do not clearly separate these modes of reasoning. We introduce the Counterfactual Benchmark (CoBe), a testbed for models' zero-shot ability to counterfactually edit a given textual scenario when prompted to do so in a conversationally natural way. CoBe contains 2000 questions spanning healthcare, science and engineering, business, and everyday scenarios. We test a suite of frontier and smaller models, with frontier systems achieving an average score of 58.05%. Our findings indicate that models frequently default to associational generation rather than preserving the causal structure of the original scenario. Moreover, performance does not scale consistently with either model size or output token length, suggesting that the failure may reflect model training objectives rather than insufficient model capacity.
Sources
- Phi-4 Technical Report
- Qwen Technical Report
- CounterBench: Evaluating and Improving Counterfactual Reasoning in Large Language Models
- ARC-AGI-2: A New Challenge for Frontier AI Reasoning Systems
- The Llama 3 Herd of Models
- Shortcut Learning in Deep Neural Networks
- Gemma 2: Improving Open Language Models at a Practical Size
- Mistral 7B
- LLMs Are Prone to Fallacies in Causal Inference
- Bias Challenges in Counterfactual Data Augmentation
- Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language models
- Causality for Large Language Models
Related papers
- Exploring Solution Divergence and Its Effect on Large Language Model Problem Solving
- Ishigaki-IDS-Bench: A Benchmark for Generating Information Delivery Specification from BIM Information Requirements
- Subliminal Steering: Stronger Encoding of Hidden Signals
- MedStruct-S: A Benchmark for Key Discovery, Key-Conditioned QA and Semi-Structured Extraction from OCR Clinical Reports
- The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- Untangling the Mechanisms of Misleading Context in Medical Question Answering