arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.08146cs.LGcs.AI
收藏

思考恰到好处:序列级熵作为大语言模型推理的置信信号

Think Just Enough: Sequence-Level Entropy as a Confidence Signal for LLM Reasoning

Lossfunk

Aman Sharma, Paras Chopra

AI总结:

本研究提出基于序列级香农熵的大语言模型推理提前停止框架,可在保持准确率的同时节省25%-50%计算量,且该熵置信校准是高级后训练推理模型的涌现特性。

摘要:

我们提出了一种简单却新颖的基于熵的框架,用于提升大语言模型在推理任务中的token效率。该方法利用token层级对数概率计算得到的香农熵作为置信信号,实现推理提前停止,在保持任务准确率的同时节省25-50%的计算量。关键在于,我们证明基于熵的置信校准是现代推理模型中高级后训练优化的一种涌现特性,而标准指令微调模型与预训练模型(Llama 3.3 70B)明显不具备该特性。我们发现,停止推理的熵阈值因模型而异,但仅需借助现有推理数据集中的少量样本,就能一次性轻松计算得到。研究结果表明,高级推理模型往往能在推理早期就知晓自己已得到正确答案,且这种涌现的置信感知能力可被用于节省token、降低延迟。该框架在多个经过推理优化的模型系列中均表现稳定,在保留准确率的同时降低25-50%的计算成本,揭示出置信机制是现代后训练推理系统区别于前代系统的一项显著特征。

英文摘要:

We introduce a simple, yet novel entropy-based framework to drive token efficiency in large language models during reasoning tasks. Our approach uses Shannon entropy from token-level logprobs as a confidence signal to enable early stopping, achieving 25-50% computational savings while maintaining task accuracy. Crucially, we demonstrate that entropy-based confidence calibration represents an emergent property of advanced post-training optimization present in modern reasoning models but notably absent in standard instruction-tuned and pre-trained models (Llama 3.3 70B). We show that the entropy threshold to stop reasoning varies from model to model but can be calculated easily in one shot using only a few examples from existing reasoning datasets. Our results indicate that advanced reasoning models often know that they've gotten a correct answer early on, and that this emergent confidence awareness can be exploited to save tokens and reduce latency. The framework demonstrates consistent performance across reasoning-optimized model families with 25-50% computational cost reduction while preserving accuracy, revealing that confidence mechanisms represent a distinguishing characteristic of modern post-trained reasoning systems versus their predecessors.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑