2025-05-20 · 专家 · 自然语言处理

Thinkless: LLM Learns When to Think

本文提出了一种名为Thinkless的可学习框架,使大型语言模型(LLM)能够根据任务复杂性和自身能力自适应地选择简短或冗长的推理方式,从而显著提高推理语言模型的效率。

更新于 2025-05-21。作者:Gongfan Fang、Xinyin Ma、Xinchao Wang。

中文摘要

能够进行扩展链式思维推理的推理语言模型在需要复杂逻辑推理的任务中展现出卓越的性能。然而,对所有查询都应用复杂的推理往往会导致巨大的计算效率低下,尤其是在许多问题可以直接解决的情况下。这引发了一个开放性问题:大型语言模型能否学会何时思考?为了回答这个问题,我们提出了Thinkless,这是一个可学习的框架,使大型语言模型能够根据任务复杂度和模型能力自适应地选择短形式推理和长形式推理。Thinkless在强化学习范式下进行训练,并使用两个控制标记,<short>用于简洁的响应,<think>用于详细的推理。我们方法的核心是解耦组相对策略优化 (DeGRPO) 算法,它将混合推理的学习目标分解为两个组成部分:(1) 控制标记损失,用于控制推理模式的选择;(2) 响应损失,用于提高生成答案的准确性。这种解耦公式能够对每个目标的贡献进行细粒度控制,稳定训练并有效防止在普通 GRPO 中观察到的模型崩溃。根据经验,在Minerva Algebra、MATH-500和GSM8K等几个基准测试中,Thinkless能够将长链思维的使用减少50%-90%,从而显著提高推理语言模型的效率。代码可在https://github.com/VainF/Thinkless 获取。

英文摘要

Reasoning Language Models, capable of extended chain-of-thought reasoning, have demonstrated remarkable performance on tasks requiring complex logical inference. However, applying elaborate reasoning for all queries often results in substantial computational inefficiencies, particularly when many problems admit straightforward solutions. This motivates an open question: Can LLMs learn when to think? To answer this, we propose Thinkless, a learnable framework that empowers an LLM to adaptively select between short-form and long-form reasoning, based on both task complexity and the model's ability. Thinkless is trained under a reinforcement learning paradigm and employs two control tokens, <short> for concise responses and <think> for detailed reasoning. At the core of our method is a Decoupled Group Relative Policy Optimization (DeGRPO) algorithm, which decomposes the learning objective of hybrid reasoning into two components: (1) a control token loss that governs the selection of the reasoning mode, and (2) a response loss that improves the accuracy of the generated answers. This decoupled formulation enables fine-grained control over the contributions of each objective, stabilizing training and effectively preventing collapse observed in vanilla GRPO. Empirically, on several benchmarks such as Minerva Algebra, MATH-500, and GSM8K, Thinkless is able to reduce the usage of long-chain thinking by 50% - 90%, significantly improving the efficiency of Reasoning Language Models. The code is available at https://github.com/VainF/Thinkless</think></short>

解读

一句话总结

本文提出了一种名为Thinkless的可学习框架,使大型语言模型(LLM)能够根据任务复杂性和自身能力自适应地选择简短或冗长的推理方式,从而显著提高推理语言模型的效率。

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

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

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

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

来源

机器可读索引:llms.txt