High-Dimensional Probability Estimation with Deep Density Models

Oren Rippel, Ryan Prescott AdamsarXiv 2013

Abstract

Estimating probability distributions in high-dimensional spaces is a fundamental challenge in machine learning. This paper introduces the Deep Density Model (DDM), which utilizes invertible, bijective transformations to map complex data into a factorized latent space. By employing a divergence penalty to enforce a specific latent distribution, the DDM provides exact, normalized density estimates without the need for expensive partition functions or MCMC sampling.

Introduction

Modeling the underlying distribution of high-dimensional data, such as natural images, typically involves a trade-off between model flexibility and computational tractability. Undirected models like Boltzmann machines offer flexibility but suffer from unnormalized densities, while directed models often require slow inference. The Deep Density Model (DDM) seeks a "best of both worlds" solution: a model as flexible as a deep neural network that provides mathematically rigorous, fast-to-compute normalized density estimates.

Methodology

The DDM is built upon three fundamental pillars:

  1. Bijectivity (Invertibility): The model constructs a bijective mapping $f$ between the data space and a latent representation space. This allows the use of the change of variables formula to calculate exact densities by accounting for the Jacobian determinant of the transformation.
  2. Factorized Latent Space: Data is mapped into a unit hypercube where latent dimensions are assumed independent and follow a known, simple distribution—specifically, a Beta distribution.
  3. Objective Function: Training involves minimizing a three-part cost function: a Divergence Penalty to align latent dimensions with the target distribution, an Invertibility Measure to ensure numerical stability, and a Reconstruction Loss to enforce the inverse mapping.
Latent space distributions under different regularization schemes.

Key Insights: Sparsity and Diversification

A critical innovation in the DDM is "sparsity in distribution." Instead of standard $L_1$ regularization, the DDM uses a Beta distribution with parameters $\alpha < 1$ to naturally concentrate probability mass near zero. This approach integrates sparsity directly into the probabilistic framework.

Furthermore, the authors identify a link between sparsity and independence. By forcing latent dimensions to be sparse while matching a specific entropy, the model achieves "diversification," where different latent dimensions learn to represent distinct, non-overlapping features of the data.

Experimental Results

The DDM was evaluated on the MNIST and CIFAR-10 datasets, demonstrating strong performance in both generation and classification tasks.

Generative Power and Sparsity

Because the latent space is simple and factorized, new images can be generated by sampling from the Beta distributions and passing them through the decoder. The resulting images show coherent digits and textures. Analysis also reveals a clear trade-off between sparsity and the correlation of latent features.

Correlation-sparsity trade-off and generated MNIST samples.

Out-of-Sample Detection and Bayesian Classification

The DDM effectively distinguishes between in-distribution and out-of-distribution data. On MNIST, corrupted or rotated images yielded significantly lower log-probabilities than clean test samples. Additionally, using DDMs for class-specific modeling resulted in an MNIST error rate of 1.614%, a highly impressive result for a generative density model that also provides confidence scores for input rejection.

Conclusion

The Deep Density Model provides a robust framework for high-dimensional density estimation. By utilizing bijective mappings and distributional penalties, it achieves normalized probability computation and meaningful latent representations. Future work may explore relaxing the dimensionality constraint of strict bijectivity and applying the model to semi-supervised learning tasks.

Summary updated

BibTeX
@misc{rippel2013high,
  author = {Oren Rippel and Ryan Prescott Adams},
  title = {{High-Dimensional Probability Estimation with Deep Density Models}},
  year = {2013},
  eprint = {1302.5125},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1302.5125},
}
Figure