EMNLP Findings2025
Navigating the Unknown: Intent Classification and Out-of-Distribution Detection Using Large Language Models
Yusuf Sali, Sitki Can Toraman
摘要
Out-of-Distribution (OOD) detection is a critical challenge for ensuring the practicality and safety of task-oriented dialogue systems (TODS). With the emergence of large language models (LLMs), their strong ability to capture diverse patterns and contexts offers new opportunities to address this problem. In this paper, we evaluate the performance of LLMs in the near-OOD setting, where OOD queries are from the same domain but represent unseen intents. To leverage LLMs' capabilities without additional training, we avoid fine-tuning. We systematically assess GPT-4o on 3 widely used public datasets and 3 in-house datasets, exploring 10 methods and prompt variations. We further compare results with Gemini 1.5 Flash and Llama 3.1-70b, and analyze the impact of increasing the number of in-distribution (ID) intents. Finally, we propose a novel hybrid approach that combines the ID accuracy of smaller text classification models with the strong generalization power of LLMs for OOD detection. This method is cost-efficient, robust, high-performing, and adaptable enough to work effectively with smaller LLMs without sacrificing performance.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Out-of-Distribution Detection with Deep Nearest Neighbors 引用了 On the Importance of Gradients for Detecting Distributional Shifts in the Wild
- Is Fine-tuning Needed? Pre-trained Language Models Are Near Perfect for Out-of-Domain Detection 引用了 Contrastive Out-of-Distribution Detection for Pretrained Transformers
- Is Fine-tuning Needed? Pre-trained Language Models Are Near Perfect for Out-of-Domain Detection 引用了 Out-of-Distribution Detection with Deep Nearest Neighbors
它引用的 Paper10
- Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 次引用
- On the Importance of Gradients for Detecting Distributional Shifts in the WildRui Huang, Andrew Geng, Yixuan LiNeurIPS 2021 · 515 次引用
- Revisiting Mahalanobis Distance for Transformer-Based Out-of-Domain DetectionAlexander Podolskiy, Dmitry Lipin, Andrey Bout, Ekaterina Artemova 等AAAI 2021 · 100 次引用
- Contrastive Out-of-Distribution Detection for Pretrained TransformersWenxuan Zhou, Fangyu Liu, Muhao ChenEMNLP 2021 · 63 次引用
- Is Fine-tuning Needed? Pre-trained Language Models Are Near Perfect for Out-of-Domain DetectionRheeya Uppaal, Junjie Hu, Yixuan LiACL 2023 · 9 次引用
相关 Paper
- Large Language Models Meet Open-World Intent Discovery and Recognition: An Evaluation of ChatGPTXiaoshuai Song, Keqing He, Pei Wang, Guanting Dong 等EMNLP 2023 · 3 次引用
- From Out-of-Distribution Detection to Hallucination Detection: A Geometric ViewLitian Liu, Reza Pourreza, Yubing Jian, Yao Qin 等ICML 2026 · 1 次引用
- On the Generalization of Training-based ChatGPT Detection MethodsHan Xu, Jie Ren, Pengfei He, Shenglai Zeng 等EMNLP Findings 2024 · 9 次引用
- Learning to Rewrite: Generalized LLM-Generated Text DetectionWei Hao, Ran Li, Weiliang Zhao, Junfeng Yang 等ACL 2025
- Out-of-Scope Intent Detection with Self-Supervision and Discriminative TrainingLi-Ming Zhan, Haowen Liang, Bo Liu, Lu Fan 等ACL 2021
