mlsanityData to 7 Oct 2026

LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learning

arXiv 2306.01293 ↗First posted 2 Jun 2023cs.CVcited by 107

Not on the map. Why?

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

Abstract (arXiv)

We present a novel vision-language prompt learning approach for few-shot out-of-distribution (OOD) detection. Few-shot OOD detection aims to detect OOD images from classes that are unseen during training using only a few labeled in-distribution (ID) images. While prompt learning methods such as CoOp have shown effectiveness and efficiency in few-shot ID classification, they still face limitations in OOD detection due to the potential presence of ID-irrelevant information in text embeddings. To address this issue, we introduce a new approach called Local regularized Context Optimization (LoCoOp), which performs OOD regularization that utilizes the portions of CLIP local features as OOD features during training. CLIP's local features have a lot of ID-irrelevant nuisances (e.g., backgrounds), and by learning to push them away from the ID class text embeddings, we can remove the nuisances in the ID class text embeddings and enhance the separation between ID and OOD. Experiments on the large-scale ImageNet OOD detection benchmarks demonstrate the superiority of our LoCoOp over zero-shot, fully supervised detection methods and prompt learning methods. Notably, even in a one-shot setting -- just one label per class, LoCoOp outperforms existing zero-shot and fully supervised detection methods. The code will be available via https://github.com/AtsuMiyai/LoCoOp.

Key facts. Cited by 107 papers in the map (data through 7 Oct 2026). Builds on 53 of its 63 references that are in the map. First posted on arXiv 2 Jun 2023.

Builds on

53 of 63 references.

References · 53

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  5. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
  6. 2021Learning to Prompt for Vision-Language Modelscited by 2,269
  7. 2013Describing Textures in the Wildcited by 2,110
  8. 2022Visual Prompt Tuningcited by 1,674
  9. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
  10. 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,427
  11. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
  12. 2020Energy-based Out-of-distribution Detectioncited by 1,296
38 more
  1. 2018Deep Anomaly Detection with Outlier Exposurecited by 939
  2. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
  3. 2021Extract Free Dense Labels from CLIPcited by 580
  4. 2021DenseCLIP: Language-Guided Dense Prediction with Context-Aware Promptingcited by 530
  5. 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
  6. 2019Scaling Out-of-Distribution Detection for Real-World Settingscited by 465
  7. 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 451
  8. 2018Do Deep Generative Models Know What They Don't Know?cited by 443
  9. 2021Tip-Adapter: Training-free CLIP-Adapter for Better Vision-Language Modelingcited by 429
  10. 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 404
  11. 2018Meta-learning with differentiable closed-form solverscited by 395
  12. 2021Open-Set Recognition: a Good Closed-Set Classifier is All You Need?cited by 351
  13. 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
  14. 2022Learning to Prompt for Open-Vocabulary Object Detection with Vision-Language Modelcited by 317
  15. 2022VOS: Learning What You Don't Know by Virtual Outlier Synthesiscited by 300
  16. 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
  17. 2022Exploring Visual Prompts for Adapting Large-Scale Modelscited by 271
  18. 2022OpenOOD: Benchmarking Generalized Out-of-Distribution Detectioncited by 267
  19. 2021MOS: Towards Scaling Out-of-distribution Detection for Large Semantic Spacecited by 233
  20. 2020Why Normalizing Flows Fail to Detect Out-of-Distribution Datacited by 220
  21. 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 215
  22. 2022ZegCLIP: Towards Adapting CLIP for Zero-shot Semantic Segmentationcited by 178
  23. 2020Universal Domain Adaptation through Self Supervisioncited by 172
  24. 2021DICE: Leveraging Sparsification for Out-of-Distribution Detectioncited by 166
  25. 2017Generative OpenMax for Multi-Class Open Set Classificationcited by 157
  26. 2021Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIPcited by 151
  27. 2019C2AE: Class Conditioned Auto-Encoder for Open-set Recognitioncited by 142
  28. 2023Non-Parametric Outlier Synthesiscited by 129
  29. 2022Domain Adaptation via Prompt Learningcited by 128
  30. 2022ReCLIP: A Strong Zero-Shot Baseline for Referring Expression Comprehensioncited by 119
  31. 2019Unsupervised Out-of-Distribution Detection by Maximum Classifier Discrepancycited by 112
  32. 2021Semantically Coherent Out-of-Distribution Detectioncited by 107
  33. 2022DualCoOp: Fast Adaptation to Multi-Label Recognition with Limited Annotationscited by 102
  34. 2021Types of Out-of-Distribution Texts and How to Detect Themcited by 80
  35. 2022Unknown-Aware Object Detection: Learning What You Don't Know from Videos in the Wildcited by 70
  36. 2021On the Impact of Spurious Correlation for Out-of-distribution Detectioncited by 68
  37. 2023GL-MCM: Global and Local Maximum Concept Matching for Zero-Shot Out-of-Distribution Detectioncited by 36
  38. 2021OODformer: Out-Of-Distribution Detection Transformercited by 27

50 most cited of 53 All 53 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 8; 2024: 33; 2025: 38; 2026: 28.

107 papers.

Sort:

By area:

  1. 2024Learning Transferable Negative Prompts for Out-of-Distribution Detectioncited by 43
  2. 2023ID-like Prompt Learning for Few-Shot Out-of-Distribution Detectioncited by 42
  3. 2024Generalized Out-of-Distribution Detection and Beyond in Vision Language Model Era: A Surveycited by 36
  4. 2024GalLoP: Learning Global and Local Prompts for Vision-Language Modelscited by 29
  5. 2024Large Language Models for Anomaly and Out-of-Distribution Detection: A Surveycited by 24
  6. 2024Out-of-Distribution Detection: A Task-Oriented Survey of Recent Advancescited by 24
  7. 2023DualCoOp++: Fast and Effective Adaptation to Multi-Label Recognition with Limited Annotationscited by 22
  8. 2024LAPT: Label-driven Automated Prompt Tuning for OOD Detection with Vision-Language Modelscited by 21
  9. 2024AdaNeg: Adaptive Negative Proxy Guided OOD Detection with Vision-Language Modelscited by 16
  10. 2025Reliable Few-shot Learning under Dual Noisescited by 16
  11. 2024Self-Calibrated Tuning of Vision-Language Models for Out-of-Distribution Detectioncited by 15
  12. 2025CLIP-Powered Domain Generalization and Domain Adaptation: A Comprehensive Surveycited by 15
38 more
  1. 2024DeCoOp: Robust Prompt Tuning with Out-of-Distribution Detectioncited by 14
  2. 2024Local-Prompt: Extensible Local Prompts for Few-Shot Out-of-Distribution Detectioncited by 14
  3. 2023Realistic Unsupervised CLIP Fine-tuning with Universal Entropy Optimizationcited by 13
  4. 2024Unsolvable Problem Detection: Robust Understanding Evaluation for Large Multimodal Modelscited by 12
  5. 2025OpenworldAUC: Towards Unified Evaluation and Optimization for Open-world Prompt Tuningcited by 12
  6. 2025Logits DeConfusion with CLIP for Few-Shot Learningcited by 11
  7. 2024Prompt as Free Lunch: Enhancing Diversity in Source-Free Cross-domain Few-shot Learning through Semantic-Guided Promptingcited by 10
  8. 2025Jr. AI Scientist and Its Risk Report: Autonomous Scientific Exploration from a Baseline Papercited by 10
  9. 2023Model-free Test Time Adaptation for Out-Of-Distribution Detectioncited by 9
  10. 2024SeTAR: Out-of-Distribution Detection with Selective Low-Rank Approximationcited by 9
  11. 2025Adaptive Multi-prompt Contrastive Network for Few-shot Out-of-distribution Detectioncited by 8
  12. 2023MMGPL: Multimodal Medical Data Analysis with Graph Prompt Learningcited by 7
  13. 2024CLIP-driven Outliers Synthesis for few-shot OOD detectioncited by 6
  14. 2025Few-Shot Graph Out-of-Distribution Detection with LLMscited by 6
  15. 2023Likelihood-Aware Semantic Alignment for Full-Spectrum Out-of-Distribution Detectioncited by 5
  16. 2024Zero-Shot Out-of-Distribution Detection with Outlier Label Exposurecited by 5
  17. 2024From Open Vocabulary to Open World: Teaching Vision Language Models to Detect Novel Objectscited by 5
  18. 2025Delving into Out-of-Distribution Detection with Medical Vision-Language Modelscited by 5
  19. 2025Recent Advances in Out-of-Distribution Detection with CLIP-Like Models: A Surveycited by 5
  20. 2025Equipping Vision Foundation Model with Mixture of Experts for Out-of-Distribution Detectioncited by 5
  21. 2023Can Pre-trained Networks Detect Familiar Out-of-Distribution Data?cited by 4
  22. 2024Dual-Adapter: Training-free Dual Adaptation for Few-shot Out-of-Distribution Detectioncited by 4
  23. 2024Your Classifier Can Be Secretly a Likelihood-Based OOD Detectorcited by 4
  24. 2024What If the Input is Expanded in OOD Detection?cited by 4
  25. 2025Multimodal Prompt Alignment for Facial Expression Recognitioncited by 4
  26. 2025Revisiting Logit Distributions for Reliable Out-of-Distribution Detectioncited by 4
  27. 2024Boosting Few-Shot Open-Set Object Detection via Prompt Learning and Robust Decision Boundarycited by 3
  28. 2025A Benchmark and Evaluation for Real-World Out-of-Distribution Detection Using Vision-Language Modelscited by 3
  29. 2025Mitigating the Modality Gap: Few-Shot Out-of-Distribution Detection with Multi-modal Prototypes and Image Bias Estimationcited by 3
  30. 2025BackMix: Regularizing Open Set Recognition by Removing Underlying Fore-Background Priorscited by 3
  31. 2025FA: Forced Prompt Learning of Vision-Language Models for Out-of-Distribution Detectioncited by 3
  32. 2025Synthesizing Near-Boundary OOD Samples for Out-of-Distribution Detectioncited by 3
  33. 2025Less Precise Can Be More Reliable: A Systematic Evaluation of Quantization's Impact on VLMs Beyond Accuracycited by 3
  34. 2026DCAC: Dynamic Class-Aware Cache Creates Stronger Out-of-Distribution Detectorscited by 3
  35. 2026T-QPM: Enabling Temporal Out-Of-Distribution Detection and Domain Generalization for Vision-Language Models in Open-Worldcited by 3
  36. 2023Towards Few-shot Out-of-Distribution Detectioncited by 2
  37. 2024Near OOD Detection for Vision-Language Prompt Learning with Contrastive Logit Scorecited by 2
  38. 2024Language-guided Detection and Mitigation of Unknown Dataset Biascited by 2

50 most cited of 107 All 107 (JSON)