Abstract
Generative Adversarial Networks (GANs) are renowned for producing high-fidelity images but suffer from training instabilities like mode collapse. These issues often stem from a topological mismatch between simple latent priors (e.g., Gaussian noise) and complex, multi-modal data manifolds. AE-OT-GAN addresses this by integrating an Autoencoder (AE) with Semi-Discrete Optimal Transport (SDOT) to pre-shape the latent distribution. By training the GAN on a data-specific latent distribution, the model ensures a continuous mapping to the image space, resulting in faster convergence and superior image quality.
The Discontinuity Problem in Generative Modeling
Standard GANs attempt to map a unimodal distribution to a complex, multi-modal data manifold. When the target data manifold contains disjoint regions or "holes," the required mapping is mathematically discontinuous. Since neural networks are continuous functions, forcing them to learn such mappings leads to instability, mode collapse, or "mode mixture" where outputs appear as blurry averages.
As illustrated in Figure 1, the mapping from a simple sphere in the latent space to disjoint modes in the image space requires the network to "jump" across gaps. AE-OT-GAN solves this by ensuring the latent distribution itself reflects the topology of the data, effectively "pre-shaping" the noise so the generator no longer has to bridge these gaps.
The AE-OT-GAN Framework
The proposed pipeline consists of three main stages designed to provide both stability and sharpness:
- Autoencoder Embedding: An autoencoder is trained to compress the high-dimensional image manifold into a lower-dimensional latent space, capturing essential features while reducing dimensionality.
- Optimal Transport Mapping: Semi-Discrete Optimal Transport (SDOT) is used to map a uniform distribution to the empirical distribution of the latent codes. This creates a continuous latent distribution that matches the actual data topology.
- GAN Refinement: The generator is initialized with the pre-trained AE decoder (a "warm start"). It samples from the OT-derived latent distribution rather than random noise.
The training utilizes a hybrid loss function comprising adversarial loss, pixel-wise content loss, and feature loss from the AE's encoder. This setup allows the GAN to focus on refining details rather than discovering the manifold structure from scratch.
Key Results and Performance
AE-OT-GAN demonstrates significant improvements in both quality and efficiency across several benchmarks including MNIST, CIFAR10, and CelebA:
- Image Quality: The model achieved an FID score of 7.8 on CelebA, significantly outperforming WGAN-GP (18.4) and SNGAN (21.7). On high-resolution CelebA-HQ (256x256), it reached an FID of 7.2, surpassing PGGAN (14.7).
- Convergence Speed: The model reaches stability in approximately 500 epochs, which is estimated to be over 100 times faster than traditional GAN training regimes.
- Stability: By using a hybrid batching strategy—mixing reconstructed and generated images—the discriminator maintains a stable gradient, preventing the vanishing gradient issues common in standard GANs.
Conclusion
AE-OT-GAN effectively bridges the gap between the theoretical stability of Optimal Transport and the empirical success of GANs. By acknowledging and addressing the topological constraints of generative mapping, the framework provides a robust path toward high-fidelity, stable image synthesis. Future work may involve scaling the SDOT computation to even higher-dimensional latent spaces and applying the framework to non-image data modalities where manifold discontinuity is a known issue.
Summary updated