arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.26173cs.LGcs.AIcs.CL
收藏

熵中心作为测试时缩放的内在奖励

Entropy Centroids as Intrinsic Rewards for Test-Time Scaling

HKUST(香港科技大学);ZJU(浙江大学);Huawei(华为)

Wenshuo Zhao, Qi Zhu, Xingshan Zeng, Fei Mi, Lifeng Shang, Yi R., Fung

AI总结:

本文提出熵中心作为测试时缩放的内在奖励,通过分析不确定性的时间结构提升模型响应质量,在不同规模模型上均优于现有基线。

摘要:

一种有效扩展大语言模型测试时计算的方法是采样多个响应并选择最佳者,如Grok Heavy和Gemini Deep Think。现有选择方法常依赖外部奖励模型,需训练强奖励模型并引入额外计算开销。作为替代方案,先前方法探索了内在信号如置信度和熵,但这些信号在简单聚合时噪声较大。在本文中,我们观察到高熵标记在推理过程中倾向于聚类成连续组,提供比单个标记更稳定的模型不确定性概念。这些聚类揭示了推理过程中模型不确定性的时序模式。受此启发,我们提出利用不确定性的时间结构作为内在奖励。为此,我们首先将段级不确定性的基本单位形式化为高熵相(HEP),即一个可变长度的段,从高熵标记开始,直到出现连续低熵标记为止。然后,我们定义熵中心,受物理学质心概念启发,作为所有HEP沿轨迹的加权平均位置。直观上,较低的质心表示早期探索后自信生成,我们发现这常对应更高的响应质量。基于此洞察,我们提出最低质心方法,选择多个候选中的最低熵质心响应。在数学、代码生成、逻辑推理和代理任务上,跨14B至480B模型规模的实验表明,最低质心方法在不同规模模型上均优于现有基线,并在模型规模增大时提供稳定增益。代码可在https://github.com/hkust-nlp/entropy-centroid获取。

英文摘要:

An effective way to scale up test-time compute of large language models is to sample multiple responses and then select the best one, as in Grok Heavy and Gemini Deep Think. Existing selection methods often rely on external reward models, which requires training a strong reward model and introduces additional computation overhead. As an alternative, previous approaches have explored intrinsic signals, such as confidence and entropy, but these signals are noisy with naive aggregation. In this work, we observe that high-entropy tokens tend to cluster into consecutive groups during inference, providing a more stable notion of model uncertainty than individual tokens. Together, these clusters reveal temporal patterns of model uncertainty throughout the inference process. Motivated by this observation, we propose to use the temporal structure of uncertainty as an intrinsic reward. To this end, we first formalize the basic unit of segment-level uncertainty as the High Entropy Phase (HEP), a variable-length segment that begins at a high-entropy token and ends when consecutive low-entropy tokens appear. We then define the Entropy Centroid, inspired by the concept of the center of mass in physics, as the weighted average position of all HEPs along the trajectory. Intuitively, a lower centroid indicates early exploration followed by confident generation, which we find often corresponds to higher response quality. Based on this insight, we propose the Lowest Centroid method, which selects the response with the lowest entropy centroid among multiple candidates. Experiments on mathematics, code generation, logical reasoning, and agentic tasks, across model scales ranging from 14B to 480B, show that Lowest Centroid consistently outperforms existing baselines and delivers stable gains as model size increases. Code is available at https://github.com/hkust-nlp/entropy-centroid.

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

↑