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

基于置信度动态的推理时优化

Inference Time Optimization with Confidence Dynamics

Center for Advanced AI, Accenture(Accenture高级人工智能中心)

Yu Wang, Minghao Liu, Jiayun Wang, Jinrui Huang, Ankit Shah, Wei Wei

AI总结:

本文通过观察推理轨迹中置信度的动态变化,发现正确轨迹置信度上升而错误轨迹下降,据此提出置信度动态增益投票方法,显著提升大语言模型推理性能。

摘要:

推理时优化技术(如重复采样)显著提升了大语言模型(LLMs)的推理能力。然而,模型不确定性在这些优化策略中的关键作用仍未被充分探索。本文研究了沿推理轨迹的置信度动态,并首次揭示了一个令人惊讶且独特的模式:正确回答轨迹倾向于随时间表现出置信度提升(正置信度增益),而错误轨迹在推理过程中置信度减弱或下降。基于这一观察,我们提出了基于置信度动态增益(CDG)的投票方法,该方法融入了响应置信度轨迹沿推理链的演化方式。在AIME24/25、HMMT25和BRUMO25基准测试上,针对四种开源架构(DeepSeek-R1、gpt-oss、Gemma-3、Qwen-QwQ)的实验表明,CDG相比基线取得了显著的性能提升。这些结果证明,我们的方法为改进LLM推理中的答案选择提供了稳健的判别信号。我们还为这一现象提供了理论见解。代码将在https://github.com/Accenture/CDG.git发布。

英文摘要:

Inference time optimization techniques, such as repeated sampling, have significantly advanced the reasoning capabilities of Large Language Models (LLMs). However, the critical role of model uncertainty remains largely underexplored in these optimization strategies. In this paper, we investigate the dynamics of confidence along reasoning trajectories and for first time reveal a surprising and unique pattern: correct answer traces tend to exhibit confidence improvement over time (positive confidence gain), while incorrect traces show attenuated or declining confidence as reasoning proceeds. Based on this observation, we propose Confidence Dynamic Gain (CDG) based voting, which incorporates how the confidence trajectory of the response evolves along the reasoning chain. Experiments across four open-source architectures (DeepSeek-R1, gpt-oss, Gemma-3, Qwen-QwQ) on the AIME24/25, HMMT25, and BRUMO25 benchmarks demonstrate that CDG yields a significant performance boost over baselines. These results demonstrate that our method provides a robust discriminative signal for improving answer selection in LLM reasoning. We also provide theoretical insights for this phenomenon. Code will be released at https://github.com/Accenture/CDG.git.

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

↑