Enhancing Few-Shot Out-of-Distribution Detection with Gradient Aligned Context Optimization
Not on the map. Why?
Abstract (arXiv)
Few-shot out-of-distribution (OOD) detection aims to detect OOD images from unseen classes with only a few labeled in-distribution (ID) images. To detect OOD images and classify ID samples, prior methods have been proposed by regarding the background regions of ID samples as the OOD knowledge and performing OOD regularization and ID classification optimization. However, the gradient conflict still exists between ID classification optimization and OOD regularization caused by biased recognition. To address this issue, we present Gradient Aligned Context Optimization (GaCoOp) to mitigate this gradient conflict. Specifically, we decompose the optimization gradient to identify the scenario when the conflict occurs. Then we alleviate the conflict in inner ID samples and optimize the prompts via leveraging gradient projection. Extensive experiments over the large-scale ImageNet OOD detection benchmark demonstrate that our GaCoOp can effectively mitigate the conflict and achieve great performance. Code will be available at https://github.com/BaoshunWq/ood-GaCoOp.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 28 of its 32 references that are in the map. First posted on arXiv 24 Nov 2024.
Builds on
28 of 32 references.
References · 28
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,322
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2021Learning to Prompt for Vision-Language Modelscited by 2,281
- 2013Describing Textures in the Wildcited by 2,125
- 2022Visual Prompt Tuningcited by 1,681
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
- 2019VisualBERT: A Simple and Performant Baseline for Vision and Languagecited by 1,296
- 2021ViLT: Vision-and-Language Transformer Without Convolution or Region Supervisioncited by 1,230
- 2022MaPLe: Multi-modal Prompt Learningcited by 687
- 2021FILIP: Fine-grained Interactive Language-Image Pre-Trainingcited by 627
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 600
16 more
- 2021Extract Free Dense Labels from CLIPcited by 583
- 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 405
- 2022Prompt-aligned Gradient for Prompt Tuningcited by 341
- 2022VOS: Learning What You Don't Know by Virtual Outlier Synthesiscited by 300
- 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
- 2022What does a platypus look like? Generating customized prompts for zero-shot image classificationcited by 267
- 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 216
- 2020Universal Domain Adaptation through Self Supervisioncited by 172
- 2023Non-Parametric Outlier Synthesiscited by 129
- 2023LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learningcited by 107
- 2023CLIPood: Generalizing CLIP to Out-of-Distributionscited by 96
- 2023ID-like Prompt Learning for Few-Shot Out-of-Distribution Detectioncited by 42
- 2023Invariant Learning via Probability of Sufficient and Necessary Causescited by 22
- 2024AMU-Tuning: Effective Logit Bias for CLIP-based Few-shot Learningcited by 22
- 2023FD-Align: Feature Discrimination Alignment for Fine-tuning Pre-Trained Models in Few-Shot Learningcited by 12
- 2024ReCLIP++: Learn to Rectify the Bias of CLIP for Unsupervised Semantic Segmentationcited by 8
Built on by
Not cited yet.