mlsanityData to 14 Oct 2026

COOkeD: Ensemble-based OOD detection in the era of zero-shot CLIP

arXiv 2507.22576 ↗First posted 30 Jul 2025cs.CV cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Out-of-distribution (OOD) detection is an important building block in trustworthy image recognition systems as unknown classes may arise at test-time. OOD detection methods typically revolve around a single classifier, leading to a split in the research field between the classical supervised setting (e.g. ResNet18 classifier trained on CIFAR100) vs. the zero-shot setting (class names fed as prompts to CLIP). In both cases, an overarching challenge is that the OOD detection performance is implicitly constrained by the classifier's capabilities on in-distribution (ID) data. In this work, we show that given a little open-mindedness from both ends, remarkable OOD detection can be achieved by instead creating a heterogeneous ensemble - COOkeD combines the predictions of a closed-world classifier trained end-to-end on a specific dataset, a zero-shot CLIP classifier, and a linear probe classifier trained on CLIP image features. While bulky at first sight, this approach is modular, post-hoc and leverages the availability of pre-trained VLMs, thus introduces little overhead compared to training a single standard classifier. We evaluate COOkeD on popular CIFAR100 and ImageNet benchmarks, but also consider more challenging, realistic settings ranging from training-time label noise, to test-time covariate shift, to zero-shot shift which has been previously overlooked. Despite its simplicity, COOkeD achieves state-of-the-art performance and greater robustness compared to both classical and CLIP-based OOD detection methods. Code is available at https://github.com/glhr/COOkeD

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 45 of its 62 references that are in the map. First posted on arXiv 30 Jul 2025.

Builds on

45 of 62 references.

References · 45

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  5. 2017On Calibration of Modern Neural Networkscited by 4,960
  6. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  7. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
  8. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  9. 2013Describing Textures in the Wildcited by 2,125
  10. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
  11. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
  12. 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,433
33 more
  1. 2022Reproducible scaling laws for contrastive language-image learningcited by 1,173
  2. 2021Generalized Out-of-Distribution Detection: A Surveycited by 802
  3. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 600
  4. 2019Scaling Out-of-Distribution Detection for Real-World Settingscited by 465
  5. 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 405
  6. 2021Open-Set Recognition: a Good Closed-Set Classifier is All You Need?cited by 353
  7. 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
  8. 2022OpenOOD: Benchmarking Generalized Out-of-Distribution Detectioncited by 268
  9. 2021Learning with Noisy Labels Revisited: A Study Using Real-World Human Annotationscited by 256
  10. 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 216
  11. 2022Extremely Simple Activation Shaping for Out-of-Distribution Detectioncited by 212
  12. 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 207
  13. 2023OpenOOD v1.5: Enhanced Benchmark for Out-of-Distribution Detectioncited by 179
  14. 2021Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIPcited by 152
  15. 2020Hyperparameter Ensembles for Robustness and Uncertainty Quantificationcited by 150
  16. 2023In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluationcited by 134
  17. 2023CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say Nocited by 130
  18. 2017PatternNet: A Benchmark Dataset for Performance Evaluation of Remote Sensing Image Retrievalcited by 97
  19. 2022Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalizationcited by 97
  20. 2023Scaling for Training Time and Post-hoc Out-of-distribution Detection Enhancementcited by 77
  21. 2024Negative Label Guided OOD Detection with Pretrained Vision-Language Modelscited by 66
  22. 2022A Call to Reflect on Evaluation Practices for Failure Detection in Image Classificationcited by 52
  23. 2023Fast Decision Boundary based Out-of-Distribution Detectorcited by 49
  24. 2023GL-MCM: Global and Local Maximum Concept Matching for Zero-Shot Out-of-Distribution Detectioncited by 36
  25. 2024Generalized Out-of-Distribution Detection and Beyond in Vision Language Model Era: A Surveycited by 36
  26. 2023A framework for benchmarking class-out-of-distribution detection and its application to ImageNetcited by 31
  27. 2023Neuron Activation Coverage: Rethinking Out-of-distribution Detection and Generalizationcited by 28
  28. 2024A noisy elephant in the room: Is your out-of-distribution detector robust to label noise?cited by 13
  29. 2024Out-of-Distribution Detection via Deep Multi-Comprehension Ensemblecited by 8
  30. 2023Out-of-distribution detection algorithms for robust insect classificationcited by 7
  31. 2025Recent Advances in Out-of-Distribution Detection with CLIP-Like Models: A Surveycited by 6
  32. 2021Task-Driven Detection of Distribution Shifts with Statistical Guarantees for Robot Learningcited by 4
  33. 2024WeiPer: OOD Detection using Weight Perturbations of Class Projectionscited by 4

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024CLIP-driven Outliers Synthesis for few-shot OOD detection
  2. 2024CLIPScope: Enhancing Zero-Shot OOD Detection with Bayesian Scoring
  3. 2023Class Relevance Learning For Out-of-distribution Detection
  4. 2025OT-DETECTOR: Delving into Optimal Transport for Zero-shot Out-of-Distribution Detection
  5. 2025A Benchmark and Evaluation for Real-World Out-of-Distribution Detection Using Vision-Language Models
  6. 2026Fi-ImageNet-1k: An OOD Benchmark From the Inside of the ImageNet-1k Validation Set
  7. 2024Zero-Shot Out-of-Distribution Detection with Outlier Label Exposure
  8. 2025VisTa: Visual-contextual and Text-augmented Zero-shot Object-level OOD Detection