Skip to main content
QUICK REVIEW

[Paper Review] VAE Learning via Stein Variational Gradient Descent

Yunchen Pu, Zhe Gan|arXiv (Cornell University)|Apr 18, 2017
Generative Adversarial Networks and Image SynthesisComputer Science21 citations
TL;DR

This paper proposes a novel VAE training method using Stein Variational Gradient Descent (SVGD) that eliminates the need for parametric assumptions about the encoder distribution. By minimizing the KL divergence between the approximate and true posterior via SVGD, the method enables flexible, non-parametric inference and achieves state-of-the-art performance in semi-supervised learning on ImageNet and MNIST, with further gains from importance sampling integration.

ABSTRACT

A new method for learning variational autoencoders (VAEs) is developed, based on Stein variational gradient descent. A key advantage of this approach is that one need not make parametric assumptions about the form of the encoder distribution. Performance is further enhanced by integrating the proposed encoder with importance sampling. Excellent performance is demonstrated across multiple unsupervised and semi-supervised problems, including semi-supervised analysis of the ImageNet data, demonstrating the scalability of the model to large datasets.

Motivation & Objective

  • To overcome the limitation of traditional VAEs requiring explicit parametric forms for the encoder distribution.
  • To enable flexible, non-parametric posterior approximation in VAEs using Stein variational gradient descent.
  • To improve generalization and robustness in semi-supervised learning by integrating SVGD with importance sampling.
  • To scale VAE training to large datasets like ImageNet without sacrificing performance.

Proposed method

  • Replaces the standard variational lower bound optimization with direct minimization of the KL divergence between the approximate and true posterior.
  • Employs Stein Variational Gradient Descent (SVGD) to iteratively update particles representing the latent posterior, requiring only sampling from the encoder, not its explicit density.
  • Introduces a non-parametric encoder by avoiding closed-form density evaluation, allowing complex, flexible posterior approximations.
  • Enhances the method with importance sampling to improve parameter estimation stability and performance, especially with limited labeled data.
  • Treats model parameters θ as random variables, enabling model averaging and improved generalization through Monte Carlo sampling.
  • Uses a joint posterior over parameters and latent codes, with priors p(θ) and p(z_n), and applies SVGD to sample from the full posterior.

Experimental results

Research questions

  • RQ1Can SVGD be effectively applied to train VAEs without requiring explicit parametric forms for the encoder distribution?
  • RQ2Does the non-parametric nature of SVGD-based VAEs lead to improved performance on complex, high-dimensional data like ImageNet?
  • RQ3How does integrating importance sampling with SVGD enhance the robustness and accuracy of semi-supervised VAE learning?
  • RQ4Can the proposed method scale effectively to large-scale datasets with limited labeled data?

Key findings

  • The Stein VAE and Stein VIWAE methods outperform standard VAEs across all MNIST semi-supervised learning settings, with labeled data ranging from 10 to 300 samples per class.
  • On ImageNet, the Stein-based models achieve superior classification accuracy compared to standard VAEs across all labeled data proportions (1% to 40%), demonstrating scalability.
  • Importance sampling integration (Stein VIWAE) reduces variance in predictions and improves robustness, especially with small labeled sets.
  • The method achieves state-of-the-art performance on MNIST, with classification error rates below 1.0% when using 300 labeled images per class.
  • Model inference using 100 samples of θ takes only 0.12 ms per image, indicating efficient deployment at test time.
  • The approach generalizes well, with the potential to integrate with deeper architectures like the Ladder network, though this remains future work.

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.