mlsanityData to 7 Oct 2026

Your Classifier Can Be Secretly a Likelihood-Based OOD Detector

arXiv 2408.04851 ↗First posted 9 Aug 2024cs.LG stat.MLcited by 4

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

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  3. 2020Supervised Contrastive Learningcited by 2,803
  4. 2017Billion-scale similarity search with GPUscited by 2,477
  5. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
  6. 2013Describing Textures in the Wildcited by 2,110
  7. 2016Concrete Problems in AI Safetycited by 1,582
  8. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
  9. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,393
  10. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,325
  11. 2020Energy-based Out-of-distribution Detectioncited by 1,296
  12. 2018Deep Anomaly Detection with Outlier Exposurecited by 939
38 more
  1. 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
  2. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
  3. 2018Predictive Uncertainty Estimation via Prior Networkscited by 555
  4. 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
  5. 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 451
  6. 2018Do Deep Generative Models Know What They Don't Know?cited by 443
  7. 2020CSI: Novelty Detection via Contrastive Learning on Distributionally Shifted Instancescited by 441
  8. 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 404
  9. 2017Training Confidence-calibrated Classifiers for Detecting Out-of-Distribution Samplescited by 389
  10. 2021Open-Set Recognition: a Good Closed-Set Classifier is All You Need?cited by 351
  11. 2021On the Importance of Gradients for Detecting Distributional Shifts in the Wildcited by 338
  12. 2019SelectiveNet: A Deep Neural Network with an Integrated Reject Optioncited by 333
  13. 2018Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problemcited by 323
  14. 2022VOS: Learning What You Don't Know by Virtual Outlier Synthesiscited by 300
  15. 2021SSD: A Unified Framework for Self-Supervised Outlier Detectioncited by 264
  16. 2022Mitigating Neural Network Overconfidence with Logit Normalizationcited by 251
  17. 2020Why Normalizing Flows Fail to Detect Out-of-Distribution Datacited by 220
  18. 2022Delving into Out-of-Distribution Detection with Vision-Language Representationscited by 215
  19. 2022Extremely Simple Activation Shaping for Out-of-Distribution Detectioncited by 212
  20. 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 206
  21. 2022Out-of-Distribution Detection and Selective Generation for Conditional Language Modelscited by 193
  22. 2018Hyperspherical Variational Auto-Encoderscited by 188
  23. 2019Input complexity and out-of-distribution detection with likelihood-based generative modelscited by 186
  24. 2023OpenOOD v1.5: Enhanced Benchmark for Out-of-Distribution Detectioncited by 178
  25. 2021DICE: Leveraging Sparsification for Out-of-Distribution Detectioncited by 166
  26. 2018Latent Space Autoregression for Novelty Detectioncited by 149
  27. 2020Likelihood Regret: An Out-of-Distribution Detection Score For Variational Auto-encodercited by 145
  28. 2023In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluationcited by 132
  29. 2018ANN-Benchmarks: A Benchmarking Tool for Approximate Nearest Neighbor Algorithmscited by 130
  30. 2023Non-Parametric Outlier Synthesiscited by 129
  31. 2022How to Exploit Hyperspherical Embeddings for Out-of-Distribution Detection?cited by 128
  32. 2022Is Out-of-Distribution Detection Learnable?cited by 109
  33. 2021Semantically Coherent Out-of-Distribution Detectioncited by 107
  34. 2023LoCoOp: Few-Shot Out-of-Distribution Detection via Prompt Learningcited by 107
  35. 2021Can multi-label classification networks know what they don't know?cited by 100
  36. 2019SegSort: Segmentation by Discriminative Sorting of Segmentscited by 96
  37. 2022Training OOD Detectors in their Natural Habitatscited by 86
  38. 2019Hyperspherical Prototype Networkscited by 85

50 most cited of 73 All 73 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 1.

4 papers.