Learning Transferable Negative Prompts for Out-of-Distribution Detection
Tianqi Li, Guansong Pang, Xiao Bai, Wenjun Miao, Jin Zheng
摘要
Existing prompt learning methods have shown certain capabilities in Out-of-Distribution (OOD) detection, but the lack of OOD images in the target dataset in their training can lead to mismatches between OOD images and In-Distribution (ID) categories, resulting in a high false positive rate. To address this issue, we introduce a novel OOD detection method, named 'NegPrompt', to learn a set of negative prompts, each representing a negative connotation of a given class label, for delineating the boundaries between ID and OOD images. It learns such negative prompts with ID data only, without any reliance on external outlier data. Further, current methods assume the availability of samples of all ID classes, rendering them ineffective in open-vocabulary learning scenarios where the inference stage can contain novel ID classes not present during training. In contrast, our learned negative prompts are transferable to novel class labels. Experiments on various Im-ageNet benchmarks show that NegPrompt surpasses stateof-the-art prompt-learning-based OOD detection methods and maintains a consistent lead in hard OOD detection in closed-and open-vocabulary classification scenarios. Code is available at https:// github.com/ mala-lab/ negprompt.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 35 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Adding Conditional Control to Text-to-Image Diffusion Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- AdaNeg: Adaptive Negative Proxy Guided OOD Detection with Vision-Language Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Self-Calibrated Tuning of Vision-Language Models for Out-of-Distribution Detection 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Self-Calibrated Tuning of Vision-Language Models for Out-of-Distribution Detection 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 Learning Transferable Visual Models From Natural Language Supervision
- CountGD++: Generalized Prompting for Open-World Counting 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- CountGD++: Generalized Prompting for Open-World Counting 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Learning Transferable Visual Models From Natural Language Supervision 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- ANTS: Adaptive Negative Textual Space Shaping for OOD Detection via Test-Time MLLM Understanding and Reasoning 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- ANTS: Adaptive Negative Textual Space Shaping for OOD Detection via Test-Time MLLM Understanding and Reasoning 引用了 AdaNeg: Adaptive Negative Proxy Guided OOD Detection with Vision-Language Models
- ANTS: Adaptive Negative Textual Space Shaping for OOD Detection via Test-Time MLLM Understanding and Reasoning 引用了 Self-Calibrated Tuning of Vision-Language Models for Out-of-Distribution Detection
- ANTS: Adaptive Negative Textual Space Shaping for OOD Detection via Test-Time MLLM Understanding and Reasoning 引用了 Learning Transferable Visual Models From Natural Language Supervision
引用它的顶会 Paper35
- AdaNeg: Adaptive Negative Proxy Guided OOD Detection with Vision-Language ModelsYabin Zhang, Lei ZhangNeurIPS 2024 · 30 次引用
- Self-Calibrated Tuning of Vision-Language Models for Out-of-Distribution DetectionGeng Yu, Jianing Zhu, Jiangchao Yao, Bo HanNeurIPS 2024 · 26 次引用
- CountGD++: Generalized Prompting for Open-World CountingNiki Amini-Naieni, Andrew ZissermanCVPR 2026 · 14 次引用
- ANTS: Adaptive Negative Textual Space Shaping for OOD Detection via Test-Time MLLM Understanding and ReasoningWenjie Zhu, Yabin Zhang, Xin Jin, Wenjun Zeng 等CVPR 2026 · 12 次引用
- AdaSCALE: Adaptive Scaling for OOD DetectionSudarshan RegmiICML 2026 · 9 次引用
它引用的 Paper29
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Supervised Contrastive LearningPrannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna 等NeurIPS 2020 · 7,049 次引用
- Adding Conditional Control to Text-to-Image Diffusion ModelsLvmin Zhang, Anyi Rao, Maneesh AgrawalaICCV 2023 · 6,759 次引用
相关 Paper
- Out-of-Distribution Detection with Negative PromptsJun Nie, Yonggang Zhang, Zhen Fang, Tongliang Liu 等ICLR 2024 · 48 次引用
- Out-of-Distribution Detection with Positive and Negative Prompt Supervision Using Large Language ModelsZhixia He, Chen Zhao, Minglai Shao, Xintao Wu 等AAAI 2026
- CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say NoHualiang Wang, Yi Li, Huifeng Yao, Xiaomeng LiICCV 2023 · 171 次引用
- Adaptive Prompt Learning via Gaussian Outlier Synthesis for Out-Of-Distribution DetectionYongkang Zhang, Dongyu She, Zhong ZhouICCV 2025 · 4 次引用
- Adaptive Multi-prompt Contrastive Network for Few-shot Out-of-distribution DetectionXiang Fang, Arvind Easwaran, Blaise GenestICML 2025
