An Empirical Analysis of Uncertainty in Large Language Model Evaluations

Qiujie Xie, Qingqiu Li, Zhuohao Yu, Yuejie Zhang, Linyi Yang

Abstract

The "LLM-as-a-Judge" paradigm has emerged as a scalable alternative to human evaluation and static benchmarks. However, the internal stability of these evaluators remains poorly understood. This paper presents an empirical analysis of evaluation uncertainty, quantifying the "hesitation" of LLM judges using token probabilities. We investigate nine prominent LLMs across single-answer and pairwise evaluation settings. Our findings indicate that pairwise comparisons are generally more stable than absolute grading and that Chain-of-Thought prompting acts as a significant stabilizer. Finally, we propose ConfiLM, an uncertainty-aware evaluator that leverages candidate model confidence to achieve superior performance on out-of-distribution datasets, such as a curated 2024 Olympics benchmark.

Introduction

The evaluation of Large Language Models (LLMs) is a critical bottleneck in AI development. Traditional static benchmarks are increasingly susceptible to data contamination, while human evaluation is prohibitively expensive and slow. This has led to the widespread adoption of the "LLM-as-a-Judge" framework, where high-capacity models are used to assess the outputs of other models. Despite its popularity, the reliability of this paradigm is often taken for granted. This research addresses the fundamental question of evaluation uncertainty: how stable are these automated judges? If an evaluator is internally conflicted—effectively "flipping a coin" between scores—its verdicts cannot be fully trusted.

Methodology

The study systematically explores evaluation uncertainty through three experimental stages, ranging from identifying its existence to mitigating and finally utilizing it for better performance.

Overview of the three experimental stages investigating LLM evaluator uncertainty.

The researchers evaluated nine LLMs (including GPT-4o, Llama-3, and Qwen-2) in two primary settings: single-answer grading (assigning a 0-9 score) and pairwise comparison (choosing between two candidates). To quantify uncertainty, the authors utilized the probability of the output token (logits) as a proxy for the judge's confidence.

Illustration of evaluation uncertainty in pairwise and single-answer grading, showing the distinction between response and evaluation confidence.

A key contribution is the development of ConfiLM, an uncertainty-aware evaluator. ConfiLM is fine-tuned on data where it is provided with the "response confidence" of the candidate model (e.g., "Highly confident" or "Clearly doubtful"). This allows the judge to weigh the candidate's own certainty when making a final assessment.

Datasets

The experiments utilized MT-Bench and PandaLM for baseline uncertainty analysis. For fine-tuning ConfiLM, the Alpaca 52K dataset was used. To rigorously test the models on out-of-distribution (OOD) data, the authors curated the Olympic 2024 dataset, consisting of 220 high-quality instances related to the Paris Olympics, ensuring no pre-training contamination.

Analysis and Insights

Several key patterns emerged from the analysis:

  • Pairwise vs. Single-Answer: Judges consistently show higher confidence in pairwise comparisons. Relative ranking appears to be a more stable cognitive task for LLMs than absolute scoring.
  • Family Bias: Models tend to be more confident and lenient when judging models from their own lineage (e.g., Llama judging Llama), suggesting a linguistic familiarity bias.
  • The Role of Reasoning: Chain-of-Thought (CoT) prompting significantly increases evaluation confidence. By generating a rationale before the final grade, the model's internal state becomes more deterministic.
  • Competence vs. Stability: General reasoning capability does not guarantee evaluation stability. Some highly capable models remain surprisingly uncertain as judges.

Key Results

The study confirms that higher evaluation confidence correlates with better alignment with human ground-truth labels. The proposed ConfiLM model demonstrated the practical utility of uncertainty awareness, outperforming a standard Llama-3-8B baseline by 3.9% in F1 score on the OOD Olympic 2024 dataset. Notably, ConfiLM proved more adept at identifying hallucinations by recognizing when a candidate model's low response confidence signaled a factual guess.

Conclusion and Future Work

This work highlights evaluation uncertainty as a vital metric for the "LLM-as-a-Judge" paradigm. While uncertainty-aware models like ConfiLM show promise, limitations remain. The reliance on logprobs restricts the method's applicability to models with closed APIs. Future research should address multi-turn evaluation, better calibration of probability signals, and the extension of these techniques to multimodal evaluators.

Summary updated

BibTeX
@inproceedings{xie2025empirical,
  author = {Qiujie Xie and Qingqiu Li and Zhuohao Yu and Yuejie Zhang and Yue Zhang and Linyi Yang},
  title = {{An Empirical Analysis of Uncertainty in Large Language Model Evaluations}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=J4xLuCt2kg},
}
Figure