Saved in:
Bibliographic Details
Main Authors: Wang, Yu, Liu, Minghao, Wang, Jiayun, Huang, Jinrui, Shah, Ankit, Wei, Wei
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2605.25244
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917530193362944
author Wang, Yu
Liu, Minghao
Wang, Jiayun
Huang, Jinrui
Shah, Ankit
Wei, Wei
author_facet Wang, Yu
Liu, Minghao
Wang, Jiayun
Huang, Jinrui
Shah, Ankit
Wei, Wei
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2605_25244
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Inference Time Optimization with Confidence Dynamics
Wang, Yu
Liu, Minghao
Wang, Jiayun
Huang, Jinrui
Shah, Ankit
Wei, Wei
Computation and Language
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.
title Inference Time Optimization with Confidence Dynamics
topic Computation and Language
url https://arxiv.org/abs/2605.25244