Abstract
Multi-Marginal Optimal Transport (MMOT) is a powerful tool for comparing multiple probability distributions simultaneously, yet its computational complexity often limits its application to small datasets. We present a collision-based algorithm inspired by Boltzmann kinetics that achieves linear scaling with the number of samples. By utilizing randomized pairwise swapping, the method significantly reduces execution time and memory requirements, making large-scale MMOT feasible for high-dimensional machine learning tasks.
Introduction
Optimal Transport (OT) has become a cornerstone in fields ranging from image processing to density functional theory. However, the computational burden is significant: standard linear programming scales as $O(N^3)$, and entropy-regularized methods like Sinkhorn scale as $O(N^2)$. The challenge is amplified in the Multi-Marginal setting (MMOT), where $K$ distributions must be coupled simultaneously. This paper introduces a stochastic approach to break this computational bottleneck.
Methodology
The proposed algorithm, Collision-based Dynamics, views optimization as a physical relaxation process. Samples are treated as particles in a gas that "collide" and swap indices if the swap reduces the total transport cost. Unlike the Iterative Swapping Algorithm (ISA), which exhaustively checks pairs, this method uses a Monte Carlo approach to randomly sample pairs.
Key features of the method include:
- Linear Scaling: Computational complexity is $O(N_p)$ per iteration, where $N_p$ is the number of samples per marginal.
- Marginal Preservation: The algorithm inherently respects original distributions by reordering existing samples rather than generating new ones.
- Parallelization: The independent nature of pairwise tests allows for trivial parallelization on modern GPUs.
Results and Discussion
Efficiency and Scalability
The efficiency of the collision-based method was evaluated against standard benchmarks. As shown in Figure 1, the execution time for the collision-based approach scales more favorably with the number of marginals $K$ compared to the ISA baseline, maintaining a lower absolute runtime across all tested scales.
Convergence Properties
The algorithm demonstrates robust convergence properties across various datasets, including synthetic manifolds and real-world image sets like CelebA. Empirical evidence shows that the transport cost $d^2(X_t)$ decreases exponentially as a function of the number of iterations, as illustrated in Figure 2.
This rapid convergence, combined with a memory footprint that scales as $O(nKN_p)$, allows the method to handle large-scale problems that were previously intractable for traditional MMOT solvers.
Conclusion
Collision-based dynamics provide a highly efficient and parallelizable framework for MMOT. While the current implementation assumes uniform weights and converges to near-optimal solutions, it offers a practical path forward for high-dimensional optimization. Future research will explore extensions to weighted particles and formal mathematical consistency proofs.
Summary updated