Abstract
Uncertainty Quantification (UQ) in Language Models (LMs) is key to improving their safety and reliability. Evaluations often use metrics like AUROC to assess how well UQ methods (e.g., negative sequence probabilities) correlate with task correctness functions (e.g., ROUGE-L). We show that mutual biases—when both UQ methods and correctness functions are biased by the same factors—systematically distort evaluation. First, we formally prove that any mutual bias non-randomly skews AUROC rankings, compromising benchmark integrity. Second, we confirm this happens empirically by testing 7 widely used correctness functions, from lexical-based and embedding-based metrics to LM-as-a-judge approaches, across 4 datasets × 4 models × 8 UQ methods. Our analysis shows that length biases in correctness functions distort UQ assessments by interacting with length biases in UQ methods. We identify LM-as-a-judge methods as the least length-biased, offering a promising path for a fairer UQ evaluation.
Introduction
Evaluating how well a Language Model (LM) knows what it doesn't know is currently a "proxy war." Language Models often "hallucinate" facts with high confidence. To mitigate this, researchers use Uncertainty Quantification (UQ) methods to estimate when a model is likely to be wrong. However, because we lack "ground truth" labels for uncertainty, we evaluate UQ methods by measuring their correlation with correctness functions (like ROUGE or BERTScore) using the Area Under the Receiver Operating Characteristic (AUROC) curve.
This paper identifies a critical flaw: if both the UQ method and the correctness function share a common bias (a "confounder"), the evaluation results become spurious. For example, if a UQ method assigns higher uncertainty to long answers and a correctness metric is more likely to label long answers as "incorrect," the UQ method will appear artificially effective. This "mutual bias" undermines the integrity of current UQ leaderboards.
Methods
The researchers investigated this problem through three distinct approaches:
- Formal Analysis: The authors mathematically proved that while random, independent errors in correctness functions only add noise to AUROC, correlated errors (mutual bias) systematically shift rankings. This shift makes certain UQ methods appear more or less effective than they truly are.
- Empirical Benchmarking: A large-scale cross-evaluation was conducted involving 8 UQ methods (e.g., Negative Sequence Probability, Semantic Entropy), 7 correctness functions (lexical metrics like ROUGE, embedding metrics like BERTScore, and LM-as-a-judge), 4 models (Falcon, Qwen, Mistral variants), and 4 datasets.
- Human Validation: To establish a "gold standard," 1,800 human annotations were collected (4 per sample for 450 samples) and compared against automated metrics.
The study utilized four standard Question Answering (QA) datasets: TriviaQA, SQuAD, NQ-Open, and SimpleQA.
Key Insights and Ideas
The Length Confounder
Response length is identified as the primary confounder. Many UQ methods, such as negative log-probability, naturally increase with sequence length. Simultaneously, lexical metrics like ROUGE-F1 are often biased against longer, more verbose answers. This creates a "spurious interaction" that inflates performance scores.
The Threshold Trap
Lexical and embedding-based metrics require an arbitrary threshold to determine correctness (e.g., "is a ROUGE score of 0.3 correct?"). The paper demonstrates that these metrics are highly sensitive to this choice, and the "optimal" threshold varies significantly depending on the task and model verbosity.
LM-as-a-Judge
Metrics that utilize a separate Language Model to judge correctness (such as AlignScore or prompt-based judges) were found to be the most robust. These methods are largely invariant to response length and align most closely with human judgment, achieving the highest Cohen’s Kappa scores.
Key Results
Rankings Flip
The "best" UQ method changes depending on the chosen correctness function. For instance, length-based baselines perform competitively when evaluated using lexical metrics but fail significantly when evaluated by an LM-as-a-judge.
Human Alignment and Lexical Failure
LM-as-a-judge methods showed significantly higher agreement with human annotators compared to ROUGE or BERTScore. Conversely, common metrics like ROUGE-L (F1) showed a strong negative correlation with response length, systematically penalizing longer answers and distorting UQ evaluation.
Limitations and Future Work
The study focused on generative QA with relatively short, fact-based answers. In more open-ended tasks like summarization, defining "correctness" is more challenging, and biases may be more complex. Additionally, while LM-as-a-judge is more accurate, it is computationally more expensive than lexical proxies. Future work should investigate other potential "latent variables," such as vocabulary rarity or writing style, that could introduce similar mutual biases.
The paper concludes that to ensure reliable UQ evaluation, researchers should move away from lexical proxies and adopt LM-as-a-judge protocols, ideally validated against human samples.
Summary updated