Skip to content

Layer 6 AI at ID

  • Blog
  • Publications
  • Careers

ICML 2024 | A Geometric Explanation of the Likelihood OOD Detection Paradox

International Conference on Machine Learning
Download PDF

International Conference on Machine Learning

ICML 2024 | A Geometric Explanation of the Likelihood OOD Detection Paradox

Authors

  • Hamidreza Kamkari
  • Brendan Leigh Ross
  • Jesse C. Cresswell
  • Anthony L. Caterini
  • Rahul G. Krishnan
  • Gabriel Loaiza-Ganem

Related Links

  • ArXiv
  • GitHub
  • Paper
Download PDF

Abstract

Likelihood-based deep generative models (DGMs) commonly exhibit a puzzling behaviour: when trained on a relatively complex dataset, they assign higher likelihood values to out-of-distribution (OOD) data from simpler sources. Adding to the mystery, OOD samples are never generated by these DGMs despite having higher likelihoods. This two-pronged paradox has yet to be conclusively explained, making likelihood-based OOD detection unreliable. Our primary observation is that high-likelihood regions will not be generated if they contain minimal probability mass. We demonstrate how this seeming contradiction of large densities yet low probability mass can occur around data confined to low-dimensional manifolds. We also show that this scenario can be identified through local intrinsic dimension (LID) estimation, and propose a method for OOD detection which pairs the likelihoods and LID estimates obtained from a pre-trained DGM. Our method can be applied to normalizing flows and score-based diffusion models, and obtains results which match or surpass state-of-the-art OOD detection benchmarks using the same DGM backbones.

Layer 6

MaRS Discovery District 661 University Ave,Suite 1220Toronto, ON M5G 1M1

We’re hiring!

View current openings careers@layer6.ai info@layer6.ai media@layer6.ai

About TD

General info Privacy Legal
  • LinkedIn
  • X>
  • Github

Layer 6 AI is owned by The Toronto-Dominion Bank. Layer 6 is a trade name of The Toronto-Dominion Bank.

© 2025 The Toronto-Dominion Bank