Introduction
This paper introduces a novel framework for training generative models by unrolling Variational Auto-encoders (VAEs) into Markov chains. By combining the structural benefits of Generative Stochastic Networks (GSNs) with a "collaborative" guiding mechanism and reinforcement learning-inspired regularization, the authors achieve state-of-the-art sample quality and log-likelihood scores on standard image datasets.
Background & Motivation
Generative modeling aims to learn a distribution capable of synthesizing new samples that are indistinguishable from a target dataset. At the time of this research, two popular approaches presented distinct drawbacks:
- Generative Stochastic Networks (GSNs): These models use Markov chains to explore data manifolds but can be difficult to train effectively. They often struggle with "mixing"—moving efficiently between different modes, such as different digit classes in MNIST.
- Variational Auto-encoders (VAEs): While efficient to train and sample from, VAEs can sometimes produce blurry samples or feature latent spaces that fail to capture the global structure of the data manifold accurately.
The authors tackle the challenge of training a model that is efficient to sample from, provides a computable bound on log-density, and produces high-quality, diverse samples that accurately reflect the underlying data manifold.
Proposed Methodology: The Variational GSN
To address these limitations, the authors propose a hybrid architecture called a Variational GSN.
The key technical components of this framework include:
- Unrolled Markov Chains: The model treats a VAE as a transition operator. By feeding the output of a VAE back into itself as input, it creates a Markov chain. Training involves "unrolling" this chain for several steps and applying backpropagation through time (BPTT).
- Collaborative Shaping: This is the paper's most novel contribution. Instead of the adversarial approach used in Generative Adversarial Networks (GANs)—where a discriminator tries to fool a generator—the authors use a collaborative "guide function." This guide estimates the log-density ratio between the model's distribution and the target distribution. The generator then uses this signal to redistribute its probability mass toward under-represented regions of the data space.
- RL-Inspired Regularization: To prevent the model's latent posterior from collapsing into tiny, over-specialized regions (a common issue in VAEs), the authors introduce a regularization term inspired by Relative Entropy Policy Search (REPS) from reinforcement learning. This term penalizes both the magnitude and the variance of the KL divergence, forcing the model to maintain a well-dispersed latent space.
Key Insights & Results
The models were evaluated on two classic benchmarks: MNIST (handwritten digits) and the Toronto Face Database (TFD) (grayscale faces expressing various emotions). The proposed approach yielded several important insights and performance breakthroughs:
- Collaboration over Competition: The authors argue that the "zero-contour" sought by their collaborative guide function provides a more stable training signal than the local maxima sought in adversarial training.
- The "ORK" (Over-Regularized KL) Effect: A surprising finding was that explicitly forcing the latent variables to be more dispersed (higher KL divergence) actually improved the Gaussian Parzen Density Estimator (GPDE) scores. It prevents the model from "cheating" by concentrating all its probability mass on a few training examples, leading to better generalization.
- Manifold Walking: By training on unrolled chains, the model learns the natural dynamics of the data. This allows it to perform "locally-coherent" random walks, smoothly transitioning between similar-looking samples while staying on the data manifold.
Quantitatively, the proposed "ORK" model significantly outperformed previous benchmarks in terms of test-set log-likelihood (estimated via GPDE):
- MNIST: The ORK model achieved a score of 330, compared to 214 for the original GSN and 225 for the original GAN.
- TFD: The ORK model scored 2130, surpassing the GAN's 2050 and the GSN's 2110.
Qualitative visual inspections of the generated chains confirmed that models trained with collaborative unrolling produced much cleaner samples and mixed between modes much faster than standard VAEs.
Limitations and Future Work
While highly effective, the framework has a few notable limitations:
- Computational Complexity: Training via BPTT through unrolled Markov chains is computationally expensive compared to single-step VAE training.
- Scaling: The paper demonstrates success on MNIST and TFD, but it does not explore how this collaborative shaping scales to high-resolution, complex natural images like those in ImageNet.
- Alternative Training: The authors suggest that future work could replace BPTT with more efficient reinforcement learning techniques, such as eligibility traces, to handle longer sequences or more complex manifolds.
- Sequential Data: Because the framework is built on unrolled chains, it is naturally suited for sequential data (like video or speech), which the authors highlight as a promising future direction.
Summary updated