TL;DR
Large Language Models (LLMs) don't reason with consistent logic throughout a problem; instead, they employ a "first heuristic, then rational" strategy. They rely heavily on shallow cues like word matching when a solution is many steps away, only switching to rigorous, goal-oriented reasoning as they get closer to the final answer.
What Problem Does This Paper Address?
While Chain-of-Thought (CoT) prompting has significantly boosted the reasoning performance of LLMs, these models still frequently fail on complex, multi-step tasks. Researchers have long noted that neural models are prone to "shortcut learning"—relying on superficial statistical correlations (heuristics) rather than underlying logic.
This paper investigates whether this reliance on heuristics is static or dynamic. Drawing inspiration from human psychology (System 1 vs. System 2 thinking), the authors ask: Do LLMs systematically change their reasoning strategy as they progress through a multi-step problem? Specifically, does the "distance" to the goal influence whether a model acts rationally or falls back on shallow heuristics?
Methods
The authors designed a controlled environment using arithmetic reasoning tasks to analyze model behavior step-by-step.
- Heuristic Identification: They focused on three common biases:
- Lexical Overlap (OVERLAP): Selecting a premise simply because it shares words (like a person's name) with the question.
- Position Bias (POSITION): A tendency to select information located at the beginning of the context.
- Grammatical Features (NEGATIVE): Avoiding premises that contain negation words like "not."
- Controlled Distractors: They inserted "distractor" premises into problems. These distractors were designed to be attractive to specific heuristics but were logically irrelevant to the final answer.
- Teacher-Forcing Analysis: To measure how strategy changes during reasoning, the authors used "teacher-forcing." They provided the model with a partially correct reasoning chain and then observed its choice for the next step at varying distances ($d$) from the goal.
Datasets
The study utilized two primary datasets, modified to include heuristic-triggering distractors:
- GSM8K: A standard benchmark of grade-school math word problems. The authors created variants (OVERLAP, POSITION, NEGATIVE) by adding specific distractors to the original problems.
- Artificial Arithmetic Dataset: A custom-built dataset of multi-step addition/subtraction problems. This allowed the researchers to precisely control the number of reasoning steps required (e.g., a 5-step path) and the placement of distractors.
Key Insights and Ideas
- The Planning Horizon Limitation: The core finding is that LLMs have a limited "backtracking" or planning capacity. When the reasoning path is long, the model cannot effectively "see" the goal, leading it to grab onto the most salient superficial cues.
- Dynamic Strategy Switching: Models aren't just "biased" or "unbiased." They dynamically switch strategies. As the distance to the goal decreases, the "gravitational pull" of heuristics weakens, and the model's internal goal-oriented logic takes over.
- Cognitive Plausibility: This behavior mirrors human cognitive biases, where we often seek shallow, heuristic solutions to complex problems first, only engaging in effortful rational thought when those initial attempts fail or when the solution is within reach.
Key Results
The researchers tested four models: PaLM2, Llama2-13B, GPT-3.5-turbo, and GPT-4.
- Bias Confirmation: All models showed a significant increase in error rates when heuristics were present. For example, on GSM8K, PaLM2's frequency of selecting a distractor jumped from 18.4% (Base) to 57.9% when lexical overlap was introduced.
- The Distance Effect: The most striking result is shown in the probability curves. As the distance to the goal ($d$) decreases, the probability of a model being misled by a distractor drops sharply.
- Model Variance: GPT-4 was the most robust, but even it exhibited the "heuristic-first" trend. Llama2-13B was particularly susceptible to position and overlap biases, often performing near or above the chance rate for distractors regardless of distance.
Limitations and Future Work
- Task Scope: The study focused primarily on arithmetic reasoning. Whether these dynamic heuristic strategies apply to symbolic logic, creative writing, or coding remains to be seen.
- Black-Box Analysis: The findings are based on model outputs (behaviors). The authors acknowledge that the internal neural mechanisms—the "why" inside the weights—still need to be elucidated.
- Model Scale: The study used a limited set of models. Future work could explore how model size and specific training techniques (like RLHF) affect this dynamic strategy switching.
- Dataset Naturalness: While the artificial datasets provided excellent control, they lack the linguistic variety of real-world problems. Developing "natural" but controlled datasets is a suggested next step.
Summary updated