2025-05-09 · 进阶 · 机器学习 · 自然语言处理

Scalable Chain of Thoughts via Elastic Reasoning

本文提出了一种名为“弹性推理”的新框架,通过将推理过程分为思考和解决方案两个阶段,实现了大推理模型在严格推理时间约束下的可扩展和自适应长度控制。

更新于 2025-05-15。作者:Yuhui Xu、Hanze Dong、Lei Wang、Doyen Sahoo、Junnan Li、Caiming Xiong。

中文摘要

大型推理模型(LRMs)通过生成扩展的思考链(CoT)在复杂任务上取得了显著的进步。然而,它们无法控制的输出长度给实际部署带来了重大挑战,因为在现实世界中,推理时间的预算在令牌、延迟或计算上受到严格限制。我们提出了弹性推理,这是一个用于可扩展思考链的新型框架,它明确地将推理分为两个阶段——思考和解决方案——并为每个阶段分配独立的预算。在测试时,弹性推理优先考虑解决方案段落的完整性,在严格资源限制下显著提高了可靠性。为了训练对截断思考具有鲁棒性的模型,我们引入了一种轻量级的预算限制滚动策略,将其集成到GRPO中,教会模型在思考过程被截断时进行自适应推理,并有效推广到未见过的预算限制,而无需额外训练。在数学(AIME、MATH500)和编程(LiveCodeBench、Codeforces)基准测试中的实证结果表明,弹性推理在严格的预算限制下表现稳健,同时比基线方法具有显著更低的训练成本。值得注意的是,我们的方法即使在不受限制的设置下也能产生更简洁和高效的推理。弹性推理为大规模可控制推理这一紧迫挑战提供了一个原则性和实用性的解决方案。

英文摘要

Large reasoning models (LRMs) have achieved remarkable progress on complex tasks by generating extended chains of thought (CoT). However, their uncontrolled output lengths pose significant challenges for real-world deployment, where inference-time budgets on tokens, latency, or compute are strictly constrained. We propose Elastic Reasoning, a novel framework for scalable chain of thoughts that explicitly separates reasoning into two phases--thinking and solution--with independently allocated budgets. At test time, Elastic Reasoning prioritize that completeness of solution segments, significantly improving reliability under tight resource constraints. To train models that are robust to truncated thinking, we introduce a lightweight budget-constrained rollout strategy, integrated into GRPO, which teaches the model to reason adaptively when the thinking process is cut short and generalizes effectively to unseen budget constraints without additional training. Empirical results on mathematical (AIME, MATH500) and programming (LiveCodeBench, Codeforces) benchmarks demonstrate that Elastic Reasoning performs robustly under strict budget constraints, while incurring significantly lower training cost than baseline methods. Remarkably, our approach also produces more concise and efficient reasoning even in unconstrained settings. Elastic Reasoning offers a principled and practical solution to the pressing challenge of controllable reasoning at scale.

解读

一句话总结

本文提出了一种名为“弹性推理”的新框架,通过将推理过程分为思考和解决方案两个阶段,实现了大推理模型在严格推理时间约束下的可扩展和自适应长度控制。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt