Uncertainty Autoencoders: Learning Compressed Representations via Variational Information Maximization

Aditya Grover, Stefano Ermon

Abstract

Compressed sensing techniques enable efficient acquisition and recovery of sparse, high-dimensional data signals via low-dimensional projections. In this work, we propose Uncertainty Autoencoders (UAE), a learning framework for unsupervised representation learning inspired by compressed sensing. We treat the low-dimensional projections as noisy latent representations of an autoencoder and directly learn both the acquisition (i.e., encoding) and amortized recovery (i.e., decoding) procedures. Our learning objective optimizes for a tractable variational lower bound to the mutual information between the datapoints and the latent representations. We show how our framework provides a unified treatment to several lines of research in dimensionality reduction, compressed sensing, and generative modeling. Empirically, we demonstrate a 32% improvement on average over competing approaches for the task of statistical compressed sensing of high-dimensional datasets.

Introduction

In high-dimensional data analysis, researchers often face a trade-off between information retention and representation compactness. Traditional Compressed Sensing (CS) relies on mathematical sparsity assumptions to recover signals from minimal measurements. Conversely, Autoencoders utilize neural networks to learn latent representations through optimization.

Aditya Grover and Stefano Ermon from Stanford University introduce Uncertainty Autoencoders (UAE) to bridge these two paradigms. By treating the latent space as a noisy measurement process, UAE learns task-specific compression and recovery more effectively than generic CS methods or standard Variational Autoencoders (VAEs).

The UAE Framework

The UAE framework rethinks the autoencoder through the lens of the InfoMax principle, focusing on three core components:

  1. Acquisition (Encoder): The measurement process is modeled as $y = W f_\psi(x) + \epsilon$, where $W$ is a measurement matrix and $\epsilon$ represents Gaussian noise. This noise introduces the "Uncertainty" that forces the model to learn robust, informative features.
  2. Recovery (Decoder): Unlike traditional CS which uses iterative solvers like LASSO, UAE employs a parametric decoder $g_\theta$. This "amortizes" the recovery process, allowing for near-instantaneous reconstruction at test time via a single forward pass.
  3. Variational Objective: The model maximizes the Mutual Information $I(X; Y)$. Since $I(X; Y)$ is typically intractable, the authors optimize a variational lower bound, effectively maximizing the log-posterior probability of the data given the noisy measurements.

Key Insights: Information vs. Variance

A significant theoretical contribution of this work is the relationship between UAE and Principal Component Analysis (PCA). Under linear assumptions and high noise regimes, UAE generalizes PCA. However, a critical distinction exists: while PCA seeks to capture maximum variance, UAE seeks to maximize mutual information.

UAE vs PCA: While PCA aligns with the direction of maximum variance, UAE aligns with the direction that maximizes mutual information, leading to better cluster separation.

As shown in the figure above, for a mixture of Gaussians, PCA might align with a direction that captures the spread of the data but fails to distinguish between clusters. UAE, by contrast, identifies projections that preserve the most information about the underlying data structure, facilitating better reconstruction and classification.

Experimental Results

The authors evaluated UAE on MNIST, Omniglot, and CelebA datasets, comparing it against LASSO and CS-VAE (a previous state-of-the-art VAE-based method).

Superior Reconstruction

UAE demonstrated a 32% average improvement in $l_2$ reconstruction error across the datasets. This performance is particularly pronounced at low measurement regimes, where the learned priors of UAE provide a significant advantage over the generic sparsity assumptions of LASSO.

Quantitative comparison of reconstruction error across MNIST and Omniglot datasets, showing UAE consistently outperforming LASSO, CS-VAE, and RP-UAE.

Implicit Generative Modeling

Beyond compression, UAE acts as an implicit generative model. While it lacks an explicit likelihood function, new samples can be generated by running a Markov Chain between the encoder and decoder. This allows the model to capture complex data distributions without the "posterior collapse" issues often seen in VAEs, where the model ignores the latent code entirely.

Conclusion

Uncertainty Autoencoders provide a robust, information-theoretic framework for dimensionality reduction and compressed sensing. By amortizing the recovery process and maximizing mutual information, UAEs offer significant gains in both computational efficiency and reconstruction accuracy. Future work includes scaling these models to complex convolutional architectures for real-world applications such as accelerated MRI acquisition.

Summary updated

BibTeX
@inproceedings{grover2019uncertainty,
  author = {Aditya Grover and Stefano Ermon},
  title = {{Uncertainty Autoencoders: Learning Compressed Representations via Variational Information Maximization}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2019},
  url = {https://openreview.net/forum?id=NW4213KlNk},
}
Figure