acceptodds
Under review as a conference paper at ICLR 2027

Breaking the Quadratic Space Barrier for Optimal Transport via Cost Matrix Compression

Abstract

Optimal transport (OT) is a fundamental tool for comparing probability distributions, but the quadratic memory requirements of dense solvers limit scalability, especially on GPUs. We compress the ground-cost matrix using a sampling scheme inspired by Thorup–Zwick. We retain exact distances to nearby points and approximate the remaining distances through sampled landmarks. For arbitrary ground metrics, this gives at most factor- distortion using expected space. More generally, a -level scheme uses expected space with distortion . We obtain two results using this compression scheme. First, we adapt the push–relabel framework of Lahn, Raghvendra, and Zhang to compute an -additive approximation under the compressed costs using expected space, parallel time, and expected solver work. Under the original metric, the guarantee combines factor- distortion with additive error. In typical instances, especially when the input distributions are similar, much of the transport mass flows along local pairs whose costs are preserved exactly. Consequently, the compression yields high accuracy while substantially reducing storage. Our GPU implementation scales to approximately k points on RTX 2060, compared to approximately k for dense Sinkhorn implementations, with solution costs between and times the optimum on the evaluated high-dimensional datasets. Second, the compressed representation yields a -approximation for incremental metric bipartite matching with expected amortized insertion time and expected space after preprocessing, for fixed . This improves the superlinear update-time bound of Seth et al. (ICLR, 2026) for constant-factor approximation.

Then back it, or bet against it.

Related papers

Open the market on this paper to see 7 more related papers.