DART: 为高效大语言模型的难度自适应推理截断
DART: Difficulty-Adaptive Reasoning Truncation for Efficient Large Language Models
AI总结:
DART通过自适应调整推理长度提升大语言模型效率,实现81.2%的推理截断和5.33倍的计算加速。
摘要:
自适应推理对于使大语言模型(LLMs)的计算努力与问题的内在难度对齐至关重要。当前的链式思维方法虽然增强了推理能力,但 indiscriminately 生成长解释,导致明显效率低下。然而,现有的强化学习方法用于自适应思维仍不稳定且严重依赖奖励。本文提出DART,一种监督的难度自适应推理截断框架,根据问题难度调整思考长度。通过从更强的模型中蒸馏出简洁的推理模式,将其插值为推理风格的连续体,并精心挑选出平衡正确性和紧凑性的最佳训练数据,DART学习何时“停止思考”。在多个数学基准测试中,实验结果证明了其显著的效率,同时保持或提高了准确性,在GSM8K数据集上,使用DeepSeek-R1-Distill-Qwen-7B模型实现了81.2%的推理截断,计算加速达5.33倍。DART提供了一个稳定且通用的高效推理范式,推动了LLMs中自适应智能的发展。
英文摘要:
Adaptive reasoning is essential for aligning the computational effort of large language models (LLMs) with the intrinsic difficulty of problems. Current chain-of-thought methods boost reasoning ability but indiscriminately generate long explanations, leading to evident inefficiency. However, existing reinforcement learning approaches to adaptive thinking remain unstable and heavily reward-dependent. Here we propose \textbf{DART}, a supervised \textbf{D}ifficulty-\textbf{A}daptive \textbf{R}easoning \textbf{T}runcation framework that adjusts thinking length according to problem difficulty. By distilling concise reasoning patterns from stronger models, interpolating them into a continuum of reasoning styles, and curating optimal training data that balances correctness and compactness, DART learns when to ``stop thinking''. Across multiple mathematical benchmarks, experimental results demonstrate its remarkable efficiency while preserving or improving accuracy, achieving a significant 81.2\% reasoning truncation (DeepSeek-R1-Distill-Qwen-7B on GSM8K dataset) with 5.33$\times$ computational acceleration. DART provides a stable and general paradigm for efficient reasoning, advancing the development of adaptive intelligence in LLMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。