ROM: Real-time Overthinking Mitigation via Streaming Detection and Intervention

Xinyan Wang, Xiaogeng Liu, Ming Pei, Chaowei XiaoarXiv 2026

TL;DR

Large Reasoning Models (LRMs) often waste massive amounts of compute by "overthinking"—continuing to generate long chain-of-thought traces long after they have already found the correct answer. ROM (Real-time Overthinking Mitigation) introduces a lightweight streaming detector (~0.1% of backbone parameters) that identifies this transition in the model's hidden states, cutting output lengths by an average of 45% and reducing wall-clock latency by 46.5% while maintaining or even improving accuracy.

What Problem Does This Paper Address?

Modern LRMs like OpenAI's o1 and DeepSeek-R1 achieve state-of-the-art reasoning performance by generating extensive Chain-of-Thought (CoT) traces. However, on easy-to-medium queries, these models routinely overthink. They reach the correct solution early but continue with redundant verifications, repeated attempts, or unnecessary exploration.

This behavior is not only computationally expensive and slow, but it can also lead to answer drift, where a model accidentally overturns its initially correct conclusion during its final steps. Existing early-exit methods rely on surface-level heuristics (like token entropy or length budgets) or require expensive inference-time probe decoding. This paper addresses a fundamental question: Does the transition from productive reasoning to redundant overthinking leave a decodable, real-time signature inside the model's internal representations before it ever surfaces in text?

Methods

The authors discover that the "productive-to-redundant" transition is indeed a discrete, linearly decodable event localized within the model's late-layer hidden states. To exploit this, they propose ROM, an online intervention framework:

  1. Streaming Detection Head: A lightweight plug-in head attached to a frozen LRM's late layers. It uses an attention projector to compress the prefix hidden states and a recurrent cell (modeled as a continuous-time ODE) to maintain a streaming memory state. It emits a per-token overthinking score at each decoding step.
  2. Counterfactual Self-Correction (CSC): To prevent the detector from simply learning a shortcut (like penalizing later attempts in a multi-step solution), CSC synthesizes balanced wrong$\rightarrow$correct trajectories during training. This teaches the detector to recognize semantic sufficiency rather than just counting solution attempts.
  3. Boundary-Aware Intervention: When the overthinking score crosses a threshold, ROM doesn't just halt abruptly mid-sentence. It backtraces to the nearest well-formed reasoning boundary (like a newline), truncates the trace, appends a final-answer cue, and forces the model to generate its final answer.
Figure 1: Overview of ROM. Top: attempt-level correctness marks the first-correct-solution (FCS) boundary, yielding token-level labels that CSC augmentation balances (Secs. 3.3–3.4); these train the streaming detector (Sec. 3.5). Bottom: at decoding time, the detector’s score pt crossing the threshold triggers boundary-aware backtracing and final-answer forcing (Sec. 3.6).

Datasets

  • Training: ROM is trained exclusively on token-level labels derived from MATH500 traces generated by QwQ.
  • Evaluation: To test zero-shot transferability, the detector is evaluated across five diverse benchmarks without any additional training:
  • MATH500 (held-out test split)
  • GSM8K (grade-school math)
  • AIME25 (high-school mathematics competition)
  • GPQA-Diamond (graduate-level science QA)
  • MMLU-Pro (multi-task knowledge and reasoning)

Key Insights and Ideas

  • The Latent Footprint of Overthinking: Probing experiments reveal that adjacent phases (efficient reasoning vs. overthinking) separate with 85.9% accuracy in late layers, even when discussing the exact same content. This signal is highly localized at the true boundary rather than slowly drifting over time.
  • Not a Confidence Proxy: ROM does not simply track model confidence or token entropy. Case studies show that entropy-based methods fail when a model is "confidently wrong" or "correct but uncertain." ROM succeeds because it tracks whether the trace has crossed the structural boundary from solution construction into redundancy.
Figure 2: The productive-to-redundant transition is a discrete, learnable latent event (Qwen3-8B, MATH500): (a) the two adjacent phases are linearly separable, and (b) the signal is localized at the overthinking boundary rather than a slow drift. Position controls: App. Fig. 4.
  • Zero-Shot Generalization: Remarkably, supervision trained solely on math problems (MATH500) transfers zero-shot across different model scales, entirely different model families (Qwen, Llama, Gemma), and distinct task domains like graduate-level science.

Key Results

  • Pareto Dominance: Across 25 model-benchmark settings, $\text{ROM}_{\text{CSC}}$ achieves the highest accuracy in 19 settings and is the only method to sit on the accuracy-length Pareto front across every single evaluation.
  • Massive Efficiency Gains: ROM cuts response lengths by 28% to 77% (averaging a 45% reduction) compared to vanilla decoding.
  • Real-World Speedups: On GSM8K with a Qwen3-8B backbone, ROM delivers a 46.5% reduction in end-to-end wall-clock latency, easily absorbing its minimal ~5% per-token computational overhead.
Figure 3: Accuracy vs. mean output length for the three backbones of Table 1 (one panel per model×benchmark; axis ranges are per panel; upper-left is better). EAT and Dynasor are the two most competitive baselines; the ablation ROM (w/o CSC) is excluded. ROMCSC lies on the dashed per-panel Pareto front in all 15 panels here and is the unique front point in 8 of them. All 25 panels: App. Fig. 5.

Limitations and Future Work

The authors note two primary limitations:

  1. Supervision Scaling: Probes trained on 50% of the labels perform similarly to full-data probes, suggesting potential saturation at the current scale. Harder domains or weaker backbones may require more diverse or extensive supervision.
  2. Label Dependency: The offline labeling process relies heavily on automated text segmentation and correctness judging (leveraging GPT-4o), which can introduce shifts in estimated boundaries if the derivations are ambiguous.

Future Directions: The authors suggest exploring weaker or entirely self-supervised boundary labels to eliminate the need for external correctness verifiers. They also propose integrating boundary detection directly into the model's post-training RL phase so that LRMs can natively learn to stop at sufficiency.

Summary updated

BibTeX
@misc{wang2026rom,
  author = {Xinyan Wang and Xiaogeng Liu and Ming Pei and Chaowei Xiao},
  title = {{ROM: Real-time Overthinking Mitigation via Streaming Detection and Intervention}},
  year = {2026},
  eprint = {2603.22016},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.22016},
}
Figure