[Paper Review] Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Tasks
The paper introduces a counterfactual evaluation framework to test whether language models rely on general reasoning or task-specific memorization, finding that counterfactual variants generally degrade performance, suggesting non-transferable default-condition–specific strategies.
The impressive performance of recent language models across a wide range of tasks suggests that they possess a degree of abstract reasoning skills. Are these skills general and transferable, or specialized to specific tasks seen during pretraining? To disentangle these effects, we propose an evaluation framework based on "counterfactual" task variants that deviate from the default assumptions underlying standard tasks. Across a suite of 11 tasks, we observe nontrivial performance on the counterfactual variants, but nevertheless find that performance substantially and consistently degrades compared to the default conditions. This suggests that while current LMs may possess abstract task-solving skills to an extent, they often also rely on narrow, non-transferable procedures for task-solving. These results motivate a more careful interpretation of language model performance that teases apart these aspects of behavior.
Motivation & Objective
- Assess whether current language models rely on generalizable reasoning or task-specific memorization by evaluating performance on counterfactual task variants.
- Quantify how performance changes when default task conditions are altered, and examine factors that influence this gap (e.g., prompt style, base conditions, proximity to default).
- Provide a framework and datasets to disentangle abstraction from memorization in LM behavior.
- Release code, synthetic data, and LM interactions to enable replication and extension of counterfactual evaluations.
Proposed method
- Propose a counterfactual evaluation framework where tasks f with inputs x under a default world w^{default} are tested under counterfactual worlds w^{cf} that alter input-output mappings but preserve the underlying reasoning procedure.
- Use 0-shot prompting to query LMs and measure h(f,w,x) via task-specific metrics, with prompts describing both the task and the world model.
- Introduce counterfactual comprehension checks (CCC) to ensure the model understands the counterfactual world, using simpler control tasks g_w that differentiate w^{default} from w^{cf}.
- Apply the framework to 11 tasks spanning arithmetic, programming with 1-based indexing, syntactic reasoning, natural-language logic, spatial reasoning, drawing, music, chess, and SET.
- Evaluate GPT-4, GPT-3.5, Claude, and PaLM-2 under default and counterfactual conditions, with and without zero-shot chain-of-thought prompting.
Experimental results
Research questions
- RQ1Can language models generalize task-solving procedures to counterfactual worlds, or do they rely on default-condition–specific strategies?
- RQ2How does counterfactual performance relate to default performance across diverse tasks and models?
- RQ3What factors (e.g., base representations, world proximity, prompt style) modulate the default–counterfactual gap?
- RQ4Do counterfactual comprehension checks reveal whether failures stem from misinterpreting the counterfactual prompt versus lacking abstract reasoning?
- RQ5To what extent does few-shot prompting or chain-of-thought prompting help bridge the gap between default and counterfactual task variants?
Key findings
- Counterfactual task variants yield above-random performance but show substantial and consistent degradation relative to default task performance.
- Performance gaps persist across models (GPT-4, GPT-3.5, Claude, PaLM-2) and prompting regimes, indicating non-transferable default-condition–specific behaviors.
- There exists a correlation between default and counterfactual performance, suggesting some transferable reasoning, but the gaps imply overfitting to default conditions in many cases.
- Counterfactual comprehension checks (CCC) are usually high when successful, yet the presence of large default–counterfactual gaps indicates limitations in abstract, transferable reasoning.
- Commonness and proximity of counterfactual conditions modulate the gap, with more common or proximal counterfactuals often showing smaller degradation, implying memorization effects.
- 0-shot chain-of-thought can help or hurt depending on task/model, and few-shot demonstrations reduce but do not eliminate the default–counterfactual gap.
- The framework and results motivate careful interpretation of LM performance, distinguishing general reasoning from memorized task-specific behavior.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.