A Numerical Algorithm with Linear Complexity for Multi-Marginal Optimal Transport with $L^1$ Cost

  • Abstract
  • Similar Papers
Abstract
Translate article icon Translate Article Star icon
Take notes icon Take Notes

A Numerical Algorithm with Linear Complexity for Multi-Marginal Optimal Transport with $L^1$ Cost

Similar Papers
  • Research Article
  • 10.1007/s10994-022-06280-y
A family of pairwise multi-marginal optimal transports that define a generalized metric
  • Dec 20, 2022
  • Machine Learning
  • Liang Mi + 2 more

The Optimal transport (OT) problem is rapidly finding its way into machine learning. Favoring its use are its metric properties. Many problems admit solutions with guarantees only for objects embedded in metric spaces, and the use of non-metrics can complicate solving them. Multi-marginal OT (MMOT) generalizes OT to simultaneously transporting multiple distributions. It captures important relations that are missed if the transport only involves two distributions. Research on MMOT, however, has been focused on its existence, uniqueness, practical algorithms, and the choice of cost functions. There is a lack of discussion on the metric properties of MMOT, which limits its theoretical and practical use. Here, we prove new generalized metric properties for a family of pairwise MMOTs. We first explain the difficulty of proving this via two negative results. Afterward, we prove the MMOTs’ metric properties. Finally, we show that the generalized triangle inequality of this family of MMOTs cannot be improved. We illustrate the superiority of our MMOTs over other generalized metrics, and over non-metrics in both synthetic and real tasks.

  • Research Article
  • Cite Count Icon 9
  • 10.1111/cgf.14778
A survey of Optimal Transport for Computer Graphics and Computer Vision
  • May 1, 2023
  • Computer Graphics Forum
  • Nicolas Bonneel + 1 more

Optimal transport is a long‐standing theory that has been studied in depth from both theoretical and numerical point of views. Starting from the 50s this theory has also found a lot of applications in operational research. Over the last 30 years it has spread to computer vision and computer graphics and is now becoming hard to ignore. Still, its mathematical complexity can make it difficult to comprehend, and as such, computer vision and computer graphics researchers may find it hard to follow recent developments in their field related to optimal transport. This survey first briefly introduces the theory of optimal transport in layman's terms as well as most common numerical techniques to solve it. More importantly, it presents applications of these numerical techniques to solve various computer graphics and vision related problems. This involves applications ranging from image processing, geometry processing, rendering, fluid simulation, to computational optics, and many more. It is aimed at computer graphics researchers desiring to follow optimal transport research in their field as well as optimal transport researchers willing to find applications for their numerical algorithms.

  • Research Article
  • Cite Count Icon 132
  • 10.1051/m2an/2015055
A Numerical Algorithm forL2Semi-Discrete Optimal Transport in 3D
  • Nov 1, 2015
  • ESAIM: Mathematical Modelling and Numerical Analysis
  • Bruno Lévy

This paper introduces a numerical algorithm to compute the L2 optimal transport map between two measures μ and ν, where μ derives from a density ρ defined as a piecewise linear function (supported by a tetrahedral mesh), and where ν is a sum of Dirac masses. I first give an elementary presentation of some known results on optimal transport and then observe a relation with another problem (optimal sampling). This relation gives simple arguments to study the objective functions that characterize both problems. I then propose a practical algorithm to compute the optimal transport map between a piecewise linear density and a sum of Dirac masses in 3D. In this semi-discrete setting [Aurenhammer et al., Proc. of 8th Symposium on Computational Geometry (1992) 350–357] showed that the optimal transport map is determined by the weights of a power diagram. The optimal weights are computed by minimizing a convex objective function with a quasi-Newton method. To evaluate the value and gradient of this objective function, I propose an efficient and robust algorithm, that computes at each iteration the intersection between a power diagram and the tetrahedral mesh that defines the measure μ. The numerical algorithm is experimented and evaluated on several datasets, with up to hundred thousands tetrahedra and one million Dirac masses.

  • Research Article
  • 10.1145/3731147
Linear-Time Transport with Rectified Flows
  • Jul 26, 2025
  • ACM Transactions on Graphics
  • Khoa Do + 3 more

Matching probability distributions allows to compare or interpolate them, or model their manifold. Optimal transport is a tool that solves this matching problem. However, despite the development of numerous exact and approximate algorithms, these approaches remain too slow for large datasets due to the inherent challenge of optimizing transport plans. Taking intuitions from recent advances in rectified flows we propose an algorithm that, while not resulting in optimal transport plans, produces transport plans from uniform densities to densities stored on grids that resemble the optimal ones in practice. Our algorithm has linear-time complexity with respect to the problem size and is embarrassingly parallel. It is also trivial to implement, essentially computing three summed-area tables and advecting particles with velocities easily computed from these tables using simple arithmetic. This already allows for applications such as stippling and area-preserving mesh parameterization. Combined with linearized transport ideas, we further extend our approach to match two non-uniform distributions. This allows for wider applications such as shape interpolation or barycenters, matching the quality of more complex optimal or approximate transport solvers while resulting in orders of magnitude speedups. We illustrate our applications in 2D and 3D.

  • PDF Download Icon
  • Research Article
  • Cite Count Icon 16
  • 10.1007/s10107-022-01868-7
Polynomial-time algorithms for multimarginal optimal transport problems with structure
  • Aug 16, 2022
  • Mathematical Programming
  • Jason M Altschuler + 1 more

Multimarginal Optimal Transport (MOT) has attracted significant interest due to applications in machine learning, statistics, and the sciences. However, in most applications, the success of MOT is severely limited by a lack of efficient algorithms. Indeed, MOT in general requires exponential time in the number of marginals k and their support sizes n. This paper develops a general theory about what “structure” makes MOT solvable in mathrm {poly}(n,k) time. We develop a unified algorithmic framework for solving MOT in mathrm {poly}(n,k) time by characterizing the structure that different algorithms require in terms of simple variants of the dual feasibility oracle. This framework has several benefits. First, it enables us to show that the Sinkhorn algorithm, which is currently the most popular MOT algorithm, requires strictly more structure than other algorithms do to solve MOT in mathrm {poly}(n,k) time. Second, our framework makes it much simpler to develop mathrm {poly}(n,k) time algorithms for a given MOT problem. In particular, it is necessary and sufficient to (approximately) solve the dual feasibility oracle—which is much more amenable to standard algorithmic techniques. We illustrate this ease-of-use by developing mathrm {poly}(n,k)-time algorithms for three general classes of MOT cost structures: (1) graphical structure; (2) set-optimization structure; and (3) low-rank plus sparse structure. For structure (1), we recover the known result that Sinkhorn has mathrm {poly}(n,k) runtime; moreover, we provide the first mathrm {poly}(n,k) time algorithms for computing solutions that are exact and sparse. For structures (2)-(3), we give the first mathrm {poly}(n,k) time algorithms, even for approximate computation. Together, these three structures encompass many—if not most—current applications of MOT.

  • Research Article
  • Cite Count Icon 29
  • 10.1109/tit.2021.3077465
Multi-Marginal Optimal Transport and Probabilistic Graphical Models
  • Jul 1, 2021
  • IEEE Transactions on Information Theory
  • Isabel Haasler + 4 more

We study multi-marginal optimal transport problems from a probabilistic graphical model perspective. We point out an elegant connection between the two when the underlying cost for optimal transport allows a graph structure. In particular, an entropy regularized multi-marginal optimal transport is equivalent to a Bayesian marginal inference problem for probabilistic graphical models with the additional requirement that some of the marginal distributions are specified. This relation on the one hand extends the optimal transport as well as the probabilistic graphical model theories, and on the other hand leads to fast algorithms for multi-marginal optimal transport by leveraging the well-developed algorithms in Bayesian inference. Several numerical examples are provided to highlight the results.

  • PDF Download Icon
  • Research Article
  • Cite Count Icon 14
  • 10.1007/s10851-022-01126-7
Unbalanced Multi-marginal Optimal Transport
  • Oct 8, 2022
  • Journal of Mathematical Imaging and Vision
  • Florian Beier + 3 more

Entropy-regularized optimal transport and its multi-marginal generalization have attracted increasing attention in various applications, in particular due to efficient Sinkhorn-like algorithms for computing optimal transport plans. However, it is often desirable that the marginals of the optimal transport plan do not match the given measures exactly, which led to the introduction of the so-called unbalanced optimal transport. Since unbalanced methods were not examined for the multi-marginal setting so far, we address this topic in the present paper. More precisely, we introduce the unbalanced multi-marginal optimal transport problem and its dual and show that a unique optimal transport plan exists under mild assumptions. Furthermore, we generalize the Sinkhorn algorithm for regularized unbalanced optimal transport to the multi-marginal setting and prove its convergence. For cost functions decoupling according to a tree, the iterates can be computed efficiently. At the end, we discuss three applications of our framework, namely two barycenter problems and a transfer operator approach, where we establish a relation between the barycenter problem and the multi-marginal optimal transport with an appropriate tree-structured cost function.

  • Book Chapter
  • Cite Count Icon 1
  • 10.1007/978-3-319-96415-7_26
A Least-Squares Method for a Monge-Ampère Equation with Non-quadratic Cost Function Applied to Optical Design
  • Jan 1, 2019
  • N K Yadav + 2 more

Freeform optical surfaces can transfer a given light distribution of the source into a desired distribution at the target. Freeform optical design problems can be formulated as a Monge-Ampere type differential equation with transport boundary condition, using properties of geometrical optics, conservation of energy, and the theory of optimal mass transport. We present a least-squares method to compute freeform lens surfaces corresponding to a non-quadratic cost function. The numerical algorithm is capable to compute both convex and concave surfaces.

  • Research Article
  • Cite Count Icon 9
  • 10.1016/0743-1066(88)90011-8
A technique for translating clausal specifications of numerical methods into efficient programs
  • Sep 1, 1988
  • The Journal of Logic Programming
  • W.F Clocksin

A technique for translating clausal specifications of numerical methods into efficient programs

  • Research Article
  • Cite Count Icon 1
  • 10.1038/s41598-024-82286-x
DANI: fast diffusion aware network inference with preserving topological structure property
  • Dec 28, 2024
  • Scientific Reports
  • Maryam Ramezani + 3 more

Numerous algorithms have been proposed to infer the underlying structure of the social networks via observed information propagation. The previously proposed algorithms concentrate on inferring accurate links and neglect preserving the essential topological properties of the underlying social networks. In this paper, we propose a novel method called DANI to infer the underlying network while preserving its structural properties. DANI is constructed using the Markov transition matrix, which is derived from the analysis of time series cascades and the observation of node-node similarity in cascade behavior from a structural perspective. The presented method has linear time complexity. This means that it increases with the number of nodes, cascades, and the square of the average length of cascades. Moreover, its distributed version in the MapReduce framework is scalable. We applied the proposed approach to both real and synthetic networks. The experimental results indicated DANI exhibits higher accuracy and lower run time compared to well-known network inference methods. Furthermore, DANI preserves essential structural properties such as modular structure, degree distribution, connected components, density, and clustering coefficients. Our source code is available on GitHub (https://github.com/AryanAhadinia/DANI).

  • Research Article
  • Cite Count Icon 671
  • 10.1137/141000439
Iterative Bregman Projections for Regularized Transportation Problems
  • Dec 16, 2014
  • SIAM Journal on Scientific Computing
  • Jean-David Benamou + 4 more

This paper details a general numerical framework to approximate solutions to linear programs related to optimal transport. The general idea is to introduce an entropic regularization of the initial linear program. This regularized problem corresponds to a Kullback--Leibler Bregman divergence projection of a vector (representing some initial joint distribution) on the polytope of constraints. We show that for many problems related to optimal transport, the set of linear constraints can be split in an intersection of a few simple constraints, for which the projections can be computed in closed form. This allows us to make use of iterative Bregman projections (when there are only equality constraints) or, more generally, Bregman--Dykstra iterations (when inequality constraints are involved). We illustrate the usefulness of this approach for several variational problems related to optimal transport: barycenters for the optimal transport metric, tomographic reconstruction, multimarginal optimal transport, and in particular its application to Brenier's relaxed solutions of incompressible Euler equations, partial unbalanced optimal transport, and optimal transport with capacity constraints.

  • Research Article
  • Cite Count Icon 8
  • 10.1109/tac.2022.3172268
Inference With Aggregate Data in Probabilistic Graphical Models: An Optimal Transport Approach
  • Sep 1, 2022
  • IEEE Transactions on Automatic Control
  • Rahul Singh + 4 more

We consider inference (filtering) problems over probabilistic graphical models with aggregate data generated by a large population of individuals. We propose a new efficient belief propagation type algorithm over tree graphs with polynomial computational complexity as well as a global convergence guarantee. This is in contrast to previous methods that either exhibit prohibitive complexity as the population grows or do not guarantee convergence. Our method is based on optimal transport, or more specifically, multimarginal optimal transport theory. In particular, we consider an inference problem with aggregate observations, that can be seen as a structured multimarginal optimal transport problem where the cost function decomposes according to the underlying graph. Consequently, the celebrated Sinkhorn/iterative scaling algorithm for multi-marginal optimal transport can be leveraged together with the standard belief propagation algorithm to establish an efficient inference scheme which we call Sinkhorn belief propagation (SBP). We further specialize the SBP algorithm to cases associated with hidden Markov models due to their significance in control and estimation. We demonstrate the performance of our algorithm on applications such as inferring population flow from aggregate observations. We also show that in the special case where the aggregate observations are in Dirac form, our algorithm naturally reduces to the standard belief propagation algorithm.

  • Research Article
  • Cite Count Icon 4
  • 10.1007/s10994-020-05931-2
Coupling matrix manifolds assisted optimization for optimal transport problems
  • Jan 1, 2021
  • Machine Learning
  • Dai Shi + 4 more

Optimal transport (OT) is a powerful tool for measuring the distance between two probability distributions. In this paper, we introduce a new manifold named as the coupling matrix manifold (CMM), where each point on this novel manifold can be regarded as a transportation plan of the optimal transport problem. We firstly explore the Riemannian geometry of CMM with the metric expressed by the Fisher information. These geometrical features can be exploited in many essential optimization methods as a framework solving all types of OT problems via incorporating numerical Riemannian optimization algorithms such as gradient descent and trust region algorithms in CMM manifold. The proposed approach is validated using several OT problems in comparison with recent state-of-the-art related works. For the classic OT problem and its entropy regularized variant, it is shown that our method is comparable with the classic algorithms such as linear programming and Sinkhorn algorithms. For other types of non-entropy regularized OT problems, our proposed method has shown superior performance to other works, whereby the geometric information of the OT feasible space was not incorporated within.

  • Research Article
  • Cite Count Icon 26
  • 10.1137/20m1320195
Multimarginal Optimal Transport with a Tree-Structured Cost and the Schrödinger Bridge Problem
  • Jan 1, 2021
  • SIAM Journal on Control and Optimization
  • Isabel Haasler + 3 more

The optimal transport problem has recently developed into a powerful framework for various applications in estimation and control. Many of the recent advances in the theory and application of optimal transport are based on regularizing the problem with an entropy term, which connects it to the Schrödinger bridge problem and thus to stochastic optimal control. Moreover, the entropy regularization makes the otherwise computationally demanding optimal transport problem feasible even for large scale settings. This has led to an accelerated development of optimal transport based methods in a broad range of fields. Many of these applications have an underlying graph structure, for instance, information fusion and tracking problems can be described by trees. In this work we consider multimarginal optimal transport problems with a cost function that decouples according to a tree structure. The entropy regularized multimarginal optimal transport problem can be viewed as a generalization of the Schrödinger bridge problem with the same tree-structure, and by utilizing these connections we extend the computational methods for the classical optimal transport problem in order to solve structured multimarginal optimal transport problems in an efficient manner. In particular, the algorithm requires only matrix-vector multiplications of relatively small dimensions. We show that the multimarginal regularization introduces less diffusion, compared to the commonly used pairwise regularization, and is therefore more suitable for many applications. Numerical examples illustrate this, and we finally apply the proposed framework for the tracking of an ensemble of indistinguishable agents.

  • Research Article
  • Cite Count Icon 14
  • 10.1016/j.disopt.2021.100669
Hardness results for Multimarginal Optimal Transport problems
  • Sep 15, 2021
  • Discrete Optimization
  • Jason M Altschuler + 1 more

Hardness results for Multimarginal Optimal Transport problems

More from: CSIAM Transactions on Applied Mathematics
  • Research Article
  • 10.4208/csiam-am.so-2024-0044
An Efficient Iterative Convolution-Thresholding Method for Image Inpainting
  • Oct 1, 2025
  • CSIAM Transactions on Applied Mathematics
  • Caixia Nan + 1 more

  • Research Article
  • 10.4208/csiam-am.so-2024-0060
Assessment and Evaluation of Surface Water Quality and Human Health Risk in the Inkomati River Catchment Basin, South Africa
  • Oct 1, 2025
  • CSIAM Transactions on Applied Mathematics
  • Ernestine Atangana And Rodrigue G Batogna

  • Research Article
  • 10.4208/csiam-am.so-2023-0009
A Hue-Preserving Color Image Restoration Model Using Saturation-Value Total Variation
  • Sep 26, 2025
  • CSIAM Transactions on Applied Mathematics
  • Wei Wang + 1 more

  • Research Article
  • 10.4208/csiam-am.so-2024-0046
Superconvergence Points of Several Polynomial and Nonpolynomial Hermite Spectral Interpolations
  • Sep 1, 2025
  • CSIAM Transactions on Applied Mathematics
  • Min Wang And Zhimin Zhang

  • Research Article
  • 10.4208/csiam-am.so-2025-0016
Exploring Fractional-Order Nonlinear Dynamics in Biodiesel Production with Optimal Control
  • Jul 1, 2025
  • CSIAM Transactions on Applied Mathematics
  • Sk Mosaraf Ahammed + 3 more

  • Open Access Icon
  • Research Article
  • Cite Count Icon 2
  • 10.4208/csiam-am.so-2024-0052
Two Methods Addressing Variable-Exponent Fractional Initial and Boundary Value Problems and Abel Integral Equation
  • Jun 1, 2025
  • CSIAM Transactions on Applied Mathematics
  • Xiangcheng Zheng

  • Research Article
  • 10.4208/csiam-am.so-2024-0045
An Efficient Iteration Based on Reduced Basis Method for Time-Dependent Problems With Random Inputs
  • Jun 1, 2025
  • CSIAM Transactions on Applied Mathematics
  • Dou Dai + 1 more

  • Research Article
  • 10.4208/csiam-am.so-2024-0025
A Numerical Algorithm with Linear Complexity for Multi-Marginal Optimal Transport with $L^1$ Cost
  • Jun 1, 2025
  • CSIAM Transactions on Applied Mathematics
  • Chunhui Chen + 3 more

  • Research Article
  • 10.4208/csiam-am.so-2024-0020
Construction and Analysis for Adams Explicit Discretization of High-Index Saddle Dynamics
  • Jun 1, 2025
  • CSIAM Transactions on Applied Mathematics
  • Shuai Miao + 4 more

  • Research Article
  • 10.4208/csiam-am.so-2024-0037
Well-Posedness and Regularity Analyses for Nonlocal Nonautonomous System
  • Jun 1, 2025
  • CSIAM Transactions on Applied Mathematics
  • Rui Sun + 2 more

Save Icon
Up Arrow
Open/Close
  • Ask R Discovery Star icon
  • Chat PDF Star icon

AI summaries and top papers from 250M+ research sources.

Search IconWhat is the difference between bacteria and viruses?
Open In New Tab Icon
Search IconWhat is the function of the immune system?
Open In New Tab Icon
Search IconCan diabetes be passed down from one generation to the next?
Open In New Tab Icon