Introduction
This paper demonstrates that Optimal Transport (OT) maps can serve as powerful generative models directly in high-dimensional image space, moving beyond their traditional role as mere loss functions (as seen in WGANs). By introducing a novel min-max optimization algorithm for the Wasserstein-2 distance and a method to handle unequal dimensions, the authors achieve state-of-the-art results in image generation and unpaired image restoration tasks like denoising and inpainting.
What Problem Does This Paper Address?
In the world of generative modeling, Optimal Transport (OT) is a celebrity, but usually only in a supporting role. Most models, such as Wasserstein GANs (WGANs), use the OT cost as a loss function to tell the generator how far its fake distribution is from the target real distribution.
While some researchers have tried using the OT map itself as the generator, they typically restricted it to low-dimensional "latent spaces" (the compressed representations inside an autoencoder). This is because computing OT maps directly in the "ambient space"—the high-dimensional world of actual pixels—is notoriously difficult to scale and optimize. The authors tackle this head-on, aiming to prove that OT maps can be efficient, high-quality generators in pixel space without needing a latent bottleneck.
Methods
The authors focus on the Wasserstein-2 ($W_2$) distance, which uses a quadratic cost. Their approach rests on three pillars:
- Min-Max Optimization: They derive a saddle-point (min-max) objective from the dual formulation of the OT problem. Unlike WGANs, which optimize a discriminator to find a distance, this method optimizes a "potential" network ($\psi$) and a "generator" network ($G$) such that $G$ becomes the actual optimal transport map.
- Handling Unequal Dimensions: Generative modeling usually maps a low-dimensional noise vector to a high-dimensional image. To make OT work here, the authors introduce a Q-embedding.
They take the noise, apply a simple, non-trainable transformation $Q$ (like bicubic upscaling) to match the target image's dimensions, and then find the OT map between this "upscaled noise" and the real images.
- Theoretical Bounds: They provide a mathematical proof that links the "duality gap" (how well the min-max optimization solved the problem) to the actual error in the recovered transport map. This gives a theoretical guarantee that if the loss is low, the generator is truly approximating the optimal map.
Datasets
The model, dubbed OTM (Optimal Transport Modeling), was evaluated on several standard and high-resolution benchmarks:
- Standard Image Sets: MNIST ($32 \times 32$), CIFAR10 ($32 \times 32$), and CelebA ($64 \times 64$).
- High-Resolution Sets: CelebA ($128 \times 128$) and Anime faces ($128 \times 128$).
- Toy Datasets: 2D distributions like "Two Moons," "Circles," and "Swiss Roll" to verify the algorithm's ability to capture complex geometries.
- W2 Benchmark: A specific continuous Wasserstein-2 benchmark used to compare against other OT solvers.
Key Insights and Ideas
- Restoration is Naturally Optimal: The authors argue that tasks like denoising, colorization, and inpainting are fundamentally OT problems. In these tasks, you want the output (the clean image) to be as "close" as possible to the input (the degraded image). An OT map is mathematically designed to do exactly this—move mass with minimum effort.
- The "Q" Trick: The use of a fixed embedding $Q$ is a clever "hack" that allows the rigorous math of OT (which usually requires equal dimensions) to be applied to the practical reality of deep learning (where we map small vectors to big images).
- Direct Pixel Mapping: By avoiding the latent space of an autoencoder, the model avoids the "blurriness" or reconstruction errors often introduced by decoders, leading to sharper, more accurate results.
Key Results
- Superior Generation: On the CelebA ($64 \times 64$) dataset, OTM achieved a Frechet Inception Distance (FID) of 6.5, significantly outperforming WGAN-GP (30.0) and even specialized OT models like AE-OT (28.6).
- State-of-the-Art Restoration: In unpaired image restoration, OTM crushed the baselines. For denoising CelebA images, OTM reached an FID of 5.92, while the standard WGAN-GP baseline lagged far behind at 25.49.
- Efficiency: Despite the more complex mathematical foundation, the training complexity of OTM is comparable to that of popular GAN variants, making it a practical choice for researchers.
Limitations and Future Work
- Existence Assumptions: The theory assumes a unique OT map exists between the distributions. While this holds for most continuous distributions, real-world data can be messy.
- Embedding Sensitivity: While the authors showed that even "naive" choices for the embedding $Q$ (like bicubic upscaling) work well, the performance of the model likely depends on this choice. Future work could explore learning the optimal embedding alongside the map.
- Regularization Bias: The authors noted that standard "gradient penalties" used in GANs might introduce bias into the OT map. They proposed an alternative "gradient optimality" penalty, but more research is needed to find the perfect stabilizer for these min-max games.
Summary updated