[Paper Review] A numerical algorithm for $L_2$ semi-discrete optimal transport in 3D
This paper presents a numerical algorithm for computing the $L_2$ semi-discrete optimal transport map between a 3D tetrahedral mesh with piecewise linear density and a set of Dirac masses. It leverages power diagrams and a quasi-Newton method to minimize a convex objective function, using an efficient geometric algorithm to compute intersections between the power diagram and the mesh, achieving robust and scalable computation on meshes with up to one million Dirac masses in under 45 minutes.
This paper introduces a numerical algorithm to compute the $L_2$ 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 [\emph{8th Symposium on Computational Geometry conf. proc.}, ACM (1992)] 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.
Motivation & Objective
- To develop a practical and scalable algorithm for computing the $L_2$ optimal transport map between a 3D tetrahedral mesh with piecewise linear density and a discrete measure composed of Dirac masses.
- To enable applications in computer graphics such as 3D morphing and shape deformation by computing natural, visually pleasing transport maps.
- To address the challenge of accurately computing the optimal transport map in 3D with high geometric fidelity, particularly across topological changes.
- To provide a robust and efficient computational pipeline that integrates geometric predicates, power diagram construction, and multilevel optimization.
Proposed method
- The optimal transport map is computed by determining the weights of a power diagram that minimize a convex objective function, as established by Aurenhammer et al. in the semi-discrete setting.
- A quasi-Newton optimization method is used to minimize the objective function, with gradient evaluations based on geometric intersections between the power diagram and the tetrahedral mesh.
- An efficient, robust algorithm traverses both the tetrahedral mesh and the power diagram simultaneously to compute their intersections, using floating-point and arbitrary-precision arithmetic with arithmetic filtering and symbolic perturbation.
- The algorithm integrates a multilevel approach with BRIO pre-ordering and degree-2 regression to accelerate convergence and improve numerical stability.
- The geometric predicates and power diagram construction are implemented in the PCK module of the public geogram library for reproducibility and reuse.
- The method supports topology changes during deformation by detecting discontinuities in the transport map through the intersection of Delaunay and regular weighted triangulations.
Experimental results
Research questions
- RQ1How can the $L_2$ semi-discrete optimal transport problem in 3D be solved efficiently and robustly when the source measure is a piecewise linear density on a tetrahedral mesh?
- RQ2What is the structure of the objective function in semi-discrete optimal transport, and how can its gradient be computed efficiently using geometric intersections?
- RQ3Can the discontinuities in the optimal transport map be accurately detected and represented during deformation, especially when topology changes occur?
- RQ4How does the algorithm scale in terms of computational time and memory when handling large-scale problems with up to one million Dirac masses?
Key findings
- The algorithm successfully computes optimal transport maps between a 3D tetrahedral mesh and up to one million Dirac masses, with computation times reaching approximately 45 minutes for 1 million masses.
- The method achieves stable and visually pleasing 3D morphing results, as demonstrated by the deformation of an armadillo mesh into a sphere, even across significant topological changes.
- The use of a multilevel algorithm with BRIO pre-ordering and degree-2 regression significantly improves convergence speed and numerical robustness.
- The geometric intersection algorithm, implemented with arbitrary-precision arithmetic and filtering, ensures robustness in the presence of degenerate configurations and near-degeneracies.
- Despite robustness, the method exhibits a small gap of approximately one tetrahedron width in the transport map due to discontinuity sampling limitations, particularly visible in regions of high deformation.
- The algorithm demonstrates scalability, with timings increasing from 1.45 seconds for 1,000 masses to 2,649 seconds (about 44 minutes) for 1 million masses on the armadillo-to-sphere benchmark.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.