Types of Out-of-Distribution Texts and How to Detect Them
摘要
Despite agreement on the importance of detecting out-of-distribution (OOD) examples, there is little consensus on the formal definition of OOD examples and how to best detect them. We categorize these examples by whether they exhibit a background shift or a semantic shift, and find that the two major approaches to OOD detection, model calibration and density estimation (language modeling for text), have distinct behavior on these types of OOD data. Across 14 pairs of in-distribution and OOD English natural language understanding datasets, we find that density estimation methods consistently beat calibration methods in background shift settings, while performing worse in semantic shift settings. In addition, we find that both methods generally fail to detect examples from challenge data, highlighting a weak spot for current methods. Since no single method works well across all settings, our results call for an explicit definition of OOD examples when evaluating different detection methods.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 31 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learning 引用了 Delving into Out-of-Distribution Detection with Vision-Language Representations
- LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learning 引用了 Scaling Out-of-Distribution Detection for Real-World Settings
- Delving into Out-of-Distribution Detection with Vision-Language Representations 引用了 WILDS: A Benchmark of in-the-Wild Distribution Shifts
- Prompting GPT-3 To Be Reliable 引用了 WILDS: A Benchmark of in-the-Wild Distribution Shifts
- WILDS: A Benchmark of in-the-Wild Distribution Shifts 引用了 Scaling Out-of-Distribution Detection for Real-World Settings
- WILDS: A Benchmark of in-the-Wild Distribution Shifts 引用了 Test-Time Training with Self-Supervision for Generalization under Distribution Shifts
引用它的顶会 Paper31
- Delving into Out-of-Distribution Detection with Vision-Language RepresentationsYifei Ming, Ziyang Cai, Jiuxiang Gu, Yiyou Sun 等NeurIPS 2022 · 308 次引用
- LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt LearningAtsuyuki Miyai, Qing Yu, Go Irie, Kiyoharu AizawaNeurIPS 2023 · 174 次引用
- LLMLingua: Compressing Prompts for Accelerated Inference of Large Language ModelsHuiqiang Jiang, Qianhui Wu, Chin-Yew Lin, Yuqing Yang 等EMNLP 2023 · 94 次引用
- Prompting GPT-3 To Be ReliableChenglei Si, Zhe Gan, Zhengyuan Yang, Shuohang Wang 等ICLR 2023 · 68 次引用
- Why Should Adversarial Perturbations be Imperceptible? Rethink the Research Paradigm in Adversarial NLPYangyi Chen, Hongcheng Gao, Ganqu Cui, Fanchao Qi 等EMNLP 2022 · 28 次引用
它引用的 Paper15
- The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes 等ICLR 2020 · 4,112 次引用
- WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie 等ICML 2021 · 1,773 次引用
- Distributionally Robust Neural NetworksShiori Sagawa, Pang Wei Koh, Tatsunori B. Hashimoto, Percy LiangICLR 2020 · 1,578 次引用
- Test-Time Training with Self-Supervision for Generalization under Distribution ShiftsYu Sun, Xiaolong Wang, Zhuang Liu, John Miller 等ICML 2020 · 1,220 次引用
- Scaling Out-of-Distribution Detection for Real-World SettingsDan Hendrycks, Steven Basart, Mantas Mazeika, Andy Zou 等ICML 2022 · 653 次引用
相关 Paper
- BARLE: Background-Aware Representation Learning for Background Shift Out-of-Distribution DetectionHanyu Duan, Yi Yang, Ahmed Abbasi, Kar Yan TamEMNLP Findings 2022 · 2 次引用
- Is Fine-tuning Needed? Pre-trained Language Models Are Near Perfect for Out-of-Domain DetectionRheeya Uppaal, Junjie Hu, Yixuan LiACL 2023 · 9 次引用
- Unified Out-Of-Distribution Detection: A Model-Specific PerspectiveReza Averly, Wei-Lun ChaoICCV 2023 · 18 次引用
- Distance-aware Calibration for Pre-trained Language ModelsAlberto Gasparin, Gianluca DetommasoEMNLP Findings 2024 · 2 次引用
- From Out-of-Distribution Detection to Hallucination Detection: A Geometric ViewLitian Liu, Reza Pourreza, Yubing Jian, Yao Qin 等ICML 2026 · 1 次引用
