Ae-OT: a New Generative Model based on Extended Semi-discrete Optimal transport

Dongsheng An, Yang Guo, Na Lei, Zhongxuan Luo, Shing-Tung Yau, Xianfeng GuICLR 2020

Generative adversarial networks (GANs) and Variational Autoencoders (VAEs) have revolutionized the generation of visually realistic images. However, these standard models frequently suffer from two persistent headaches: mode collapse (where the model only generates a limited subset of the data distribution) and mode mixture (where the model generates unrealistic, blurry "ghost" samples that blend different categories).

Presented at ICLR 2020, AE-OT introduces a novel generative model that combines the manifold-learning power of Autoencoders (AE) with the mathematical rigor of Optimal Transport (OT). By doing so, the authors provide both a theoretical explanation for why standard models fail and a robust algorithmic fix.

The Intrinsic Mathematical Conflict

Why do GANs and VAEs struggle with mode collapse and mixture? The authors argue these are not merely training bugs, but symptoms of an intrinsic mathematical conflict.

According to Figalli’s regularity theory, mapping a simple, continuous noise distribution to a complex, multi-modal data distribution (like distinct classes of images) often requires a discontinuous function. Deep Neural Networks (DNNs), however, are inherently continuous. When a continuous network attempts to represent a discontinuous "jump" between distinct data modes, it faces a dilemma: it either skips the jump entirely (resulting in mode collapse) or attempts to bridge it with a smooth slope, generating unrealistic, mixed samples in the void between modes (mode mixture).

Illustration of mapping continuous noise to discontinuous data modes. The middle panels show how continuous mappings create "mode mixture" (red crosses), while the right panels demonstrate how detecting singular sets allows for clean separation.

The AE-OT Approach

To bypass this continuity conflict, the AE-OT model separates the generative process into two distinct stages:

  1. Manifold Embedding (The Autoencoder): First, an autoencoder maps high-dimensional images into a lower-dimensional latent space. This step handles the complex geometry of the data, "unfolding" it into a more manageable format.
  2. Distribution Transport (Semi-discrete Optimal Transport): Instead of using a standard neural network to map white noise to this latent space, AE-OT employs semi-discrete Optimal Transport.

Crucially, the authors compute the Brenier potential—a convex function whose gradient defines the optimal transport map. While the transport map itself (the gradient) is discontinuous, the Brenier potential remains continuous. By modeling this continuous potential using convex optimization, the algorithm can precisely locate the "singular sets." These are the mathematical "cliffs" where discontinuities occur.

Once these singular sets are identified, the model explicitly avoids generating samples near them. This ensures the decoder only receives latent codes corresponding to real, dense data clusters, effectively eliminating mode mixture.

Key Results and Performance

The authors evaluated AE-OT across a variety of benchmarks, from synthetic 2D datasets to complex image datasets like CelebA and CIFAR-10, yielding impressive results:

  • Perfect Mode Capture: On the Stacked MNIST dataset (designed to have 1,000 distinct modes), AE-OT successfully captured all 1,000 modes. In contrast, standard GANs often captured fewer than 100.
  • Superior Quality and Diversity: On synthetic 2D-grids, AE-OT achieved a perfect mode score and a significantly lower Reverse KL divergence (0.007) compared to GAN variants (0.01 to 0.70). In a "collision test" on CelebA, AE-OT showed zero identical generated images in a batch of 1,024, outperforming PacGAN2 and DCGAN.
  • Competitive Image Quality: AE-OT achieved state-of-the-art or comparable Fréchet Inception Distance (FID) scores across MNIST, Fashion-MNIST, and CIFAR-10, proving that its enhanced diversity does not come at the cost of image fidelity.

Limitations and Future Directions

While highly effective, AE-OT does have limitations. The success of the Optimal Transport step relies heavily on the quality of the latent space produced by the Autoencoder; a poorly "unfolded" manifold complicates the OT mapping. Additionally, the singular set detection relies on an angle threshold parameter that may require dataset-specific tuning. Finally, the convex optimization required for OT introduces computational overhead compared to the end-to-end training of standard GANs, though the authors mitigate this with GPU acceleration.

Ultimately, AE-OT represents a significant step toward more principled generative modeling. By replacing the unstable adversarial "cat-and-mouse" game of GANs with the stable convergence of convex optimization, it offers a mathematically sound path to diverse, high-quality image generation.

Summary updated

BibTeX
@inproceedings{an2020ae,
  author = {Dongsheng An and Yang Guo and Na Lei and Zhongxuan Luo and Shing-Tung Yau and Xianfeng Gu},
  title = {{Ae-OT: a New Generative Model based on Extended Semi-discrete Optimal transport}},
  booktitle = {International Conference on Learning Representations},
  year = {2020},
  url = {https://openreview.net/forum?id=SfQb2pWvAaM},
}
Figure