Mitigating Overconfidence in Large Language Models: A Behavioral Lens on Confidence Estimation and Calibration

Bingbing Wen, Chenjun Xu, Bin Han, Robert Wolfe, Lucy Lu Wang, Bill HoweBehavioral ML @ NeurIPS 2024

TL;DR

This paper investigates overconfidence in Large Language Models (LLMs) by drawing parallels to human cognitive biases. They introduce a novel method, Answer-Free Confidence Estimation (AFCE), which significantly reduces LLM overconfidence by decoupling confidence assessment from answer generation, leading to better calibration.

What Problem Does This Paper Address?

Large Language Models (LLMs) are increasingly being used in critical real-world applications like medical diagnosis and legal analysis. A major concern is their tendency towards "overconfidence" – expressing high certainty even when their answers are incorrect. This can lead to inaccurate predictions, hallucinations, and ultimately, a breakdown in trust and effective human-machine collaboration. The paper aims to understand if LLMs exhibit overconfidence in ways similar to humans and to develop methods to mitigate this issue, improving their reliability and interpretability.

Methods

The researchers draw inspiration from psychological studies on human overconfidence. They propose and evaluate a new method called Answer-Free Confidence Estimation (AFCE). Unlike traditional methods that might ask an LLM to answer a question and then state its confidence, AFCE separates these two processes. First, the LLM answers a set of questions. Then, in a separate step, it's prompted to estimate how many of those questions it answered correctly, without seeing the answers. This decoupling is hypothesized to reduce overconfidence by preventing the model from "reinforcing" its confidence based on its own generated answers. They also compare AFCE against several baseline verbalized confidence elicitation methods.

Datasets

The study utilizes two primary datasets:

  • MMLU (Massive Multitask Language Understanding): A collection of domain-specific multiple-choice questions covering 57 subjects, categorized into High School, College, and Expert difficulty levels.
  • GPQA (Graduate-level Google-Proof Q&A Benchmark): Multiple-choice questions created by experts in Physics, Chemistry, and Biology.

These datasets were chosen to approximate the experimental design of previous human studies on overconfidence, allowing for direct comparison.

Key Insights and Ideas

  • LLMs Mirror Human Overconfidence Patterns (to an extent): Larger LLMs (like LLaMA-3-70B and Claude-3-Sonnet) show patterns similar to humans, overestimating performance on difficult tasks and underestimating on easier ones. Smaller models (like Gemma2-9B) tend to be consistently overconfident across all difficulty levels.
  • LLM Confidence is Less Sensitive to Task Difficulty: While LLMs show some sensitivity, their confidence estimates are generally less influenced by task difficulty compared to human estimates. They often provide a "standard" confidence answer, limiting the utility of simple verbalized confidence.
  • Decoupling Confidence Estimation Works: The proposed AFCE method significantly reduces overconfidence, especially on challenging tasks, by separating the answer generation and confidence estimation steps.
  • "Superficial" Persona-Based Estimates: LLMs can adopt personas (expert, layman, random) and estimate confidence, but their confidence estimates often don't align with actual accuracy differences across these personas, suggesting a disconnect between simulated belief and actual capability.

Key Results

  • AFCE Reduces Overconfidence: The AFCE method consistently lowered Expected Calibration Error (ECE), a metric for confidence calibration, across various models and difficulty levels, particularly outperforming baselines on hard tasks. For instance, for Claude-3-sonnet, ECE was reduced to 2.0 for College Physics and 16.7 for Expert Physics.
  • Model Size Matters: Larger models exhibited more nuanced confidence patterns, aligning better with human behavior than smaller models.
  • Persona Mismatch: When prompted to act as an expert or layman, LLMs consistently reported higher confidence for experts and lower for laymen, despite comparable actual accuracy. This suggests that LLMs might be overestimating their performance when adopting an expert persona and underestimating when adopting a layman persona.

Limitations and Future Work

  • Dataset Limitations: The study was primarily conducted on multiple-choice datasets. It remains to be seen if these patterns hold for other task types and models.
  • Prompting Techniques: The study focused on prompt-based confidence elicitation. Future work could explore more advanced techniques like sampling or aggregation strategies for further calibration refinement.
  • Underlying Mechanisms: The paper suggests exploring the underlying mechanisms behind AFCE's success and its relationship to human cognition. Further research is also needed to understand the "superficiality" of persona-based confidence estimates and their implications for LLM simulations in social sciences.

Summary updated

BibTeX
@inproceedings{wen2024mitigating,
  author = {Bingbing Wen and Chenjun Xu and Bin HAN and Robert Wolfe and Lucy Lu Wang and Bill Howe},
  title = {{Mitigating Overconfidence in Large Language Models: A Behavioral Lens on Confidence Estimation and Calibration}},
  booktitle = {Behavioral ML @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=y9UdO5cmHs},
}
Figure