A parallel framework for graphical optimal transport

Jiaojiao Fan, Isabel Haasler, Qinsheng Zhang, Johan Karlsson, Yongxin ChenarXiv 2024 · DOI

Abstract

Multi-marginal optimal transport (MOT) is a powerful tool for comparing multiple probability distributions, yet it suffers from an exponential computational cost relative to the number of marginals. This paper introduces a parallel framework that exploits the underlying graphical structure of MOT problems—such as trees or junction trees—to significantly accelerate computation. By reformulating the problem into coupled bi-marginal tasks and employing a bipartite update scheme, the proposed algorithm reduces iteration complexity by a factor proportional to the number of edges in the graph, making it highly suitable for modern GPU architectures.

Introduction

Optimal Transport (OT) provides a robust mathematical framework for measuring distances between probability distributions. While bi-marginal OT is well-understood, Multi-marginal Optimal Transport (MOT) extends these concepts to $J$ distributions, finding applications in fields ranging from fluid dynamics to data science. However, the "curse of dimensionality" makes standard MOT solvers prohibitively expensive, as the state space scales as $d^J$.

Existing approaches often leverage graphical models (e.g., trees) to decompose the problem. However, most current solvers rely on sequential node updates, which fail to fully utilize parallel computing resources. This research addresses this gap by proposing a parallelized framework designed for large-scale MOT problems like Wasserstein barycenters and least squares.

Methodology

Bipartite Iterative Scaling

The core of the proposed framework is a bipartite update scheme for tree-structured MOT problems. By partitioning the graph's nodes into two independent sets ($S_1$ and $S_2$) such that no two nodes in the same set are adjacent, the algorithm can update all variables in $S_1$ simultaneously, followed by $S_2$. This "checkerboard" pattern enables massive parallelism on GPUs.

Handling Complex Topologies

To extend the framework beyond simple trees, the authors utilize Modified Junction Trees. This technique decomposes graphs with cycles into cliques and separators, allowing the parallel bipartite logic to be applied to more complex, non-tree topologies.

Local Entropy Regularization

A key technical innovation is the shift from global to local entropy regularization. Instead of applying a single regularization term to the entire high-dimensional MOT tensor, the authors apply it locally to each edge or clique. This localization simplifies the mathematical updates and aligns naturally with the parallel processing scheme.

Experimental Evaluation

The framework was validated using several standard MOT benchmarks, including Wasserstein barycenters, least squares, and splines. These problems are characterized by specific graphical structures that dictate how the marginals interact.

Graphical structures for (a) Euler flow, (b) Wasserstein least squares, and (c) Wasserstein splines.

Key Results

  • Iteration Reduction: Theoretical analysis and numerical experiments confirm that the parallel approach reduces the total number of iterations by a factor of $|E|$ (the number of edges) compared to sequential methods. The complexity is bounded by $O(|E|^2/\delta^2)$.
  • Scalability: The iteration count scales logarithmically with the dimension $d$, ensuring efficiency even as the resolution of the distributions (e.g., image size) increases.
  • GPU Optimization: While each parallel iteration carries a higher computational load, the structure is perfectly optimized for the SIMD (Single Instruction, Multiple Data) architecture of modern GPUs.

Conclusion and Future Work

This parallel framework represents a significant step forward in making large-scale MOT problems tractable. By combining bipartite partitioning with local regularization, the authors achieve both theoretical and practical speedups.

Future research directions include establishing rigorous complexity bounds for general (non-tree) graphs and exploring "k-partite" extensions to further optimize parallel updates for highly connected networks.

Summary updated

BibTeX
@misc{fan2024parallel,
  author = {Jiaojiao Fan and Isabel Haasler and Qinsheng Zhang and Johan Karlsson and Yongxin Chen},
  title = {{A parallel framework for graphical optimal transport}},
  year = {2024},
  eprint = {2406.10849},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.10849},
}
Figure