NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

First Heuristic Then Rational: Dynamic Use of Heuristics in Language Model Reasoning

Yoichi Aoki, Keito Kudo, Tatsuki Kuribayashi, Shusaku Sone, Masaya Taniguchi, Keisuke Sakaguchi, Kentaro Inui

Abstract

Large Language Models (LLMs) demonstrate a dynamic reasoning strategy, initially relying on shallow heuristics and transitioning to rigorous, goal-oriented logic as they approach a solution. This study investigates this "heuristic-first" behavior across multiple models using a state-transition framework, revealing a limited planning horizon that mirrors human cognitive biases. Our findings suggest that reasoning failures in LLMs may stem from a limited planning horizon rather than a total lack of logical capacity.

Introduction

While Chain-of-Thought (CoT) prompting has significantly boosted LLM performance on complex tasks, the underlying "search strategy" models use to navigate multi-step problems remains poorly understood. Humans often employ a dual-process approach: fast, intuitive "System 1" heuristics for quick solutions, and slow, analytical "System 2" reasoning when shallow approaches fail.

Conceptual diagram of the heuristic-to-rational transition in LLM reasoning steps.

This paper investigates whether LLMs exhibit a similar systematic bias. Specifically, we explore if a model's reliance on superficial cues—such as word matching—changes depending on its proximity to the final answer. Understanding this dynamic helps identify whether reasoning failures are due to a fundamental lack of logic or a constrained planning horizon.

Methodology

The researchers framed multi-step reasoning as a path-finding problem on a state transition graph. Using arithmetic reasoning tasks, they measured how models select premises to reach a goal.

  1. Defining Distance ($d$): The minimum number of reasoning steps remaining to reach the solution was calculated for each state.
  2. Heuristic Distractors: Three types of "distractor" premises were designed to exploit common LLM biases: Lexical Overlap (shared names/objects with the question), Position (premises at the start of the context), and Grammatical Features (avoidance of negation).
  3. Teacher-Forcing Evaluation: To isolate decision-making at specific distances ($d$), models were provided with correct reasoning steps up to a point, and their subsequent choice was measured.

Experiments were conducted on GSM8K, a standard math benchmark modified with distractors, and a custom Artificial Arithmetic Dataset designed for high control over reasoning depth and heuristic presence.

Key Results and Insights

The most striking finding is the Heuristic-to-Rational Transition. LLMs are not statically biased; their behavior is dynamic. As the distance to the goal ($d$) decreases, the probability of selecting a heuristic distractor drops significantly, while the probability of taking a correct, rational step increases.

Probability of models selecting distractors as they approach the goal state.
  • Heuristic Dominance: All tested models (PaLM2, Llama2, GPT-3.5, GPT-4) were significantly more likely to pick distractors in the OVERLAP and POSITION categories when the goal was distant.
  • Model Variance: GPT-4 proved the most rational overall but still followed the heuristic-first trend. Llama2-13B was particularly susceptible to POSITION bias, while GPT-3.5 showed a unique behavior, being less affected by distance but still heavily influenced by heuristics.
  • Limited Planning Horizon: The data suggests LLMs fall back on System 1 shortcuts when the remaining search space exceeds their planning capacity (typically 4-5 steps away).

Discussion and Conclusion

This behavior is surprisingly human-like, suggesting that LLMs attempt the "easy" path first. From an engineering perspective, this reveals a fundamental bottleneck in current architectures for long-form reasoning. While this study focused on arithmetic, future work should explore if these dynamic heuristics persist in other domains like legal reasoning or code generation. Identifying the source of these biases in training data may allow for the development of models where "System 2" reasoning can be explicitly triggered earlier in the process.

Summary updated

BibTeX
@inproceedings{aoki2024first,
  author = {Yoichi Aoki and Keito Kudo and Tatsuki Kuribayashi and Shusaku Sone and Masaya Taniguchi and Keisuke Sakaguchi and Kentaro Inui},
  title = {{First Heuristic Then Rational: Dynamic Use of Heuristics in Language Model Reasoning}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.789},
}
Figure