跳到正文
arXiv (AI + Vision + Imaging)· Wang Ma, Debarun Bhattacharjya, Junkyu Lee, Nhan H Pham, Harsha Kokel, Qiang Ji·· 10 天前AI 评分20

基于Ensemble-of-Ensembles的大语言模型黑盒不确定性量化方法

Black-Box Uncertainty Quantification for Large Language Models via Ensemble-of-Ensembles

AI 导读

研究提出一种双层集成方法,通过固定提示的随机解码构成内层集成、语义保持的提示扰动构成外层集成,在连续嵌入空间中利用全协方差定律精确分解偶然不确定性与认知不确定性(AU/EU),仅需黑盒采样访问。在五个短问答基准和四个指令微调LLM上,该方法与强白盒基线相当,在相同生成预算下误差排序匹配领先黑盒方法,并能选择性区分提示歧义与模型知识缺口两类失败来源。

正文 · 原文

arXiv:2611.18453v1 Announce Type: new Abstract: Reliable use of large language models (LLMs) requires uncertainty estimates that separate ambiguity intrinsic to a prompt from genuine knowledge gaps. Bayesian and deep-ensemble methods deliver this aleatoric/epistemic decomposition in principle, but are computationally prohibitive at LLM scale and require white-box access. Existing black-box methods, in contrast, summarize to a single scalar that cannot make the distinction. We introduce a two-level ensemble that bridges this gap. Stochastic decoding of a fixed prompt forms the inner ensemble; meaning-preserving semantic perturbations of the prompt form the outer ensemble. Variability is measured in a continuous embedding space, and the law of total covariance gives an exact within-/between-perturbation decomposition to estimate aleatoric and epistemic uncertainty (AU/EU); it requires only black-box sampling access. On top of this estimator, we contribute three theoretical results that ground the framework: (i) a finite-sample bias identity for nested Monte Carlo with a closed-form bias-corrected epistemic estimator; (ii) a Bayesian bridge bounding the gap between perturbation-population AU/EU and Bayesian targets; and (iii) a separation result identifying a class of failure modes that any consistency-only black-box method provably misses while perturbation-based EU detects. Across five short QA benchmarks and four instruction-tuned LLMs spanning two families and two scales, our estimator is competitive with strong white-box baselines, and at a matched generation budget it matches leading black-box methods on error ranking while decomposing AU and EU; controlled paired interventions show that AU and EU respond selectively to distinct, actionable sources of failure: prompt ambiguity and model knowledge gaps; and a long-form pilot on the NQ long-answer split shows the framework extends to claim-level factuality without retraining.

来源:arXiv (AI + Vision + Imaging) · arxiv.org