arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.15895cs.CLcs.AI
收藏

推理模型中的动态提前退出

Dynamic Early Exit in Reasoning Models

Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院);Huawei Technologies Co., Ltd.(华为技术有限公司)

Chenxu Yang, Qingyi Si, Yongjie Duan, Zheliang Zhu, Chenyu Zhu, Qiaowei Li, Minghui Chen, Zheng Lin, Weiping Wang

AI总结:

针对长思维链过度思考导致效率下降和准确率受损的问题,本文提出一种无需训练的动态提前退出方法,在推理转换点依据答案置信度终止生成,并在11个模型和10个基准上显著缩短CoT并提升准确率。

摘要:

大型推理语言模型(LRLM)的最新进展依赖于测试时扩展,该方法通过延长长思维链(CoT)生成来解决复杂任务。然而,长CoT中的过度思考不仅会降低问题解决效率,还可能因极其详细或冗余的推理步骤而导致准确率下降。我们提出了一种简单而有效的方法,使LLM能够在生成过程中通过提前退出自行截断CoT序列。该方法不依赖固定启发式规则,而是在潜在的推理转换点监控模型行为,并在模型对一个尝试性答案表现出高置信度时,动态终止下一条推理链的生成。我们的方法无需额外训练,并且可以无缝集成到现有的类o1推理LLM中。在10个推理基准(例如GSM8K、MATH-500、AMC、GPQA、AIME和LiveCodeBench)上的实验表明,所提方法在11个不同系列和规模的前沿推理LLM上始终有效,将CoT序列长度平均缩短19.1%至80.1%,同时将准确率提高0.3%至5.0%。

英文摘要:

Recent advances in large reasoning language models (LRLMs) rely on test-time scaling, which extends long chain-of-thought (CoT) generation to solve complex tasks. However, overthinking in long CoT not only slows down the efficiency of problem solving, but also risks accuracy loss due to the extremely detailed or redundant reasoning steps. We propose a simple yet effective method that allows LLMs to self-truncate CoT sequences by early exit during generation. Instead of relying on fixed heuristics, the proposed method monitors model behavior at potential reasoning transition points and dynamically terminates the next reasoning chain's generation when the model exhibits high confidence in a trial answer. Our method requires no additional training and can be seamlessly integrated into existing o1-like reasoning LLMs. Experiments on 10 reasoning benchmarks (e.g., GSM8K, MATH-500, AMC, GPQA, AIME and LiveCodeBench) show that the proposed method is consistently effective on 11 cutting-edge reasoning LLMs of varying series and sizes, reducing the length of CoT sequences by an average of 19.1% to 80.1% while improving accuracy by 0.3% to 5.0%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑