Skip to content
ImagineWorld

Scaling with Confidence: Calibrating Confidence of LLMs for Adaptive Test Time Scaling

node_idnode-paper_arxiv-2607.01612_scaling-with-confidence-calibrating-confidence-of-llms-for-adaptive-test-time
node_typenode-paper
schema_profileworld.node_paper.v1
alternate_namesarxiv-2607.01612
statusactive
orthogonal_scopemanifold, entropy, authority, state
manifoldworld
entropymedium
authorityguides
stateexternal
domainimagineworld.net
node_interiorrosetta_contract
unisonone evidence claim read five ways: seated in the machine-introspection field, the work scales with confidence — calibrating LLM confidence for adaptive test-time compute — its framework, regime, and stance agreeing on what it is
governed_byWORLD-MANIFOLD, CORPUS
constitutional_citationCONSTITUTION
evidence_bundleworld-bundle-paper
publication_classarxiv_preprint
paper_titleScaling with Confidence: Calibrating Confidence of LLMs for Adaptive Test Time Scaling
paper_authorsXuqing Yang, Yi Yuan, Shanzhe Lei, Xuhong Wang
arxiv_id2607.01612
arxiv_urlhttps://arxiv.org/abs/2607.01612
arxiv_categories{"primary":"cs.AI","secondary":[]}
arxiv_v1
arxiv_submitted_at2026-07-02
arxiv_updated_at2026-07-02
ocr_sourcearxiv_html
ocr_quality_classverbatim_latexml_html
extraction_toolarxiv-nodepaper-transpose
extraction_pipeline_versionworld-ingest-arxiv-html-v1.0
extracted_at2026-10-13T06:51:09Z
math_preserved_as_latextrue
figures_extractedtrue
references_structurally_parsedfalse
created_at2026-10-13T06:51:09Z
updated_at2026-10-14T05:53:23Z
local graph

Scaling with Confidence: Calibrating Confidence of LLMs for Adaptive Test Time Scaling

Section titled “Scaling with Confidence: Calibrating Confidence of LLMs for Adaptive Test Time Scaling”

Authors: Xuqing Yang, Yi Yuan, Shanzhe Lei, Xuhong Wang

arxiv: 2607.01612

Converted to markdown on 2026-10-13 from the arXiv HTML (LaTeXML) rendering; figures embedded from the same source.


Training large language models (LLMs) with reinforcement learning (RL) has significantly advanced their performance on reasoning and question-answering tasks. However, prevailing RL reward designs typically prioritize response correctness, neglecting to incentivize models to express their confidence accurately. This leads to a critical problem: performance gains are often accompanied by poor calibration between confidence and accuracy, misleading models to overconfidently hallucinate when uncertain. To address this limitation, we propose Correctness and Confidence Calibration Reinforcement Learning (C3RL), a novel RL algorithm integrating correctness, calibration and dataset-informed reference accuracy rewards together. Comprehensive evaluation across 8 text and multimodal datasets demonstrates that C3RL enhances calibration without sacrificing accuracy, outperforming the current state-of-the-art method in both performance and calibration metrics. Utilizing the well-calibrated verbalized confidence from C3RL, we further introduce Confidence-based Adaptive Test Time Scaling (CAS), an adjustable inference-time strategy that allocates computational resources based on response confidence. Experiments show that CAS surpasses majority voting on both in-domain and out-of-domain datasets while reducing the inference budget by up to 12.33 times. We believe the synergy of C3RL and CAS paves the way for deploying more reliable and resource-efficient LLMs. The code, data and models will be released.

Large Language Models (LLMs) have demonstrated remarkable performance in reasoning, question answering, and code generation (brown2020language; achiam2023gpt). However, their impressive capabilities are accompanied by a critical failure mode: when faced with uncertainty, LLMs frequently produce overconfident but incorrect outputs—a phenomenon widely referred to as hallucination (ji2023survey). Such behavior is not merely an academic curiosity, but can lead to serious consequences, including misinformation propagation and decision failures in safety-critical domains.

To mitigate these risks, it is desirable for LLMs not only to generate correct outputs but also to reliably express their epistemic uncertainty. This property, known as confidence calibration, refers to the ability of a model to produce probability estimates that faithfully reflect the likelihood of correctness (guo2017calibration). Well-calibrated confidence serves as a foundation to abstain from uncertain answering, defer to human oversight, or dynamically adjust computational budget when confidence is low.

Despite its importance, confidence calibration for LLMs remains underexplored and faces several limitations. First, they typically reduce calibration to a binary classification task (certain vs. uncertain), which is too coarse to capture the nuanced uncertainty of LLM predictions. Second, they often improve calibration at the expense of accuracy, since models may learn to produce deliberately incorrect low-confidence answers to minimize calibration loss. Moreover, they rarely explore the potential of calibrated confidence for downstream decision-making, such as adaptive inference and resource allocation (zhao2024fact).

Our work addresses these gaps by jointly optimizing correctness and calibration within a reinforcement learning framework and by exploiting calibrated confidence for adaptive test-time scaling. Specifically, we design an approach that explicitly teaches LLMs to signal low confidence when they are uncertain . Moreover, we leverage the resulting calibrated confidence to guide early stopping in test time scaling, adjusting more computation to low-confidence samples. To the best of our knowledge, our method is the first to integrate confidence calibration and test-time scaling in a unified framework, thereby improving both the reliability and efficiency of inference.

Our contributions are summarized as follows:

    Correctness and Confidence Calibration Reinforcement Learning(C3RL): We propose C3RL, a novel RL algorithm that simultaneously improves correctness and calibration, preserving overall performance while reducing overconfidence.

    Confidence-based Adaptive Test Time Scaling(CAS): We introduce an early-stopping mechanism for test time scaling that leverages calibrated confidence to dynamically allocate inference budget. This approach dedicates more computation to low-confidence ones, striking an improved efficiency–accuracy balance.

    Unified Framework: Together, C3RL and CAS form a coherent pipeline that enables LLMs to express calibrated confidence and to adaptively control inference cost, paving the way for more trustworthy and efficient LLMs.

Recent studies reveal that, LLMs often exhibit overconfidence (xiong2023can; mei2025reasoning) and hallucination (zhang2025siren; liang2024learning), which undermines their reliability. Existing efforts to improve confidence estimation and calibration can be broadly grouped into two major lines: (i) prompt and sampling-based calibration and (ii) training and RL-based calibration. We further discuss related work on adaptive test time scaling.

Prompt-based approaches guide LLMs to explicitly verbalize their confidence or self-assess their reliability after producing an answer.  (tian2023just; xiong2023can; yang2024verbalized) show that verbalized confidence is often poorly calibrated though calibration improves with model scale and reasoning capability. More recent reasoning-oriented studies (mei2025reasoning; yoon2025reasoning) demonstrate that introspective or “slow thinking” chain-of-thought (CoT) prompting can yield better alignment between confidence and correctness. However, these prompting-based techniques depend heavily on prompt wording, limiting robustness and scalability zhao2021calibrate.

Another line of research estimates confidence implicitly from response consistency. These sampling-based approaches rely on response diversity or majority voting (kuhn2023semantic; aichberger2025improving; kang2025scalable), where agreement across multiple generations serves as uncertainty. While these methods correlate well with empirical accuracy, they are computationally expensive.

Figure 1: Pipeline for the framework of training set construction, Correctness and Confidence Calibration Reinforcement

Figure 1: Pipeline for the framework of training set construction, Correctness and Confidence Calibration Reinforcement Learning(C3RL) and Confidence-based Adaptive Test Time Scaling(CAS). The base model first generates 10 responses for each sample and categorizes the samples into “all correct”, “partially correct” and “all incorrect”. In C3RL, R correctness R_{\mathrm{correctness}} encourages correct answers, R reference R_{\mathrm{reference}} rewards/penalizes correctness change based on the assigned categories, and R calibration R_{\mathrm{calibration}} incentivizes calibration of confidence. In CAS, the stopping probability (Eq. 1 ) is calculated from the most confident answer and the second most confident answer. If the most confident answer dominates existing generations ( c 1 c_{1} is much larger than c 2 c_{2} ), the inference will stop to save budget.

Training-based methods aim to learn calibrated confidence distributions through supervised or reinforcement objectives. lin2022teaching introduces dataset-level supervision by correlating response types with empirical accuracy, while R-Tuning (zhang2023r) augments supervised fine-tuning data with binary “I am sure/unsure” labels. Although effective for coarse uncertainty, such designs fail to capture fine-grained, context-dependent confidence.

More principled formulations employ reinforcement learning (RL) to jointly optimize correctness and calibration. SaySelf (xu2024sayself) and stangel2025rewarding train LMs with proper scoring rules (e.g., Brier or log loss) as rewards, directly aligning verbalized confidence with output correctness. However, these objectives often prioritize calibration alone, potentially encouraging low-confidence incorrect answers to minimize loss. RLCR (damani2025RLCR) incorporates calibrated reward functions to balance accuracy and calibration, though applications remain limited to question-answering or Maths tasks. Instead, our model trained with C3RL on reasoning-intensive tasks maintains accuracy and reaches optimal improvement in calibration.

Adaptive sampling has emerged as a powerful approach to reduce the computational cost of test time scaling. Adaptive-Consistency (aggarwal2023AC) introduces a model-agnostic technique that dynamically adjusts the number of samples per question using lightweight stopping criteria based on the frequency of answers. li2023ESC takes an alternative approach by dividing the sampling process into sequential windows and stopping when all samples within a window are the same. However, these adaptive sampling methods rely on frequency or entropy to approximate confidence, failing to utilize the confidence signal itself directly.

In this section, we introduce the construction process of training data (Section 3.1), the reward design for C3RL (Section 3.2) and the adaptive test time scaling strategy based on calibrated confidence (Section 3.3). Figure 1 shows the pipeline of the whole framework.

Training LLMs via Reinforcement Learning requires comprehensive and moderately difficult datasets. We create our high-quality training datasets and assign an accuracy tag to each data.

We first collect datasets in mathematics, science and logic reasoning. The selected datasets are denoted as D\mathcal{D}, with the following components: (1) Mathematics and Science: NuminaMath-TIR (numina_math) (69k numerical-answer math problems targeting computation and reasoning) and WebInstruct-verified (webinstruct) (4.5k selected numerical science problems with integer answers); (2) Logical Reasoning: LogicNLI (logicnli) (16k problems unbinding the target first-order logic reasoning from commonsense inference) and LogiQA (logiqa) (8,678 QA problems focusing on deductive reasoning). The detailed filtering process is in A.1.1. D\mathcal{D} is randomly split into D_train\mathcal{D}\_{train} (106k samples, 99%) and D_test\mathcal{D}\_{test} (1,073 samples, 1%).

For each question qq in D_train\mathcal{D}\_{train}, we use the base model (Qwen2.5VL-7B-Instruct qwen2.5-vl or Llama-3.2-3B-Instruct llama3_2_3b) to generate 10 answers with a decoding temperature 0.7. The answer generation prompt is in 4. We calculate the accuracy of this answer set: Acc_q=∑_i=110I(a_i=a\*)/10Acc\_{q}=\sum\_{i=1}^{10}{\mathbb{I}(a\_{i}=a^{\*})}/{10}, where I∈{0,1}\mathbb{I}\in\{0,1\} is an indicator function and a\*a^{\*} is the ground truth. Then we assign a reference accuracy tag T_qT\_{q} from the following three options: “all correct” (Acc_qAcc\_{q} = 1), “partially correct” (0<Acc_qAcc\_{q} <1) and “all incorrect” (Acc_qAcc\_{q} = 0).

To be specific, D_trainD\_{train} composes of 13.7k “all correct” questions, 68.1k “partially correct” questions, and 24.3k “all incorrect” questions. In the following section, we incorporate this reference accuracy into our reward design.

Previous RL training methods for calibration simply incentivize calibration and pose potential risks that models learn to give incorrect answers deliberately with low confidence. To prevent such a “calibrated but wrong” shortcut, we design a novel Correctness and Confidence Calibration Reinforcement Learning (C3RL). For each question q∈D_trainq\in\mathcal{D}\_{train}, we prompt the base model to generate an answer a_qa\_{q} with an associated verbalized confidence c_a_q∈{1,2,...,10}c\_{a\_{q}}\in\{1,2,...,10\}, where c_a_q=1c\_{a\_{q}}=1 means the model is totally uncertain and c_a_q=10c\_{a\_{q}}=10 means the model is totally certain. We train the model (same as the base model) utilizing the following reward:

R_C3RL(q,a_q,c_a_q,T_q)=\displaystyle R\_{\mathrm{C3RL}}(q,a\_{q},c\_{a\_{q}},T\_{q})={}R_correctness+R_calibration\displaystyle R\_{\mathrm{correctness}}+R\_{\mathrm{calibration}}
------------
+R_reference\displaystyle+R\_{\mathrm{reference}}

The three parts in the reward are as follows:

Correctness Reward: The traditional RLVR RLVR reward R_correctness(a_q)R\_{\mathrm{{correctness}}}(a\_{q}) = I(a_q=a\*)∈{0,1}\mathbb{I}(a\_{q}=a^{\*})\in\{0,1\}. This part ensures the model will update in the “correct” direction instead of “calibrated but wrong” way.

Calibration Reward: We set a confidence threshold tt=5 to classify the answer a_qa\_{q} into “certain” (c_a_q>tc\_{a\_{q}}>t) and “uncertain” (c_a_q≤tc\_{a\_{q}}\leq t) categories. We encourage “certain correct” and “uncertain incorrect” answers with R_calibration=+βR\_{\mathrm{calibration}}=+\beta while penalizing “certain incorrect” and “uncertain correct” responses with R_calibration=−βR\_{\mathrm{calibration}}=-\beta. The ablation process to determine β\beta is detailed in A.5.

Reference Accuracy Reward: To utilize the prior accuracy information in data construction process, we customize a reward for question qq based on reference accuracy tag T_qT\_{q}. When the model answers correctly from formerly “all incorrect” questions, we incentivize it with R_reference=+αR\_{\mathrm{reference}}=+\alpha. On the contrary, if the model hallucinates with incorrect answers from formerly “all correct” questions, we punish it with R_reference=−αR\_{\mathrm{reference}}=-\alpha. This design forces the model to remain correct if it can originally give correct answers and further stops the model from falling into “calibrated but wrong” risks. The ablation process to select α\alpha is elaborated in A.5.

3.3 Confidence-based Adaptive Test Time Scaling (CAS)

Section titled “3.3 Confidence-based Adaptive Test Time Scaling (CAS)”

Prior adaptive self-consistency methods typically rely on frequency or entropy to determine early-stopping criteria. However, such signals are often uncalibrated and fail to accurately reflect the model’s true confidence. To address this limitation, we propose a Confidence-based Adaptive test-time Scaling (CAS) strategy, which integrates calibrated verbalized confidence into the stopping criterion. After generating each batch of responses, CAS applies a well-calibrated stopping criterion based on the verbalized confidence of model outputs to decide whether to (1) continue sampling or; (2) halt and return the current highest confidence-weighted answer.

Inspired by the idea that a high-confidence answer which is dominant over all the other responses suggests a reliable stopping criteria, we design CAS as follows:

For a question qq to be sampled NN times, there have been n<Nn<N generated responses {r_1,r_2,...,r_n}\{r\_{1},r\_{2},...,r\_{n}\} with mm (m≤nm\leq n) unique extracted answers A_q={a_1,a_2,...,a_m}A\_{q}=\{a\_{1},a\_{2},...,a\_{m}\}, and for each unique answer a_i∈A_qa\_{i}\in A\_{q}, assume it corresponds to jj responses R_a_i={r_i_1,r_i_2,...r_i_j}R\_{a\_{i}}=\{r\_{i\_{1}},r\_{i\_{2}},...r\_{i\_{j}}\}. Then we calculate the sum of verbalized confidence for a_ia\_{i}: c_a_i=110∑_k=1jconf(r_i_k)c\_{a\_{i}}={1\over{10}}\sum\_{k=1}^{j}{\mathrm{conf}(r\_{i\_{k}})}, where conf(r)∈{1,2,...,10}\mathrm{conf}(r)\in\{1,2,...,10\} extracts the verbalized confidence of response rr. The sums of verbalized confidence for all unique answers in A_qA\_{q} form a confidence set C_q={c_a_1,c_a_2,...,c_a_m}C\_{q}=\{c\_{a\_{1}},c\_{a\_{2}},...,c\_{a\_{m}}\}, and we can select the maximum and second maximum of C_qC\_{q}: c_1=max(C_q),c_2=max(C_q\{c_1})c\_{1}=\mathrm{max}(C\_{q}),c\_{2}=\mathrm{max}(C\_{q}\backslash\{c\_{1}\}). Intuitively, c_1c\_{1} corresponds to the “most confident” answer, and c_2c\_{2} corresponds to the “second most confident” answer. Following the BETA-distribution stopping criteria described in Adaptive-Consistency (aggarwal2023AC), our confidence-based stopping probability can be calculated as:

Prob(c_1,c_2)=1A∫_00.5xc_2(1−x)c_1 dx,\mathrm{Prob}(c\_{1},c\_{2})={1\over A}\int\_{0}^{0.5}x^{c\_{2}}(1-x)^{c\_{1}}\,dx,(1)

where coefficient A=∫_01xc_2(1−x)c_1 dxA=\int\_{0}^{1}x^{c\_{2}}(1-x)^{c\_{1}}\,dx normalizes the integral on the interval [0,1] to 1. We set a probability threshold P_stopP\_{\mathrm{stop}} to decide whether to stop sampling. If Prob(c_1,c_2)≥P_stop\mathrm{Prob}(c\_{1},c\_{2})\geq P\_{\mathrm{stop}} or nn reaches the maximum generation time NN, the sampling process ends; otherwise, the inference continues with next generation. When c_1c\_{1} is larger compared to c_2c\_{2} (which means the most confident answer dominates the generations), the probability to stop is higher.

Algorithm 1 Confidence-based Adaptive Test Time Scaling (CAS)

1: Question qq, max sampling time NN, threshold P_stopP\_{\mathrm{stop}}

2: Initialize n←0n\leftarrow 0, A_q←∅A\_{q}\leftarrow\emptyset, C_q←∅C\_{q}\leftarrow\emptyset

3: while n<Nn<N and stopping condition not met do

4:   Generate 1 additional sample, n←n+1n\leftarrow n+1

5:   Update answer set A_qA\_{q}, confidence set C_qC\_{q}

6:   c_1,c_2←c\_{1},c\_{2}\leftarrow max and second max of C_qC\_{q}

7:   Compute Prob=1A∫_00.5xc_2(1−x)c_1dx\mathrm{Prob}=\frac{1}{A}\int\_{0}^{0.5}x^{c\_{2}}(1-x)^{c\_{1}}dx

8:   if Prob≥P_stop\mathrm{Prob}\geq P\_{\mathrm{stop}} then break

9:   end if

10: end while

11: return a_Ma\_{M} (most confident answer)

The detailed algorithm is described in Algorithm 1. We also design a modified equivalent Algorithm 2 to support parallel inference instead of generating responses one by one. The detail of Algorithm 2 is elaborated in A.6.

The main experiments aim to address the following three research questions: (1) how C3RL balances accuracy and calibration (Sec 4.1); (2) how CAS saves inference budget in test times scaling (Sec 4.2) and (3) how C3RL contributes to CAS performance (Sec 4.3).

The benchmarks include text and multimodal datasets across knowledge-intensive tasks: (1) Text: AGIEval (agieval) and MMLU test set (mmlu). (2) Multimodal: MMMU (mmmu), MathVista (mathvista) and LogicVista (logicvista). The details of the benchmarks are in A.1.2.

TextIn-domainAgievalMMLUAvg.
MethodAcc↑\uparrowAUROC↑\uparrowECE↓\downarrowAcc↑\uparrowAUROC↑\uparrowECE↓\downarrowAcc↑\uparrowAUROC↑\uparrowECE↓\downarrowAcc↑\uparrowAUROC↑\uparrowECE↓\downarrow
Qwen2.5VL-7B-Instruct
Base45.3%0.5310.44851.0%0.5430.37568.3%0.5870.18854.9%0.5540.337
SC53.9%0.7620.08853.7%0.7110.20869.9%0.7590.14159.2%0.7440.146
SFT+Ref48.0%0.7200.09849.1%0.7530.10562.1%0.7060.09853.1%0.7260.100
RLVR66.6%0.5140.28558.1%0.5340.37771.1%0.6020.23965.3%0.5500.300
SaySelf55.0%0.8070.07550.8%0.7450.14764.0%0.7310.12956.6%0.7610.117
RLCR65.1%0.7510.10957.5%0.6640.20570.7%0.6070.17564.4%0.6740.163
C3RL w/o Ref64.9%0.7000.11958.1%0.6820.19771.2%0.6480.11164.7%0.6770.142
C3RL (Ours)64.4%0.7480.07657.8%0.6880.15471.4%0.6530.09264.5%0.6960.107
Llama-3.2-3B-Instruct
Base37.2%0.5630.13434.8%0.5570.42359.6%0.5860.27143.9%0.5690.276
SC40.8%0.7870.09128.6%0.6440.35259.9%0.7330.15843.1%0.7210.200
SFT+Ref37.6%0.5720.16832.1%0.5940.24052.8%0.6280.16240.8%0.5980.190
RLVR45.9%0.5870.46337.3%0.5220.46863.4%0.5370.20848.9%0.5490.380
SaySelf13.1%0.6760.06019.4%0.6110.07237.4%0.7150.11023.3%0.6670.081
RLCR43.3%0.7990.07234.4%0.6580.11162.3%0.6700.15346.7%0.7090.112
C3RL w/o Ref47.3%0.6970.13637.2%0.6520.21863.5%0.6880.08749.3%0.6790.147
C3RL (Ours)49.1%0.7340.14237.3%0.6600.24664.0%0.6800.08950.1%0.6910.159

Table 1: Qwen2.5VL-7B-Instruct and Llama-3.2-3B-Instruct results across in-domain test set D_testD\_{test} , Agieval, and MMLU benchmarks. Among RL methods, the best values are highlighted in bold, and the suboptimal values are underlined. Our proposed C3RL method is shaded. All the methods except for Self Consistency are tested three times with seed=0,42,2025 separately and the results are averaged. The maximum standard deviation among all results is ±\pm0.9%, which is in a reasonable range.

MMMUMathVistaLogicVistaAvg.
MethodAcc↑\uparrowAUROC↑\uparrowECE↓\downarrowAcc↑\uparrowAUROC↑\uparrowECE↓\downarrowAcc↑\uparrowAUROC↑\uparrowECE↓\downarrowAcc↑\uparrowAUROC↑\uparrowECE↓\downarrow
Qwen2.5VL-7B-Instruct
Base0.4730.5710.3810.5430.6230.2840.3680.5410.4930.4610.5780.386
SC0.5090.6210.2110.5910.8180.0770.4460.6780.1570.5150.7060.148
SFT+Ref0.3680.6510.0950.4520.7020.0910.3060.5780.0920.3750.6440.093
RLVR0.5200.5250.4170.6140.5950.3040.4670.5220.4950.5340.5470.405
SaySelf0.3310.7840.1600.4310.8220.0940.2610.7390.1520.3410.7820.135
RLCR0.5090.6510.1460.6000.6900.1170.4310.6080.2840.5130.6500.182
C3RL w/o Ref0.5240.6130.1730.6220.6690.1390.4620.5910.2680.5360.6240.193
C3RL (Ours)0.5300.6550.0960.6220.6820.0740.4460.5960.1580.5330.6440.109

Table 2: Qwen2.5VL-7B-Instruct results across multimodal reasoning benchmarks MMMU, MathVista and LogicVista. Among RL methods, the best values are highlighted in bold, and the suboptimal values are underlined. Our proposed C3RL method is shaded and achieves superior calibration performance with the lowest ECE scores on MMStar and MathVista. All the methods except for Self Consistency are tested three times with seed=0,42,2025 separately and the results are averaged. The maximum standard deviation among all results is ±\pm1.0%, which is in a reasonable range.

We use the following metrics to test LLMs’ ability to give correct and calibrated responses:

Accuracy (↑\uparrow): To measure the correctness of LLMs on the evaluation set: Acc=1N∑_i=1NI(a_q_i)\mathrm{Acc}={{1\over N}{\sum\_{i=1}^{N}\mathbb{I}(a\_{q\_{i}})}}

AUROC (↑\uparrow): Area Under ROC Curve measures the ability to distinguish between correct and incorrect answers under different confidence thresholds:

AUROC=∫_110TPR(FPR(t)−1) d(t),\mathrm{AUROC}=\int\_{1}^{10}\mathrm{TPR}(\mathrm{FPR}(t)^{-1})\,d(t),(2)

where t∈[1,10]t\in[1,10] is confidence threshold, TPR is true positive rate, and FPR is false positive rate.

ECE (↓\downarrow): We choose Binned Expected Calibration Error to describe the gap between verbalized confidence and accuracy:

$$\mathrm{ECE}={m\over N}\sum_{i=1}^{\lceil{N\over m}\rceil}{\mathrm{Acc}(B_{i})-\mathrm{Conf}(B_{i})},$$

where NN is the number of samples, m=20m=20 is the fixed bin size , B_iB\_{i} is the set of data in the ii-th bin.

We compare the following methods:

Non-RL Methods (1) Base: We directly ask the untrained model to output both answer and associated confidence ; (2) Self Consistency(SC) (wang2023self-consistency) : Each question is sampled 10 times and the final answer is obtained from majority voting; (3) Supervised Finetuning with reference accuracy(SFT+Ref) sftref: The model is supervised fine-tuned to calibrate with reference accuracy calculated in 10-time sampling.

RL Methods (1) RLVR: The off-the-shelf method using the correctness reward ; (2) SaySelf (xu2024sayself) :The reward simply contains calibration Brier score; (3) RLCR (damani2025RLCR): Based on SaySelf, RLCR adds the correctness score to ensure the performance, which is current state-of-the-art RL method to tradeoff between performance and calibration; (4) C3RL (Ours) and variants: C3RL integrates the correctness reward, calibration reward and reference accuracy reward together. We exclude the reference accuracy reward (C3RL w/o Ref) to conduct ablation study.

4.1.4 Results: Calibration-Accuracy Trade-off

Section titled “4.1.4 Results: Calibration-Accuracy Trade-off”

Table 1 shows the comparison of different methods in both accuracy and calibration metrics.

In-domain Performance As shown in Table 1, all calibration-aware reward methods consistently outperform the basic RLVR approach in both AUROC and ECE on the in-domain test set D_test\mathcal{D}\_{test}. Notably, Qwen2.5VL-7B-Instruct trained after C3RL achieves highly competitive performance, closely matching RLVR in accuracy while attaining the similar superior ECE (0.076) as the best-calibrated method, SaySelf. This demonstrates C3RL’s strong ability to maintain high accuracy alongside excellent calibration, even though it does not explicitly surpass the current state-of-the-art RLCR in performance.

In-domainOOD (Text)OOD (Multimodal)
MethodAvg. N↓\downarrowSaved Times↑\uparrowAcc↑\uparrowAvg. N↓\downarrowSaved Times↑\uparrowAcc↑\uparrowAvg. N↓\downarrowSaved Times↑\uparrowAcc↑\uparrow
MV (wang2023self-consistency)64×\times167.3%64×\times178.1%64×\times157.8%
AC (aggarwal2023AC)13.71×\times4.6767.4%12.87×\times4.9778.1%15.24×\times4.2057.9%
CAS (Ours)10.91×\times5.8767.5%5.19×\times12.3378.2%7.13×\times8.9857.9%

Table 3: Comparative results of MV (Majority Voting), AC (Adaptive Consistency) and CAS (Confidence-based Adaptive Test Time Scaling) on In-domain, OOD (text), and OOD (multimodal). By adjusting the threshold P_stopP\_{\mathrm{stop}} of AC and CAS, we compare their needed inference budget Avg. N to match the accuracy of MV(N=64N=64).

Generalization As shown in Table 1 and Table 2, C3RL exhibits remarkable generalization capabilities on out-of-domain(OOD) datasets. Compared to other top-calibrated RL methods, Qwen2.5VL-7B-Instruct trained after C3RL is superior to SaySelf—the best RL strategy in calibration—in ECE metric and surpasses it greatly in accuracy (7.9% in text sets and 19.2% in multimodal sets). Moreover, C3RL consistently outperforms the current state-of-the-art RLCR across both accuracy and calibration metrics on OOD evaluations, demonstrating an optimal and robust balance between performance and reliability. When generalized to a different family model Llama-3.2-3B-Instruct llama3_2_3b, although achieving better calibration, RLCR sacrifices more performance and can’t match RLVR in accuracy, which means there are more deliberately low-confidence incorrect answers. On the contrary, C3RL can still surpass RLVR in performance and decrease calibration error greatly at the same time, proving the stability of C3RL to different model families and sizes.

Ablation Study When the reference accuracy reward is ablated (C3RL w/o Ref), the model remains competitive accuracy but suffers a consistent degradation in calibration. This clearly displays the specific contribution of the reference accuracy reward to enhancing calibration capability.

The advantage of C3RL over RLCR in balancing performance and calibration is due to the following two reasons: (1) Reference accuracy information: The ablation study has demonstrated the effectiveness of reference accuracy reward in advancing calibration; (2) Importance of learning confidence threshold: RLCR, driven by the Brier Score (see A.2.3), tends to train LLMs to indicate totally confident (cc=10) or totally inconfident (cc=1) responses, which degrades to a binary case. On the contrary, C3RL guides the model to learn the confidence threshold tt=5 and gives fine-grained confidence to distinguish between certainty and uncertainty. The difference in confidence distribution between C3RL and RLCR is demonstrated in A.4.

Given the impressive results of self-consistency in Table 1, it is natural to combine verbalized confidence and self-consistency together. Although there have been test time scaling methods leveraging confidence to enhance accuracy (e.g. confidence-weighted majority voting), they fail to apply calibrated confidence to saving inference budget. We conduct experiments to demonstrate the inference efficiency of Confidence-based Adaptive Test Time Scaling (CAS).

To evaluate the performance and inference efficiency of CAS, we employ the following settings:

Benchmarks We select 6 benchmarks of reasonable sizes (less than 2000 samples): (1) Text: MMLU validation set  mmlu, FOLIO (folio) and GSM8K (gsm8k); (2) Multimodal : The same as CAS evaluation multimodal sets. The details of the benchmarks are in A.1.2.

Baselines

(1) Majority Voting (MV) (wang2023self-consistency): Each question is generated NN times and the most frequent answer is voted. (2) Adaptive-Consistency (AC) (aggarwal2023AC): A strategy dynamically adjusts the number of samples based on a stopping criteria to detect dominant answers. The final answer is voted from the truncated samples.

Settings To evaluate all the methods equally, we compare the inference budget needed to achieve the same accuracy as Majority Voting(NN=64). It’s guaranteed by controlling threhold P_stopP\_{\mathrm{stop}} for AC and CAS separately. We use the Qwen2.5VL-2.5-7B-Instruct model trained after C3RL.

As shown in Table 3, our proposed CAS method demonstrates remarkable efficiency gains while maintaining competitive accuracy across all evaluation settings.

In terms of sampling efficiency, CAS achieves outstanding cost reduction compared to baseline methods. Notably, CAS consistently outperforms the strongest baseline Adaptive-Consistency. The performance gap is particularly striking on OOD (Text) tasks, where CAS uses less than half of the sampling budget of Adaptive-Consistency (5.19 vs. 12.87 samples).

Figure 2: Different benefits from test time scaling for High-confidence set (CAS stopping OPEN n ≤ 4 ) n\leq 4) and Low-confidence set (CAS stopping n > 4 n>4 ) on OOD (Text). The 0.55-0.86 range of y-axis is cut for clarity. The High-Confidence set benefits much less from test time scaling than the Low-Confidence set.

Figure 3: Performance of C3RL model vs. Base model with different test time scaling methods on OOD (Text). MV denotes Majority Voting, CMV denotes Confidence-weighted Majority Voting, AC denotes Adaptive Consistency, CAS denotes Confidence-based Adaptive Test Time Scaling. C3RL model shows performance stratification on different methods, while the base model improves little for confidence-based methods.

These efficiency gains come with no cost of accuracy. This demonstrates that CAS can precisely identify high-quality reasoning paths early in the generation process, eliminating unnecessary computations without sacrificing final performance.

4.2.3 Analysis: Imbalanced Budget Allocation

Section titled “4.2.3 Analysis: Imbalanced Budget Allocation”

CAS adjusts the inference budget from high-confidence sampling traces to low-confidence traces with early-stopping strategy. To verify the rationality of this imbalanced mechanism, we compare the benefits from test time scaling for high-confidence and low-confidence samples.

We use the C3RL model for generation and choose the three text benchmarks in Sec 4.2.1 for evaluation. We divide the samples into two sets: High-confidence Set and Low-confidence Set. For each question, if the CAS sampling time n≤4n\leq 4 (which means CAS stops early because the final answer reaches high confidence quickly), we categorize this question to High-confidence Set. Otherwise, we assign the sample to Low-confidence Set. We study how these two sets benefit differently from majority voting.

As shown in Figure 2, when test time NN increases to 64, the High-confidence Set remains unchanged in performance (<0.2%), while the Low-confidence Set jumps dramatically from 49.0% to 54.5%. The fact that the Low-confidence Set benefits much more from test time scaling than its counterpart rationalizes the CAS strategy of shifting limited computing resource from high-confidence samples to low-confidence samples.

To explore the influence of calibrated confidence in test time scaling, we compare two models: The base model and the model trained with C3RL. The Confidence-weighted Majority Voting (CMV) method is also evaluated to display the contribution of calibrated confidence.

As shown in Figure 3, C3RL+CAS outperforms all baseline methods when number of samples NN is sufficiently large (≥\geq8), demonstrating the scalable effectiveness of our approach. A key observation is the stratification of test-time scaling strategies in the C3RL-trained model. In comparison, the base model benefits little from CAS than AC. This stark contrast underscores that confidence calibration through C3RL is prerequisite for CAS to unlock its full potential. The performance leap from base+CAS to C3RL+CAS demonstrates their synergistic relationship: C3RL provides well-calibrated verbalized confidence, and CAS efficiently leverages it for test-time scaling.

This work presents Correctness and Confidence Calibration Reinforcement Learning (C3RL) to support downstream Confidence-based Adaptive test time Scaling (CAS). By integrating correctness, calibration and prior reference information together, C3RL achieves the best trade-off between performance and calibration, providing credible verbalized confidence. Based on well-calibrated confidence, CAS takes inference most efficiently among test time scaling methods by adjusting computing resources to low-confidence samples. Our results highlight a unified pipeline for reliable LLMs and efficient inference under limited resources.

There are several limitations for our C3RL-CAS framework. First, the high-quality training data in science domain is not sufficient compared to Maths and logic reasoning domains, which may result in training bias. Second, although C3RL achieves best accuracy-calibration trade-off, its calibration ability is still inferior to SaySelf, which means if we want to enhance the model accuracy, we have to sacrifice calibration. Third, the advantage of CAS over Adaptive-Consistency in small generation cases (NN<8) is not considerable, which requires more reasonable stopping criteria and better-calibrated confidence from C3RL.

We modify the two reasoning datasets Webinstruct-verified webinstruct and Numina-NLI numina_math to support regex check of response correctness.

The Webinstruct-verified dataset is modified from the original 231,833 samples. We filter the science data (domains in “physics”, “chemistry”, “biology”, “computer science”, “engineering”) and select the Integer answer samples. The selected sample number is 9,246.

For Numina-NLI and Webinstruct-verified datasets whose answers are numerical expressions, we check whether the generated samples are “math valid”. We exclude the questions with no valid responses among 10 generations. For LogicNLI logicnli and LogiQA logiqa datasets, we follow the selection process specified in C2RM c2rm.

Finally, D\mathcal{D} composes of the following training datasets: Numina-NLI (69,043), Webinstruct-verified (4,488), LogicNLI (16,000) and LogiQA (17,730).

We evaluate reasoning and logic capabilities across reasoning, math and logic benchmarks with text and multimodal datasets:

Text: (1) AGIEval agieval: 8269 problems from college admission tests, law school admission tests, math competitions, lawyer qualification tests, and national civil service exams. We use the combination of train, validation and test set for evaluation; (2) OlympiadBench (text) olympiadbench: Olympiad-level questions including problems from maths and physics competitions. We select the 2,673 text samples for evaluation; (3) MMLU mmlu: A multiple choice benchmark across STEM, the humanities and the social science. The validation set contains 1,531 samples and the test set includes 14,041 samples. For C3RL evaluation, we use valiation set + test set; For CAS evaluation, we only use the validation set; (4) Folio: 223 multiple-choice questions with logical reasoning tasks; (5) GSM8K (Grade School Math 8K) gsm8k: 8.5K high quality linguistically diverse grade school math word problems, and we only use the 1,319 questions in test set.

Multimodal (1) MathVision mathvision: High-quality maths problems with visual contexts from real math competitions; the test set contains 3,040 samples; (2) MathVista mathvista: 1,000 challenging Maths reasoning questions with visual contexts; (3) LogicVista logicvista: 448 multimodal questions focusing on logical reasoning tasks (spatial, deductive, inductive, numeric, and mechanical reasoning); (4) MMStar mmstar: 1,500 human-curated challenging samples to test the multimodal abilities in general tasks like fine-grained perception, counting and logic reasoning.

This section complements the details to the training process.

Table 4: Prompt to generate answers and elicit verbalized confidence

In Sec 3.1, we need to generate 10 samples per question. The model answer generation prompt is shown in Table 4. The prompt: (1) restricts the formats of responses so that the answers can be extracted by rule and (2) elicits the verbalized confidence with an elaborated description of certainty and uncertainty.

(a) RLVR, C3RL and C3RL w/o ref rewards

(a) RLVR, C3RL and C3RL w/o ref rewards

(a) RLVR, C3RL and C3RL w/o ref rewards

(a) RLVR, C3RL and C3RL w/o ref rewards

(a) RLVR, C3RL and C3RL w/o ref rewards

We set the generation hyperparameters as shown in Table 5. We employ VeRL verl framework and use 8 NVIDIA-A800-SXM4-80GB GPUs to support C3RL training of Qwen2.5-VL-7B-Instruct.

ConfigValue
actor-lr1×10−61\times 10^{-6}
kl_coef0.001
max_prompt_length2,048
max_response_length2,048
train_batch_size1,024
ppo_mini_batch_size256
clip_ratio0.20
sample_temperature0.7
rollout.n10
total_training_steps103

Table 5: Training hyper-parameters during C3RL

For all the RL in the experiments, we first assign a format reward R_format(a_q)R\_{\mathrm{{format}}}(a\_{q}) to the responses: Following the prompt designed in Table 4, if both answer and confidence can be extracted, we give a format reward R_format(a_q)R\_{\mathrm{{format}}}(a\_{q})=+0.1; otherwise, the final reward R_C3RLR\_{\mathrm{{C3RL}}} will be set to -1 directly.

For C3RL reward, R_correctness(a_q)R\_{\mathrm{{correctness}}}(a\_{q}) = 0.9I(a_q=a\*)\mathbb{I}(a\_{q}=a^{\*}) so that a correct answer will have R_correctness(a_q)R\_{\mathrm{{correctness}}}(a\_{q}) + R_format(a_q)R\_{\mathrm{{format}}}(a\_{q}) = 1 (equal to RLVR reward).

For SaySelf reward, we use the Brier Score R_SaySelfR\_{\mathrm{SaySelf}}=1-2(I(a_q=a\*)−conf(r)/10)2(\mathbb{I}(a\_{q}=a^{\*})-\mathrm{conf}(r)/10)^{2}.

For RLCR reward, we increment a correctness reward based on SaySelf reward: R_RLCR=I(a_q=a\*)−(I(a_q=a\*)−conf(r)/10)2R\_{\mathrm{RLCR}}=\mathbb{I}(a\_{q}=a^{\*})-(\mathbb{I}(a\_{q}=a^{\*})-\mathrm{conf}(r)/10)^{2}.

The reward curves and the performance curves are shown in Figure 4. All the methods converge after 100 steps. Figure 4(a) displays the effectiveness of calibration reward (C3RL w/o Ref curve is higher than RLVR curve) and reference accuracy reward (C3RL curve is higher than C3RL w/o Ref curve). As for performance,  4(d) shows that all the strategies match at the similar level except for SaySelf, which demonstrates the significance of correctness reward to guarantee accuracy.

TextIn-domainAgievalOlympiadMMLU
MethodAcc↑\uparrowAUROC↑\uparrowECE↓\downarrowAcc↑\uparrowAUROC↑\uparrowECE↓\downarrowAcc↑\uparrowAUROC↑\uparrowECE↓\downarrowAcc↑\uparrowAUROC↑\uparrowECE↓\downarrow
Qwen2.5VL-7B-Instruct
Base45.3%0.5310.44851.0%0.5430.37520.3%0.5940.70968.3%0.5870.188
SC53.9%0.7620.08853.7%0.7110.20826.6%0.7830.09069.9%0.7590.141
SFT+Ref48.0%0.7200.09849.1%0.7530.10510.3%0.7320.14162.1%0.7060.098
RLVR66.6%0.5140.28558.1%0.5340.37737.6%0.5140.61671.1%0.6020.239
SaySelf55.0%0.8070.07550.8%0.7450.14728.3%0.7990.07164.0%0.7310.129
RLCR65.1%0.7510.10957.5%0.6640.20535.4%0.8050.14770.7%0.6070.175
C3RL w/o Ref64.9%0.7000.11958.1%0.6820.19735.9%0.7450.26371.2%0.6480.111
C3RL (Ours)64.4%0.7480.07657.8%0.6880.15437.5%0.7830.19171.4%0.6530.092
Llama-3.2-3B-Instruct
Base37.2%0.5630.13434.8%0.5570.4238.3%0.5590.37959.6%0.5860.271
SC40.8%0.7870.09128.6%0.6440.3528.6%0.6310.12059.9%0.7330.158
SFT+Ref37.6%0.5720.16832.1%0.5940.2405.2%0.5830.17052.8%0.6280.162
RLVR45.9%0.5870.46337.3%0.5220.46817.0%0.5930.75463.4%0.5370.208
SaySelf13.1%0.6760.06019.4%0.6110.0723.3%0.6540.08337.4%0.7150.110
RLCR43.3%0.7990.07234.4%0.6580.11112.8%0.6570.07762.3%0.6700.153
C3RL w/o Ref47.3%0.6970.13637.2%0.6520.21816.2%0.6560.27863.5%0.6880.087
C3RL (Ours)49.1%0.7340.14237.3%0.6600.24615.8%0.6410.28964.0%0.680.089

Table 6: Qwen2.5VL-7B-Instruct and Llama-3.2-3B Instruct results across in-domain test set D_testD\_{test} , Agieval, Olympiad, and MMLU benchmarks. Among RL methods, the best values are highlighted in bold, and the suboptimal values are underlined. Our proposed C3RL method is shaded. All the methods except for Self Consistency are tested three times with seed=0,42,2025 separately and the results are averaged. The maximum standard deviation among all results is 0.9%, which is in a reasonable range.

MMMUMathVisionMathVistaLogicVista
MethodAcc↑\uparrowAUROC↑\uparrowECE↓\downarrowAcc↑\uparrowAUROC↑\uparrowECE↓\downarrowAcc↑\uparrowAUROC↑\uparrowECE↓\downarrowAcc↑\uparrowAUROC↑\uparrowECE↓\downarrow
Qwen2.5VL-7B-Instruct
Base0.4730.5710.3810.2420.5080.6800.5430.6230.2840.3680.5410.493
SC0.5090.6210.2110.2820.7000.1930.5910.8180.0770.4460.6780.157
SFT+Ref0.3680.6510.0950.1810.6130.0830.4520.7020.0910.3060.5780.092
RLVR0.5200.5250.4170.2460.5120.7380.6140.5950.3040.4670.5220.495
SaySelf0.3310.7840.1600.1840.6940.1330.4310.8220.0940.2610.7390.152
RLCR0.5090.6510.1460.2540.6260.2530.6000.6900.1170.4310.6080.284
C3RL w/o Ref0.5240.6130.1730.2730.6070.3820.6220.6690.1390.4620.5910.268
C3RL (Ours)0.5300.6550.0960.2790.6270.2900.6220.6820.0740.4460.5960.158

Table 7: Qwen2.5VL-7B-Instruct results across multimodal reasoning benchmarks MMMU, MathVision, MathVista and LogicVista. Among RL methods, the best values are highlighted in bold, and the suboptimal values are underlined. Our proposed C3RL method is shaded and achieves superior calibration performance with the lowest ECE scores on MMStar and MathVista. All the methods except for Self Consistency are tested three times with seed=0,42,2025 separately and the results are averaged. The maximum standard deviation among all results is 1.0%, which is in a reasonable range.

The evaluation hyperparameters keeps exactly the same as the generation hyperparameters in training process A.2.2. The evaluation prompts also follow the confidence elicitation prompts in Table 4. We set the decoding temperature 0.7, top_k=-1, top_p=1, and seed=0, 42, 2025 separately for parallel experiments.

The C3RL evaluation of Qwen2.5VL-7B-Instruct qwen2.5-vl for all the datasets are elaborated in Table 6 and Table 7. A very interesting phenomenon is that on all the multimodal benchmarks and MMLU, RLVR shows worse calibration metrics than the base model, which echoes the assumption that RLVR can produce overconfident and poorly calibrated models. Moreover, our proposed C3RL algorithm has more outstanding ability on multimodal tasks than on text tasks, which demonstrates that its advantage over other RL methods can be enhanced when generalized to multimodal sets, suggesting the occurrence of general confidence awareness.

The evaluation of C3RL on Llama-3.2-3B-Instruct llama3_2_3b for text datasets are detailed in Table 8. Although achieving better calibration, RLCR sacrifices more performance and can’t match RLVR in accuracy, which means there are more deliberately low-confidence incorrect answers. On the contrary, C3RL can still surpass RLVR in performance and decrease calibration error greatly at the same time, proving the stability of C3RL to different model families and sizes.

In-domainAgievalOlympiadMMLU
MethodAcc↑\uparrowAUROC↑\uparrowECE↓\downarrowAcc↑\uparrowAUROC↑\uparrowECE↓\downarrowAcc↑\uparrowAUROC↑\uparrowECE↓\downarrowAcc↑\uparrowAUROC↑\uparrowECE↓\downarrow
Base37.2%0.5630.13434.8%0.5570.4238.3%0.5590.37959.6%0.5860.271
SC40.8%0.7870.09128.6%0.6440.3528.6%0.6310.12059.9%0.7330.158
SFT+Ref37.6%0.5720.16832.1%0.5940.2405.2%0.5830.17052.8%0.6280.162
RLVR45.9%0.5870.46337.3%0.5220.46817.0%0.5930.75463.4%0.5370.208
SaySelf13.1%0.6760.06019.4%0.6110.0723.3%0.6540.08337.4%0.7150.110
RLCR43.3%0.7990.07234.4%0.6580.11112.8%0.6570.07762.3%0.6700.153
C3RL w/o Ref47.3%0.6970.13637.2%0.6520.21816.2%0.6560.27863.5%0.6880.087
C3RL (Ours)49.1%0.7340.14237.3%0.6600.24615.8%0.6410.28964.0%0.680.089

Table 8: Llama-3.2-3B-Instruct results across in-domain test set D_testD\_{test}, Agieval, Olympiad, and MMLU benchmarks. Among RL methods, the best values are highlighted in bold, and the suboptimal values are underlined. Our proposed C3RL method is shaded.

Figure 5: Confidence distribution (Count and Kernel Density Estimate) of C3RL and RLCR on in-domain test set D t ​ e ​ s ​ t D_{test} . RLCR confidence concentrates on c = 1 c=1 and c = 10 c=10 , while C3RL confidence is more fine-grained to capture the nuanced uncertainty.

A.4 Confidence Distribution Comparison of C3RL and RLCR

Section titled “A.4 Confidence Distribution Comparison of C3RL and RLCR”

As shown in Figure 5, RLCR exhibits a highly polarized confidence distribution concentrated at the extremes (c=1c=1 and c=10c=10), effectively degenerating confidence estimation into a binary indicator. Although Brier-score-based training can align models on the semantic meaning of extreme confidence values (e.g., “confidence=10” denotes total certainty and “confidence=1” denotes total uncertainty), it does not provide a clear confidence boundary separating certain and uncertain cases. As a result, intermediate confidence levels are underutilized.

In contrast, C3RL explicitly introduces a confidence threshold (t=5t=5) through threshold-guided calibration reward, encouraging the model to learn a clearer distinction between certainty and uncertainty while still preserving fine-grained confidence expression. Consequently, C3RL produces a substantially smoother confidence distribution with richer intermediate confidence values. This comparison highlights the importance of learning an explicit confidence threshold instead of relying solely on binary confidence extremes.

A.5 Ablation Study to Determine α\alpha and β\beta

Section titled “A.5 Ablation Study to Determine α\alphaα and β\betaβ”

(a) Ablation of β \beta

We conduct ablation experiments to select optimal α\alpha and β\beta. In these experiments, the correctness reward is always included, and the evaluation set is OOD (Text) specified in 4.1.1. We first ablate β\beta by evaluating the models trained with different calibration rewards without reference accuracy reward. We try the β\beta values from [0.05, 0.1, 0.2, 0.3, 0.4] and the result is shown in Figure 6(a). We find that different β\beta values share similar performance while β=0.1\beta=0.1 gives notably drop in ECE, which stands for best calibration.

After fixing β=0.1\beta=0.1, we then ablate the optimal α\alpha value from [0.1, 0.3, 0.5, 0.7, 0.9]. As shown in Figure 6(b), α=0.5\alpha=0.5 reaches best performance and ECE at the same time, which displays its outstanding capability. So we choose β=0.1\beta=0.1, α=0.5\alpha=0.5 in our C3RL algorithm.

Assume there have been n<Nn<N generated responses. Based on the stopping mechanism, we can find the minimum additional inference time k∈{0,1,...,N−n}k\in\{0,1,...,N-n\} such that the probability will exceed the threshold:

\begin{split}\mathrm{Prob}(c\_{1}+k,c\_{2})&\geq P\_{\mathrm{stop}}\\ \mathrm{Prob}(c\_{1}+k-1,c\_{2})&<P\_{\mathrm{stop}}\end{split}

Then kk additional responses are generated and nn is updated to n+kn+k. When current stopping probability Prob(c_1,c_2)≥P_stop\mathrm{Prob}(c\_{1},c\_{2})\geq P\_{\mathrm{stop}} (i.e. k=0k=0) or nn reaches the maximum inference time NN, the inference ends and a_Ma\_{M} is returned as the final answer. The algorithm is described in Algorithm 2.

Algorithm 2 Confidence-based Adaptive Test Time Scaling (CAS) with Parallel Generation

1: Question qq, max sampling time NN, threshold P_stopP\_{\mathrm{stop}}

2: Initialize n←0n\leftarrow 0, k←1k\leftarrow 1, A_q←∅A\_{q}\leftarrow\emptyset, C_q←∅C\_{q}\leftarrow\emptyset

3: while n<Nn<N and stopping condition not met do

4:   Generate kk additional samples, n←n+kn\leftarrow n+k

5:   Update answer set A_qA\_{q}, confidence set C_qC\_{q}

6:   c_1,c_2←c\_{1},c\_{2}\leftarrow max and second max of C_qC\_{q}

7:   Compute Prob=1A∫_00.5xc_2(1−x)c_1dx\mathrm{Prob}=\frac{1}{A}\int\_{0}^{0.5}x^{c\_{2}}(1-x)^{c\_{1}}dx

8:   if Prob≥P_stop\mathrm{Prob}\geq P\_{\mathrm{stop}} then break

9:   end if

10:   Find minimum kk for stopping criterion

11: end while

12: return a_Ma\_{M} (answer with highest confidence sum c_1c\_{1})

We select verbalized confidence instead of internal logits or probablities to express uncertainty due to the following three reasons. First, verbalized confidence can express epistemic uncertainty of the responses, while the internal logits only represent uncertainty over tokens instead of the claim itself lin2022teaching. Second, verbalized confidence itself is typically better-calibrated than conditional probabilities tian2023just. Third, we want to explore a model-agnostic method, which should be applicable to all kinds of LLMs without relying on the internal state of LLMs yang2024verbalized.

We test the efficiency of different uncertainty quantification methods in the task of mitigating CHOKE (Certain Hallucinations Overriding Known Evidence) examples  trustmeimwrong. As mentioned in trustmeimwrong, a CHOKE example needs to meet three requirements: (1) the LLM can originally answer the question correctly; (2) after modifying with the natural prompt, the LLM hallucinates; and (3) the LLM assigns a high certainty to the wrong answer. We conduct an evaluation experiment on the “all correct” + “partially correct” samples on the in-domain test set (808 among 1,073 samples). We use the model trained with C3RL to generate new responses following the identical settings in A.3.1. The CHOKE examples are those with wrong answers after the prompt is modified (we follow the “prompt\\_v7” modification in trustmeimwrong ) and assigned a high confidence. We use probability difference as a baseline. The detailed results are shown in Table 9.

MetricVerb. Conf. + C3RLProb. Diff. + C3RL
% of CHOKE6.1%22.8%
Avg. Conf.0.7160.952

Table 9: Performance comparison of verbalized confidence and probability difference on the task of reducing CHOKE examples.

Table 9 shows the considerable advantage of verbalized confidence over probability difference method in decreasing CHOKE examples from 22.8% to 6.1%. Also, the extremely high average confidence of probability difference demonstrates it suffers from overconfidence, while verbalized confidence gives a relatively uniform confidence distribution.

To demonstrate the effectiveness of confidence calibration in calibration-critical scenarios, we additionally evaluate our method on the selective-answering benchmark ALCUNA alcuna. ALCUNA contains both answerable and unanswerable questions. Specifically, the benchmark includes 88 answerable questions, where sufficient information exists to infer the correct answer, and 158 unanswerable questions, where entities are fabricated and no relevant knowledge exists.

For answerable questions, we report the same metrics as in the main experiments, including Accuracy, AUROC, and ECE. For unanswerable questions, we focus on the Abstain Rate, defined as:

Abstain Rate=#abstentions#samples,\text{Abstain Rate}=\frac{\#\text{abstentions}}{\#\text{samples}},

where responses with confidence ≤5\leq 5 are regarded as abstentions.

Table 10 reports the evaluation results. As shown in the table, SaySelf achieves the highest abstention rate on unanswerable questions by aggressively suppressing confidence. However, this comes at the cost of severe degradation in both accuracy and calibration on answerable questions, indicating over-abstention even when answering is appropriate.

In contrast, C3RL achieves the best trade-off between accuracy and calibration on answerable samples while still maintaining a strong abstention capability on unanswerable samples. These results demonstrate that C3RL does not simply optimize abstention behavior, but instead learns a more reliable confidence boundary that distinguishes when to answer versus abstain.

AnswerableUnanswerable
MethodAcc↑\uparrowAUROC↑\uparrowECE↓\downarrowAbstain Rate↑\uparrow
Base0.9770.6890.0140.247
RLVR0.9660.5000.0340.234
SaySelf0.9660.8590.2420.962
RLCR0.9870.4830.0150.665
C3RL w/o Ref0.9890.4540.0240.595
C3RL (Ours)0.9770.7270.0020.734

Table 10: Evaluation results on the ALCUNA selective-answering benchmark. For answerable questions, we report Accuracy, AUROC, and ECE. For unanswerable questions, we report Abstain Rate, where responses with confidence ≤5\leq 5 are treated as abstentions.

A.9 Evaluation Results on Canonical QA Benchmarks

Section titled “A.9 Evaluation Results on Canonical QA Benchmarks”

To evaluate the generalization capability of C3RL beyond reasoning-intensive tasks, we additionally conduct experiments on two canonical question-answering benchmarks: CommonSenseQA commonsenseqa and StrategyQA strategyqa. These datasets mainly focus on commonsense reasoning and implicit world knowledge, which are substantially different from our training corpus constructed from mathematics, science, and logical reasoning datasets.

As shown in Table 11, C3RL consistently achieves the best accuracy-calibration trade-off across both benchmarks. On CommonSenseQA, C3RL achieves comparable accuracy to RLCR while significantly reducing calibration error. On StrategyQA, C3RL surpasses all baselines in both accuracy and AUROC. These results demonstrate that the effectiveness of threshold-guided calibration generalizes beyond the reasoning-intensive training distribution and remains beneficial on canonical QA tasks.

CommonSenseQAStrategyQA
MethodAcc↑\uparrowAUROC↑\uparrowECE↓\downarrowAcc↑\uparrowAUROC↑\uparrowECE↓\downarrow
SaySelf0.7250.7210.1830.4960.5890.331
RLCR0.7860.6040.1970.6030.5880.359
C3RL0.7850.6080.0930.6430.5940.356

Table 11: Evaluation results on canonical QA benchmarks CommonSenseQA and StrategyQA.

A.10 Ablation Experiment Evaluating RLCR + Reference Accuracy Reward

Section titled “A.10 Ablation Experiment Evaluating RLCR + Reference Accuracy Reward”

We additionally conduct an ablation experiment by incorporating the reference accuracy reward into RLCR, denoted as RLCR w.t. Ref. This experiment aims to verify whether the improvement of C3RL mainly comes from introducing additional reward terms or from the threshold-guided calibration formulation itself.

Table 12 reports the evaluation results on AGIEval and MMLU. Compared with RLCR, directly adding the reference accuracy reward to RLCR does not improve calibration performance and even slightly degrades AUROC and ECE on both benchmarks. In contrast, C3RL w/o Ref consistently outperforms RLCR and RLCR w.t. ref in calibration metrics, while the full C3RL achieves the best overall accuracy-calibration trade-off.

These results demonstrate that the improvement of C3RL does not simply arise from adding extra reward signals. Instead, the threshold-guided calibration objective plays the dominant role in preventing confidence collapse and enabling more fine-grained uncertainty estimation.

AGIEvalMMLU
MethodAcc↑\uparrowAUROC↑\uparrowECE↓\downarrowAcc↑\uparrowAUROC↑\uparrowECE↓\downarrow
SaySelf0.5100.7460.1480.6420.7320.128
RLCR0.5770.6630.2030.7090.6070.174
RLCR w.t.Ref0.5700.6470.2140.7100.5840.190
C3RL w/oRef0.5800.6840.1980.7120.6530.111
C3RL (Ours)0.5770.6940.1540.7160.6520.089

Table 12: Evaluation results on AGIEval and MMLU for RLCR with additional reference accuracy reward (RLCR w.t. Ref). The results show that simply adding the reference reward to RLCR does not recover the advantage of C3RL, demonstrating the effectiveness of threshold-guided calibration.

We employ copilot in writing code for experiments and drawing graphs. We guarantee that all the materials have been checked carefully manually.

Table 13: Responses of C3RL model, Base model, RLVR model, SaySelf model and RLCR model on a MMLU question

We present a case from MMLU anatomy questions in Table 13. All the responses are incorrect, while only the model trained by C3RL signals a low confidence, showing the effectiveness of C3RL in calibration.