paper-with-me

홈 › Papers

A Geometric Explanation of the Likelihood OOD Detection Paradox

2024-03-27 · Hamidreza Kamkari, Brendan Leigh Ross, Jesse C. Cresswell, Anthony L. Caterini, Rahul G. Krishnan, Gabriel Loaiza-Ganem

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. Our code is available at https://github.com/layer6ai-labs/dgm_ood_detection.

📄 PDF Abstract BibTeX arXiv:2403.18910

Code (1)

layer6ai-labs/dgm_ood_detection 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…
Normalizing Flows Normalizing Flows are a method for constructing complex distributions by transforming a probability density through a series of invertible mappings. By repeatedly applying…

Similar Papers 제목 키워드 기반

Mitigating the Likelihood Paradox in Flow-based OOD Detection via Entropy Manipulation

2026-02-10 · Donghwan Kim, Hyunsoo Yoon arxiv

Deep generative models that can tractably compute input likelihoods, including normalizing flows, often assign unexpectedly high likelihoods to out-of-distribution (OOD) inputs. We mitigate this likelihood paradox by man…

Semantic Similarity

Local Diagnostics of Continuous Normalizing Flow for Out-of-Distribution Detection

2026-05-30 · Xinwei Cao, Mengxuan Lu, Torbjørn Svendsen, Giampiero Salvi arxiv

We address the problem of out-of-distribution (OOD) detection for target observations embedded in a subspace of the high dimensional data space. Using continuous normalizing flows (CNFs), we propose a Lagrangian sub-flow…

Out-of-Distribution DetectionSpeech Synthesis

Moore's Paradox and the logic of belief

2020-06-19 · Andrés Páez

Moores Paradox is a test case for any formal theory of belief. In Knowledge and Belief, Hintikka developed a multimodal logic for statements that express sentences containing the epistemic notions of knowledge and belief…

Semantics and explanation: why counterfactual explanations produce adversarial examples in deep neural networks

2020-12-18 · Kieran Browne, Ben Swift

Recent papers in explainable AI have made a compelling case for counterfactual modes of explanation. While counterfactual explanations appear to be extremely effective in some instances, they are formally equivalent to a…

counterfactual

Log-Likelihood, Simpson's Paradox, and the Detection of Machine-Generated Text

2026-05-07 · Tom Kempton, Viktor Drobnyi, Maeve Madigan, Stuart Burrell arxiv

The ability to reliably distinguish human-written text from that generated by large language models is of profound societal importance. The dominant approach to this problem exploits the likelihood hypothesis: that machi…