Out-of-Distribution Detection and Selective Generation for Conditional Language Models
Jie Ren, Jiaming Luo, Yao Zhao, Kundan Krishna, Mohammad Saleh, Balaji Lakshminarayanan, Peter J. Liu
摘要
Machine learning algorithms typically assume independent and identically distributed samples in training and at test time. Much work has shown that high-performing ML classifiers can degrade significantly and provide overly-confident, wrong classification predictions, particularly for out-of-distribution (OOD) inputs. Conditional language models (CLMs) are predominantly trained to classify the next token in an output sequence, and may suffer even worse degradation on OOD inputs as the prediction is done auto-regressively over many steps. Furthermore, the space of potential low-quality outputs is larger as arbitrary text can be generated and it is important to know when to trust the generated output. We present a highly accurate and lightweight OOD detection method for CLMs, and demonstrate its effectiveness on abstractive summarization and translation. We also show how our method can be used under the common and realistic setting of distribution shift for selective generation (analogous to selective prediction for classification) of high-quality outputs, while automatically abstaining from low-quality ones, enabling safer deployment of generative language models.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 74 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMs 引用了 Language Models are Few-Shot Learners
- HaloScope: Harnessing Unlabeled LLM Generations for Hallucination Detection 引用了 Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMs
- HaloScope: Harnessing Unlabeled LLM Generations for Hallucination Detection 引用了 INSIDE: LLMs' Internal States Retain the Power of Hallucination Detection
- INSIDE: LLMs' Internal States Retain the Power of Hallucination Detection 引用了 Energy-based Out-of-distribution Detection
- Language Model Cascades: Token-Level Uncertainty And Beyond 引用了 Language Models are Few-Shot Learners
- Language Model Cascades: Token-Level Uncertainty And Beyond 引用了 The Curious Case of Neural Text Degeneration
- Language Models are Few-Shot Learners 引用了 The Curious Case of Neural Text Degeneration
- Dream the Impossible: Outlier Imagination with Diffusion Models 引用了 Energy-based Out-of-distribution Detection
引用它的顶会 Paper74
- Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMsMiao Xiong, Zhiyuan Hu, Xinyang Lu, Yifei Li 等ICLR 2024 · 867 次引用
- INSIDE: LLMs' Internal States Retain the Power of Hallucination DetectionChao Chen, Kai Liu, Ze Chen, Yi Gu 等ICLR 2024 · 281 次引用
- HaloScope: Harnessing Unlabeled LLM Generations for Hallucination DetectionXuefeng Du, Chaowei Xiao, Sharon LiNeurIPS 2024 · 131 次引用
- Language Model Cascades: Token-Level Uncertainty And BeyondNeha Gupta, Harikrishna Narasimhan, Wittawat Jitkrittum, Ankit Singh Rawat 等ICLR 2024 · 119 次引用
- Dream the Impossible: Outlier Imagination with Diffusion ModelsXuefeng Du, Yiyou Sun, Jerry Zhu, Yixuan LiNeurIPS 2023 · 114 次引用
它引用的 Paper20
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes 等ICLR 2020 · 4,112 次引用
- PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive SummarizationJingqing Zhang, Yao Zhao, Mohammad Saleh, Peter J. LiuICML 2020 · 2,453 次引用
- Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 次引用
- BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and ComprehensionMike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad 等ACL 2020 · 1,224 次引用
相关 Paper
- Exploring Large Language Models for Multi-Modal Out-of-Distribution DetectionYi Dai, Hao Lang, Kaisheng Zeng, Fei Huang 等EMNLP Findings 2023 · 17 次引用
- From Out-of-Distribution Detection to Hallucination Detection: A Geometric ViewLitian Liu, Reza Pourreza, Yubing Jian, Yao Qin 等ICML 2026 · 1 次引用
- AP-OOD: Attention Pooling for Out-of- Distribution DetectionClaus Hofmann, Christian Huber, Bernhard Lehner, Daniel Klotz 等ICLR 2026 · 2 次引用
- SENTRA: Selected-Next-Token Transformer for LLM Text DetectionMitchell Plyler, Yilun Zhang, Alexander Tuzhilin, Saoud Khalifah 等EMNLP Findings 2025
- PROOD: A Simple LLM Out-of-Distribution Guardrail Leveraging Response SemanticsJoshua TintEMNLP Findings 2025
