On Prefix-tuning for Lightweight Out-of-distribution Detection
Yawen Ouyang, Yongchang Cao, Yuan Gao, Zhen Wu, Jianbing Zhang, Xinyu Dai
摘要
Out-of-distribution (OOD) detection, a fundamental task vexing real-world applications, has attracted growing attention in the NLP community. Recently fine-tuning based methods have made promising progress. However, it could be costly to store fine-tuned models for each scenario. In this paper, we depart from the classic fine-tuning based OOD detection toward a parameter-efficient alternative, and propose an unsupervised prefix-tuning based OOD detection framework termed PTO. Additionally, to take advantage of optional training data labels and targeted OOD data, two practical extensions of PTO are further proposed. Overall, PTO and its extensions offer several key advantages of being lightweight, easy-to-reproduce, and theoretically justified. Experimental results show that our methods perform comparably to, even better than, existing fine-tuning based OOD detection approaches under a wide range of metrics, detection settings, and OOD types.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- PrefixMemory-Tuning: Modernizing Prefix-Tuning by Decoupling the Prefix from Attention 引用了 When Do Prompting and Prefix-Tuning Work? A Theory of Capabilities and Limitations
- Out-of-Distribution Detection with Deep Nearest Neighbors 引用了 SSD: A Unified Framework for Self-Supervised Outlier Detection
- How Out-of-Distribution Detection Learning Theory Enhances Transformer: Learnability and Reliability 引用了 Revisiting Mahalanobis Distance for Transformer-Based Out-of-Domain Detection
- How Out-of-Distribution Detection Learning Theory Enhances Transformer: Learnability and Reliability 引用了 Out-of-Distribution Detection with Deep Nearest Neighbors
- How Out-of-Distribution Detection Learning Theory Enhances Transformer: Learnability and Reliability 引用了 Open-Set Recognition: A Good Closed-Set Classifier is All You Need
引用它的顶会 Paper4
- When Do Prompting and Prefix-Tuning Work? A Theory of Capabilities and LimitationsAleksandar Petrov, Philip Torr, Adel BibiICLR 2024 · 44 次引用
- PrefixMemory-Tuning: Modernizing Prefix-Tuning by Decoupling the Prefix from AttentionHaonan Wang, Brian K Chen, Siquan Li, Liang Xinhe 等ICLR 2026 · 5 次引用
- How Out-of-Distribution Detection Learning Theory Enhances Transformer: Learnability and ReliabilityYijin Zhou, Yutang Ge, Wenyuan XIE, Linqian Zeng 等ICML 2026 · 1 次引用
- On Large Language Model Continual UnlearningChongyang Gao, Lixu Wang, Kaize Ding, Chenkai Weng 等ICLR 2025 · 1 次引用
它引用的 Paper12
- Out-of-Distribution Detection with Deep Nearest NeighborsYiyou Sun, Yifei Ming, Xiaojin Zhu, Yixuan LiICML 2022 · 789 次引用
- Open-Set Recognition: A Good Closed-Set Classifier is All You NeedSagar Vaze, Kai Han, Andrea Vedaldi, Andrew ZissermanICLR 2022 · 594 次引用
- SSD: A Unified Framework for Self-Supervised Outlier DetectionVikash Sehwag, Mung Chiang, Prateek MittalICLR 2021 · 410 次引用
- Dynamic Prefix-Tuning for Generative Template-based Event ExtractionXiao Liu, Heyan Huang, Ge Shi, Bo WangACL 2022 · 120 次引用
- Revisiting Mahalanobis Distance for Transformer-Based Out-of-Domain DetectionAlexander Podolskiy, Dmitry Lipin, Andrey Bout, Ekaterina Artemova 等AAAI 2021 · 100 次引用
相关 Paper
- 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 次引用
- Holistic Sentence Embeddings for Better Out-of-Distribution DetectionSishuo Chen, Xiaohan Bi, Rundong Gao, Xu SunEMNLP Findings 2022 · 9 次引用
- CED: Comparing Embedding Differences for Detecting Out-of-Distribution and Hallucinated TextHakyung Lee, Keon-Hee Park, Hoyoon Byun, Jeyoon Yeom 等EMNLP Findings 2024 · 1 次引用
- Auxiliary Prompt Tuning of Vision-Language Models for Few-Shot Out-of-Distribution DetectionWenjun Miao, Guansong Pang, Zihan Wang, Jin Zheng 等ICCV 2025 · 2 次引用
