Test-time Calibration Learning for Large Language Model Reasoning

Zizhuo Zhang, Xiong Peng, Jingwei Sun, Rong Yao, Shixiong Kai +2 more
10/2/2026
cs.LGcs.AI
rl

Official code: tmlr-group/TTCL (5 stars, last commit 2026-09-29).

Abstract

Reliable large language models (LLMs) must not only produce accurate answers but also express confidence that faithfully reflects their probability of being correct. Such calibration is essential for identifying uncertain predictions and supporting reliable decision-making in real-world deployment. Recent studies incorporate calibration learning into reinforcement learning (RL), jointly optimizing answer correctness and verbalized confidence using ground-truth correctness supervision. However, their reliance on labeled data limits their applicability in practical test-time settings, where ground-truth labels are unavailable and calibration may need to adapt to newly encountered target tasks. To address this challenge, we propose Test-Time Calibration Learning (TTCL), a label-free framework that jointly adapts reasoning accuracy and verbalized confidence directly on unlabeled target-task data. Specifically, TTCL derives self-supervision signals for both correctness and calibration from multiple model-generated responses, enabling calibration learning at test time without ground-truth labels. Theoretical analysis further establishes TTCL as a bounded surrogate for the ideal calibration objective. Extensive experiments on mathematical reasoning and factual question answering demonstrate that TTCL consistently improves both accuracy and calibration across diverse models and tasks. On base models, TTCL achieves an average relative accuracy improvement of +40.13% and an ECE reduction of +70.80% across eight benchmarks. Moreover, TTCL can further improve both accuracy and calibration for already calibrated models under domain shift, particularly when source-domain calibration transfers poorly to target tasks. In the math-to-factQA setting, TTCL achieves an average relative accuracy gain of +20.35% and reduces ECE by +53.83%. The source code is released at https://github.com/tmlr-group/TTCL.

View on arXivView PDF

Code Implementations(1)

tmlr-group/TTCLOfficial100%

[Arxiv] "Test-time Calibration Learning for Large Language Model Reasoning"

50Shell, PythonSep 29, 20263 weeks ago

Similar Papers

Cite this paper

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

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.02695.svg)](https://codeofpaper.com/paper/2610.02695)

Discussion