Abstract
Multimarginal Optimal Transport (MMOT) is a powerful framework for comparing multiple probability distributions, with applications spanning density functional theory, fluid dynamics, and machine learning. However, MMOT suffers from the "curse of dimensionality," making exact solutions computationally prohibitive. While entropy-regularized methods like the Sinkhorn algorithm are popular, they often introduce blurring artifacts and numerical instability. This paper introduces a novel algorithm to solve MMOT problems with pairwise costs exactly. By representing the cost structure as a graph and "unrolling" cycles into equivalent tree structures, we develop a generalized gradient-ascent method on the dual formulation. Our approach achieves high-resolution, sharp results and demonstrates significant improvements in convergence speed through a dynamic root-cycling strategy.
Introduction
Optimal Transport (OT) provides a robust mathematical framework for measuring distances between probability distributions. While the two-marginal case is well-studied, Multimarginal Optimal Transport (MMOT) extends this to $m$ distributions. Despite its theoretical utility, MMOT is computationally demanding; the size of the coupling tensor grows exponentially with the number of marginals.
To manage this complexity, researchers frequently turn to entropy regularization. While computationally efficient, this regularization acts as a low-pass filter, resulting in "blurry" couplings and barycenters. Furthermore, as the regularization parameter approaches zero to achieve sharper results, the algorithms become numerically unstable. This paper addresses these limitations by proposing a regularization-free numerical method specifically designed for MMOT with pairwise cost functions.
Methodology
Graphical Representation and Tree Unrolling
The authors focus on MMOT where the total cost is the sum of pairwise interactions between marginals. This structure can be naturally represented as a graph where nodes represent marginal distributions and edges represent cost functions.
A key theoretical contribution of this work is the proof that any pairwise MMOT problem containing cycles (such as those found in Wasserstein barycenter problems) can be transformed into an equivalent problem on a tree structure. This is achieved by strategically duplicating specific nodes to "unroll" the cycles. Solving the problem on a tree is significantly more efficient because it allows for recursive information propagation.
Generalized Back-and-Forth Method (BFM)
Building on the "back-and-forth" method originally designed for two-marginal OT, the authors propose a gradient-based algorithm for tree-structured MMOT. The method operates on the dual formulation of the problem, utilizing "net potentials" to propagate constraints from the leaves of the tree to the root.
To ensure computational efficiency, the algorithm leverages fast Legendre transforms for computing $c$-transforms on uniform grids. This allows the method to scale to high-resolution images that would be otherwise inaccessible to exact solvers.
Root Node Cycling
A critical innovation in the algorithm's implementation is Root Node Cycling. The authors observed that maintaining a fixed root node during optimization leads to slow convergence. By dynamically changing which node acts as the root in each iteration, the algorithm effectively "rotates" its perspective on the optimization landscape. This strategy ensures the solution remains $c$-conjugate and accelerates convergence by an order of magnitude, often reaching high-precision solutions in fewer than 20 iterations.
Experimental Results
Sharpness and Accuracy
The primary advantage of this method is the elimination of regularization-induced blurring. In shape interpolation tasks involving four distinct high-resolution marginals (a red cross, a heart, a tooth, and a duck), the algorithm produced perfectly sharp Wasserstein barycenters. Unlike Sinkhorn-based methods, which produce ghostly averages, this method preserves the crisp boundaries of the transported shapes.
Scalability and Efficiency
The algorithm was tested on grids as large as $1088 \times 1088$ pixels. For a 4-marginal problem on a $1024 \times 1024$ grid, the method achieved an error of $10^{-4}$ in approximately 118 seconds. The efficiency of the Root Node Cycling was particularly evident in translation-heavy tests, where it reduced the required iterations from over 250 to just 15.
Conclusion
This paper provides a robust path forward for exact Multimarginal Optimal Transport. By exploiting the graphical structure of pairwise costs and transforming cyclic graphs into trees, the authors provide a method that avoids the pitfalls of entropy regularization. While currently limited to pairwise cost functions and requiring specific regularity assumptions for its proofs, the algorithm demonstrates that high-resolution, exact MMOT is computationally feasible. Future work may extend these "divide-and-conquer" tree-based strategies to more complex, non-pairwise interaction costs.
Summary updated