ARM: Adaptive Reasoning Model
该论文提出了自适应推理模型(ARM),通过自适应选择合适的推理格式来优化推理效率,同时保持性能。
更新于 2025-05-27。作者:Siye Wu、Jian Xie、Yikai Zhang、Aili Chen、Kai Zhang、Yu Su、Yanghua Xiao。
中文摘要
尽管大型推理模型在复杂任务上表现出强大的性能,但它们缺乏根据任务难度调整推理标记使用的功能。这往往导致“过度思考”问题——过度的和不必要的推理——尽管可以通过人为干预来控制标记预算来减轻这个问题,但这仍然从根本上与实现完全自主人工智能的目标相矛盾。在这项工作中,我们提出了自适应推理模型(ARM),这是一个能够根据当前任务自适应选择适当推理格式的推理模型。这些格式包括三种高效的格式——直接回答、简短CoT和代码——以及一种更复杂的格式,即长CoT。为了训练ARM,我们引入了Ada-GRPO,这是对组相对策略优化(GRPO)的一种改进,它解决了传统GRPO中的格式崩溃问题。Ada-GRPO使ARM能够实现高标记效率,平均减少30%的标记,最多减少70%,同时保持与仅依赖长CoT的模型相当的性能。此外,它不仅通过减少标记生成来提高推理效率,而且还使训练速度提高了2倍。除了默认的自适应模式外,ARM还支持两种额外的推理模式:1)指令引导模式,允许用户通过特殊标记明确指定推理格式——当已知一批任务的适当格式时非常理想。2)共识引导模式,它汇总三种高效格式的输出,并在出现分歧时求助于长CoT,优先考虑使用更多标记的性能。
英文摘要
While large reasoning models demonstrate strong performance on complex tasks, they lack the ability to adjust reasoning token usage based on task difficulty. This often leads to the "overthinking" problem -- excessive and unnecessary reasoning -- which, although potentially mitigated by human intervention to control the token budget, still fundamentally contradicts the goal of achieving fully autonomous AI. In this work, we propose Adaptive Reasoning Model (ARM), a reasoning model capable of adaptively selecting appropriate reasoning formats based on the task at hand. These formats include three efficient ones -- Direct Answer, Short CoT, and Code -- as well as a more elaborate format, Long CoT. To train ARM, we introduce Ada-GRPO, an adaptation of Group Relative Policy Optimization (GRPO), which addresses the format collapse issue in traditional GRPO. Ada-GRPO enables ARM to achieve high token efficiency, reducing tokens by an average of 30%, and up to 70%, while maintaining performance comparable to the model that relies solely on Long CoT. Furthermore, not only does it improve inference efficiency through reduced token generation, but it also brings a 2x speedup in training. In addition to the default Adaptive Mode, ARM supports two additional reasoning modes: 1) Instruction-Guided Mode, which allows users to explicitly specify the reasoning format via special tokens -- ideal when the appropriate format is known for a batch of tasks. 2) Consensus-Guided Mode, which aggregates the outputs of the three efficient formats and resorts to Long CoT in case of disagreement, prioritizing performance with higher token usage.
解读
一句话总结
该论文提出了自适应推理模型(ARM),通过自适应选择合适的推理格式来优化推理效率,同时保持性能。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:大推理模型在复杂任务上表现出色,但缺乏根据任务难度调整推理令牌使用的灵活性,导致“过度思考”问题。
- 现有方案不足:现有方法通常依赖于对每个任务令牌预算的明确估计,或者需要专门的、长度限制的模型训练。
- 研究目标:提出一种推理模型,能够根据任务难度自适应选择合适的推理格式,平衡性能和计算效率。
问题2:论文的核心创新点是什么?
- 技术创新:提出自适应推理模型(ARM),支持直接回答、短链式思维、代码和长链式思维四种推理格式。
- 方法改进:引入Ada-GRPO,解决传统GRPO中的格式崩溃问题,并实现高令牌效率。
- 优势:与仅依赖长链式思维的模型相比,ARM在保持性能的同时,平均减少约30%的令牌使用,最多减少约70%。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在常识、数学和符号推理的领域内和领域外任务上,对ARM进行评估。
- 性能提升:ARM在保持与仅依赖长链式思维的模型相当的性能的同时,平均减少了约30%的令牌使用。
- 对比结果:ARM在性能上优于Qwen2.5SFT和Qwen2.5SFT+GRPO,同时令牌使用更少。
问题4:这个研究的实际应用价值是什么?
- 应用场景:适用于需要推理能力的各种任务,如数学问题解决、常识问答和符号操作。
- 实施建议:在训练ARM时,应考虑使用不同的数据集和不同的骨干模型来提高性能。
- 局限与展望:ARM的当前实现可能需要进一步优化,以处理更复杂和更多样化的任务。未来的研究可以探索更先进的训练策略和推理格式。
来源
机器可读索引:llms.txt