Skip to main content
QUICK REVIEW

[Paper Review] Understanding Failures in Out-of-Distribution Detection with Deep Generative Models

Lily H. Zhang, Larry B. Goldstein|arXiv (Cornell University)|Jul 14, 2021
Generative Adversarial Networks and Image SynthesisComputer Science24 citations
TL;DR

This paper argues that failures in out-of-distribution (OOD) detection using deep generative models (DGMs) stem primarily from model estimation error rather than inherent flaws in likelihood-based detection. It demonstrates that even high-quality DGMs can assign higher likelihoods to OOD samples due to misestimation of support, especially when in- and out-distributions have disjoint support, and challenges the typical set hypothesis as an inadequate foundation for OOD detection.

ABSTRACT

Deep generative models (DGMs) seem a natural fit for detecting out-of-distribution (OOD) inputs, but such models have been shown to assign higher probabilities or densities to OOD images than images from the training distribution. In this work, we explain why this behavior should be attributed to model misestimation. We first prove that no method can guarantee performance beyond random chance without assumptions on which out-distributions are relevant. We then interrogate the typical set hypothesis, the claim that relevant out-distributions can lie in high likelihood regions of the data distribution, and that OOD detection should be defined based on the data distribution's typical set. We highlight the consequences implied by assuming support overlap between in- and out-distributions, as well as the arbitrariness of the typical set for OOD detection. Our results suggest that estimation error is a more plausible explanation than the misalignment between likelihood-based OOD detection and out-distributions of interest, and we illustrate how even minimal estimation error can lead to OOD detection failures, yielding implications for future work in deep generative modeling and OOD detection.

Motivation & Objective

  • To investigate why deep generative models (DGMs) assign higher likelihoods to out-of-distribution (OOD) samples than in-distribution samples, despite being trained on the latter.
  • To challenge the widely cited 'typical set hypothesis'—which posits that relevant OOD distributions lie in high-likelihood regions of the data distribution—as an implausible explanation for OOD detection failures.
  • To demonstrate that support overlap between in- and out-distributions leads to an inherent upper bound on OOD detection performance, even with perfect models.
  • To argue that estimation error, not distributional misalignment, is the root cause of OOD detection failures in DGMs.
  • To guide future work by suggesting that OOD detection improvements should focus on correcting model misestimation rather than redefining detection criteria based on typical sets.

Proposed method

  • Prove that no OOD detection method can guarantee performance beyond random chance without assumptions about relevant out-distributions.
  • Analyze the typical set hypothesis by showing that assuming support overlap between in- and out-distributions leads to fundamental performance limits.
  • Demonstrate that even a perfect model of the in-distribution can perform worse at OOD detection than a misestimated model when support overlap exists.
  • Use empirical experiments to show that partially trained DGMs can outperform the true data distribution in OOD detection when support overlap occurs.
  • Illustrate that high likelihoods assigned to OOD images are due to estimation error—specifically, assigning non-zero probability to regions that should have zero probability.
  • Argue that recent OOD detection methods based on the typical set hypothesis may instead be correcting for estimation error, suggesting a reinterpretation of their success.

Experimental results

Research questions

  • RQ1Why do deep generative models assign higher likelihoods to out-of-distribution images than to in-distribution images, despite being trained on the latter?
  • RQ2Is the typical set hypothesis—a claim that relevant OOD distributions lie in high-likelihood regions of the data distribution—justified for OOD detection?
  • RQ3What are the performance limits of OOD detection when in- and out-distributions overlap in support?
  • RQ4To what extent can estimation error in deep generative models explain OOD detection failures, rather than distributional misalignment?
  • RQ5Can OOD detection methods that rely on the typical set actually be correcting for model estimation error, and what does this imply for future model design?

Key findings

  • No OOD detection method can guarantee performance beyond random chance without assumptions about the relevant out-distributions, highlighting the need to define OOD sets explicitly.
  • The typical set hypothesis is problematic because it assumes support overlap between in- and out-distributions, which leads to an irresolvable upper bound on OOD detection performance.
  • Even a perfect model of the in-distribution can yield worse OOD detection performance than a misestimated model when support overlap exists.
  • Empirical results show that a partially trained DGM can outperform the true data distribution in OOD detection when support overlap occurs, indicating that estimation error is a more plausible explanation than distributional misalignment.
  • The high likelihoods assigned to OOD images are better explained by estimation error—specifically, assigning non-zero probability to regions that should have zero probability—than by the typical set hypothesis.
  • Recent OOD detection methods that were motivated by the typical set hypothesis may instead be correcting for estimation error, suggesting a reinterpretation of their success and a path forward for model improvement.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.