Manuscript Offprint

arXiv:2610.25908

CALM: Consistency-Aware Logit Masking in Decoding Space for Mitigating Overthinking of Large Reasoning Models

Shengjing Liu, Feiyang Li, Yuxuan Yang, Yile Wang, Hui Huang

Abstract

Large reasoning models (LRMs) have achieved strong performance on challenging mathematical and scientific tasks through long chain-of-thought reasoning, but they often suffer from overthinking with unnecessary reasoning steps. Existing truncation-based methods typically detect consecutive trial-answer agreement and force early exit, yet such local stopping signals do not necessarily indicate final-answer stability and can disrupt useful subsequent reflection or verification, potentially leading to performance degradation. We propose consistency-aware logit masking (CALM), a training-free decoding intervention for mitigating overthinking in LRMs. CALM first monitors trial answers at step boundaries and then applies logit masking to action transition point (ATP) tokens such as “Wait”, “Alternatively”, and “Hmm”, suppressing redundant transitional reasoning while allowing the model to continue its thought process more naturally. Experiments across four advanced LRMs and five benchmarks show that CALM reduces token consumption by 18.6%–25.0% compared with full CoT reasoning while maintaining performance, and can even improve accuracy by 0.07%–1.48% by reducing redundant reasoning. LLM-as-a-Judge results also demonstrate that CALM provides more coherent and concise results. Code is available at https://github.com/szu-tera/CALM.git.

1 Introduction

Large reasoning models (LRMs) such as OpenAI o1 (OpenAI, 2024) and DeepSeek-R1 (Guo et al., 2025) have advanced rapidly and achieved strong performance on solving challenging mathematical and graduate-level science problems, largely owing to their long chain-of-thought (CoT; Wei et al., 2022) reasoning and test-time scaling (Snell

Q: Roots of z4+4iz3−6z2−4iz−i=0z^{4} + 4iz^{3} - 6z^{2} - 4iz - i = 0 form a convex polygon of area pa/bp^{a/b}, with p prime. For coprime integers a,b>0a, b > 0, find a+b+pa + b + p.

(a) Truncation-based Methods Reasoning

S1S_{1}: Wait, (z+i)4=1+i(z+i)^{4} = 1+i <omitted>

Trial answer: 5

SkS_{k}: Hmm, A=(r2)2A = (r\sqrt{2})^{2} <omitted>

Trial answer: 5

↓ Agreement & Early Exit

The final answer is 5 ×

(b) CALM (Ours)

Reasoning

S1S_{1}: Wait, (z+i)4=1+i(z+i)^{4} = 1+i <omitted>

Trial answer: 5

SkS_{k}: Hmm, A=(r2)2A = (r\sqrt{2})^{2} <omitted>

Trial answer: 5

↓ Agreement & ATP (Wait, Hmm) Masking

Sk+1S_{k+1}: Radius r=21/8r = 2^{1/8} gives A=2r2=25/4A = 2r^{2} = 2^{5/4}.

Sk+2S_{k+2}: Thus p=2p = 2, a=5a = 5, b=4b = 4; gcd(5, 4) = 1.

The final answer is 11 ✓

Figure 1: Comparison of (a) truncation-based method and (b) our method that allows continual generation with action transition point masking after answer agreement.

et al., 2025; Muennighoff et al., 2025). However, research reveals that LRMs could exhibit overthinking (Su et al., 2025; Chen et al., 2025; Cuadron et al., 2025), characterized by extensive redundant reasoning that not only fails to improve model performance but also results in considerable token waste and extra inference latency (Gema et al., 2025; Zhang et al., 2026).

To reduce overthinking, recent efforts attempt to identify critical points during reasoning at which the model’s reasoning information is sufficient, so as to truncate the reasoning path by forcing the generation of the end-of-thinking token </think> and eliciting the final answer directly. For example, researchers have used consecutive trial-answer agreement (Fu et al., 2024; Liu and Wang, 2025)

  • Equal contribution.

†^{\dagger} Corresponding author: wangyile@szu.edu.cn.

Related WorkTypeSignalAction
L1 (Aggarwal and Welleck, 2025)Reinforcement LearningLength PenaltyReward Feedback
S-GRPO (Dai et al., 2025)Reinforcement LearningStep SufficiencyReward Feedback
ThinkPrune (Hou et al., 2026)Reinforcement LearningToken LimitReward Feedback
LightThinker (Zhang et al., 2025)Latent CoT ReasoningSpecial MarkerThought Compression
Step Entropy (Li et al., 2026b)Latent CoT ReasoningStep EntropyThought Compression
Chain of Draft (Xu et al., 2025)Prompt-based ConstraintDraft LengthContext Awareness
Plan and Budget (Lin et al., 2026)Prompt-based ConstraintToken BudgetContext Awareness
Dynasor (Fu et al., 2024)Reasoning TruncationConsecutive AnswersTerminate and Early Exit
Answer Conv. (Liu and Wang, 2025)Reasoning TruncationConsecutive AnswersTerminate and Early Exit
TRACE (Li et al., 2026a)Reasoning TruncationTemporal ConsistencyTerminate and Early Exit
REFRAIN (Sun et al., 2026)Reasoning TruncationSemantic RedundancyTerminate and Early Exit
PUMA (Min et al., 2026)Reasoning TruncationSemantic RedundancyAnswer with Token Limit
DEER (Yang et al., 2026)Reasoning TruncationTransition ConfidenceAnswer with Token Limit
CALM (this work)Decoding InterventionConsecutive AnswersGenerate with Logit Masking

Table 1: Comparison of recent works on mitigating overthinking of large reasoning models.

as a truncation signal, as shown in Figure 1(a).

We argue that although this truncation-based early-exiting approach can reduce token consumption, it still restricts the model's inherent reasoning ability. We conduct a pilot study ( §\S 3.3) and find that the stopping signal is not necessarily indicative of final-answer stability, with even considerable gaps observed on certain datasets. The reason can be that subsequent thinking may still contain steps that help improve the reasoning outcome, such as reflection and verification (Guo et al., 2025). Meanwhile, interrupting the reasoning process severely suppresses the continuity of the model's thinking, leading to incoherent reasoning context and a mismatch with the data and preferences encountered during training, thereby affecting the accuracy of the final answer (Koh et al., 2026; Wang and Zhu, 2026; Wu et al., 2026). Therefore, we attempt to answer the following question: How can LRMs naturally stop thinking when their reasoning progress is detected to be approaching saturation?

We begin with typical thinking words such as “Wait”, “Alternatively”, and “Hmm” (Muennighoff et al., 2025), also termed as action transition point (ATP; Yang et al., 2026), and find that suppressing their generation probabilities can sustain generation while preserving accuracy ( §\S 3.3). The findings are also in line with recent work showing that ATP words do not genuinely reflect reasoning ability, but instead lead to lengthy reasoning steps (Pandey et al., 2026; Liu et al., 2025; Yu et al., 2026). Therefore, we propose consistency-aware logit masking (CALM), a simple yet effective inference-time decoding strategy for mitigating overthinking of LRMs, which consists of two steps: detecting consecutive answer agreement ( §\S 4.1) and action transition point logit masking ( §\S 4.2).

We evaluate on four advanced large reasoning models including DeepSeek-R1-Distill-Qwen (7B, 14B, 32B) and DeepSeek-R1-Distill-Llama-8B. Experiments across five mathematics and science benchmarks show that CALM outperforms recent baselines. In particular, CALM reduces token consumption by 18.6%–25.0% while maintaining performance compared with full CoT, and achieves a slight accuracy gain of 0.07%–1.48% through mitigating redundant reasoning.

In summary, our contributions are threefold:

  1. Our pilot study shows that signals such as consecutive trial-answer agreement do not recover the completed-trace answer stably, revealing the limitations of truncation-based approaches, specifically their excessive reliance on local signals.

  2. We propose CALM, a training-free decoding intervention method by suppressing the probability of typical thinking tokens to facilitate continual reasoning progress while reducing lengthy and redundant reasoning.

  3. We evaluate two variants of CALM across four models and five benchmarks. Experimental results show that CALM substantially reduces redundant reasoning steps while outperforming recent baselines in terms of performance preservation.

References (39)