CLIPScope: Enhancing Zero-Shot OOD Detection with Bayesian Scoring
Hao Fu, Naman Patel, Prashanth Krishnamurthy, Farshad Khorrami

TL;DR
CLIPScope improves zero-shot out-of-distribution detection by normalizing confidence scores with class likelihoods and strategically selecting OOD classes, achieving state-of-the-art results.
Contribution
It introduces a Bayesian-inspired normalization method and a novel OOD class mining strategy for enhanced zero-shot OOD detection.
Findings
Achieves state-of-the-art OOD detection performance
Effective class likelihood normalization improves detection accuracy
OOD class mining enhances coverage and robustness
Abstract
Detection of out-of-distribution (OOD) samples is crucial for safe real-world deployment of machine learning models. Recent advances in vision language foundation models have made them capable of detecting OOD samples without requiring in-distribution (ID) images. However, these zero-shot methods often underperform as they do not adequately consider ID class likelihoods in their detection confidence scoring. Hence, we introduce CLIPScope, a zero-shot OOD detection approach that normalizes the confidence score of a sample by class likelihoods, akin to a Bayesian posterior update. Furthermore, CLIPScope incorporates a novel strategy to mine OOD classes from a large lexical database. It selects class labels that are farthest and nearest to ID classes in terms of CLIP embedding distance to maximize coverage of OOD samples. We conduct extensive ablation studies and empirical evaluations,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnomaly Detection Techniques and Applications
MethodsContrastive Language-Image Pre-training
