arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.01288cs.LG
收藏

EDIS: 通过熵动力学诊断LLM推理

EDIS: Diagnosing LLM Reasoning via Entropy Dynamics

South China Normal University(华南师范大学);Sun Yat-sen University(中山大学);Shanghai Jiao Tong University(上海交通大学);Peking University(北京大学)

Chenghua Zhu, Siyan Wu, Xiangkang Zeng, Zishan Xu, Zhaolu Kang, Yifu Guo, Yuquan Lu, Junduan Huang, Guojing Zhou

AI总结:

EDIS通过分析LLM推理过程中的熵动态变化,识别错误推理的特征模式,提供有效的诊断信号以提升推理准确性。

摘要:

基于熵的置信度信号正被越来越多地用于改进大型语言模型(LLM)的推理能力,但现有方法将置信度视为静态量——通常是在令牌层面进行汇总。我们证明,在生成过程中置信度的时序演变比单独的汇总统计信息包含更丰富的信息。分析令牌级熵轨迹,我们识别出区分正确与错误推理的特征模式:错误的解决方案表现出不稳定的动态,包括突发尖峰(持续的不确定性增长)和峰谷尖峰(在短暂置信后出现的急剧反弹)。这些模式在不同模型和训练阶段中持续存在,表明它们反映了推理失败的内在属性,而不是表面噪声。为了正式化这一观察,我们引入了熵动力学不稳定性评分(EDIS),一种轨迹级指标,用于量化熵演变的不稳定性。EDIS在推理时间选择中具有有效的诊断信号作用,显著提高了推理准确性,并为训练时间的样本筛选提供了有前途的方向。我们的发现确立了熵动力学作为理解并改进LLM推理的未被充分探索但信息丰富的视角。

英文摘要:

Entropy-based confidence signals are increasingly leveraged to improve reasoning in large language models (LLMs), yet existing approaches treat confidence as a static quantity -- typically aggregated over tokens. We show that the \emph{temporal evolution} of confidence during generation carries richer information than aggregate statistics alone. Analyzing token-level entropy trajectories, we identify characteristic patterns distinguishing correct from incorrect reasoning: erroneous solutions exhibit unstable dynamics, including burst spikes (sustained uncertainty growth) and peak-valley spikes (sharp rebounds following transient confidence). These patterns persist across models and training stages, suggesting they reflect intrinsic properties of reasoning failure rather than superficial noise. To formalize this observation, we introduce the Entropy Dynamics Instability Score (\textbf{EDIS}), a trajectory-level metric quantifying instability in entropy evolution. EDIS serves as an effective diagnostic signal for inference-time selection, substantially improving reasoning accuracy, and offers a promising direction for training-time sample curation. Our findings establish entropy dynamics as an underexplored yet informative lens for understanding and improving LLM reasoning.

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

↑