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

Jaemoo Choi, Jaewoong Choi, Dohyun Kwon · OpenReview

Abstract

Semi-dual Neural Optimal Transport (SNOT) is a widely used framework for learning transport maps between distributions. However, it frequently converges to "spurious solutions" that fail to accurately map the source to the target, particularly when the source distribution is concentrated on low-dimensional manifolds. This paper identifies a sufficient condition—the Hausdorff dimension of the source distribution—under which SNOT is guaranteed to recover the true transport map. To address cases where this condition is naturally violated, we propose Optimal Transport Plan (OTP). OTP utilizes a noise-smoothing and annealing strategy to "thicken" the source distribution, theoretically eliminating fake solutions. Our experiments demonstrate that OTP successfully recovers optimal transport plans in synthetic failure cases and achieves state-of-the-art results in image-to-image translation tasks, including one-to-many mappings.

The Challenge of Spurious Solutions in Neural OT

Optimal Transport (OT) seeks the most efficient way to transform one probability distribution into another. In machine learning, Neural OT is often implemented via the Semi-dual Neural OT (SNOT) framework, which employs a minimax objective similar to Generative Adversarial Networks (GANs).

Despite its popularity, SNOT suffers from a critical flaw: the mathematical objective can be satisfied by "fake" mappings. These spurious solutions occur when the source distribution $\mu$ is "thin" (e.g., data lying on a low-dimensional manifold in high-dimensional space). In such scenarios, the model may produce a map that minimizes cost but fails to cover the target distribution $\nu$ correctly, leading to issues like mode collapse or inaccurate translations.

Theoretical Foundation: The Hausdorff Condition

We establish a theoretical "safety zone" for SNOT. We prove that if the source distribution $\mu$ does not place mass on sets with a Hausdorff dimension of $d-1$ or less (where $d$ is the ambient dimension), the SNOT framework is guaranteed to recover the unique, true OT map. Essentially, if the distribution is sufficiently "thick," the ambiguity that leads to spurious solutions vanishes.

The OTP Framework: Smoothing and Annealing

Since real-world datasets (like images) often reside on low-dimensional manifolds, the Hausdorff condition is frequently violated. To overcome this, we introduce the Optimal Transport Plan (OTP) method:

  1. Distribution Smoothing: We add Gaussian noise to the source distribution. This artificial "thickening" ensures the Hausdorff condition is met, thereby regularizing the geometry of the problem and ensuring the uniqueness of the transport map.
  2. Noise Annealing: To solve the original (non-noisy) problem, we implement a noise-decreasing schedule. By starting with a high noise level $\epsilon$ and gradually reducing it toward zero, the model "locks onto" the correct transport plan early and refines it as the noise vanishes.
  3. Stochastic Planning: Unlike standard SNOT, which learns a deterministic map, OTP can learn a stochastic transport plan. This is vital for "one-to-many" tasks, such as colorizing a grayscale image, where multiple valid target outputs exist for a single source input.

Experimental Evaluation

We evaluated OTP against standard Optimal Transport Map (OTM) models across synthetic and high-dimensional benchmarks.

Comparison of standard SNOT (top row) and the proposed OTP (bottom row) across synthetic benchmarks. OTP successfully recovers the ground truth transport plan (red dots matching target) where standard SNOT fails to cover the target distribution.

Synthetic Benchmarks

In synthetic cases designed to trigger SNOT failures—such as the "Perpendicular," "Parallel," and "Grid" datasets—standard models failed to cover the target distribution as dimensionality increased. In contrast, OTP recovered the ground truth perfectly across all scenarios, demonstrating its robustness to the geometry of the source distribution.

Image-to-Image Translation

On real-world tasks, OTP outperformed recent baselines:

  • Male-to-Female (CelebA 128x128): OTP achieved an FID score of 6.38, surpassing OTM (7.55) and DIOTM (7.40).
  • MNIST-to-CMNIST: In this one-to-many task, while standard models collapsed to a single color, OTP successfully learned to map grayscale digits to various color variations simultaneously.

Conclusion

The failure of Neural OT is often a geometric consequence of "thin" source distributions rather than an architectural or optimization failure. By introducing noise-smoothing and annealing, the OTP framework provides a theoretically grounded method to eliminate spurious solutions. This approach not only stabilizes training in high dimensions but also enables the recovery of complex, stochastic transport plans that deterministic models cannot capture.

Summary updated

BibTeX
@inproceedings{choi2025overcoming,
  author = {Jaemoo Choi and Jaewoong Choi and Dohyun Kwon},
  title = {{Overcoming Fake 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