Auto-Encoding Total Correlation Explanation

Shuyang Gao, Rob Brekelmans, Greg Ver Steeg, Aram Galstyan

Introduction

Unsupervised learning, particularly through Variational Autoencoders (VAEs), has achieved remarkable success in generating realistic data. However, the internal representations learned by these models are often "inscrutable," making it difficult to determine what specific latent neurons represent. This paper addresses the challenge of disentanglement: creating representations where individual latent variables correspond to distinct, independent factors of variation, such as rotation or lighting. By bridging the gap between Total Correlation Explanation (CorEx)—an information-theoretic principle—and VAEs, the authors provide a principled foundation for building interpretable hierarchical models.

The Total Correlation Principle and VAE Duality

The core of the paper is the Total Correlation (TC) principle. Total Correlation measures the redundancy or total dependence within a set of variables. The CorEx objective aims to find a latent representation $\mathbf{z}$ that explains correlations in the data $\mathbf{x}$ while remaining disentangled by minimizing the TC between the dimensions of $\mathbf{z}$ itself.

The authors' key technical contribution is deriving a variational lower bound for this CorEx objective using deep neural networks. They reveal a profound "VAE Duality": under standard assumptions, such as a factorized decoder, this bound is mathematically identical to the Evidence Lower Bound (ELBO) used to train VAEs. This suggests that VAEs are not just generative models; they are implicitly optimizing for Total Correlation Explanation, providing a dual perspective where VAEs compress data while CorEx seeks to explain its internal structure.

Hierarchical Architectures and AnchorVAE

Building on this theoretical link, the authors introduce a Hierarchical CorEx/VAE framework. By stacking layers of latent variables, they prove that each subsequent layer naturally becomes progressively more disentangled, providing a theoretical justification for deep hierarchical generative models.

Hierarchical structure of encoder and decoder layers showing the flow of information through latent variables.

To further guide the model toward specific, interpretable features, the authors propose AnchorVAE. This modified objective "anchors" specific latent variables to have high mutual information with the input. Unlike previous methods that add ad-hoc penalties to the loss function, AnchorVAE simply re-weights existing terms in the CorEx objective. This allows the model to concentrate explanatory power into specific slots without distorting the underlying information-theoretic goal.

Experimental Results

The approach was evaluated on standard benchmarks including MNIST and CelebA.

  • MNIST: A two-layer hierarchical CorEx model achieved 85% unsupervised accuracy, identifying digit classes without labels. It successfully isolated basic factors of variation, such as digit thickness and rotation (azimuth).
  • CelebA: AnchorVAE isolated complex attributes like head rotation, skin color, emotion (smiling), and lighting into individual latent dimensions.
Manipulation of the latent variable $z_a^{(1)}$ on MNIST, demonstrating the isolation of the 'azimuth' (rotation) factor.

Furthermore, the authors found that sampling from the aggregate posterior—the actual distribution of latent codes learned by the model—rather than a standard Gaussian prior led to higher diversity and fewer artifacts in generated images. This approach respects the learned structure of the data more effectively than traditional sampling methods.

Conclusion and Future Work

By reinterpreting VAEs through the lens of Total Correlation, this work provides a robust framework for learning disentangled representations. While the current derivation requires a fully factorized decoder, future research may explore relaxing this assumption to accommodate more complex modern architectures. The introduction of AnchorVAE demonstrates a principled way to incorporate prior knowledge into unsupervised learning, moving us closer to truly interpretable generative models.

Summary updated

BibTeX
@inproceedings{gao2019auto,
  author = {Shuyang Gao and Rob Brekelmans and Greg Ver Steeg and Aram Galstyan},
  title = {{Auto-Encoding Total Correlation Explanation}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2019},
}
Figure