BSP-OT: Sparse transport plans between discrete measures in loglinear time
Open Access
- 4 December 2025
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Graphics
- Vol. 44 (6) , 1-15
Abstract
To solve the optimal transport problem between two uniform discrete measures of the same size, one seeks a bijective assignment that minimizes some matching cost. For this task, exact algorithms are intractable for large problems, while approximate ones may lose the bijectivity of the assignment. We address this issue and the more general cases of non-uniform discrete measures with different total masses, where partial transport may be desirable. The core of our algorithm is a variant of the Quicksort algorithm that provides an efficient strategy to randomly explore many relevant and easy-to-compute couplings, by matching BSP trees in loglinear time. The couplings we obtain are as sparse as possible, in the sense that they provide bijections, injective partial matchings or sparse couplings depending on the nature of the matched measures. To improve the transport cost, we propose efficient strategies to merge k sparse couplings into a higher quality one. For k = 64, we obtain transport plans with typically less than 1% of relative error in a matter of seconds between hundreds of thousands of points in 3D on the CPU. We demonstrate how these high-quality approximations can drastically speed-up usual pipelines involving optimal transport, such as shape interpolation, intrinsic manifold sampling, color transfer, topological data analysis, rigid partial registration of point clouds and image stippling.Keywords
Funding Information
- ANR (ANR-22-CE46- 0006)
This publication has 30 references indexed in Scilit:
- Parallel Post-processing of Restricted Voronoi Diagram on Thin Sheet ModelsComputer-Aided Design, 2023
- No-Collision Transportation MapsJournal of Scientific Computing, 2020
- Fast and Scalable Optimal Transport for Brain Tractograms2019
- Sliced Wasserstein Generative Models2019
- Generative Modeling Using the Sliced Wasserstein Distance2018
- A Sparse Multiscale Algorithm for Dense Optimal TransportJournal of Mathematical Imaging and Vision, 2016
- Sliced and Radon Wasserstein Barycenters of MeasuresJournal of Mathematical Imaging and Vision, 2014
- An overview on the simplex algorithmApplied Mathematics and Computation, 2009
- Accurate 3D image colour histogram transformationPattern Recognition Letters, 2003
- A polynomial time primal network simplex algorithm for minimum cost flowsMathematical Programming, 1997