ROM:通过流式检测和干预实时抑制过度思考
ROM: Real-time Overthinking Mitigation via Streaming Detection and Intervention
AI总结:
ROM通过流式检测和干预框架减少大推理模型的过度思考,提升准确率并缩短响应长度,在多个数据集上均取得显著效果。
摘要:
大型推理模型(LRMs)常常在长链式思考轨迹结束前就达到正确解,却继续进行冗余验证、重复尝试或不必要的探索,这会浪费计算资源,甚至可能推翻正确答案。我们将这种行为视为一个潜在的 productive-to-redundant 转换,并展示其在隐藏状态中直接反映:在首次正确解(FCS)边界附近,晚期层表示将高效与过度思考标记分离,而边界排列和位置控制基线会崩溃。基于这一信号,我们提出 ROM,一个模型无关的流式干预框架,通过轻量级隐藏状态检测器监控冻结的 LRMs,并在合理推理边界处进行干预。反事实自我校正(CSC)通过平衡错误到正确轨迹来增强监督,保留有用的预 FCS 校正,同时仅将后 FCS 继续部分标记为冗余。在 MATH500、GSM8K、AIME25 和 MMLU-Pro 等数据集上,ROM 在 Qwen3-8B 和 DeepSeek-R1-Distill-Qwen-32B(DS-32B)上均提升了整体权衡:在 Qwen3-8B 上,将准确率从 74.47% 提高到 74.78%,响应长度从 4262 降低到 3107 个标记;在 DS-32B 上,将准确率从 68.60% 提高到 68.72%,响应长度从 3062 降低到 2319 个标记。相同的 FCS 派生监督在不同规模和训练来源上均有效,表明共享的长 CoT 边界而非特定 backbone 的艺术品。ROM 与 L1 兼容,去除另一个 20.9-21.6% 的标记,零准确率损失。ROM 还扩展到开放性 MMLU-Pro(+1.56 pp,35.4% 更短)并减少 46.5% 的运行时间。代码可在 https://github.com/SaFo-Lab/ROM 上获取。
英文摘要:
Large reasoning models (LRMs) often suffer from overthinking, continuing with redundant verification and repeated attempts even after reaching a correct solution. This wastes computation and can overturn an initially correct answer. We show that the transition from productive to redundant reasoning is decodable from late-layer hidden states. These representations separate the two phases around first-correct-solution boundaries beyond what position and lexical controls explain, and distinguish correct from incorrect solution endings. Building on this finding, we propose ROM (Real-time Overthinking Mitigation), which uses a lightweight streaming detector (0.07--0.25\% of backbone parameters) to monitor a frozen LRM and intervene at well-formed reasoning boundaries without answer extraction or probe decoding. Counterfactual Self-Correction (CSC) augments detector training with wrong$\rightarrow$correct trajectories to preserve useful self-correction. Heads are trained separately for each backbone using shared MATH500 supervision and transfer zero-shot to four unseen benchmarks. Evaluated against ten baselines across five backbones from three families and five benchmarks, ROM$_{\text{CSC}}$ reduces response length by 28--77\% (45\% on average), with significant reductions in all 25 settings and accuracy matching or exceeding vanilla decoding in 22. Measurements on two backbones further show 20--70\% lower end-to-end latency with less than 0.5\% detector overhead per decoding step. Code is available at https://github.com/SaFo-Lab/ROM.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。