NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedback

Katherine Tian, Eric Mitchell, Allan Zhou, Archit Sharma, Rafael Rafailov, Huaxiu Yao, Chelsea Finn, Christopher D. Manning

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:

  1. Internal Probabilities (Baselines): Estimating confidence using hidden log-probabilities or the probability of a "Yes" token when asked if an answer is true.
  2. Verbalized Numerical Confidence: Directly prompting the model for a numerical score (0.0 to 1.0).
  3. Verbalized Linguistic Confidence: Mapping phrases like "Highly Likely" to numerical values based on human perception studies.
  4. Multi-Step Prompting (Top-k): Asking the model to generate multiple possible answers before stating confidence, encouraging the consideration of alternatives.
  5. 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.

Comparison of calibration strategies: Model log-probabilities (top-left) show high error (0.256), while verbalized confidence with 4 guesses (bottom-right) achieves the best calibration (0.065).

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.

ECE comparison across TriviaQA, SciQ, and TruthfulQA, showing that verbalization (blue) consistently reduces calibration error compared to internal probability baselines (orange hatched).

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

BibTeX
@inproceedings{tian2023just,
  author = {Katherine Tian and Eric Mitchell and Allan Zhou and Archit Sharma and Rafael Rafailov and Huaxiu Yao and Chelsea Finn and Christopher D. Manning},
  title = {{Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedback}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.330},
}
Figure