mlsanityData to 7 Oct 2026

CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say No

arXiv 2308.12213 ↗First posted 23 Aug 2023cs.CV cs.AIcited by 130

Not on the map. Why?

Cited by 52 in Multimodal LLMs / vision-language models, but placed by its own abstract, which didn’t fit.

Abstract (arXiv)

Out-of-distribution (OOD) detection refers to training the model on an in-distribution (ID) dataset to classify whether the input images come from unknown classes. Considerable effort has been invested in designing various OOD detection methods based on either convolutional neural networks or transformers. However, zero-shot OOD detection methods driven by CLIP, which only require class names for ID, have received less attention. This paper presents a novel method, namely CLIP saying no (CLIPN), which empowers the logic of saying no within CLIP. Our key motivation is to equip CLIP with the capability of distinguishing OOD and ID samples using positive-semantic prompts and negation-semantic prompts. Specifically, we design a novel learnable no prompt and a no text encoder to capture negation semantics within images. Subsequently, we introduce two loss functions: the image-text binary-opposite loss and the text semantic-opposite loss, which we use to teach CLIPN to associate images with no prompts, thereby enabling it to identify unknown samples. Furthermore, we propose two threshold-free inference algorithms to perform OOD detection by utilizing negation semantics from no prompts and the text encoder. Experimental results on 9 benchmark datasets (3 ID datasets and 6 OOD datasets) for the OOD detection task demonstrate that CLIPN, based on ViT-B-16, outperforms 7 well-used algorithms by at least 2.34% and 11.64% in terms of AUROC and FPR95 for zero-shot OOD detection on ImageNet-1K. Our CLIPN can serve as a solid foundation for effectively leveraging CLIP in downstream OOD tasks. The code is available on https://github.com/xmed-lab/CLIPN.

Key facts. Cited by 130 papers in the map (data through 7 Oct 2026). Builds on 38 of its 51 references that are in the map. First posted on arXiv 23 Aug 2023.

Builds on

38 of 51 references.

References · 38

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  6. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
  7. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
  8. 2021Learning to Prompt for Vision-Language Modelscited by 2,269
  9. 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,219
  10. 2019Language Models as Knowledge Bases?cited by 1,922
  11. 2019LXMERT: Learning Cross-Modality Encoder Representations from Transformerscited by 1,548
  12. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
26 more
  1. 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,427
  2. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
  3. 2020Energy-based Out-of-distribution Detectioncited by 1,296
  4. 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapterscited by 1,021
  5. 2021Robust fine-tuning of zero-shot modelscited by 785
  6. 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
  7. 2015Towards Open Set Deep Networkscited by 533
  8. 2022GroupViT: Semantic Segmentation Emerges from Text Supervisioncited by 529
  9. 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
  10. 2019Scaling Out-of-Distribution Detection for Real-World Settingscited by 465
  11. 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 404
  12. 2019Deep Modular Co-Attention Networks for Visual Question Answeringcited by 338
  13. 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
  14. 2018Bilinear Attention Networkscited by 277
  15. 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 215
  16. 2018Zero-shot Recognition via Semantic Embeddings and Knowledge Graphscited by 155
  17. 2021Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIPcited by 151
  18. 2018Dynamic Fusion with Intra- and Inter- Modality Attention Flow for Visual Question Answeringcited by 113
  19. 2023A Closer Look at the Explainability of Contrastive Language-Image Pre-trainingcited by 95
  20. 2023A ChatGPT Aided Explainable Framework for Zero-Shot Medical Image Diagnosiscited by 30
  21. 2022Exploring Visual Interpretability for Contrastive Language-Image Pre-trainingcited by 29
  22. 2021Support-Set Based Cross-Supervision for Video Groundingcited by 28
  23. 2021OODformer: Out-Of-Distribution Detection Transformercited by 27
  24. 2020Out-Of-Distribution Detection With Subspace Techniques And Probabilistic Modeling Of Featurescited by 20
  25. 2023On the Effectiveness of Out-of-Distribution Data in Self-Supervised Long-Tail Learningcited by 20
  26. 2022FreeSeg: Free Mask from Interpretable Contrastive Language-Image Pretraining for Semantic Segmentationcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 5; 2024: 51; 2025: 50; 2026: 24.

130 papers.

Sort:

By area:

  1. 2024Negative Label Guided OOD Detection with Pretrained Vision-Language Modelscited by 66
  2. 2025Towards Zero-Shot Anomaly Detection and Reasoning with Multimodal Large Language Modelscited by 54
  3. 2024Learn "No" to Say "Yes" Better: Improving Vision-Language Models via Negationscited by 45
  4. 2024Learning Transferable Negative Prompts for Out-of-Distribution Detectioncited by 43
  5. 2023ID-like Prompt Learning for Few-Shot Out-of-Distribution Detectioncited by 42
  6. 2024Generalized Out-of-Distribution Detection and Beyond in Vision Language Model Era: A Surveycited by 36
  7. 2024INQUIRE: A Natural World Text-to-Image Retrieval Benchmarkcited by 33
  8. 2024Envisioning Outlier Exposure by Large Language Models for Out-of-Distribution Detectioncited by 30
  9. 2024MultiOOD: Scaling Out-of-Distribution Detection for Multiple Modalitiescited by 28
  10. 2025Know "No" Better: A Data-Driven Approach for Enhancing Negation Awareness in CLIPcited by 26
  11. 2024Large Language Models for Anomaly and Out-of-Distribution Detection: A Surveycited by 24
  12. 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advancescited by 24
38 more
  1. 2024LAPT: Label-driven Automated Prompt Tuning for OOD Detection with Vision-Language Modelscited by 21
  2. 2024Unknown Prompt, the only Lacuna: Unveiling CLIP's Potential for Open Domain Generalizationcited by 20
  3. 2024PixOOD: Pixel-Level Out-of-Distribution Detectioncited by 20
  4. 2024T-VSL: Text-Guided Visual Sound Source Localization in Mixturescited by 19
  5. 2025Vision-Language Modeling Meets Remote Sensing: Models, Datasets and Perspectivescited by 18
  6. 2024Vision-Language Models are Strong Noisy Label Detectorscited by 16
  7. 2024AdaNeg: Adaptive Negative Proxy Guided OOD Detection with Vision-Language Modelscited by 16
  8. 2024Self-Calibrated Tuning of Vision-Language Models for Out-of-Distribution Detectioncited by 15
  9. 2024DeCoOp: Robust Prompt Tuning with Out-of-Distribution Detectioncited by 14
  10. 2024Local-Prompt: Extensible Local Prompts for Few-Shot Out-of-Distribution Detectioncited by 14
  11. 2024CLIPScope: Enhancing Zero-Shot OOD Detection with Bayesian Scoringcited by 13
  12. 2024Conjugated Semantic Pool Improves OOD Detection with Pre-trained Vision-Language Modelscited by 13
  13. 2023Towards Distribution-Agnostic Generalized Category Discoverycited by 12
  14. 2024Unsolvable Problem Detection: Robust Understanding Evaluation for Large Multimodal Modelscited by 12
  15. 2024A Likelihood Ratio-Based Approach to Segmenting Unknown Objectscited by 12
  16. 2025Locality-Aware Zero-Shot Human-Object Interaction Detectioncited by 12
  17. 2023Diverse Target and Contribution Scheduling for Domain Generalizationcited by 10
  18. 2024FodFoM: Fake Outlier Data by Foundation Models Creates Stronger Visual Out-of-Distribution Detectorcited by 10
  19. 2024SeTAR: Out-of-Distribution Detection with Selective Low-Rank Approximationcited by 9
  20. 2025Vision Foundation Models in Medical Image Analysis: Advances and Challengescited by 9
  21. 2024Enhancing Vision-Language Few-Shot Adaptation with Negative Learningcited by 8
  22. 2025Noisy Test-Time Adaptation in Vision-Language Modelscited by 8
  23. 2025GEM: Gaussian Embedding Modeling for Out-of-Distribution Detection in GUI Agentscited by 8
  24. 2024Exploiting Diffusion Prior for Out-of-Distribution Detectioncited by 7
  25. 2025AdaSCALE: Adaptive Scaling for OOD Detectioncited by 7
  26. 2024DECIDER: Leveraging Foundation Model Priors for Improved Model Failure Detection and Explanationcited by 6
  27. 2024CMOOD: Concept-based Multi-label OOD Detectioncited by 6
  28. 2025OSLoPrompt: Bridging Low-Supervision Challenges and Open-Set Domain Generalization in CLIPcited by 6
  29. 2025Few-Shot Graph Out-of-Distribution Detection with LLMscited by 6
  30. 2025Benchmarking Gaslighting Negation Attacks Against Reasoning Modelscited by 6
  31. 2023Likelihood-Aware Semantic Alignment for Full-Spectrum Out-of-Distribution Detectioncited by 5
  32. 2024Rethinking cluster-conditioned diffusion models for label-free image synthesiscited by 5
  33. 2024Zero-Shot Out-of-Distribution Detection with Outlier Label Exposurecited by 5
  34. 2024On the Element-Wise Representation and Reasoning in Zero-Shot Image Recognition: A Systematic Surveycited by 5
  35. 2024On the Potential of Open-Vocabulary Models for Object Detection in Unusual Street Scenescited by 5
  36. 2024From Open Vocabulary to Open World: Teaching Vision Language Models to Detect Novel Objectscited by 5
  37. 2025SimLabel: Consistency-Guided OOD Detection with Pretrained Vision-Language Modelscited by 5
  38. 2025Recent Advances in Out-of-Distribution Detection with CLIP-Like Models: A Surveycited by 5

50 most cited of 130 All 130 (JSON)