Skip to main content
QUICK REVIEW

[Paper Review] A Structured Variational Auto-encoder for Learning Deep Hierarchies of Sparse Features

Tim Salimans|arXiv (Cornell University)|Feb 28, 2016
Generative Adversarial Networks and Image SynthesisComputer Science4 references7 citations
TL;DR

This paper introduces a structured variational auto-encoder with a deep hierarchy of rectified Gaussian latent variables that enables joint training of deep generative models without layerwise pretraining. By using a structured posterior approximation that mirrors the generative model's dependencies and leveraging differentiable sparsity via rectified Gaussians, the method achieves a test variational lower bound of -92.5 nats on binarized MNIST, demonstrating effective learning in deep, sparse latent hierarchies.

ABSTRACT

In this note we present a generative model of natural images consisting of a deep hierarchy of layers of latent random variables, each of which follows a new type of distribution that we call rectified Gaussian. These rectified Gaussian units allow spike-and-slab type sparsity, while retaining the differentiability necessary for efficient stochastic gradient variational inference. To learn the parameters of the new model, we approximate the posterior of the latent variables with a variational auto-encoder. Rather than making the usual mean-field assumption however, the encoder parameterizes a new type of structured variational approximation that retains the prior dependencies of the generative model. Using this structured posterior approximation, we are able to perform joint training of deep models with many layers of latent random variables, without having to resort to stacking or other layerwise training procedures.

Motivation & Objective

  • To develop a deep generative model with hierarchical latent variables that exhibit spike-and-slab type sparsity while maintaining differentiability for efficient training.
  • To address the challenge of training deep models with many layers of stochastic latent variables without relying on stacked or layerwise pretraining procedures.
  • To design a structured variational posterior approximation that preserves the dependency structure of the generative model’s prior, improving posterior approximation accuracy.
  • To enable end-to-end training of deep hierarchical models using stochastic gradient variational inference with backpropagation through the entire hierarchy.

Proposed method

  • Proposes the rectified Gaussian distribution as a differentiable sparsity-inducing prior, defined as the maximum of a Gaussian and zero, enabling both sparsity and gradient flow.
  • Constructs a deep hierarchical generative model where each layer’s parameters are recursively computed from the previous layer via learned weights and biases, with top-layer means as learnable parameters.
  • Uses a structured variational posterior that mirrors the generative model’s conditional dependencies, with each latent variable’s approximate posterior also modeled as a rectified Gaussian.
  • Derives analytical expressions for the KL divergence between the structured posterior and prior at each layer, enabling exact computation of the variational lower bound.
  • Performs joint training via stochastic gradient descent using an unbiased, differentiable approximation of the variational lower bound, with batch normalization applied at each layer for stability.
  • Employs a bottom-up inference network to compute approximate likelihood parameters for the variational posterior, which are used in the KL divergence computation.

Experimental results

Research questions

  • RQ1Can a deep hierarchical generative model with sparsity be trained end-to-end using stochastic gradient variational inference without layerwise pretraining?
  • RQ2How can differentiable sparsity be achieved in deep latent variable models while preserving the ability to perform efficient posterior inference?
  • RQ3Does a structured variational posterior that preserves the hierarchical dependencies of the prior lead to better posterior approximation and improved training stability in deep models?
  • RQ4Can a model with multiple layers of stochastic latent variables outperform single-layer VAEs in terms of log-likelihood on benchmark datasets like MNIST?

Key findings

  • The model achieves a test variational lower bound of -92.5 nats on the binarized MNIST dataset using a 4-layer hierarchical structure with 50, 100, 200, and 300 units respectively.
  • The use of rectified Gaussian units enables effective spike-and-slab type sparsity while maintaining differentiability, allowing backpropagation through the entire hierarchy.
  • The structured variational posterior approximation successfully preserves the dependency structure of the generative model, enabling joint training of deep models without stacking or layerwise pretraining.
  • Batch normalization at each layer significantly improves training stability and convergence speed, especially with small minibatches of 150 examples.
  • Despite the increased model depth and expressivity, the performance remains comparable to single-layer VAEs with multiple deterministic layers, indicating that deeper stochastic hierarchies have not yet yielded substantial gains in this setup.
  • The method is compatible with existing deep learning optimization techniques, such as Adamax, and demonstrates that deep hierarchical models with stochastic units can be trained effectively using standard deep learning pipelines.

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.