Computing All Optimal Partial p-Wasserstein Matchings on the Line
Sebastian Angrick, Jacobus Conradi, Mónika Csikós, Niko Hastrich, Danny Mittal, André Nusser, Krzystof Onak, Sharath Raghvendra
Abstract
For p 1, the p-Wasserstein distance measures the minimum cost of transporting probability mass between distributions, where moving unit mass between two points costs the pth power of their distance. For discrete distributions in one dimension, full transport is especially simple: after sorting, mass is matched in order along the line. By contrast, partial and unbalanced transport on the line remains much less understood. Recently, Chapel and Tavenard [ICLR'25] showed that, for p=1, all optimal partial transport plans between distributions supported on n points, with uniform mass at each point, can be computed in O(n n) time by exploiting the metric structure of the cost. For p>1, this structure no longer applies, and existing approaches require Ω(n2) time. Our main contribution is an FFT-based data structure for balanced-interval transport queries, which bypasses this quadratic bottleneck and yields an O(p\,n2 n)-time algorithm for computing all optimal partial transports on the line for every finite p 1. We also provide an open-source C++ implementation that outperforms the state-of-the-art baseline on a range of synthetic instances. Finally, we establish a conditional lower bound for p=∞: any subquadratic-time algorithm for computing all optimal partial transport plan costs on the line would violate the (,+)-Convolution Hypothesis. This separates the problem from full optimal transport, which is solvable in O(n n).
Create a lesson
Related papers
Numerical Simulation of Transdermal Insulin Delivery Using a Coated Microneedle in a 2D Skin Model
Milana Tesfamarian, Michael Heisig, Gabriel Wittum et al.
Multi-Stage NeRF for Efficient 3D Coronary Artery Reconstruction from Two Narrow-Angle Angiographic Projections
Deyu Meng, Mojtaba Lashgari, Yiying Wang et al.
Perfectly Guarding Straits: Exact Algorithms for Weak Visibility Polygons
Shouvik Mondal, Udvas Das, Sasanka Roy
Low-Dimensional Embeddings for Gaussian Kernels on Manifolds
Soumik Dutta, Kunal Dutta
Flip Graphs for Eight Points in Three Dimensions Are Connected
Marc Khoury
Computing the minimal perimeter polygon for digital objects in the triangular tiling
Petra Wiederhold