Minimax Optimization without Spurious Solutions in Optimal Transport Learning

Yejun Kim, Kyungjae Lee, Donghwan KimNeurIPS 2026

TL;DR

When training neural networks to morph one data distribution into another at minimal cost—a setup known as Optimal Transport (OT)—models frequently fall into "spurious" traps that mathematically optimize the loss function while completely failing at the actual task. Instead of patching the objective with fussy regularizers, the authors prove these fake solutions aren't true stationary points—meaning you can naturally bypass them simply by dropping restrictive network constraints and switching to a smarter minimax optimizer.

What Problem Does This Paper Address?

Imagine trying to transform a pile of sand (your source distribution, $\mu$) into a sandcastle (your target distribution, $\nu$) while moving each grain the shortest total distance possible. That is Optimal Transport (OT). In modern machine learning, we train neural networks to learn this "transport map" $T$—turning noisy pixels into sharp images, or handbags into shoes—by framing it as a minimax game against a "critic" or potential network $V$.

The most popular setup is the Semi-Dual OT formulation ($\max_V \min_T \mathcal{L}(T,V)$). Here’s the catch: when your source data sits on a lower-dimensional manifold (which real-world data almost always does), this game develops spurious global solutions. A network might collapse every single input to one point (say, $(0,0)$), completely failing to recreate the target distribution, yet still achieve the mathematically optimal game score.

Until now, researchers fought this by altering the objective—adding artificial regularizers or carefully injecting and annealing Gaussian noise. The authors ask a cleaner question: Can we recover the exact OT map using pure minimax optimization, without tampering with the objective?

Methods

Instead of modifying the loss function, the authors rethink the optimization dynamics and problem structure:

  1. Ditching the $c$-concavity constraint: Practitioners often force the potential network $V$ to have a special geometric shape called "$c$-concavity" (typically using Input Convex Neural Networks) to smooth out the loss landscape. The authors strip this away, leaving the networks unconstrained.
  2. Adopting Two-Timescale Extragradient (TTS-EG): Standard minimax optimizers like Gradient Descent Max-oracle (GDmax—where you update the inner player many times per outer step) oscillate wildly near spurious solutions. Extragradient (EG) adds a "lookahead" predictive step to stop spinning in circles, and TTS-EG goes further by updating the outer player much more slowly than the inner player. In treacherous nonconvex-nonconcave landscapes, TTS-EG reliably escapes saddle-like traps and converges to true stationary points.
  3. Reviving Lagrangian-based OT: Simply flipping the $\max$ and $\min$ operators ($\min_T \max_V \mathcal{L}(T,V)$) yields the Lagrangian formulation. Previously ignored because its inner maximization blows up to infinity under GDmax, it becomes completely trainable under TTS-EG, which doesn't rely on solving the inner maximization to completion.
Figure 1: Comparison of GDmax (left) and EG (right) on Example 3.1 training stochastic neural network. GDmax does not converge, whereas EG converges to the non-spurious global solution.

Datasets

The authors test their insights on benchmarks specifically chosen because their geometry triggers spurious solutions:

  • 2D Synthetic Benchmarks: Four toy distributions from recent literature (Perpendicular segments, Horizontal segments, One-to-Many, and Grid).
  • Colored MNIST: Translating red even digits to blue odd digits (whose color channels make their supports nearly orthogonal, mimicking the perpendicular toy trap).
  • Handbags-to-Shoes ($3 \times 64 \times 64$): Translating red handbags (from Amazon Handbags) into blue shoes (from UT Zappos50K).

Key Insights and Ideas

  • Spurious solutions aren't stationary: In simple minimization, a global minimum always has a zero gradient. In minimax games, a global maximin solution doesn't have to be a stationary point! The authors prove that in unconstrained Semi-Dual OT, a global solution is a valid OT map if and only if its gradient with respect to $V$ vanishes. Models only get stuck in spurious solutions because standard optimizers like GDmax fail to converge to stationary points and instead hover around non-stationary traps.
  • Stabilizing constraints backfire: Enforcing $c$-concavity makes the optimization convex-concave and stable, but it turns spurious solutions into valid stationary points of the constrained space. In trying to help the optimizer converge, you accidentally lock in the wrong answer (like outputting the blurry average of a stochastic map).
  • Flipping $\min$ and $\max$ erases the traps: While Semi-Dual OT nails down the optimal potential $V^\star$ and leaves the map $T$ under-determined, the Lagrangian formulation ($\min_T \max_V$) exhibits a neat symmetry: it leaves $V$ under-determined while provably forcing every global solution to be an exact OT map $T^\star$.

Key Results

Across all tasks, the authors measure Cost Error ($D_{\text{cost}}$, how close the transport distance is to optimal) and Target Error ($D_{\text{target}}$, how well the generated outputs match the target distribution).

  • 2D Toy Tasks: On the Perpendicular task, GDmax fails badly ($D_{\text{target}} = 0.5634$), collapsing outputs to a point. TTS-EG nails it without any noise smoothing, hitting $D_{\text{target}} = 0.0003$ (Semi-Dual) and $0.0005$ (Lagrangian), outperforming even carefully tuned GDmax + Smoothing ($0.0114$).
  • Image Translation: On Red-Even to Blue-Odd MNIST, GDmax and standard EG suffer mode collapse (outputting mostly a single digit, $D_{\text{target}} \approx 0.125$), whereas Lagrangian TTS-EG cleanly translates diverse digits ($D_{\text{cost}} = 0.0019, D_{\text{target}} = 0.0400$). On $64 \times 64$ Handbags-to-Shoes, TTS-EG similarly avoids collapse, achieving the best overall combined error ($D_{\text{cost}} = 0.0067, D_{\text{target}} = 0.0495$ for Lagrangian vs. $0.1209$ target error for GDmax).

Limitations and Future Work

The mathematical proofs live in infinite-dimensional function spaces. In practice, however, we optimize finite neural network weights, which can introduce their own messy non-optimal stationary points into the parameter landscape. Extending these stationarity guarantees directly to neural network parameterizations—as well as establishing formal sample complexity and generalization bounds for the recovered maps—remains open territory for future work.

Summary updated

Abstract

Using neural networks to learn optimal transport (OT) maps via minimax optimization has gained increasing interest in generative modeling. However, the widely used semi-dual OT maximin formulation is known to suffer from spurious global solutions that do not correspond to valid transport maps, often addressed by regularizing the objective function. We provide an alternative explanation by showing that these spurious solutions are not stationary points of the associated loss, implying that their appearance in practice stems from the optimizer's failure to converge to stationary points in nonconvex-nonconcave settings. However, when the $c$-concavity constraints are imposed on the potential, commonly to stabilize training, we show that these spurious solutions become stationary. Based on these observations, we propose solving the semi-dual OT problem without $c$-concavity constraints, using optimizers that can reliably converge to stationary points corresponding to OT maps in nonconvex-nonconcave settings, such as a two-timescale extragradient (TTS-EG) method. At the formulation level, we further show that a Lagrangian-based OT minimax formulation provably eliminates spurious global solutions. Our empirical results demonstrate that TTS-EG reliably recovers OT maps under both semi-dual and Lagrangian-based OT formulations without any regularization.
BibTeX
@inproceedings{kim2026minimax,
  author = {Yejun Kim and Kyungjae Lee and Donghwan Kim},
  title = {{Minimax Optimization without Spurious Solutions in Optimal Transport Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=nixrZbKIFM},
}
Figure