Your Classifier Can Be Secretly a Likelihood-Based OOD Detector
Not on the map. Why?
Abstract (arXiv)
The ability to detect out-of-distribution (OOD) inputs is critical to guarantee the reliability of classification models deployed in an open environment. A fundamental challenge in OOD detection is that a discriminative classifier is typically trained to estimate the posterior probability p(y|z) for class y given an input z, but lacks the explicit likelihood estimation of p(z) ideally needed for OOD detection. While numerous OOD scoring functions have been proposed for classification models, these estimate scores are often heuristic-driven and cannot be rigorously interpreted as likelihood. To bridge the gap, we propose Intrinsic Likelihood (INK), which offers rigorous likelihood interpretation to modern discriminative-based classifiers. Specifically, our proposed INK score operates on the constrained latent embeddings of a discriminative classifier, which are modeled as a mixture of hyperspherical embeddings with constant norm. We draw a novel connection between the hyperspherical distribution and the intrinsic likelihood, which can be effectively optimized in modern neural networks. Extensive experiments on the OpenOOD benchmark empirically demonstrate that INK establishes a new state-of-the-art in a variety of OOD detection setups, including both far-OOD and near-OOD. Code is available at https://github.com/deeplearning-wisc/ink.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 73 of its 94 references that are in the map. First posted on arXiv 9 Aug 2024.
Builds on
73 of 94 references.
References · 73
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2020Supervised Contrastive Learningcited by 2,803
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2013Describing Textures in the Wildcited by 2,110
- 2016Concrete Problems in AI Safetycited by 1,582
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
- 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
- 2020Energy-based Out-of-distribution Detectioncited by 1,296
- 2018Deep Anomaly Detection with Outlier Exposurecited by 939
38 more
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
- 2018Predictive Uncertainty Estimation via Prior Networkscited by 555
- 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
- 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 451
- 2018Do Deep Generative Models Know What They Don't Know?cited by 443
- 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
- 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 404
- 2017Training Confidence-calibrated Classifiers for Detecting Out-of-Distribution Samplescited by 389
- 2021Open-Set Recognition: a Good Closed-Set Classifier is All You Need?cited by 351
- 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
- 2019SelectiveNet: A Deep Neural Network with an Integrated Reject Optioncited by 333
- 2018Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problemcited by 323
- 2022VOS: Learning What You Don't Know by Virtual Outlier Synthesiscited by 300
- 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
- 2022Mitigating Neural Network Overconfidence with Logit Normalizationcited by 251
- 2020Why Normalizing Flows Fail to Detect Out-of-Distribution Datacited by 220
- 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 215
- 2022Extremely Simple Activation Shaping for Out-of-Distribution Detectioncited by 212
- 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 206
- 2022Out-of-Distribution Detection and Selective Generation for Conditional Language Modelscited by 193
- 2018Hyperspherical Variational Auto-Encoderscited by 188
- 2019Input complexity and out-of-distribution detection with likelihood-based generative modelscited by 186
- 2023OpenOOD v1.5: Enhanced Benchmark for Out-of-Distribution Detectioncited by 178
- 2021DICE: Leveraging Sparsification for Out-of-Distribution Detectioncited by 166
- 2018Latent Space Autoregression for Novelty Detectioncited by 149
- 2020Likelihood Regret: An Out-of-Distribution Detection Score For Variational Auto-encodercited by 145
- 2023In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluationcited by 132
- 2018ANN-Benchmarks: A Benchmarking Tool for Approximate Nearest Neighbor Algorithmscited by 130
- 2023Non-Parametric Outlier Synthesiscited by 129
- 2022How to Exploit Hyperspherical Embeddings for Out-of-Distribution Detection?cited by 128
- 2022Is Out-of-Distribution Detection Learnable?cited by 109
- 2021Semantically Coherent Out-of-Distribution Detectioncited by 107
- 2023LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learningcited by 107
- 2021Can multi-label classification networks know what they don't know?cited by 100
- 2019SegSort: Segmentation by Discriminative Sorting of Segmentscited by 96
- 2022Training OOD Detectors in their Natural Habitatscited by 86
- 2019Hyperspherical Prototype Networkscited by 85
50 most cited of 73 All 73 (JSON)
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 1.
4 papers.
- 2024Process Reward Model with Q-Value Rankingscited by 78
- 2025Enhancing Out-of-Distribution Detection with Extended Logit Normalizationcited by 3
- 2025Energy-Guided Decoding for Object Hallucination Mitigationcited by 2
- 2026Learning Hyperspherical Time-Frequency Representations for Time-Series Out-of-Distribution Detectioncited by 0
- 2026Learning Hyperspherical Time-Frequency Representations for Time-Series Out-of-Distribution Detection29 May 2026
- 2025Energy-Guided Decoding for Object Hallucination Mitigation10 Jul 2025
- 2025Enhancing Out-of-Distribution Detection with Extended Logit Normalization15 Apr 2025
- 2024Process Reward Model with Q-Value Rankings15 Oct 2024