Abstract
Deep Generative Models (DGMs) have emerged as a transformative force in artificial intelligence, enabling the synthesis of realistic images, voices, and complex data structures. Despite their success, the underlying mathematical principles often remain opaque to practitioners. This paper provides a rigorous tutorial on the three pillars of deep generative modeling: Normalizing Flows, Variational Autoencoders (VAEs), and Generative Adversarial Networks (GANs). By framing these architectures through the lens of applied mathematics and Optimal Transport, we provide a unified perspective on how neural networks approximate high-dimensional probability distributions. We discuss the inherent trade-offs between exact likelihood estimation, latent space regularization, and adversarial stability.
Introduction
The rapid advancement of generative AI has led to remarkable applications, from "deep fakes" to accelerated scientific discovery. However, the "black box" nature of these models often obscures why certain architectures excel or fail in specific domains. This paper addresses the "understanding gap" by formalizing the core challenges of generative modeling:
- Ill-posedness: The impossibility of uniquely identifying a distribution from finite samples without inductive biases or priors.
- Similarity Metrics: The mathematical difficulty of quantifying how closely a generated sample resembles the true data distribution.
- Latent Space Design: The challenge of mapping a simple, known distribution (e.g., a Gaussian) to a complex, low-dimensional manifold embedded within a high-dimensional space.
Methodological Paradigms
The paper systematically deconstructs the three dominant paradigms in the field, highlighting their unique mathematical foundations and practical trade-offs.
Normalizing Flows (NF)
Normalizing Flows utilize invertible, diffeomorphic mappings to transform a simple latent distribution into a complex target distribution. A key advantage of NFs is their ability to compute the exact likelihood of a data point using the change-of-variables formula. The authors emphasize Continuous Normalizing Flows (CNF), which model the generation process as an Ordinary Differential Equation (ODE). This approach draws a direct connection to Optimal Transport (OT) theory, ensuring that the transformation follows efficient, "straight-line" paths from noise to data.
Variational Autoencoders (VAE)
VAEs are specifically designed for scenarios where the data resides on a low-dimensional manifold, meaning the latent space dimension ($q$) is much smaller than the data space dimension ($n$). Since these mappings are generally not invertible, VAEs employ an "encoder" network to approximate an intractable posterior distribution. They are trained by maximizing the Evidence Lower Bound (ELBO), a loss function that balances reconstruction accuracy against a Kullback-Leibler (KL) divergence penalty that keeps the latent space organized.
Generative Adversarial Networks (GAN)
GANs represent a "likelihood-free" approach, framing training as a zero-sum game between two neural networks: a Generator and a Discriminator. The Generator attempts to produce realistic samples to fool the Discriminator, while the Discriminator learns to distinguish real data from synthetic outputs. The authors highlight the Wasserstein GAN (WGAN), which utilizes the "Earth Mover's Distance" from Optimal Transport to provide a more stable and informative training signal compared to classical binary-classifier GANs.
Empirical Insights and Discussion
The paper utilizes the "Moons" toy dataset and the MNIST handwritten digit dataset to illustrate the strengths and weaknesses of each approach.
- The Invertibility Trap: While Normalizing Flows are mathematically elegant, they are constrained by the requirement that the latent and data spaces have the same dimension ($q=n$). This is often impractical for high-dimensional data like images, which typically have a much lower intrinsic dimensionality.
- The VAE Blurring Effect: VAEs face an inherent tension between minimizing reconstruction error and regularizing the latent space. This often results in "blurry" generated images, as the model averages over potential variations to satisfy the Gaussian prior in the latent space.
- GAN Instability: GAN training is a complex saddle-point problem, making it prone to "mode collapse," where the generator produces a limited variety of outputs. However, when successful, GANs produce significantly sharper images than VAEs.
Conclusion and Future Directions
Optimal Transport emerges as the "connective tissue" of generative modeling, providing a principled framework for designing stable and efficient generators. Practical findings suggest that hybrid approaches, such as initializing GANs with VAE weights, can significantly improve convergence.
Future research must bridge the "Metric Gap" to find mathematical evaluations that better align with human perception. Additionally, moving beyond "black box" models by incorporating domain-specific constraints—such as the laws of physics or chemistry—directly into the generator architecture represents the next major frontier in deep generative modeling.
Summary updated