Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIP
Sepideh Esmaeilpour, Bing Liu, Eric Robertson, Lei Shu
摘要
In an out-of-distribution (OOD) detection problem, samples of known classes (also called in-distribution classes) are used to train a special classifier. In testing, the classifier can (1) classify the test samples of known classes to their respective classes and also (2) detect samples that do not belong to any of the known classes (i.e., they belong to some unknown or OOD classes). This paper studies the problem of zero-shot out-of-distribution (OOD) detection, which still performs the same two tasks in testing but has no training except using the given known class names. This paper proposes a novel and yet simple method (called ZOC) to solve the problem. ZOC builds on top of the recent advances in zero-shot classification through multi-modal representation learning. It first extends the pre-trained language-vision model CLIP by training a text-based image description generator on top of CLIP. In testing, it uses the extended model to generate candidate unknown class names for each test sample and computes a confidence score based on both the known class names and candidate unknown class names for zero-shot OOD detection. Experimental results on 5 benchmark datasets for OOD detection demonstrate that ZOC outperforms the baselines by a large margin.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 75 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learning 引用了 Exploring the Limits of Out-of-Distribution Detection
- LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learning 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learning 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Exploring the Limits of Out-of-Distribution Detection 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Exploring the Limits of Out-of-Distribution Detection 引用了 Learning Transferable Visual Models From Natural Language Supervision
- CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say No 引用了 Exploring the Limits of Out-of-Distribution Detection
- CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say No 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say No 引用了 Learning Transferable Visual Models From Natural Language Supervision
- AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detection 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detection 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Negative Label Guided OOD Detection with Pretrained Vision-Language Models 引用了 Exploring the Limits of Out-of-Distribution Detection
- Negative Label Guided OOD Detection with Pretrained Vision-Language Models 引用了 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
引用它的顶会 Paper75
- AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly DetectionQihang Zhou, Guansong Pang, Yu Tian, Shibo He 等ICLR 2024 · 380 次引用
- LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt LearningAtsuyuki Miyai, Qing Yu, Go Irie, Kiyoharu AizawaNeurIPS 2023 · 174 次引用
- CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say NoHualiang Wang, Yi Li, Huifeng Yao, Xiaomeng LiICCV 2023 · 171 次引用
- A Theoretical Study on Solving Continual LearningGyuhak Kim, Changnan Xiao, Tatsuya Konishi, Zixuan Ke 等NeurIPS 2022 · 119 次引用
- Negative Label Guided OOD Detection with Pretrained Vision-Language ModelsXue Jiang, Feng Liu, Zhen Fang, Hong Chen 等ICLR 2024 · 73 次引用
它引用的 Paper7
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes 等ICLR 2020 · 4,112 次引用
- Exploring the Limits of Out-of-Distribution DetectionStanislav Fort, Jie Ren, Balaji LakshminarayananNeurIPS 2021 · 443 次引用
- ODIST: Open World Classification via Distributionally Shifted InstancesLei Shu, Yassine Benajiba, Saab Mansour, Yi ZhangEMNLP Findings 2021 · 22 次引用
相关 Paper
- Envisioning Outlier Exposure by Large Language Models for Out-of-Distribution DetectionChentao Cao, Zhun Zhong, Zhanke Zhou, Yang Liu 等ICML 2024 · 34 次引用
- ProxyDet: Synthesizing Proxy Novel Classes via Classwise Mixup for Open-Vocabulary Object DetectionJoonhyun Jeong, Geondo Park, Jayeon Yoo, Hyungsik Jung 等AAAI 2024 · 18 次引用
- CLIPText: A New Paradigm for Zero-shot Text ClassificationLibo Qin, Weiyun Wang, Qiguang Chen, Wanxiang CheACL Findings 2023 · 12 次引用
- CLIP4HOI: Towards Adapting CLIP for Practical Zero-Shot HOI DetectionYunyao Mao, Jiajun Deng, Wengang Zhou, Li Li 等NeurIPS 2023 · 62 次引用
- Out-of-Distribution Detection with Negative PromptsJun Nie, Yonggang Zhang, Zhen Fang, Tongliang Liu 等ICLR 2024 · 48 次引用
