Abstract
Likelihood-based generative models, such as Variational Autoencoders (VAEs) and Normalizing Flows, are valued for their stable training and mathematical elegance. However, they frequently produce blurry or noisy samples compared to Generative Adversarial Networks (GANs). This paper introduces "Exponential Tilting," a technique that improves sample quality by training a secondary Energy-Based Model (EBM) on the latent space of a pre-trained base model. By refining the latent prior to favor high-quality regions, the authors achieve sharper results with significantly lower computational costs than pixel-space EBMs.
Introduction
Deep generative modeling faces a persistent trade-off between training stability and sample quality. Likelihood-based models provide explicit density estimation and stable training but often suffer from "blurry" outputs. Conversely, GANs produce sharp images but are notoriously difficult to train, prone to mode collapse, and lack explicit likelihoods.
The authors identify the simple prior distribution (typically a standard Gaussian) in the latent space as a primary bottleneck. If the base model's decoder is capable of producing high-quality samples but the prior frequently selects points in low-quality regions, the overall sample quality suffers. This paper proposes learning a more sophisticated latent distribution to "tilt" the model toward better-looking outputs without redesigning the entire architecture.
Methodology: Exponential Tilting
The proposed method involves a two-step process. First, a base generative model (such as a VAE or GLOW) is pre-trained and fixed. Second, an energy function $E_{\theta}$ (a neural network) is trained on the latent space to define a new distribution:
$$p(z)_{new} \propto p(z) \exp(-E_{\theta}(G(z)))$$
This "tilts" the original prior $p(z)$ toward points that the decoder $G$ maps to high-quality samples. The energy function is trained using maximum likelihood via Stochastic Gradient Langevin Dynamics (SGLD), an MCMC-based sampling method. By operating in the lower-dimensional latent space rather than high-dimensional pixel space, the authors achieve stable training in just 200 to 1,000 steps, compared to the 100,000+ steps often required for pixel-space EBMs.
Experiments and Results
The researchers evaluated their method on toy datasets (Swiss Roll, 25-Gaussians) and standard image benchmarks including MNIST, Fashion MNIST, and CIFAR-10.
On toy data, the latent EBM effectively "prunes" spurious probability mass placed by VAEs in empty regions between data clusters, ensuring samples only come from valid data regions. Quantitatively, the Fréchet Inception Distance (FID) improved significantly across all benchmarks:
- GLOW (Normalizing Flow): On MNIST, the FID dropped from 29.4 to 12.3. On CIFAR-10, it improved from 76.2 to 67.8.
- VAE: On Fashion MNIST, the FID improved from 57.1 to 38.1.
Discussion and Key Insights
The core insight of this work is that sample quality can be significantly improved by refining the prior distribution after the base model is trained. This approach acts as a bridge between likelihood-based models and GAN-like discriminative guidance, providing the benefits of both worlds.
However, the method is ultimately limited by the "decoder bottleneck." If a pre-trained decoder is fundamentally incapable of producing sharp edges or specific details, latent space tilting cannot compensate for those architectural deficiencies. Additionally, while more stable than pixel-space alternatives, latent EBMs can still suffer from overfitting, requiring heuristics like early stopping to maintain sample quality. Future research may explore more robust EBM training techniques and applications to non-visual data types like audio or text.
Summary updated