Uncertainty in Language Models: Assessment through Rank-Calibration
Xinmeng Huang, Shuo Li, Mengxin Yu, Matteo Sesia, Hamed Hassani, Insup Lee, Osbert Bastani, Edgar Dobriban
摘要
Language Models (LMs) have shown promising performance in natural language generation. However, as LMs often generate incorrect or hallucinated responses, it is crucial to correctly quantify their uncertainty in responding to given inputs. In addition to verbalized confidence elicited via prompting, many uncertainty measures (e.g., semantic entropy and affinitygraph-based measures) have been proposed. However, these measures can differ greatly, and it is unclear how to compare them, partly because they take values over different ranges (e.g., [0, ∞) or [0, 1]). In this work, we address this issue by developing a novel and practical framework, termed Rank-Calibration, to assess uncertainty and confidence measures for LMs. Our key tenet is that higher uncertainty (or lower confidence) should imply lower generation quality, on average. Rank-calibration quantifies deviations from this ideal relationship in a principled manner, without requiring ad hoc binary thresholding of the correctness score (e.g., ROUGE or METEOR). The broad applicability and the granular interpretability of our methods are demonstrated empirically. The code to replicate our experiments is here.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models 引用了 Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generation
- Can LLMs Refuse Questions They Do Not Know? Measuring Knowledge-Aware Refusal in Factual Tasks 引用了 Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMs
- Can LLMs Refuse Questions They Do Not Know? Measuring Knowledge-Aware Refusal in Factual Tasks 引用了 Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generation
- Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMs 引用了 Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generation
- Conformal Alignment: Knowing When to Trust Foundation Models with Guarantees 引用了 Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generation
- MUR: Momentum Uncertainty guided Reasoning for Large Language Models 引用了 SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models
- MUR: Momentum Uncertainty guided Reasoning for Large Language Models 引用了 Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generation
- Temporal Difference Calibration in Sequential Tasks: Application to Vision-Language-Action Models 引用了 Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMs
- LUQ: Long-text Uncertainty Quantification for LLMs 引用了 SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language Models
- LUQ: Long-text Uncertainty Quantification for LLMs 引用了 Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMs
- LUQ: Long-text Uncertainty Quantification for LLMs 引用了 Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language Generation
引用它的顶会 Paper8
- Conformal Alignment: Knowing When to Trust Foundation Models with GuaranteesYu Gui, Ying Jin, Zhimei RenNeurIPS 2024 · 63 次引用
- One-Shot Safety Alignment for Large Language Models via Optimal DualizationXinmeng Huang, Shuo Li, Edgar Dobriban, Osbert Bastani 等NeurIPS 2024 · 30 次引用
- MUR: Momentum Uncertainty guided Reasoning for Large Language ModelsHang Yan, Fangzhi Xu, Rongman Xu, Yifei Li 等ACL 2026 · 12 次引用
- Can LLMs Refuse Questions They Do Not Know? Measuring Knowledge-Aware Refusal in Factual TasksWenbo Pan, Jie Xu, Qiguang Chen, Junhao Dong 等ICLR 2026 · 8 次引用
- Temporal Difference Calibration in Sequential Tasks: Application to Vision-Language-Action ModelsShelly Francis-Meretzki, Mirco Mutti, Yaniv Romano, Aviv TamarICML 2026 · 2 次引用
它引用的 Paper6
- Calibrate Before Use: Improving Few-shot Performance of Language ModelsZihao Zhao, Eric Wallace, Shi Feng, Dan Klein 等ICML 2021 · 1,843 次引用
- Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMsMiao Xiong, Zhiyuan Hu, Xinyang Lu, Yifei Li 等ICLR 2024 · 867 次引用
- SelfCheckGPT: Zero-Resource Black-Box Hallucination Detection for Generative Large Language ModelsPotsawee Manakul, Adian Liusie, Mark J. F. GalesEMNLP 2023 · 331 次引用
- Semantic Uncertainty: Linguistic Invariances for Uncertainty Estimation in Natural Language GenerationLorenz Kuhn, Yarin Gal, Sebastian FarquharICLR 2023 · 49 次引用
- LUQ: Long-text Uncertainty Quantification for LLMsCaiqi Zhang, Fangyu Liu, Marco Basaldella, Nigel CollierEMNLP 2024 · 11 次引用
相关 Paper
- Addressing Pitfalls in the Evaluation of Uncertainty Estimation Methods for Natural Language GenerationMykyta Ielanskyi, Kajetan Schweighofer, Lukas Aichberger, Sepp HochreiterICLR 2026 · 10 次引用
- Calibrating the Confidence of Large Language Models by Eliciting FidelityMozhi Zhang, Mianqiu Huang, Rundong Shi, Linsen Guo 等EMNLP 2024 · 5 次引用
- Inv-Entropy: A Fully Probabilistic Framework for Uncertainty Quantification in Language ModelsHaoyi Song, Ruihan Ji, Naichen Shi, Fan Lai 等NeurIPS 2025 · 6 次引用
- Kernel Language Entropy: Fine-grained Uncertainty Quantification for LLMs from Semantic SimilaritiesAlexander Nikitin, Jannik Kossen, Yarin Gal, Pekka MarttinenNeurIPS 2024 · 197 次引用
- Mapping from Meaning: Addressing the Miscalibration of Prompt-Sensitive Language ModelsKyle Cox, Jiawei Xu, Yikun Han, Rong Xu 等AAAI 2025 · 6 次引用
