Skip to main content
QUICK REVIEW

[Paper Review] Stick-Breaking Variational Autoencoders

Eric Nalisnick, Padhraic Smyth|arXiv (Cornell University)|May 20, 2016
Generative Adversarial Networks and Image SynthesisComputer Science47 citations
TL;DR

This paper proposes the Stick-Breaking Variational Autoencoder (SB-VAE), a Bayesian nonparametric VAE that uses stick-breaking processes to enable stochastic, data-adaptive latent dimensionality. By leveraging the differentiable Kumaraswamy distribution for posterior inference, the SB-VAE achieves more discriminative representations than Gaussian VAEs, especially in semi-supervised learning, with improved generalization and no component collapse.

ABSTRACT

We extend Stochastic Gradient Variational Bayes to perform posterior inference for the weights of Stick-Breaking processes. This development allows us to define a Stick-Breaking Variational Autoencoder (SB-VAE), a Bayesian nonparametric version of the variational autoencoder that has a latent representation with stochastic dimensionality. We experimentally demonstrate that the SB-VAE, and a semi-supervised variant, learn highly discriminative latent representations that often outperform the Gaussian VAE's.

Motivation & Objective

  • To extend Stochastic Gradient Variational Bayes (SGVB) to posterior inference for stick-breaking process weights, which are traditionally non-differentiable.
  • To develop a Bayesian nonparametric variant of the VAE that automatically determines the number of active latent dimensions based on data complexity.
  • To improve representation learning and semi-supervised classification performance by enabling latent representations with dynamic, data-driven dimensionality.
  • To overcome the limitation of Gaussian VAEs, which fix latent dimensionality and risk component collapse due to KL regularization.
  • To enable scalable, differentiable model capacity control in deep generative models through a differentiable parametrization of stick-breaking weights.

Proposed method

  • Uses the Kumaraswamy distribution as a non-conjugate, differentiable approximate posterior for stick-breaking weights, enabling backpropagation through the latent variables.
  • Reformulates the VAE and its semi-supervised variant using a stick-breaking prior over latent dimensions, allowing the model to self-determine the number of active components.
  • Employs a non-centered parametrization of the stick-breaking process via the Kumaraswamy distribution, satisfying the differentiable, non-centered parametrization (DNCP) requirement for SGVB.
  • Trains the model using the evidence lower bound (ELBO) with Monte Carlo approximation, where latent variables are reparameterized as deterministic functions of noise variables.
  • Applies the method to both unsupervised and semi-supervised learning tasks, using truncation to limit computational cost while maintaining model flexibility.
  • Uses a linear-time algorithm to assemble stick segments, ensuring minimal computational overhead beyond standard VAEs.

Experimental results

Research questions

  • RQ1Can Stochastic Gradient Variational Bayes be extended to perform posterior inference for the weights of stick-breaking processes, which are not naturally differentiable?
  • RQ2Can a Bayesian nonparametric VAE with a stick-breaking prior learn more discriminative latent representations than a standard Gaussian VAE?
  • RQ3Does the SB-VAE achieve better performance in semi-supervised learning by adapting its latent dimensionality to data complexity?
  • RQ4How does the SB-VAE avoid component collapse, a common failure mode in Gaussian VAEs, despite using KL regularization?
  • RQ5Can differentiable stick-breaking enable scalable, adaptive model capacity in deep generative models?

Key findings

  • The SB-VAE achieves significantly better semi-supervised classification performance than the Gaussian VAE on MNIST with 1% labeled data, reducing error from 27.72% to 11.78%.
  • On SVHN with 1% labeled data, the SB-VAE achieves 32.08% error compared to 36.08% for the Gaussian VAE, demonstrating superior generalization under low supervision.
  • The SB-VAE maintains sparse latent representations without component collapse, as decoder weights remain active even when latent dimensions are inactive.
  • The model’s latent representations better preserve class boundaries, contributing to improved discriminative performance.
  • The SB-VAE shows no evidence of weight decay or component collapse, as the decoder weights remain stable and non-zero even for inactive latent dimensions.
  • The computational cost of the SB-VAE is minimal, with only a linear-time operation for assembling stick segments, making it scalable.

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.