Overcoming Spurious Solutions in Semi-Dual Neural Optimal Transport: A Smoothing Approach for Learning the Optimal Transport Plan

Jaemoo Choi, Jaewoong Choi, Dohyun Kwon

Optimal Transport (OT) is a powerful mathematical framework for finding the most efficient way to transform one probability distribution into another. In machine learning, it has become a cornerstone technique for unpaired image-to-image translation, such as converting photos of horses into zebras.

A widely adopted approach for this is Semi-dual Neural OT (SNOT), which uses an adversarial (minimax) objective to learn a transport map. However, practitioners frequently encounter a frustrating phenomenon: the neural network can perfectly optimize the objective but still produce a "spurious" map. These spurious solutions might collapse all inputs to a single point or fail entirely to cover the target distribution.

This paper investigates the theoretical root of these failures and introduces a novel algorithmic fix called the Optimal Transport Plan (OTP) to guarantee convergence to the true transport plan.

The Theoretical Gap: The "Thickness" Requirement

The authors identify that the failure of Neural OT is not necessarily a flaw in neural network architectures, but rather a fundamental property of the data's geometry.

Through theoretical analysis, they prove that spurious solutions are avoided if the source distribution does not place mass on sets with a Hausdorff dimension of $d-1$ or less. In simpler terms, if the data lives on a "thin" low-dimensional manifold—which is typical for high-dimensional data like images—the SNOT objective becomes ambiguous. The math allows for infinite "correct" answers that are practically useless. If the distribution is "thick" enough to fill the space, the solution becomes unique and correct.

The Algorithmic Fix: Smoothing and OTP

Because real-world data naturally violates this uniqueness condition, the authors propose OTP, a method that bridges the theoretical gap using noise smoothing and stochasticity.

  • Noise Injection: OTP adds Gaussian noise to the source distribution. This effectively "thickens" the data manifold, satisfying the theoretical conditions required for a unique Kantorovich potential.
  • Annealing: Similar to diffusion models, OTP employs a noise schedule that gradually decreases the noise level ($\epsilon$) as training progresses.
  • Learning the Plan: Standard methods attempt to learn a deterministic function (a map). OTP instead learns a transport plan—a stochastic mapping. This allows the model to naturally handle ambiguity and one-to-many mappings, where a single input could reasonably map to multiple valid outputs.

Experimental Validation and Key Results

The authors evaluated OTP on a mix of synthetic datasets designed to trigger spurious solutions, as well as real-world image translation benchmarks.

  • Solving Failure Cases: In synthetic 2D and high-dimensional tests (up to $d=256$), standard OT models often failed to cover the target distribution or produced zero-mappings. OTP successfully recovered the ground-truth transport plans and maintained low target distribution errors where existing SNOT models saw their errors explode.
  • Mastering One-to-Many Tasks: In the MNIST-to-CMNIST colorization task (mapping a grayscale digit to red, green, or blue), standard stochastic OT models suffered from severe mode collapse, yielding an FID of 62.4. By learning a true stochastic plan, OTP correctly distributed the mappings across all colors, achieving an exceptional FID of 3.18.
  • State-of-the-Art Image Translation: On standard benchmarks like Male-to-Female translation (CelebA 128x128), OTP achieved an FID of 6.38, significantly outperforming existing models like OTM (7.55) and DIOTM (7.40).

Limitations and Future Work

While OTP presents a major step forward for Neural OT, the authors note a few areas for future exploration. First, their convergence proof technically guarantees that only a subsequence of the learned plans converges to the optimal one, leaving room for a stronger theoretical guarantee. Second, the Hausdorff dimension condition is sufficient, but there may be broader, less restrictive conditions that also prevent spurious solutions. Finally, because OTP relies on a noise schedule borrowed from diffusion literature, optimizing this schedule specifically for OT tasks remains an exciting avenue for future research.

Summary updated

BibTeX
@inproceedings{choi2025overcoming,
  author = {Jaemoo Choi and Jaewoong Choi and Dohyun Kwon},
  title = {{Overcoming Spurious Solutions in Semi-Dual Neural Optimal Transport: A Smoothing Approach for Learning the Optimal Transport Plan}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=apKzwImoXt},
}
Figure