Abstract
Wasserstein Gradient Flow (WGF) provides a mathematically rigorous framework for optimizing probability distributions by following the steepest descent of a functional within the Wasserstein space. While the Jordan-Kinderlehrer-Otto (JKO) scheme is the standard method for discretizing this flow, existing implementations suffer from a quadratic training complexity $O(K^2)$ relative to the number of time steps $K$. This bottleneck has historically restricted WGF models to low-dimensional tasks. In this paper, we introduce Semi-dual JKO (S-JKO), a scalable generative model that reduces training complexity to $O(K)$. By establishing a theoretical equivalence between the JKO step and Unbalanced Optimal Transport (UOT) and employing a novel reparametrization trick, S-JKO achieves state-of-the-art performance, including an FID of 2.62 on CIFAR-10 and 5.46 on CelebA-HQ-256.
Introduction
Generative modeling can be viewed as the process of transforming a simple source distribution into a complex target data distribution. Wasserstein Gradient Flow (WGF) offers an elegant approach to this transformation, describing the continuous evolution of a density toward the minimum of a functional, such as the Kullback-Leibler (KL) divergence.
To implement WGF numerically, the JKO scheme discretizes the continuous flow into a sequence of proximal optimization steps. However, a significant scalability issue arises: to train the $k$-th step, one must sample from the distribution produced at step $k-1$. In previous architectures, this required a recursive pass through all $k-1$ previously trained networks, leading to $O(K^2)$ complexity. Consequently, WGF models have struggled to compete with Diffusion Models or GANs on high-resolution image synthesis. S-JKO addresses this limitation directly, enabling WGF to scale to high-dimensional datasets for the first time.
Methodology
The UOT Connection and Semi-dual Objective
The first core innovation of S-JKO is the derivation of a semi-dual form for the JKO step. The authors prove that a single JKO step is mathematically equivalent to a "source-fixed" version of Unbalanced Optimal Transport (UOT). This connection allows the optimization problem to be reformulated into a semi-dual objective—an adversarial-style loss function involving a discriminator (potential function) and a generator (transport map) trained in tandem. This formulation provides a more stable and computationally efficient path for updating the distribution at each discrete step.
The Reparametrization Trick
To solve the $O(K^2)$ complexity problem, S-JKO introduces a reparametrization trick. Instead of training a separate, independent neural network for each incremental step $\Delta T_k$, the model trains a network $T_k$ that represents the cumulative transport from the initial distribution to the state at step $k$.
Crucially, $T_k$ is initialized with the weights of the previous step's network, $T_{k-1}$. The model then only needs to learn the residual "delta" required for the current time step. This approach ensures that sampling from the current distribution requires only a single network inference rather than a chain of $k$ inferences. This collapses the training complexity from quadratic to linear ($O(K)$), drastically reducing the computational overhead.
Experimental Results
Performance and Scalability
S-JKO was evaluated on standard benchmarks including CIFAR-10 ($32 \times 32$) and high-resolution CelebA-HQ ($256 \times 256$).
- CIFAR-10: S-JKO achieved an FID score of 2.62, significantly outperforming previous WGF-based models like NSGF (FID 5.55) and reaching parity with top-tier GANs.
- CelebA-HQ: The model achieved an FID of 5.46, representing a landmark result as the first JKO-based model to successfully generate high-quality $256 \times 256$ images.
- Efficiency: The linear complexity resulted in massive speedups. Using a "Small" backbone, S-JKO completed training in approximately 6 hours on a single GPU. In contrast, previous JKO methods required 30–50 hours to produce inferior results (often with FID scores exceeding 20).
Mode Coverage and Robustness
Visualizations on synthetic 2D datasets (e.g., 25-Gaussian Mixture) demonstrated that S-JKO effectively mitigates the "clustering" issues common in one-step Optimal Transport models. By breaking the transport into multiple JKO steps, the model can navigate complex density landscapes to reach distant modes more reliably. Ablation studies further confirmed that the model is robust to different functional choices (KL vs. Jensen-Shannon divergence) and remains stable across varying numbers of steps $K$.
Discussion and Conclusion
S-JKO represents a significant leap forward for Wasserstein Gradient Flow in generative modeling. By bridging the gap between JKO schemes and Unbalanced Optimal Transport, the authors have removed the primary computational barrier to scaling these models.
Despite these gains, some challenges remain. The model is sensitive to discretization error; if the step size $h$ is poorly tuned, the flow may either fail to reach the target distribution or suffer from numerical instability. Additionally, while $O(K)$ is a major improvement, the phase-based training (training step $k$ after $k-1$) still lacks the seamless continuity of some diffusion-based approaches. Future research into continuous training regimes and more sophisticated error-correction for the JKO discretization could further solidify WGF as a primary contender in the generative modeling landscape.
Summary updated