Rethinking LLM Uncertainty: A Multi-Agent Approach to Estimating Black-Box Model Uncertainty
Yu Feng, Phu Mon Htut, Zheng Qi, Wei Xiao, Manuel Mager, Nikolaos Pappas, Kishaloy Halder, Yang Li, Yassine Benajiba, Dan Roth
TL;DR
The paper addresses the challenge of estimating true uncertainty in black-box LLMs, where self-consistency methods can mislead due to contextual biases in knowledge retrieval. It introduces DiverseAgentEntropy, a same-model, multi-agent framework that uses diverse, knowledge-preserving perturbations of a target query to collaboratively refine responses and obtain calibrated uncertainty estimates. Empirical results show improved AUROC for uncertainty and better hallucination detection compared with self-consistency baselines across several benchmarks and two models, albeit with higher computational cost. The work highlights the importance of diversifying queries and leveraging intra-model collaboration to better surface the model's true knowledge and uncertainty, with implications for scalable oversight in high-stakes applications.
Abstract
Quantifying uncertainty in black-box LLMs is vital for reliable responses and scalable oversight. Existing methods, which gauge a model's uncertainty through evaluating self-consistency in responses to the target query, can be misleading: an LLM may confidently provide an incorrect answer to a target query, yet give a confident and accurate answer to that same target query when answering a knowledge-preserving perturbation of the query. We systematically analyze the model behaviors and demonstrate that this discrepancy stems from suboptimal retrieval of parametric knowledge, often due to contextual biases that prevent consistent access to stored knowledge. We then introduce DiverseAgentEntropy, a novel, theoretically-grounded method employing multi-agent interaction across diverse query variations for uncertainty estimation of black-box LLMs. This approach more accurately assesses an LLM's true uncertainty and improves hallucination detection, outperforming existing self-consistency based techniques.
