Mitigating Overthinking in Large Reasoning Language Models via Reasoning Path Deviation Monitoring

Weixin Guan, Liang Li, Jiapeng Liu, Bing Li, Peng Fu, Chengyang Fang, Xiaoshuai Hao, Can Ma, Weiping Wang

TL;DR

Large Reasoning Language Models (LRLMs) often degrade their own performance and waste compute by "overthinking"—getting trapped in endless, redundant reasoning loops. This paper introduces RPDI-EE, a training-free, real-time early-exit method that monitors internal token entropy to detect when a model has veered into unproductive wandering, boosting accuracy by up to 5.1% on distilled models.

What Problem Does This Paper Address?

Modern reasoning models (like DeepSeek-R1 or Qwen-Thinking) achieve state-of-the-art results on complex tasks by generating long, explicit Chain-of-Thought (CoT) sequences. However, these extended chains introduce a critical vulnerability: overthinking.

When a model encounters a minor calculation or logical error during its internal verification loop, it often gets "stuck." Instead of progressing, it generates redundant reasoning steps that accumulate errors and degrade the final answer.

Figure 1. Reasoning trajectory dissection revealing the “overthink- ing” trap. The model initially achieves the correct result but fails due to a flawed verification loop. The frequent emergence of tran- sition tokens (e.g., “Wait,” “But”) serves as a key indicator of reasoning deviation.

Existing "early-exit" strategies attempt to mitigate this by cutting the reasoning short, but they suffer from major drawbacks:

  1. High Overhead: They often require training separate "proxy models" to act as detectors.
  2. Throughput Bottlenecks: They frequently interrupt generation to probe tentative answers, slowing down inference.
  3. Over-truncation: Aggressive methods often cut the model off prematurely, "silencing" it before it has a chance to self-correct.

Methods

The authors propose RPDI-EE (Reasoning Path Deviation Index Early-Exit), a completely training-free, probing-free approach that looks inward at the model's native generation process.

The core mechanics include:

  • Real-time Entropy Tracking: At each generation step, the system calculates the Shannon entropy of the model's output probability distribution. High entropy signifies internal uncertainty.
  • Reasoning Path Deviation Index (RPDI): The method computes the ratio of Local Transition Frequency (LTF) (the average entropy within a recent sliding window $W$) to Global Transition Frequency (GTF) (the baseline average entropy of the entire trajectory generated so far).
  • Boundary-Triggered Early Exit: To avoid per-token computational overhead, the RPDI is only evaluated at semantic boundaries (like punctuation symbols). If the local entropy spikes significantly above the global baseline (RPDI > $\lambda$), it indicates the model is spinning its wheels. The system dynamically injects a termination token (e.g., </think>), forcing the model to stop wandering and immediately synthesize its final answer.
Figure 4. Overview of RPDI-EE. RPDI-EE performs continuous entropy scanning during CoT generation. For each new token, it measures local uncertainty via the Local Reasoning Density (LRD), defined as the average token entropy in a sliding window, and compares it to the global reasoning stability reflected by the Global Reasoning Baseline (GRB).

Datasets

The authors evaluated RPDI-EE across a robust suite of math and science benchmarks, categorized by difficulty:

  • MATH EASY: GSM8K, AMC23, and MATH500 (foundational and competitive mathematics).
  • MATH HARD: AIME2024, AIME2025, and OlympiadBench (elite, competition-level problem solving).
  • SCIENTIFIC: GPQA Diamond (graduate-level scientific reasoning in physics, biology, and chemistry).

Key Insights and Ideas

  • The Long Tail of Token Entropy: Through extensive visualization, the authors discovered that token entropy follows a stark long-tail distribution. Over 60% of tokens have near-zero entropy. A tiny fraction of tokens—predominantly transition words like "Wait", "But", or "Perhaps"—contribute to almost all the average entropy.
  • Entropy as a "Soft Count": Instead of relying on brittle, hard-coded keyword matching to see if a model is stuck, tracking average entropy acts as a highly generalizable "soft count" for transition token density across different tasks and scales.
  • Distillation Models Overthink More: Models trained via distillation (copying larger models) are particularly prone to overthinking because they often mimic the surface patterns of long CoT reasoning without deeply anchoring the underlying logic.
Figure 2. Token Entropy Contribution Distribution. This figure illustrates the distribution of 45.9 million tokens, sorted by their entropy values from low to high. The tokens are divided into 100 percentile bins, with the y-axis representing the percentage contribution of the total entropy within each bin relative to the aggregate entropy of all tokens.

Key Results

The authors tested RPDI-EE across eight open-source LRLMs (ranging from 1.5B to 235B parameters), including the DeepSeek-R1-Distill and Qwen3 Thinking series.

  • Consistent Accuracy Gains: RPDI-EE delivered an average accuracy improvement of 3.9% over vanilla CoT across all tested models.
  • Pronounced Boost on Distilled Models: The method achieved an average accuracy jump of 5.1% on distillation models, where overthinking is most severe.
  • Safeguard Against Performance Degradation: While aggressive baseline methods (like NoThinking or ThinkLess) frequently caused severe accuracy drops due to over-truncation, RPDI-EE consistently outperformed vanilla CoT, proving it successfully preserves the model's capacity for self-rectification.

Limitations and Future Work

  • Modest Token Reductions: Because RPDI-EE prioritizes reasoning quality and only exits when a model is genuinely stuck, it yields a more conservative reduction in token consumption compared to aggressive, fixed-budget truncation methods.
  • Hyperparameter Tuning: The system relies on two main hyperparameters: the sliding window size ($W$) and the threshold ($\lambda$). While ablation studies show stable performance within a reasonable range, optimal settings can still vary based on the model architecture.
  • Dependence on Explicit Thinking Styles: The framework assumes that overthinking manifests as explicit verbal transitions (like "Wait, let me double-check"). It remains to be seen how well this generalizes to future reasoning models that might develop non-verbal or latent overthinking patterns.

Summary updated

BibTeX
@inproceedings{guan2026mitigating,
  author = {Weixin Guan and Liang Li and Jiapeng Liu and Bing Li and Peng Fu and Chengyang Fang and Xiaoshuai Hao and Can Ma and Weiping Wang},
  title = {{Mitigating Overthinking in Large Reasoning Language Models via Reasoning Path Deviation Monitoring}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=5UKFuMgIQm},
}
Figure