mlsanityData to 7 Oct 2026

Category-Extensible Out-of-Distribution Detection via Hierarchical Context Descriptions

arXiv 2407.16725 ↗First posted 23 Jul 2024cs.CVcited by 6

On the map: Multimodal LLMs / vision-language models → Prompt learning and adaptation of CLIP

Abstract (arXiv)

The key to OOD detection has two aspects: generalized feature representation and precise category description. Recently, vision-language models such as CLIP provide significant advances in both two issues, but constructing precise category descriptions is still in its infancy due to the absence of unseen categories. This work introduces two hierarchical contexts, namely perceptual context and spurious context, to carefully describe the precise category boundary through automatic prompt tuning. Specifically, perceptual contexts perceive the inter-category difference (e.g., cats vs apples) for current classification tasks, while spurious contexts further identify spurious (similar but exactly not) OOD samples for every single category (e.g., cats vs panthers, apples vs peaches). The two contexts hierarchically construct the precise description for a certain category, which is, first roughly classifying a sample to the predicted category and then delicately identifying whether it is truly an ID sample or actually OOD. Moreover, the precise descriptions for those categories within the vision-language framework present a novel application: CATegory-EXtensible OOD detection (CATEX). One can efficiently extend the set of recognizable categories by simply merging the hierarchical contexts learned under different sub-task settings. And extensive experiments are conducted to demonstrate CATEX's effectiveness, robustness, and category-extensibility. For instance, CATEX consistently surpasses the rivals by a large margin with several protocols on the challenging ImageNet-1K dataset. In addition, we offer new insights on how to efficiently scale up the prompt engineering in vision-language models to recognize thousands of object categories, as well as how to incorporate large language models (like GPT-3) to boost zero-shot applications. Code is publicly available at https://github.com/alibaba/catex.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Prompt learning and adaptation of CLIP, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 61 of its 71 references that are in the map. First posted on arXiv 23 Jul 2024.

Builds on

61 of 71 references.

Closest ancestors · 3

Same direction, newest first

  1. 2022Visual Classification via Description from Large Language Models13 Oct
  2. 2022Conditional Prompt Learning for Vision-Language Models10 Mar
  3. 2021Learning to Prompt for Vision-Language Models2 Sep

Other references · 58

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  6. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  7. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  8. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
  9. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
  10. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
  11. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
  12. 2014Conditional Generative Adversarial Netscited by 2,152
38 more
  1. 2013Describing Textures in the Wildcited by 2,110
  2. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  3. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
  4. 2019Natural Adversarial Examplescited by 1,401
  5. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
  6. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,324
  7. 2020Energy-based Out-of-distribution Detectioncited by 1,296
  8. 2020In Search of Lost Domain Generalizationcited by 1,042
  9. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
  10. 2022Token Merging: Your ViT But Fastercited by 995
  11. 2018Deep Anomaly Detection with Outlier Exposurecited by 939
  12. 2021Learning to Prompt for Continual Learningcited by 938
  13. 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
  14. 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
  15. 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
  16. 2022DualPrompt: Complementary Prompting for Rehearsal-free Continual Learningcited by 635
  17. 2021ImageNet-21K Pretraining for the Massescited by 607
  18. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
  19. 2018Predictive Uncertainty Estimation via Prior Networkscited by 555
  20. 2019A Simple Baseline for Bayesian Uncertainty in Deep Learningcited by 555
  21. 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
  22. 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 404
  23. 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
  24. 2022VOS: Learning What You Don't Know by Virtual Outlier Synthesiscited by 300
  25. 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
  26. 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
  27. 2022Mitigating Neural Network Overconfidence with Logit Normalizationcited by 251
  28. 2021MOS: Towards Scaling Out-of-distribution Detection for Large Semantic Spacecited by 233
  29. 2023Inpaint Anything: Segment Anything Meets Image Inpaintingcited by 233
  30. 2014Towards Open World Recognitioncited by 226
  31. 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 215
  32. 2022Extremely Simple Activation Shaping for Out-of-Distribution Detectioncited by 212
  33. 2021DICE: Leveraging Sparsification for Out-of-Distribution Detectioncited by 166
  34. 2021Adversarial Reciprocal Points Learning for Open Set Recognitioncited by 153
  35. 2021Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIPcited by 151
  36. 2023Non-Parametric Outlier Synthesiscited by 129
  37. 2020Learning Open Set Network with Discriminative Reciprocal Pointscited by 115
  38. 2022Is Out-of-Distribution Detection Learnable?cited by 109

50 most cited of 58 All 58 (JSON)

Built on by

Cited by year

Citing papers per year: 2024: 3; 2025: 3.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Out-of-Distribution Detection with Positive and Negative Prompt Supervision Using Large Language Models
  2. 2023How Does Fine-Tuning Impact Out-of-Distribution Detection for Vision-Language Models?
  3. 2025FA: Forced Prompt Learning of Vision-Language Models for Out-of-Distribution Detection
  4. 2025Harnessing Large Language and Vision-Language Models for Robust Out-of-Distribution Detection
  5. 2025VisTa: Visual-contextual and Text-augmented Zero-shot Object-level OOD Detection
  6. 2024LAPT: Label-driven Automated Prompt Tuning for OOD Detection with Vision-Language Models
  7. 2025Synthesizing Near-Boundary OOD Samples for Out-of-Distribution Detection
  8. 2025Retrieval-Augmented Prompt for OOD Detection