Skip to main content
QUICK REVIEW

[Paper Review] Learning to Draw Samples: With Application to Amortized MLE for Generative Adversarial Learning

Dilin Wang, Qiang Liu|arXiv (Cornell University)|Nov 6, 2016
Generative Adversarial Networks and Image SynthesisComputer Science33 references79 citations
TL;DR

This paper proposes a novel method to train neural samplers that draw samples from complex target distributions using Stein variational gradient descent, enabling amortized maximum likelihood estimation (MLE) for deep energy models. By iteratively adjusting network parameters along the Stein gradient, the method achieves state-of-the-art image generation quality with higher feature information retention than GANs, as shown by superior classification accuracy on simulated data.

ABSTRACT

We propose a simple algorithm to train stochastic neural networks to draw samples from given target distributions for probabilistic inference. Our method is based on iteratively adjusting the neural network parameters so that the output changes along a Stein variational gradient that maximumly decreases the KL divergence with the target distribution. Our method works for any target distribution specified by their unnormalized density function, and can train any black-box architectures that are differentiable in terms of the parameters we want to adapt. As an application of our method, we propose an amortized MLE algorithm for training deep energy model, where a neural sampler is adaptively trained to approximate the likelihood function. Our method mimics an adversarial game between the deep energy model and the neural sampler, and obtains realistic-looking images competitive with the state-of-the-art results.

Motivation & Objective

  • To develop a general-purpose, differentiable method for training neural networks to sample from arbitrary target distributions without requiring explicit density computation of the proposal.
  • To address the limitations of traditional variational inference and importance sampling by eliminating the need to compute the proposal density $ q_\eta(x) $, enabling black-box, scalable inference.
  • To enable amortized MLE training of deep energy models by learning a neural sampler that approximates the likelihood function efficiently.
  • To improve the efficiency and generalization of probabilistic inference in settings requiring repeated sampling across similar distributions, such as online learning or MLE optimization.
  • To develop a new GAN variant, SteinGAN, that mimics adversarial training while leveraging the Stein gradient to enhance sample diversity and quality.

Proposed method

  • The method uses iterative parameter updates along the Stein variational gradient (SVGD) to minimize the KL divergence between the neural sampler's output distribution and the target distribution $ p(x) $.
  • The SVGD update direction includes a repulsive term that ensures sample diversity, preventing mode collapse and promoting coverage of the target distribution.
  • The neural network is trained end-to-end using backpropagation, with gradients computed via the reparameterization trick and automatic differentiation, even when the proposal density is intractable.
  • The approach is applied to amortize MLE for deep energy models by training a neural sampler to generate realistic samples that maximize the likelihood under the energy model.
  • A joint model is used to condition the generator on class labels, enabling conditional image generation with high fidelity.
  • The training process alternates between updating the energy model (discriminator) and the neural sampler (generator), with adaptive learning rates to maintain alignment between real and generated data energies.

Experimental results

Research questions

  • RQ1Can a neural network be trained to sample from an arbitrary target distribution without requiring explicit computation of the proposal density?
  • RQ2Can the Stein variational gradient descent be amortized via a neural network to enable fast, repeated inference across similar distributions?
  • RQ3Does the proposed amortized MLE method for deep energy models outperform standard GANs in capturing meaningful data structure, as measured by downstream task performance?
  • RQ4Can the method generate high-quality, diverse images comparable to state-of-the-art GANs while maintaining better feature representation?
  • RQ5How does the performance of the proposed method compare to baselines in terms of inception score and classification accuracy on simulated data?

Key findings

  • SteinGAN achieves a testing accuracy of 63.81% when training a ResNet on 50,000 simulated images from CIFAR-10, significantly outperforming DCGAN (44.78%) and the 500-image duplicate baseline (44.96%), indicating superior information capture.
  • On the ImageNet pre-trained inception model, SteinGAN achieves an inception score of 6.351, comparable to DCGAN’s 6.581, suggesting high perceptual quality.
  • On CelebA and LSUN datasets, the generated images from SteinGAN are visually indistinguishable from real images and exhibit smooth, controllable interpolations in latent space, demonstrating disentangled and meaningful representations.
  • The method successfully generates high-fidelity images on MNIST and CIFAR-10, with qualitative results matching or exceeding those of DCGAN.
  • The use of a neural sampler trained via Stein gradient descent enables effective amortized MLE training of deep energy models, achieving competitive results without explicit likelihood computation.
  • The ablation study confirms that the proposed method captures more structural information in the training data than standard GANs, as evidenced by the higher classification accuracy on downstream tasks.

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.