GSNs: generative stochastic networks

Guillaume Alain, Yoshua Bengio, Li Yao, Jason Yosinski, Éric Thibodeau-Laufer, Saizheng Zhang, Pascal Vincent · DOI

TL;DR

This paper introduces Generative Stochastic Networks (GSNs), a new framework for training generative models that offers an alternative to maximum likelihood. GSNs learn a Markov chain's transition operator, simplifying density estimation into a more manageable function approximation problem, enabling efficient training with backpropagation. This approach generalizes Denoising Auto-Encoders and provides a principled way to handle complex distributions and missing data.

What Problem Does This Paper Address?

Training generative probabilistic models, especially deep ones, is notoriously challenging. A core difficulty lies in estimating the normalization constants (partition functions) of complex probability distributions, which often involve intractable sums over all possible states. This makes direct maximum likelihood estimation difficult. Existing methods often rely on approximations or computationally expensive sampling techniques like Markov Chain Monte Carlo (MCMC), which can struggle with multimodal distributions. The authors aim to find a training principle that bypasses these intractable computations, making it easier to train deep generative models on large datasets.

Methods

The core idea of GSNs is to learn the transition operator of a Markov chain, rather than directly modeling the data distribution $P(X)$. The stationary distribution of this learned Markov chain is designed to approximate the true data distribution. This is achieved by framing the problem as learning a conditional distribution that represents a "small move" in the state space. This conditional distribution is often unimodal, making it easier to learn than the potentially multimodal data distribution.

Key techniques include:

  • Generalizing Denoising Auto-Encoders (DAEs): GSNs are presented as a generalization of DAEs. While DAEs learn to reconstruct clean data from corrupted inputs, GSNs formalize this as learning a transition operator of a Markov chain.
  • Walkback Algorithm: A novel training algorithm is introduced to facilitate faster convergence for DAEs, which is then extended to GSNs. This algorithm involves an iterative process that "walks back" from generated samples towards the training data.
  • Backpropagation: The GSN framework allows gradients to be computed via backpropagation, similar to supervised learning, by treating the Markov chain transitions as a recurrent neural network. This avoids the need for layer-wise pretraining common in earlier deep generative models.
  • Latent Variables: GSNs can incorporate latent variables, allowing for richer representations and improved mixing properties in the Markov chain, similar to Deep Boltzmann Machines but with backpropagation-based training.
  • Theoretical Guarantees: The paper provides theoretical results that link the learned transition operator to the true data distribution, offering probabilistic interpretations for DAEs and justifying dependency networks.

Datasets

The paper uses the following datasets for training and evaluation:

  • Synthetic datasets: Used to validate theoretical results.
  • Image datasets:
    • MNIST: A standard dataset of handwritten digits.
  • Toronto Face Database (TFD): A dataset of human faces.

Key Insights and Ideas

  • Density Estimation as Function Approximation: The most significant insight is reframing the unsupervised density estimation problem as a supervised function approximation task. By learning a transition operator that makes small, local moves, the learning problem becomes much simpler, akin to predicting the next state given the current one.
  • DAEs as Generative Models: The paper provides a formal probabilistic interpretation of Denoising Auto-Encoders, showing they can be viewed as a special case of GSNs and are indeed generative models.
  • Bypassing Intractable Partition Functions: The GSN approach avoids the need to compute partition functions directly, a major bottleneck in training many probabilistic models. This is achieved by focusing on learning conditional distributions that are easier to model.
  • Unified Framework: GSNs offer a unifying framework that connects Denoising Auto-Encoders, dependency networks, and generalized pseudolikelihood.
  • Handling Missing Data: The GSN framework naturally extends to handling missing inputs by clamping observed values and sampling the rest.

Key Results

  • Successful Generation of Samples: Experiments on MNIST and TFD demonstrate that GSNs can generate high-quality samples that resemble the training data.
  • Improved Sample Quality with Walkback: The walkback algorithm was shown to produce fewer "spurious" samples compared to standard sampling schemes.
  • Competitive Performance: GSNs achieve competitive log-likelihood bounds on MNIST, comparable to or better than existing methods like RBMs and DBMs, without requiring layer-wise pretraining. For example, a 2-layer GSN achieved a Parzen log-likelihood bound of 214 on MNIST, outperforming a DAE (-152) and comparable to a 3-hidden layer DBM (32).
  • Theoretical Justification: The paper provides theoretical backing for the GSN approach, demonstrating how learning the transition operator can lead to recovering the data distribution.

Limitations and Future Work

  • Model Capacity: The paper acknowledges that in practical settings, models may not have infinite capacity, which can affect the convergence of the walkback algorithm and the accuracy of the learned distributions.
  • Multimodal Distributions: While GSNs simplify learning by focusing on unimodal conditionals, handling truly complex, multimodal data distributions might still require careful architecture design or further research into multimodal reconstruction distributions.
  • Hyperparameter Tuning: The experimental sections mention extensive hyperparameter search, indicating that finding optimal settings can still be a challenge.
  • Future Work: The authors suggest exploring more complex GSN architectures, investigating different noise injection strategies, and further applying GSNs to various problems like classification and structured output prediction. They also note that the analysis of dependency networks and generalized pseudolikelihood is an area for future work.

Summary updated

BibTeX
@misc{alain2015gsns,
  author = {Guillaume Alain and Yoshua Bengio and Li Yao and Jason Yosinski and Éric Thibodeau-Laufer and Saizheng Zhang and Pascal Vincent},
  title = {{GSNs: generative stochastic networks}},
  year = {2015},
  eprint = {1503.05571},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1503.05571},
}
Figure