arXiv:2610.02695cs.LGOct 2026

Manuscript Offprint

arXiv:2610.02695

Test-time Calibration Learning for Large Language Model Reasoning

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

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

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.

Calibration Behavior

Figure

Performance Comparison

Figure

Training Dynamics

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.

1 INTRODUCTION

Large language models (LLMs) are increasingly deployed in user-facing and decision-support systems (Zhang et al., 2026; Sun et al., 2026), where the outputs may directly influence real-world

∗^{*}Equal contribution.

†^{\dagger}Correspondence to Bo Han (bhanml@comp.hkbu.edu.hk).

decisions. Despite their remarkable capabilities, LLMs often assign high confidence to incorrect responses. Such miscalibration makes errors difficult to detect and can lead to severe consequences in high-stakes settings (Ji et al., 2023). Ideally, a well-calibrated model should produce confidence estimates that faithfully reflect its empirical likelihood of being correct. To achieve this, researchers have proposed calibration learning (Damani et al., 2026; Bani-Harouni et al., 2026), which combine calibration-oriented reward with answer correctness reward during reinforcement learning process to consistently improve LLM reasoning performance and confidence calibration behavior.

Despite the promising results achieved by previous research, we observe that existing calibration learning methods typically rely on large amounts of labeled data to provide supervision for calibration, incurring substantial annotation costs (Damani et al., 2026; Tan et al., 2026; Zollo et al., 2026). More importantly, a model calibrated on a source domain may not remain well-calibrated when testing on a different target domain. As shown in Fig. 2, a model calibrated by existing method RLCR (Damani et al., 2026) on DAPO-Math-14K (Yu et al., 2025) transfers well to the math-related AMC benchmark (Yang et al., 2024), but remains limited calibration behavior on the factual NQ benchmark (Kwiatkowski et al., 2019), highlighting the sensitivity of learned calibration to domain shift. These limitations pose a key challenge: how can we adapt a model's calibration behavior directly to an unseen target task at test time, without relying on ground-truth labels?

To address this, we propose Test-Time Calibration Learning (TTCL), which provides a label-free surrogate for calibration learning. Specifically, TTCL derives two self-supervision signals from multiple sampled responses: a correctness reward based on the majority answer and a calibration reward based on the empirical support of each answer. The two rewards are separately applied to the answer and confidence tokens, allowing the model to improve answer correctness and confidence calibration without undesirable interference. To stabilize learning, we further introduce a target cache that maintains temporally lagged supervision targets, reducing the risk of reinforcing the model's own instantaneous predictions. To demonstrate the effectiveness of our method, we conduct extensive experiments on mathematical reasoning and factual question-answering benchmarks with multiple model scales and series. The results show that TTCL can consistently improve both reasoning accuracy and confidence on target task. Our main contributions are summarized as follows:

• Conceptually, we propose Test-Time Calibration Learning, a new calibration paradigm that adapts LLM confidence directly to the target task at test time without relying on ground-truth labels, enabling calibration of confidence estimation under unseen test distributions (Section 3.1).

• Technically, we develop a label-free TTCL framework that constructs self-supervised signals for correctness and calibration rewards from multi-rollout frequency (Section 3.2 & 3.3).

• Theoretically, we show that TTCL essentially serves as a bounded surrogate for the ideal calibration learning objective, theoretically grounding its label-free learning mechanism (Section 4).

• Experimentally, extensive experiments across models and benchmarks show consistent improvements of TTCL in both reasoning and calibration performance (Section 5).