Abstract
Generative modeling typically involves finding a mapping that transforms a simple source distribution into a complex target distribution. While Generative Adversarial Networks (GANs) are a popular choice, their reliance on minimax optimization often leads to training instability. We present Wasserstein-2 Generative Networks (W2GN), an end-to-end non-minimax algorithm for training generative models based on the Wasserstein-2 ($W_2$) distance. By utilizing Input Convex Neural Networks (ICNNs) and a cycle-consistency regularization, W2GN transforms the generative task into a stable minimization problem. Our method achieves up to 10x faster convergence than previous minimax-based optimal transport methods and scales effectively to high-dimensional spaces, demonstrating strong performance on synthetic benchmarks and image generation tasks.
Introduction
The core challenge in generative modeling is learning a mapping $g$ that transforms a source distribution $\mathbb{P}$ (e.g., Gaussian noise) into a target distribution $\mathbb{Q}$ (e.g., natural images). Standard approaches like GANs utilize a minimax game between a generator and a discriminator, a process that is notoriously difficult to stabilize. Optimal Transport (OT) provides a more structured alternative by finding the "cheapest" way to move mass between distributions. Specifically, the Wasserstein-2 ($W_2$) distance is attractive because its optimal mapping is unique and cyclically monotone. However, existing methods to compute this mapping in high dimensions often introduce bias or rely on unstable minimax formulations.
Methodology
W2GN addresses these challenges through two primary innovations:
- Input Convex Neural Networks (ICNNs): Theory suggests that the optimal $W_2$ mapping is the gradient of a convex function. W2GN employs ICNNs, which are architecturally constrained to be convex with respect to their inputs, to represent these transport potentials.
- Cycle-Consistency Regularization: Rather than solving a minimax problem to find conjugate potentials, W2GN trains two ICNNs simultaneously—one for the forward mapping and one for the inverse. A regularization term ensures these mappings are inverses of each other ($g \circ g^{-1} \approx id$), turning the training into a stable minimization problem.
Experimental Results
The authors evaluated W2GN across diverse tasks, including high-dimensional synthetic Gaussians, image generation, and domain adaptation.
High-Dimensional Scaling and Speed
In 4,096-dimensional Gaussian experiments, W2GN maintained a low error (unexplained variance < 2%), while traditional non-neural OT baselines failed. Crucially, W2GN converged up to 10 times faster than previous minimax-based OT algorithms, such as those proposed by Makkuva et al.
Generative Quality
On the CelebA dataset, W2GN was applied to latent space transport, mapping noise to the latent space of a pre-trained autoencoder. This approach improved the Frechet Inception Distance (FID) from 31.81 to 17.21, approaching the quality of specialized Wasserstein GANs without the need for adversarial training.
Discussion and Limitations
W2GN provides a stable and fast framework for high-dimensional optimal transport. However, some limitations remain. Standard OT treats pixels independently, which can struggle with complex structural changes in images (e.g., seasonal changes). Additionally, the strict monotonicity constraint of $W_2$ mappings may not capture all artistic styles. Future research may focus on applying OT in perceptual feature spaces to better handle complex image structures.
Summary updated