TL;DR
While reinforcement learning with verifiable rewards (RLVR) significantly boosts the accuracy of large language models on decision-making tasks, it leaves them dangerously overconfident. This paper uncovers why this calibration failure happens and introduces a calibration-aware RL framework that directly regulates decision-token probabilities, mitigating overconfidence without sacrificing accuracy.
What Problem Does This Paper Address?
When deploying Large Language Models (LLMs) in high-stakes environments like medical assistance, legal analysis, or content moderation, accuracy isn't the only metric that matters. We also need reliable confidence calibration—meaning that if a model says it is 80% sure about a decision, it should be correct roughly 80% of the time. Well-calibrated models allow downstream systems to know when to trust an output and when to hand the reins over to a human or a fallback mechanism.
Currently, practitioners face a frustrating trade-off when fine-tuning models:
- Supervised Fine-Tuning (SFT) yields relatively well-calibrated probabilities but offers modest accuracy gains.
- Reinforcement Learning with Verifiable Rewards (RLVR), such as Group Relative Policy Optimization (GRPO), dramatically improves task performance by encouraging chain-of-thought reasoning, but it results in extreme overconfidence.
The authors set out to diagnose why RLVR destroys calibration and to design a training method that delivers the best of both worlds: high accuracy and trustworthy confidence scores.
Methods
The authors first conducted a diagnostic "reasoning-swap" experiment to understand the root cause of RLVR's overconfidence.
They discovered that the final decision token acts purely as an extraction step rather than an evaluation step. Once a reasoning trace points toward an answer, the model outputs that token with near-100% probability, completely masking any internal epistemic uncertainty. Because the base model's trajectories are already uniformly overconfident, standard RL has no "well-calibrated" paths to reinforce.
To fix this, the authors propose a Calibration-Aware Reinforcement Learning objective. They modify the standard GRPO loss by adding a calibration-aware cross-entropy loss ($\mathcal{L}_{CE}$) applied exclusively to the final decision token ($y_d$):
$$\mathcal{L} = \mathcal{L}_{GRPO}(\theta) + \lambda \mathcal{L}_{CE}(y_d; \theta)$$
- For correct predictions: The model is encouraged to remain confident using a standard one-hot target.
- For incorrect predictions: The target distribution is smoothed toward uniformity, forcing the model to express uncertainty.
- The Constraint: To prevent the model's final answer from flipping and mismatching its own reasoning trace (which would ruin interpretability), the decision token's probability is constrained to stay within $[1/|C|, 1]$, where $|C|$ is the number of choices.
Datasets
The method was evaluated across three model sizes (Qwen3-1.7B, 4B, and 8B) on two distinct decision-making task categories, using both in-domain (†) and out-of-distribution (*) datasets:
- Commonsense Reasoning:
- CommonsenseQA† (CSQA): Multiple-choice QA with 4 options.
- OpenBookQA* (OBQA): Evaluated to test out-of-distribution (OOD) generalization.
- Content Moderation:
- OpenAI Moderation†: Binary classification (Safe vs. Unsafe).
- XSTest* (OOD): A benchmark specifically designed to test for exaggerated safety behaviors.
Key Insights and Ideas
- The Extraction Trap: The final decision token in a chain-of-thought LLM doesn't weigh the pros and cons of its history; it simply summarizes the conclusion already reached in the text. This is why token-level probabilities become uncalibrated during RL.
- Vanilla RL is Inherently Biased Against Calibration: Even if you started with a perfectly calibrated model, standard RLVR objectives continuously push correct decisions toward 100% confidence through repeated positive reinforcement, inevitably driving the model into an overconfident regime.
- Intervention Must Be Token-Specific: Because trajectory-level rewards fail to fix token-level extraction behavior, calibration objectives must explicitly target the decision token's logit distribution during the RL loop.
Key Results
The proposed calibration-aware RL method successfully eliminated the extreme overconfidence of vanilla GRPO while preserving its performance benefits.
- Drastic ECE Reductions: The method reduced Expected Calibration Error (ECE) scores by up to 9 percentage points compared to vanilla GRPO. For instance, on CommonsenseQA with Qwen3-1.7B, GRPO's ECE was 24.39%, which the proposed method cut down to 15.97%.
- Maintained Accuracy: The accuracy drops compared to vanilla GRPO were marginal or non-existent. In fact, on the out-of-distribution OpenBookQA dataset, the proposed method actually outperformed vanilla GRPO in accuracy while maintaining a vastly superior ECE (e.g., 1.91% ECE vs 6.74% for Qwen3-4B).
- Robust OOD Generalization: The calibration benefits successfully transferred to out-of-distribution datasets (OBQA and XSTest), proving that the model learned a generalized representation of uncertainty rather than just memorizing in-domain label frequencies.
Limitations and Future Work
- Scope of Tasks: This work focuses strictly on decision-making tasks where confidence is tied to a single final token (classification/multiple-choice). Extending this to open-ended, long-form generation remains an open challenge.
- Model Scale: Due to compute constraints, the authors limited their evaluation to the Qwen3 family up to 8B parameters. Validating these dynamics on frontier models (70B+) is a necessary next step.
- The Dual-Use Dilemma: The authors note a subtle security risk: while well-calibrated confidence scores are great for defenders, they can also help adversaries map out a model's decision boundaries more efficiently, potentially making it easier to craft jailbreaks or targeted adversarial attacks. Future work will need to explore treating these calibrated signals purely as internal routing mechanisms rather than exposing them directly to users.
Summary updated