CalConf: Calibrated Confidence for Efficient Test-Time Reasoning

Tangyu Jiang, Haodi Wang, Yuanbing Zhu, Xiaojiang Du, Xiaohua Jia, Bo HanNeurIPS 2026

TL;DR

Giving Large Language Models (LLMs) extra time to "think" by generating multiple reasoning paths dramatically boosts their accuracy, but wastes massive compute on dead-end chains of thought. Existing early-stopping tricks pull the plug whenever a model's token confidence drops—inadvertently killing off valid, exploratory brainstorming. CalConf fixes this without any model training by weighing token confidence based on a simple observation—wrong answers tend to ramble—slashing token generation by up to 44% while actually improving final accuracy.

What Problem Does This Paper Address?

To solve tough math, science, or coding problems, modern LLMs rely on test-time scaling: instead of generating a single response, they sample dozens of independent reasoning trajectories (rollouts) and take a majority vote at the end. It works wonders, but it is painfully expensive because a huge chunk of those tokens are spent on trajectories that spiral into failure.

To save compute without retraining models, researchers use early-exit strategies: monitor the LLM’s internal probability (confidence) at each step, and abort the rollout if average confidence dips below a threshold.

Here is the catch: not all uncertainty is bad. Existing methods treat every low-confidence token as a sign of failure. In reality, low confidence comes in two flavors: harmful (committing to a broken algebraic approach) and benign (healthy branching uncertainty, like deciding which valid case to test next). Penalizing both equally causes premature termination of brilliant, exploratory reasoning paths.

Figure 1: Two low-confidence bigrams with opposite trajectory outcomes. Left: An incorrect- associated bigram where low confidence reflects a harmful algebraic framework. Right: A correct- associated bigram where low confidence reflects benign exploration within a valid strategy.

Methods

How do you tell healthy exploration apart from a doom-loop without training an external verifier? The authors rely on a neat empirical pattern: flawed trajectories tend to be long. When an LLM is stuck or confused, it rambles.

Figure 2: Offline reasoning trajectories from Qwen3-30B-A3B on AIME 2025 (30 samples / problem).

Building on this, the authors introduce Calibrated Confidence (CalConf), a training-free, three-stage pipeline:

  1. Warm-Up Calibration (New): Before tackling the main workload, the model generates a small set of unlabeled sample rollouts on the target dataset. Half are used to build a length-calibrated token-weight map ($W_v$). Tokens that frequently appear in short, crisp trajectories get higher weights (up to 2), while tokens native to long, rambling trajectories get lower weights (approaching 1). The other half of the warm-up set establishes a stopping threshold $T$ using split-conformal quantile calibration—meaning you just pick a desired early-stop rate (say, $\tau = 0.35$), and the math guarantees you'll hit close to it in practice without per-model tuning.
  2. Online Inference (Modified): During actual generation, instead of averaging raw confidence, CalConf monitors a 256-token sliding window of weighted confidence ($W_v \times \text{confidence}$). If the window's score drops below $T$, the rollout is terminated on the spot.
  3. Final Prediction (Standard): Surviving rollouts finish generating, and standard majority voting picks the winning answer.
Stage 2 Online Inference: monitoring sliding-window weighted confidence against threshold T.

Datasets

Because CalConf is entirely training-free, no training datasets are used. It is evaluated across five established, high-difficulty benchmarks (no new benchmarks are introduced):

  • Mathematical Reasoning: AIME 2024, AIME 2025, and Brumo 2025 (competition-level Olympiad math).
  • Scientific Reasoning: GPQA Diamond (graduate-level science questions).
  • Code Generation: LiveCodeBench v5 (contamination-controlled coding problems).

Key Insights and Ideas

  • Uncertainty is asymmetric: Most low-confidence tokens are neutral noise, but tokens in the distribution tails strongly predict success or failure. For instance, on AIME 2025, low-confidence appearances of the bigram n + occurred almost exclusively in correct exhaustive case-analyses (286/288 times), whereas modulo 3 appeared 127 times exclusively in incorrect, oversimplified attempts.
  • Length is a free, unlabeled supervisor: Notice that CalConf never checks whether warm-up answers are right—it only measures how long they are. Because length correlates strongly with failure (Spearman's $|\rho| = 0.61$), length statistics alone are enough to upweight benign exploratory tokens and downweight doom-loop tokens.
  • Less compute can mean better accuracy: Pruning degrading rollouts doesn't just save money; it removes noisy, hallucinated answers before majority voting, yielding a cleaner candidate pool and higher final accuracy than full generation.

Key Results

Tested across three open-source models (Qwen3-4B-Thinking, Qwen3-30B-A3B, and openPangu-7B) sampling 30 rollouts per problem:

  • Token Savings: Reduces generated tokens by 20%–44% during online inference compared to full generation. Even after charging the one-time warm-up cost against the evaluation budget, net token savings remain 10.14%–33.53% across math benchmarks.
  • Accuracy Gains: Matches or beats offline full-generation majority voting in most settings. Across the three math benchmarks, CalConf achieves an 84.36% average voting accuracy—beating full-generation baselines like SC-Brd and T-Gap by 3.62 percentage points while using ~30% fewer tokens.
  • Cross-Domain Generalization: On GPQA Diamond (Qwen3-30B-A3B), CalConf boosts individual rollout accuracy from 71.16% to 86.05% while slashing average tokens from 7,391 down to 1,859. On LiveCodeBench v5 (openPangu-7B), voting accuracy jumps from 40.00% (Full) to 68.75%.

Limitations and Future Work

While the authors do not include a formal "Limitations" section, their experiments candidly highlight a few practical trade-offs:

  • Warm-up coverage dependency: CalConf works best when its unlabeled warm-up rollouts cover problems across the target benchmark. Restricting warm-up to smaller, problem-disjoint subsets (10%–50% of problems) slightly degrades voting accuracy and increases token-cost variance.
  • Total-stop edge cases: Under aggressive thresholds or tricky problems, CalConf can occasionally early-stop all candidate rollouts (or leave only unparseable ones), resulting in a "no-vote" failure—though in 5 out of 7 observed cases at 50 rollouts, full generation also got those problems wrong.
  • Hyperparameter trade-offs: Pushing the target quantile $\tau$ too high saves more tokens, but eventually starts clipping genuinely useful reasoning paths.

(Future work directions are not discussed in the paper.)

Summary updated

Abstract

Test-time scaling boosts the reasoning performance of large language models (LLMs) on challenging tasks but incurs substantial computational overhead. The existing training-free approaches adopt token-level confidence as a proxy and terminate trajectories once the confidence falls below a threshold. However, these methods treat all low-confidence tokens uniformly, overlooking the fact that some of them actually reflect benign generations. We introduce Calibrated Confidence (CalConf), a training-free proxy for test-time scaling in LLM reasoning. The design rests on a simple empirical observation: flawed trajectories tend to be long. CalConf therefore learns a length-calibrated token-weight map and uses it to selectively terminate degrading trajectories during generation. We theoretically prove that CalConf attains the desired early-stop rate in practice without per-model tuning. Across five benchmarks (on mathematical reasoning, scientific reasoning, and code generation tasks) and three open-source LLMs, CalConf consistently matches or exceeds offline majority-vote accuracy while reducing generated tokens by 20–44%. Token-level analyses trace these gains directly to CalConf’s ability to isolate harmful patterns that uniform-confidence baselines cannot distinguish.
BibTeX
@inproceedings{jiang2026calconf,
  author = {Tangyu Jiang and Haodi Wang and Yuanbing Zhu and Xiaojiang Du and Xiaohua Jia and Bo Han},
  title = {{CalConf: Calibrated Confidence for Efficient Test-Time Reasoning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=pud2pPkedd},
}
Figure