长链式思维中的思维陷阱:可测量研究与陷阱感知的自适应重启
Thinking Traps in Long Chain-of-Thought: A Measurable Study and Trap-Aware Adaptive Restart
AI总结:
本文提出TAAR框架,通过陷阱感知的自适应重启解决长链式思维中的思维陷阱问题,提升推理性能。
摘要:
通过长链式思维(Long CoT)扩展测试时计算显著增强了推理能力,但扩展生成并不保证正确性:在早期错误承诺之后,模型可能会继续扩展一个自洽但错误的前缀。通过细粒度轨迹分析,我们识别出思维陷阱,即前缀主导的死锁,其中后期反思、替代尝试或验证无法修正根本错误。在精心挑选的DAPO-MATH子集上,89%的失败案例表现出此类陷阱。为了解决这个问题,我们引入了TAAR(陷阱感知自适应重启),一种测试时控制框架,训练了一个诊断策略,从部分轨迹中预测两个信号:一个陷阱指数用于截断位置,一个逃逸概率用于是否以及如何强烈地干预。在推理时,TAAR在预测的陷阱段之前截断轨迹并自适应地重新启动解码;对于严重陷入陷阱的案例,它会应用更强的扰动,包括更高温度的重采样和可选的结构化重启后缀。在具有挑战性的数学和科学推理基准(AIME24、AIME25、GPQA-Diamond、HMMT25、BRUMO25)上的实验表明,TAAR在不微调基础模型参数的情况下提高了推理性能。
英文摘要:
Scaling test-time compute via Long Chain-of-Thought (Long-CoT) significantly enhances reasoning capabilities, yet extended generation does not guarantee correctness: after an early wrong commitment, models may keep elaborating a self-consistent but incorrect prefix. Through fine-grained trajectory analysis, we identify Thinking Traps, prefix-dominant deadlocks where later reflection, alternative attempts, or verification fails to revise the root error. On a curated subset of DAPO-MATH, 89\% of failures exhibit such traps. To solve this problem, we introduce TAAR (Trap-Aware Adaptive Restart), a test-time control framework that trains a diagnostic policy to predict two signals from partial trajectories: a trap index for where to truncate and an escape probability for whether and how strongly to intervene. At inference time, TAAR truncates the trajectory before the predicted trap segment and adaptively restarts decoding; for severely trapped cases, it applies stronger perturbations, including higher-temperature resampling and an optional structured reboot suffix. Experiments on challenging mathematical and scientific reasoning benchmarks (AIME24, AIME25, GPQA-Diamond, HMMT25, BRUMO25) show that TAAR improves reasoning performance without fine-tuning base model parameters.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。