CREDO: Calibrating reasoning model confidence with a differentiable readout instead of text samplingBeyond Verbalized Confidence: Calibrating Reasoners with Differentiable Readouts
CREDO replaces verbal confidence with a differentiable readout of a reserved token pair, improving both accuracy and calibration on math and code reasoning.
- RLVR rewards only whether the answer is correct and does not constrain the confidence the model verbalizes, so trained reasoning models are systematically overconfident. Existing methods treat confidence as sampled text, which has high variance and value collapse, and the calibration loss can only go through a scalar reward.
- CREDO uses the relative probability of a pair of reserved tokens in the output distribution as a deterministic confidence readout, trained with differentiable regression; policy gradient still handles correctness. It then uses the discrepancy between confidence and outcome to weight the answer segment, optimizing accuracy and calibration together.
- On Qwen3-8B, CREDO is best or tied for best on all four in-domain metrics in both math and code; after domain transfer, the calibration advantage remains largest. In ablations, removing the regression or difference weighting causes drops, and selective prediction AURC and actionable thresholds are also better.
- The conclusion states that the method is not tied to binary correctness; graded rewards are an open task for the next step; feeding confidence back mid-generation to rethink uncertain steps before finalizing has not been done either. The main experiments compare on Qwen3-8B, two seed groups, and math/code verifiable tasks.
- Evaluated models
- Qwen3-8BQwen3-1.7BQwen3-4B
- Benchmarks
- DeepScaleRMATH-500AIME 2024–2026AMC 2023–2024DeepCoderLiveCodeBench v5LiveCodeBench v6HumanEval+
- Metrics
- AccECEAUROCBrierAURCselective accuracyThr.
To address the systematic overconfidence of reasoning models trained with RLVR and the problems of existing methods that obtain confidence via text sampling—high variance, value collapse, and non-differentiability—the researchers propose CREDO (Confidence REaDOut), which deterministically reads confidence from a pair of dedicated tokens in the model's output distribution and trains it with differentiable regression. CREDO also uses the discrepancy between confidence and outcome as a signal to weight rollouts, improving both accuracy and calibration simultaneously. On math and code reasoning tasks, CREDO achieves the best accuracy and calibration performance, and improves abstention and selective prediction.
Paper analysis
What problem does this paper attempt to solve?
RLVR only optimizes correctness, and verbal confidence is non-differentiable and prone to collapse; CREDO instead uses a differentiable readout and feeds it back into answer learning.
Reasoning models trained with RLVR can have their answers verified, but their verbalized confidence is not calibrated, and sampling confidence as text introduces both variance and non-differentiability.
- Scenario and cost: Math and code answers can be automatically judged correct or incorrect by a verifier, so the RLVR reward is correctness. The authors state that such models are systematically overconfident; if downstream routing uses verbalized confidence, confident but wrong answers pass through the filter that should have stopped them. Calibration requires that when a report of v is given, the conditional accuracy equals v.
- Limitations of existing work: Recent methods have the model write a numerical confidence after the answer and use a strictly proper scoring rule as the reward. The authors state that these methods all treat confidence as sampled text: reports have persistent variance when stochastic, and in practice collapse to a few values shared by correct and incorrect answers; sampling makes the report non-differentiable with respect to the parameters, so the calibration loss can only enter the policy gradient through a scalar reward, and the gradient estimate carries an additional layer of report variance. The authors believe that changing the reward design cannot remove these two costs.
- Core observation: A report is either sampled, in which case the calibration signal can only go through a score-function estimate, or it is computed deterministically from the output distribution, in which case the calibration gradient can reach it directly. The authors accordingly propose three requirements: the report is a deterministic functional of the output distribution, its values are not confined to the vocabulary grid, and the calibration loss is differentiable with respect to the report, which can be computed exactly in the forward pass that generates the rollout.
- Proposed method: CREDO (Confidence REaDOut) optimizes correctness with RLVR while using the relative probability of a pair of reserved tokens as the confidence readout, trained with a differentiable regression; it then weights answer learning by the gap between confidence and outcome, improving accuracy and calibration together. The gains extend to abstention and selective prediction.
What related research exists?
Related work falls into two lines, confidence estimation and calibration within RLVR; CREDO places a two-token readout into on-policy RLVR and uses it for answer weighting.
In Section 5, the authors divide related work into confidence estimation and calibration within RLVR, and the introduction also names representative methods on the verbal confidence route.
Direct Questioning and Probability/Sample Estimation
- Lin et al. (2022): Fine-tunes the model to output a number as uncertainty; the authors relay conclusions from Xiong et al. (2024) and Tian et al. (2023) that such numbers are systematically overconfident.
- Probabilities, Internal Representations, and Sample Consistency: Fomicheva et al. (2020), Kadavath et al. (2022), Azaria & Mitchell (2023), and Orgad et al. (2025) read confidence from the model's own probabilities or internal representations; Kuhn et al. (2023), Aichberger et al. (2025), and Geng et al. (2024) estimate uncertainty from sample consistency. The introduction states that generation probabilities reflect the likelihood of the generated text, not the probability of being correct.
- Chuang et al. (2025): Learns a confidence-token readout under supervised fine-tuning for routing and rejection. The authors state that CREDO uses the same form of readout but trains it on-policy within RLVR, against a mixed calibration objective, and feeds it back as a signal for answer learning.
Calibration and Self-Rewarding in RLVR
- Likelihood or Token Statistics in Policy Optimization: Wang et al. (2026), Liu et al. (2025), and Zhao et al. (2026) incorporate confidence derived from answer likelihood or token-level statistics into policy optimization.
- Spoken Numerals Scored by Rewards: RLCR (Damani et al., 2026) folds a proper scoring rule into a single reward; DCPO (Ma et al., 2026) scores answer tokens and confidence tokens separately. Xu et al. (2024), Bani-Harouni et al. (2026), Stengel-Eskin et al. (2024), Leng et al. (2025), Zhang et al. (2026), and Fan et al. (2026) extend numerical reporting to QA, preference tuning, or generative recommendation. The authors state that in these numerical reporting methods, confidence is sampled as text and then trained via scalar rewards.
- LaSeR (Yang et al., 2025b): In RLVR, aligns last-token scores with verifier rewards and mixes score-derived advantages into policy updates. The authors distinguish CREDO from it: CREDO targets calibration rather than self-rewarding, regresses a normalized two-token readout, and reweights answer advantages using confidence–outcome discrepancy.
Baselines and Evaluation Data
- Baseline Methods: Untrained Base, GRPO (Shao et al., 2024) using only correctness, and RLCR and DCPO that train a calibration term. The baselines' verbal numerals are additionally re-read via numerical expectation, denoted as -d rows.
- Benchmarks/Datasets: Math is trained on DeepScaleR and evaluated on its in-domain split, MATH-500, AIME 2024–2026, and AMC 2023–2024; code is trained on DeepCoder and evaluated on its in-domain split, LiveCodeBench v5 and v6, and HumanEval+.
The authors position this work as: instead of changing the reward design of the verbal channel, they replace it with a deterministic, differentiable readout channel, and let that readout in turn weight the answer segment.
How does the paper address this problem?
CREDO uses H/L relative probability as the readout, performs differentiable regression on a mixed objective, and weights answer advantages by discrepancy.
Overall, CREDO remains within a GRPO-style RLVR loop, only replacing the confidence channel: the readout is given by reserved token pairs, calibration uses regression with direct backpropagation, policy gradient continues to handle credit assignment for correctness and text, and difference weighting feeds the readout back into answer learning.
Problem Setting and the Cost of the Verbal Channel
- GRPO Objective: For a question x, the policy samples a set of G rollouts, and the verifier gives ai=1[yi≡y∗]. The policy maximizes the clipped objective, with group rewards standardized into advantages; in the standard setting, ri=ai, and every token in the same rollout shares the same advantage. The verifier signal is non-differentiable with respect to parameters, so training uses policy gradient.
- Calibration Definition: The model must also report q∈[0,1] such that E[a|q=v]=v. The training objective uses a strictly proper scoring rule; the main text uses the Brier score (q−a)² as an example. The authors state that rewards relying only on correctness are indifferent to confidence and will not suppress confident errors.
- Verbal Channel: The emission is q̂=parse(s), where s is sampled from the policy's confidence slot. Representative rewards are RLCR's r=a−(q̂−a)², and DCPO's setting of the reasoning segment reward to a and the confidence segment reward to −|q̂−RIG|, where RIG mixes the group average correctness with a via λ. The authors give two propositions: a random verbal report incurs an extra cost under squared loss exactly equal to the conditional variance v; sampled reports have no unbiased pathwise gradient, and the loss can only be queried at its value.
Readout and Calibration Loss
- Three-Segment Format: Each rollout ends with answer, confidence analysis, and confidence slot. At the first generation position in the slot, the reserved tokens {H,L} in the vocabulary represent the two events.
- Readout: Restrict the next-token distribution to this pair and renormalize: c=π(H|h′)/(π(H|h′)+π(L|h′))=σ(zH−zL)∈(0,1). c depends only on the output distribution and varies continuously, and is computed in the forward pass that generates the rollout.
- Regression Target: For the set of rollouts V where readout is available, Lcal is the mean of (ci−ti)², with ti=γ ai+(1−γ)āgroup. The group term shrinks the binary target toward the group average correctness. The gradient is ∇Lcal∝2(c−t)c(1−c)∇(zH−zL), and given a rollout, the estimate has zero variance.
- Optimal Readout: Proposition 3, under independent rollout assumptions, gives that the Bayesian optimal readout for unfiltered per-item risk is c∗=λμ+(1−λ)p(x), with λ=γ+(1−γ)/G, and for any γ, E[c∗|x]=p(x). Reducing γ lowers the target variance on a given question but shrinks c∗ toward the current policy's question-level accuracy p(x). The authors therefore treat the mixed objective as correctness supervision with regularization, rather than calibration itself in the sense of Equation 2.
Policy Loss and Difference Weighting
- Segment Rewards: Fi indicates that all three segments exist and are parseable. rians=β Fi+ai, ricconf=Fi(1−(ti−ci)²). Each is standardized within the group into Âans and Âconf, applied only to the corresponding segment; segment-level credit assignment comes from Ma et al. (2026). The policy gradient scores both segments' text, while the slot's values are trained by the exact derivative of Lcal; they share parameters but not credit.
- Difference Weighting: si=|ai−ci|, wi=clip(1+κ(si−s̄group), w−, w+), and the answer advantage is multiplied by wi. Standardization uses unweighted rewards, and the weights have a group mean of 1 before clipping, so learning is only redistributed within the group. The total loss is L=−J+α Lcal, with token advantages being wi Âans in the answer segment and Âconf in the analysis segment.
Training and Evaluation Settings
- Main Experiment Model and Schedule: Compare Base, GRPO, RLCR, DCPO, and CREDO on Qwen3-8B. Train for two epochs, learning rate 2×10−6, 8 rollouts per question, temperature 1.0. Each run uses seed 43; the main comparison adds seeds 44 and 45.
- Metrics: Accuracy, plus ECE, ranking AUROC induced by the reported confidence, and Brier score jointly viewing reported values and outcomes. Appendix B gives prompt templates, remaining hyperparameters, and evaluation protocols; the main text does not list default values for α, β, γ, κ in Section 4.1; scans of these coefficients are in Section 4.3 and Table 15.
What experiments did the paper conduct?
On Qwen3-8B, CREDO leads in four metrics in the math and code in-domain settings; the calibration advantage persists in out-of-domain settings, and it improves selective prediction.
Experimental Setup
- Models under test: The main experiment uses Qwen3-8B. Appendix C.1 repeats the math comparison on 1.7B and 4B. Baselines are Base, GRPO, RLCR, DCPO; the -d rows are not retrained, only the sampled numbers are replaced with the expectation over that baseline's number distribution.
- Data: Math uses DeepScaleR for training, with evaluation on the in-domain split, MATH-500, AIME 2024–2026, and AMC 2023–2024, for a total of seven sets. Code uses DeepCoder for training, with evaluation on the in-domain split, LiveCodeBench v5 and v6, and HumanEval+, for a total of four sets. The paper does not give sample sizes for each set in the main text.
- Training: Two epochs, learning rate 2×10−6, G=8 per question, temperature 1.0. Main comparison seeds are 43, 44, 45; Table 2, Figure 4, and Table 15 use seed 43.
- Metrics: Acc, ECE, AUROC, Brier. Table 1 reports macro averages across evaluation sets and training seeds, with joint standard errors; bold indicates the best mean in that column or within one joint standard error of it. Selective prediction uses AURC, acc@50/80/90, and the number of actionable thresholds Thr.
- Readout method: Baselines are evaluated on their verbal numbers and also on the numerical expectation; CREDO uses its readout. Out-of-domain means swapping the checkpoint to another domain without adaptation.
- Evaluation: Correctness is determined by a verifier. The paper does not report human agreement or an LLM judge model.
Main Results
In-domain macro averages from Table 1 (↑ higher is better, lower ECE and Brier are better):
Swipe horizontally to read the table
Method Math Acc Math ECE Math AUROC Math Brier Code Acc Code ECE Code AUROC Code Brier Base .439±.001 .472±.002 .644±.004 .453±.002 .455±.001 .418±.001 .690±.004 .395±.002 GRPO .706±.009 .199±.027 .775±.062 .204±.029 .581±.007 .182±.070 .753±.061 .205±.066 RLCR .682±.010 .159±.012 .831±.009 .171±.009 .553±.013 .075±.005 .815±.014 .146±.006 DCPO .722±.008 .217±.008 .848±.012 .198±.003 .576±.003 .153±.024 .776±.025 .153±.024 CREDO .752±.013 .103±.013 .933±.007 .086±.004 .600±.018 .064±.020 .850±.027 .127±.016 - Authors' interpretation: In-domain, CREDO leads on all four metrics in both math and code. Among baselines, DCPO is most accurate in math but its calibration still lags CREDO; RLCR trades accuracy for tighter ECE in code and is the only baseline that ties CREDO on any calibration metric.
- Numerical expectation: Every -d replacement improves ranking metrics of the AUROC type, and the authors use this to claim that sampling adds noise to an otherwise informative signal. No replacement closes the calibration gap with CREDO; the authors state that the reported values are shaped by the training path, and changing only the emission method does not recalibrate.
- Domain transfer: In OUT OF DOMAIN, accuracies are similar across methods, and CREDO's calibration advantage remains and is largest. RLCR's tie with CREDO on in-domain code ECE does not persist after transfer. For math transfer, CREDO's Acc is .560±.007, ECE .117±.030, AUROC .855±.013, Brier .142±.013; for code transfer, Acc .504±.021, ECE .138±.016, AUROC .836±.009, Brier .165±.008 (Table 1). In accuracy, math-transfer GRPO is .564±.003, higher than CREDO's .560±.007; code-transfer DCPO is .508±.014, higher than CREDO's .504±.021.
Channel Collapse
- What was measured: Figure 2 compares the effective number of levels 1/∑v p²v in the verbal and readout channels, the share of the most frequent value, and the AUROC loss caused by identical reports (tie tax). Light colors are math, dark colors are code.
- Results: The effective number of levels annotated on the figure is 1.7, 2.6, 1.7, 2.8, 3.8, 1.9, 2.0 on the verbal side and 111.5 and 88.3 on the CREDO side. The most frequent share on the verbal side is annotated as 0.77, 0.77, 0.72, 0.58, 0.53, 0.52, 0.42, 0.17, 0.09, 0.03; CREDO is not given a comparably collapsed high share in that group. Tie tax annotations include 0.267, 0.186, 0.181, 0.130, 0.116, 0.116, 0.075, 0.033, 0.004, 0.002. The authors state for Figure 1c: GRPO, RLCR, and DCPO verbal reports concentrate on a few values, with correct and incorrect answers sharing those values; CREDO's readout covers the full range.
- Authors' interpretation: Collapse is already visible in the untrained Base; GRPO, RLCR, and DCPO all have single-digit effective numbers of levels, and training does not spread the values out.
Ablations and Downstream Abstention
- Removing components (Table 2, seed 43): Full CREDO achieves math Acc .753, ECE .094, AUROC .933, Brier .088, and code .614, .052, .869, .117. With α=0, math ECE rises to .241, Brier to .232, and Acc drops to .696; code ECE .172, Brier .172, Acc .611. Removing the uncertainty analysis segment gives math Acc .709 and code Acc .587, with ECE still .096 and .048. Zeroing the advantage of the confidence segment gives math Acc .696 and code Acc .576. With κ=0, math Acc .721 and ECE .122, code Acc .572. The authors state: without the differentiable regression, the readout loses direct supervision and calibration collapses; reasoning about confidence mainly improves the answer rather than only the confidence; difference weighting is the only component that sends the readout back into the answer segment, and removing it causes the largest accuracy drop in code and worse calibration in math, even though the weighting acts only on answer advantages.
- Selective prediction (Table 3, Figure 5): In math, CREDO's AURC is 2.62±0.04%, acc@50/80/90 is .986±.001, .962±.001, .927±.002, with 372 actionable thresholds; DCPO is 4.98±0.65% with 22 thresholds; RLCR 5.88±0.67% with 15; GRPO 7.92±0.67% with 21; Base 29.64±0.30% with 34. In code, CREDO's AURC is 16.80±1.57% with 932 thresholds; DCPO 21.26±0.95% with 10; RLCR 21.36±1.00% with 12; GRPO 21.50±3.08% with 17; Base 45.10±0.50% with 16. The authors state that in math, CREDO's risk–coverage curve lies below all baselines across the full range; in code, RLCR is lower at very low coverage, and CREDO is lowest above that. Across the evaluated coverage budgets, CREDO answers most accurately and has the lowest combined error on both sides, tying DCPO statistically only on the two tightest code budgets. The authors state that verbal reports leave only a dozen or so to about twenty actionable operating points, while the readout provides hundreds; in code, DCPO's highest-confidence value already covers half the sample pool.
- Scale: The authors state that Appendix C.1 repeats the math comparison on 1.7B and 4B, and CREDO leads on all four metrics at every scale, with the calibration advantage widening as the model grows. The specific values are not fully listed in the tables of the attached text.
Other Ablations and Analyses
- κ (Table 15, seed 43): At 0, math Acc .721 and Brier .102, code Acc .572 and Brier .132; at 0.5, math .749/.101, code .614/.117; at 1, math .730/.100, code .591/.124. The authors state that intermediate κ values all outperform κ=0.
- α: At 0, math ECE .241 and Brier .232, code ECE .172 and Brier .172; at 0.03, math Acc .753 and Brier .088, code Acc .614 and Brier .117; at 0.10, code Acc .577 and ECE .042. The authors state that at α=0 calibration training is off and ECE and Brier collapse, while all tested positive values restore calibration.
- γ: At 0.5, math Acc .753 and Brier .088, code Acc .614 and Brier .117; at γ=1, code ECE is .034, lower than the .052 at γ=0.5, but code Acc is .587. The authors state that among tested values, γ=0.5 gives the best accuracy and Brier on both sides, while γ=1 gives lower code ECE.
- Appendices C.2–C.4: The authors state that swapping only the emission method or only the training path does not recover the full method; adding the same weighting to RLCR and DCPO, whether the driving signal is the parsed number or the continuous numerical expectation, gives smaller gains than CREDO and is less stable; of the two alternative reward shapes, the additive form is best or tied in math and competitive in code. The attached text does not give cell-by-cell numbers for these appendix tables.
- Exceptions: On in-domain code ECE, RLCR is .075±.005 and CREDO is .064±.020; the authors treat RLCR as a baseline that ties CREDO. This tie disappears after domain transfer. Out-of-domain accuracy is not highest for CREDO in every domain; see GRPO and DCPO in Table 1.
What are some points that can be further explored?
The authors write open-ended tasks with graded rewards, and feeding confidence back during generation, as future directions.
Limitations and future directions noted by the authors
- Not tied to binary labels: The conclusion states that because CREDO trains confidence with regression, it is not tied to binary correctness labels; open-ended tasks with graded reward models are a natural next step (Section 6).
- Feedback during generation: The conclusion states that further, confidence signals could be fed back during generation, allowing uncertain steps to be reconsidered before the answer is finalized, moving toward a reasoner that "knows when it is right" (Section 6).
- The paper does not have a separate Limitations section. The discussion of the mixed objective in the main text is methodological: prompt-level mean consistency generally does not imply calibration in Equation 2, and the mixed objective is treated as correctness supervision with regularization (Section 3.2, Proposition 3); this is not rewritten here as a list of limitations by the authors.
Experimental coverage
- Models and domains: Main results are on Qwen3-8B, with in-domain and cross-domain evaluations in two verifiable domains, math and code; Appendix C.1 repeats the math comparison to 1.7B and 4B (Sections 4.1–4.2).
- Baselines and readouts: Comparisons include Base, GRPO, RLCR, DCPO, and the -d readout that only changes to numeric expectation without retraining (Table 1).
- Seeds and group sizes: Main comparisons use seeds 43, 44, 45; ablations and coefficient sweeps use seed 43; training uses 8 rollouts per question, two epochs, learning rate 2×10−6, temperature 1.0 (Section 4.1).
- Downstream and components: Tested risk–coverage for abstention-based selective prediction, AURC, and number of actionable thresholds (Section 4.4, Table 3, Figure 5), as well as removing regression, analysis segment, confidence segment advantage, and difference weighting (Table 2), and κ, α, γ sweeps (Table 15).
- Not reported in the paper: The number of samples in each evaluation set, the specific default values of α, β, γ, κ in the main experiments (the sweep tables give the tested levels), and agreement between human evaluation and automatic judgment.
Summarize the main content of the paper
CREDO replaces verbal confidence with a differentiable two-token readout, improving both accuracy and calibration on math and code.
CREDO changes confidence in RLVR from "sampling a number" to "reading the relative probability of a pair of reserved tokens," and uses differentiable regression and difference weighting to improve both accuracy and calibration.
- Problem: GRPO-style RLVR only rewards based on the verifier's correctness, without pushing the model to align reported confidence with true accuracy. Existing methods like RLCR and DCPO have the model write confidence as text and train with scalar rewards; the authors argue that sampling leaves conditional variance, collapses values to a few points, and cuts off direct gradients for the calibration loss.
- Method: The rollout is split into answer, confidence analysis, and confidence slot. On the slot, c=σ(zH−zL). The calibration loss regresses c to γ ai+(1−γ) times the group mean accuracy. The answer and analysis segments are still updated by policy gradient according to their respective segment rewards; the answer advantage is further multiplied by the group-centered |ai−ci| weight. The total loss is the policy objective plus α times the calibration loss.
- Main results: On Qwen3-8B, macro-averaged over three seeds, in-domain math CREDO achieves Acc .752±.013, ECE .103±.013, AUROC .933±.007, Brier .086±.004; in-domain code Acc .600±.018, ECE .064±.020, AUROC .850±.027, Brier .127±.016 (Table 1). When transferred to the other domain, accuracy is similar to baselines, but the calibration advantage remains largest. Changing baselines to numeric expectation improves AUROC but does not close the calibration gap with CREDO.
- Other evidence: On seed 43, removing regression significantly worsens ECE and Brier on both sides; removing difference weighting drops code Acc from .614 to .572. In selective prediction, math AURC is 2.62±0.04% vs. DCPO's 4.98±0.65%, with 372 actionable thresholds vs. 22; code AURC is 16.80±1.57%, with 932 thresholds vs. DCPO's 10 (Table 3).
- Authors' conclusion: The two costs of the verbal channel come from sampling itself; deterministic readout plus feeding it back into answer learning achieves the best accuracy and calibration simultaneously on math and code, and enables finer-grained abstention thresholds. Open-ended graded rewards and feeding confidence back during generation are written as future directions.