从长到短:大型语言模型擅长修剪自身推理链
From Long to Short: LLMs Excel at Trimming Own Reasoning Chains
AI总结:
本研究针对大型推理模型过度思考问题,提出测试时扩展方法EDIT,通过约束引导生成联合优化长度与答案分布,在保持正确性的同时显著提升推理效率,生成简洁且信息丰富的输出。
摘要:
O1/R1风格的大型推理模型(LRMs)标志着相较于传统指令跟随型大型语言模型(LLMs)的巨大进步。通过应用测试时扩展来生成更长的推理路径,它们在广泛复杂推理任务中树立了多项最先进(SOTA)成果。然而,近期研究表明,LRMs容易遭受过度思考(overthinking)问题——即倾向于将简单问题复杂化,导致过多的策略切换和冗长、曲折的推理轨迹,从而妨碍其可解释性。为缓解此问题,我们对一系列LRMs的推理效率进行了系统性研究,并揭示了一个常见困境:难以在正确性和简洁性等多个生成目标之间取得平衡。基于这一发现,我们提出了一种测试时扩展方法EDIT(高效动态推理修剪),该方法在测试时有效引导LRMs识别最短的正确推理路径。EDIT采用约束引导生成,同时在不同约束下联合跟踪长度和答案分布,从而能够选择在简洁性与正确性之间达到最优平衡的响应。跨多种模型和数据集的广泛实验表明,EDIT显著提升了推理效率,生成紧凑而信息丰富的输出,改善了可读性和用户体验。
英文摘要:
O1/R1 style large reasoning models (LRMs) signal a substantial leap forward over conventional instruction-following LLMs. By applying test-time scaling to generate extended reasoning paths, they establish many SOTAs across a wide range of complex reasoning tasks. However, recent studies show that LRMs are prone to suffer from overthinking -- the tendency to overcomplicate simple problems, leading to excessive strategy switching and long, convoluted reasoning traces that hinder their interpretability. To mitigate this issue, we conduct a systematic investigation into the reasoning efficiency of a broad set of LRMs and uncover a common dilemma: the difficulty in balancing multiple generation objectives such as correctness and brevity. Based on this discovery, we propose a test-time scaling method, EDIT (Efficient Dynamic Inference Trimming), which efficiently guides LRMs to identify the shortest correct reasoning paths at test time. EDIT employs constraint-guided generation while jointly tracking length and answer distributions under varying constraints, allowing it to select responses that strike an optimal balance between conciseness and correctness. Extensive experiments across diverse models and datasets show that EDIT substantially enhance the reasoning efficiency, producing compact yet informative outputs that improve readability and user experience.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。