Abstract
Optimal transport (OT) has recently found widespread interest in machine learning, allowing for the definition of novel distances between probability measures that have shown promise in several applications. In this work, we discuss how to computationally approach general non-linear OT problems within the framework of Riemannian manifold optimization. The basis of this is the manifold of doubly stochastic matrices (and their generalization). Even though the manifold geometry is not new, its usefulness for solving general non-linear OT problems has not been widely popularized. We specifically discuss optimization-related ingredients that allow modeling the OT problem on smooth Riemannian manifolds by exploiting the geometry of the search space. We introduce the Manifold optimization-based Optimal Transport (MOT) framework, providing a unified approach for complex OT variants.
Introduction
Optimal Transport is a powerful tool for defining distances between probability distributions. While the standard formulation is a linear program, many modern machine learning tasks—such as matching datasets with different feature sets or robust domain adaptation—require non-linear OT formulations.
The current standard for solving these non-linear problems is the Frank-Wolfe (FW) algorithm. However, FW typically requires entropic regularization to make its sub-problems solvable via the efficient Sinkhorn algorithm. This introduces a trade-off: practitioners must tune a regularization hyperparameter ($\epsilon$), which often results in "blurry" (strictly positive) transport plans. This paper proposes a framework that exploits the natural geometry of the search space rather than relying on regularization heuristics.
The Riemannian Framework for OT
The core innovation of this work is viewing the set of all possible transport plans (joint distributions with fixed marginals) as a Riemannian manifold.
The Search Space and Geometry
By focusing on the interior of the set of doubly stochastic matrices (where all entries are strictly positive), the constrained search space is transformed into a smooth Riemannian submanifold. This manifold is endowed with the Fisher information metric. A key property of this metric is that it "blows up" near the boundaries (where entries approach zero), naturally keeping the optimization process within the valid, positive region without the need for explicit boundary constraints.
Sinkhorn as a Retraction
In a novel twist, the Sinkhorn algorithm is utilized not to solve a regularized objective, but as a retraction. In manifold optimization, a retraction maps a step taken in a flat tangent space back onto the curved surface of the manifold. This allows the framework to leverage the computational efficiency of Sinkhorn without being forced to add entropic penalties to the objective function.
Higher-Order Optimization
With a well-defined manifold structure, explicit formulas for the Riemannian gradient and Hessian can be derived. This enables the use of sophisticated second-order solvers like Trust Regions or Riemannian Conjugate Gradient, which can offer superior convergence characteristics compared to simple first-order methods.
Experimental Evaluation
The MOT framework was evaluated on standard domain adaptation benchmarks, specifically using MNIST as the source domain and USPS as the target domain. The experiments focused on two complex non-linear OT variants:
- Co-optimal Transport (COOT): Simultaneously learns to match both samples and features.
- Gromov-Wasserstein (GW): Aligns datasets by comparing internal distances.
Performance in Co-optimal Transport
As illustrated in the convergence plots, the MOT algorithm demonstrates highly competitive performance. In COOT problems, MOT (represented by the red line) shows a quality of convergence comparable to the Alternate Minimization (AM) baseline and frequently outperforms the standard Frank-Wolfe approach in reaching a lower cost quickly.
Performance in Gromov-Wasserstein
In GW tasks, MOT demonstrates smooth and reliable convergence. While specialized libraries like POT-GW may show faster initial progress in some iterations, MOT reaches a similar final cost while maintaining a more general framework applicable to a wider variety of non-linear objectives.
Conclusion
The MOT framework demonstrates that the geometry of the doubly stochastic manifold is a powerful tool for solving non-linear optimal transport problems. By replacing entropic regularization with geometric principles—specifically the Fisher metric and Sinkhorn-based retractions—MOT provides a principled and universal framework for OT. While the current approach results in dense transport plans due to the nature of the Fisher metric, its ability to handle complex objectives like GW and COOT without hyperparameter tuning for regularization marks a significant step forward in computational OT.
Summary updated