相同信念,不同策略:学习可复用表示以实现LLM推理中的早停
Same Beliefs, Different Policies: Learning Reusable Representations for Early Stopping in LLM Reasoning
AI总结:
本研究提出BELT方法,将LLM的结果预测与停止控制分离,可复用表示实现早停,在数学、编码、智能体任务上减少生成token且准确率不损失,参数和训练成本远低于基线OS-Pruner。
摘要:
推理型大语言模型(LLM)在得出正确答案后往往会继续推理,这会浪费计算资源,有时还会得出错误答案。决定何时停止是一个元推理问题:模型必须结合自身已有的回答能力,权衡进一步推理可能带来的收益与成本。直接效用训练会在选定的token价格下学习停止表示;若要支持新的价格,可能需要额外训练控制器。我们提出BELT(基于信念的终止,BELief-based Termination),它将结果预测与停止控制分离开来。该方法从冻结LLM的隐藏状态中学习当前及未来答案的信念,随后在冻结特征上拟合线性停止策略。预测目标与token价格无关,因此只需一个探测模型,就可通过CPU上的策略重新拟合或阈值调整来支持不同的准确率-成本权衡。在五个分布外(OOD)数学基准上取平均,BELT在Qwen3-1.7B上减少了41%的生成token,在OLMo-3-7B-Think上减少了51%,且准确率未损失。经数学训练的同一BELT可迁移至编码和智能体任务,无需在代码或智能体数据上进行训练。在所有三个领域中,其准确率-成本权衡与端到端控制器相比具有竞争力或更优。在OLMo3上,其探测模型的参数数量比最强基线OS-Pruner的一个检查点少21.2倍,且训练所需的GPU小时数比OS-Pruner的五个特定价格检查点少55倍。
英文摘要:
Reasoning LLMs often continue reasoning after reaching a correct answer, wasting computation and sometimes replacing it with an incorrect one. Deciding when to stop is a metareasoning problem: the model must weigh what further reasoning could achieve against its cost, given what it can already answer. Direct utility training learns a stopping representation at a chosen token price; supporting new prices can require additional controller training. We introduce BELT (BELief-based Termination), which separates outcome prediction from stopping control. It learns beliefs about current and future answers from a frozen LLM's hidden states, then fits a linear stopping policy on the frozen features. The prediction targets are independent of token price, so one probe supports different accuracy-cost trade-offs through CPU policy refitting or threshold adjustment. Averaged over five out-of-distribution (OOD) math benchmarks, BELT reduces generated tokens by 41% on Qwen3-1.7B and 51% on OLMo-3-7B-Think without loss of accuracy. The same math-trained BELT transfers to coding and agentic tasks without training on code or agentic data. In all three domains, its accuracy-cost trade-offs are competitive with or better than those of end-to-end controllers. On OLMo3, its probe has 21.2x fewer parameters than one checkpoint of the strongest baseline, OS-Pruner, and needs 55x fewer training GPU-hours than OS-Pruner's five price-specific checkpoints.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。