atlas

Research map / Probabilistic and scientific modeling / Variational and generative sampling

Understanding Likelihood of Normalizing Flow and Image Complexity through the Lens of Out-of-Distribution Detection

AAAI 2024 · Probabilistic and scientific modeling › Variational and generative sampling · approach: Flow-based density estimation · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes a latent-density-concentration hypothesis explaining why normalizing flows (and PixelCNN++) assign higher likelihood to low-complexity OOD images, and shows a GMM over image complexity and latent log-likelihood fixes OOD detection.

Problem

Deep generative models, especially normalizing flows, often assign higher likelihood to OOD inputs than to in-distribution data ("failure of likelihood"), and the mechanism behind this, including failures of typicality-based tests, is unclear.

Approach

Less complex images map to high-density regions of the latent space (density concentration attraction for simpleness), which raises log p(z) and, depending on architecture, the volume term; treating image complexity (JPEG2000 code length per pixel) as an independent variable with latent log-likelihood in a GMM restores OOD detection.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use image complexity and latent log-likelihood together in a GMM instead of likelihood alonePixelCNN++ · CIFAR-10 -> CelebAAUROC (%): 14.37 -> 75.71Helped
Use image complexity and latent log-likelihood together in a GMM instead of likelihood alonePixelCNN++ · SVHN -> CIFAR-10AUROC (%): 1.86 -> 91.48Helped
Use image complexity and latent log-likelihood together in a GMM instead of likelihood alonePixelCNN++ · CIFAR-10 -> SVHNAUROC (%): 83.38 -> 95.34Helped
Use image complexity and latent log-likelihood together in a GMM instead of likelihood aloneNormalizing Flows · CIFAR-10 -> SVHNAUROC (%): 47.86 -> 91.47Helped
Use image complexity and latent log-likelihood together in a GMM instead of likelihood aloneNormalizing Flows · SVHN -> CIFAR-10AUROC (%): 97.59 -> 98.01No clear effect
Use ResFlow rather than Glow as the NF base model for the complexity-aware GMMComplexity-aware NF detection · SVHN -> TowerAUROC (%): 100 -> 57.04Hurt
Use image complexity and log-likelihood together instead of image complexity aloneOOD detection on CIFAR-10 · CIFAR-10 -> CelebAOOD detectabilityHelped
Use image complexity and log-likelihood together instead of log-likelihood aloneOOD detection on CIFAR-10 · CIFAR-10 -> SVHNOOD detectabilityHelped

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 SVHN MNIST FMNIST ImageNet CelebA TinyImageNet LSUN OMNIGLOT NotMNIST pooling noise images manipulated CIFAR-10

Benchmarks: CIFAR-10 vs SVHN/CelebA/TIN/LSUN/noise OOD SVHN vs CIFAR-10/CelebA/TIN/LSUN/noise OOD MNIST/FMNIST vs OMNIGLOT/NotMNIST ImageNet vs pooling noise images

Metrics: AUROC AUPR

Baselines: TTL CALT LRB LRG WAIC PixelCNN++ likelihood test

Builds on: Glow iResNet ResFlow PixelCNN++ typicality test in latent space

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy