Abstract
Generative Latent Flow (GLF) is a novel framework designed to bridge the gap between the stability of auto-encoders and the expressive power of normalizing flows. By learning a mapping between a low-dimensional latent space and simple Gaussian noise—while utilizing a strategic "stop-gradient" operation to prevent representation collapse—GLF produces high-quality, sharp images. This approach avoids the training instabilities typical of Generative Adversarial Networks (GANs) and the characteristic blurriness of traditional Variational Auto-encoders (VAEs).
Introduction
In deep generative modeling, researchers often face a trade-off between image quality and training stability. Generative Adversarial Networks (GANs) produce sharp, realistic images but are notoriously difficult to train, often suffering from mode collapse. Conversely, Variational Auto-encoders (VAEs) offer stable training but frequently yield blurry results due to a mismatch between complex data distributions and simple latent priors. Normalizing Flows provide exact density modeling but are computationally prohibitive when applied directly to high-resolution pixel spaces.
Generative Latent Flow (GLF) addresses these challenges by applying a normalizing flow within a low-dimensional latent space, combining the best attributes of auto-encoders and flow-based models.
Methodology
The GLF architecture consists of three primary components trained simultaneously: a deterministic encoder ($E$), a deterministic decoder ($G$), and a normalizing flow ($f_\theta$).
The Stop-Gradient Mechanism
A critical innovation in GLF is the stop-gradient operation. In standard joint training, a flow might maximize likelihood by shrinking latent variables toward zero, leading to numerical instability and degraded representations. GLF allows the flow to learn the latent distribution's shape, but the encoder is shielded from the flow's gradients. This ensures the encoder focuses exclusively on reconstruction quality, while the flow independently models the resulting latent manifold.
Experiments and Results
The authors evaluated GLF across several standard benchmarks, including MNIST, Fashion MNIST, CIFAR-10, and CelebA. The model demonstrated an ability to scale to higher resolutions, such as CelebA-HQ (256x256).
Quantitative Performance
GLF achieved state-of-the-art results for auto-encoder-based models. On the CelebA dataset, GLF reached a Fréchet Inception Distance (FID) of 53.2, significantly outperforming standard VAEs (71.0) and Wasserstein AEs (66.5). When augmented with a perceptual loss, the FID improved to 41.8, making it competitive with well-tuned GANs. Furthermore, GLF exhibits high training efficiency, reaching peak performance on CelebA in just 40 epochs, compared to over 500 epochs for similar non-adversarial models like GLANN.
Discussion and Key Insights
- Density Matching vs. Over-Regularization: Unlike VAEs, which force the latent space into a Gaussian shape via KL divergence, GLF allows the latent space to remain complex to support perfect reconstruction. The normalizing flow then "wraps" around this complex shape to enable sampling.
- The Vanishing Noise Limit: Mathematically, GLF can be interpreted as a VAE with a flow-based prior where the injected stochastic noise is reduced to zero. This theoretical link explains why GLF avoids the "fuzziness" inherent in traditional VAE training.
- Single-Stage Training: Unlike many high-performing auto-encoders that require separate training stages for the AE and the density estimator, GLF can be trained end-to-end in a single stage.
Conclusion
Generative Latent Flow represents a significant advancement in non-adversarial image generation. While the final image quality remains somewhat dependent on the choice of reconstruction loss, GLF provides a robust, efficient, and stable alternative to GANs for producing high-fidelity synthetic imagery.
Summary updated