Test-time Calibration Learning for Large Language Model Reasoning

Zizhuo Zhang, Xiong Peng, Jingwei Sun, Rong Yao, Shixiong Kai, Mingxuan Yuan, Bo HanarXiv 2026

TL;DR

Test-Time Calibration Learning (TTCL) is a new framework that allows Large Language Models (LLMs) to self-calibrate and improve reasoning accuracy directly on unlabeled data at test time. By using the consensus of multiple model-generated responses as a self-supervision signal, TTCL aligns a model's verbalized confidence with its actual probability of being correct without requiring any ground-truth labels.

What Problem Does This Paper Address?

While LLMs have become formidable reasoners, they suffer from a persistent "ego" problem: overconfidence. A model might provide a detailed mathematical proof that is entirely wrong while asserting a 95% confidence level. This lack of "calibration"—where verbalized confidence fails to reflect empirical accuracy—is a major barrier to deploying LLMs in high-stakes environments like medicine or engineering.

Existing calibration methods typically rely on Reinforcement Learning (RL) with ground-truth labels to teach the model when to be doubtful. However, this approach has two major flaws:

  1. Label Dependency: We rarely have ground-truth answers for new, real-world tasks at test time.
  2. Domain Sensitivity: A model calibrated on math problems often becomes miscalibrated again when switched to factual Q&A (domain shift).

TTCL aims to bridge this gap by enabling label-free, test-time adaptation, allowing the model to "find its footing" and adjust its confidence levels on the fly as it encounters new types of problems.

Methods

The core innovation of TTCL is how it derives supervision signals from the model's own output distribution. The process works as follows:

  1. Multi-Rollout Sampling: For a given question, the model generates a group of $G$ independent responses (rollouts).
  2. Self-Supervised Rewards:
    • Correctness Reward: TTCL assumes the most frequent answer in the group (the majority vote) is the pseudo-label. It rewards the model for reasoning paths that lead to this consensus.
  3. Calibration Reward: Instead of a binary "right/wrong" signal, TTCL uses the empirical support (frequency) of an answer as the target for the model's verbalized confidence. If an answer appears in 70% of rollouts, the model is trained to verbalize a confidence of 0.7.
  4. Disentangled Optimization: Using Group Relative Policy Optimization (GRPO), the authors apply the correctness reward only to the reasoning and answer tokens, while the calibration reward (based on a Brier score) is applied strictly to the confidence tokens. This prevents the two objectives from interfering with each other.
  5. Target Cache: To prevent "reward hacking"—where a model might quickly converge on a single, potentially incorrect answer with 100% confidence—TTCL maintains a temporally lagged cache of answer distributions updated via Exponential Moving Average (EMA). This stabilizes the learning process by providing a "moving target" that isn't tied to the model's immediate, potentially unstable predictions.
Figure 1: Overview of our work: TTCL enables label-free calibration learning directly on unlabeled target-task data, consistently improving reasoning accuracy while reducing calibration error across models and tasks, with confidence progressively aligning with accuracy during test-time learning.

Datasets

The authors evaluated TTCL across a wide array of challenging benchmarks:

  • Mathematics: MATH500, AMC, and the highly difficult AIME (2024–2026) competitions.
  • Factual QA: SimpleQA, ChineseSimpleQA, Natural Questions (NQ), HotpotQA, and TriviaQA.
  • General Capabilities: To ensure calibration didn't break general intelligence, they tested on ARC, GPQA, IFEval, MMLU-Pro, and TruthfulQA.

Key Insights and Ideas

  • Answer Frequency as a Proxy: The authors provide a theoretical proof (Theorem 4.1) showing that answer frequency is a statistically sound, bounded surrogate for the ideal calibration objective. In simpler terms: if the model is uncertain, its rollouts will naturally diverge; if it's certain, they will converge.
  • Calibration is Task-Specific: The paper highlights that calibration does not generalize well. A model "calibrated" on math still needs to be "re-calibrated" for factual QA. TTCL makes this re-calibration possible without new human-annotated data.
  • The Stability of Lagged Targets: The "Target Cache" is crucial. Without it, the model enters a positive feedback loop of overconfidence, eventually "hallucinating" consensus on wrong answers.
Training dynamics show that TTCL narrows the gap between accuracy and confidence over time.

Key Results

TTCL demonstrated significant gains across all tested models (Qwen3 and Llama-3.1 series):

  • Base Model Improvements: Across eight benchmarks, TTCL achieved an average relative accuracy boost of +40.13% and a massive Expected Calibration Error (ECE) reduction of 70.80%.
  • Handling Domain Shift: In "math-to-factQA" scenarios, where a math-calibrated model was tested on factual questions, TTCL reduced ECE by 53.83% and improved accuracy by 20.35%.
  • Alignment: As shown in the training dynamics, the model's verbalized confidence progressively aligns with its empirical accuracy as test-time learning proceeds.
Performance comparison on Math500 and SimpleQA showing higher accuracy and lower ECE after TTCL.

Limitations and Future Work

  • Computational Overhead: TTCL requires multiple rollouts (the paper uses $G=32$) and gradient updates at test time. This is significantly more expensive than a standard single-inference pass.
  • Cold Start Problem: The method relies on the model being able to generate the correct answer at least some of the time. If a model is completely incapable of solving a task, the majority-vote pseudo-label will be wrong, leading the model astray.
  • Future Directions: The authors suggest exploring more efficient sampling methods and extending the framework to non-reasoning tasks where "correctness" is harder to define via consensus.

Summary updated

BibTeX
@misc{zhang2026test,
  author = {Zizhuo Zhang and Xiong Peng and Jingwei Sun and Rong Yao and Shixiong Kai and Mingxuan Yuan and Bo Han},
  title = {{Test-time Calibration Learning for Large Language Model Reasoning}},
  year = {2026},
  eprint = {2610.02695},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.02695},
}
Figure