Abstract
Reinforcement Learning from Human Feedback (RLHF) has become a standard technique for aligning large language models (LLMs) with human preferences. However, this process often compromises the model's internal calibration, resulting in extreme overconfidence. This paper investigates whether "verbalized" confidence—asking the model to express its certainty in natural language—can provide more reliable uncertainty estimates than internal model probabilities. Our findings demonstrate that verbalized confidence significantly outperforms traditional log-probability-based methods, reducing Expected Calibration Error (ECE) by up to 50% in models like GPT-4.
Introduction
In a well-calibrated system, a predicted confidence of 80% should correspond to an actual accuracy of 80%. Such calibration is vital for the safe deployment of AI, enabling models to signal uncertainty and defer to human experts when necessary. While pre-trained models often exhibit reasonable calibration, the RLHF fine-tuning process typically destroys this property by encouraging the model to concentrate probability mass on preferred responses. Furthermore, the rise of "closed" models (e.g., GPT-4, Claude) restricts access to internal log-probabilities, necessitating alternative methods for uncertainty estimation. This research explores treating confidence as a text generation task, bypassing internal scores.
Methodology
The study evaluates several strategies for extracting confidence scores from RLHF-tuned models:
- Internal Probabilities (Baselines): Estimating confidence using hidden log-probabilities or the probability of a "Yes" token when asked if an answer is true.
- Verbalized Numerical Confidence: Directly prompting the model for a numerical score (0.0 to 1.0).
- Verbalized Linguistic Confidence: Mapping phrases like "Highly Likely" to numerical values based on human perception studies.
- Multi-Step Prompting (Top-k): Asking the model to generate multiple possible answers before stating confidence, encouraging the consideration of alternatives.
- Chain-of-Thought (CoT): Prompting the model to reason step-by-step before providing a confidence score.
Experimental Setup
Performance was measured using Expected Calibration Error (ECE) across three factual benchmarks: TriviaQA (general knowledge), SciQ (science exams), and TruthfulQA (adversarial misconceptions).
Results and Analysis
The experiments reveal a "Just Ask" paradox: verbalized outputs are more accurate than the internal probabilities from which they are derived. For RLHF-tuned models, "token-space" confidence is consistently superior.
A key finding is that forcing the model to acknowledge alternative possibilities (e.g., "top 4" guesses) effectively mitigates the "winner-take-all" overconfidence of RLHF. Additionally, numerical scores proved more effective than linguistic expressions, despite the common belief that LLMs struggle with numbers. Interestingly, while Chain-of-Thought reasoning improved accuracy, it did not significantly enhance calibration, suggesting that reasoning helps find the right answer but does not necessarily improve self-awareness of potential errors.
The improvement was most pronounced in larger, closed-source models like GPT-4, particularly on the adversarial TruthfulQA dataset, where internal probabilities were largely ineffective.
Conclusion
This study suggests that as AI systems become more complex, the most effective way to gauge their reliability may not be through internal mathematical metrics, but through direct dialogue. Verbalized confidence offers a simple yet powerful tool for improving the safety and transparency of RLHF-tuned models. Future work should explore the robustness of these prompts across different domains, such as mathematics and long-form content generation.
Summary updated