A Robust Exact Algorithm for the Euclidean Bipartite Matching Problem
Akshaykumar Gattani, Sharath Raghvendra, Pouyan Shirzadian
Abstract
Algorithms for the minimum-cost bipartite matching can be used to estimate Wasserstein distance between two distributions. Given two sets A and B of n points in a 2 -dimensional Euclidean space, one can use a fast implementation of the Hungarian method to compute a minimum-cost bipartite matching of A and B in ˜ O ( n 2 ) time. Let ∆ be the spread, i.e., the ratio of the distance of the farthest to the closest pair of points in A ∪ B . In this paper, we present a new algorithm to compute a minimum-cost bipartite matching of A and B with a similar worst-case execution time of ˜ O ( n 2 log ∆) . However, when A and B are drawn independently and identically from a fixed distribution that is not known to the algorithm, the execution time of our algorithm is, in expectation, ˜ O ( n 7 / 4 log ∆) . To the best of our knowledge, our algorithm is the first one to achieve a sub-quadratic execution time even for stochastic point sets with real-valued coordinates. Our algorithm extends to any dimension d , where it runs in ˜ O ( n 2 − 12 d Φ( n )) time for stochastic point sets A and B ; here Φ( n ) is the query/update time of a dynamic weighted nearest neighbor data structure. Our algorithm can be seen as a careful adaptation of the Hungarian method in the geometric divide-and-conquer framework.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 13363267-0231-4e03-87a9-ad2ce6eb8399Cited by top-tier papers1
Ask how each one uses itBuilds on6
- Wasserstein GAN With Quadratic Transport CostHuidong Liu, Xianfeng Gu, Dimitris SamarasICCV 2019 · 104 citations
- Wasserstein Embedding for Graph LearningSoheil Kolouri, Navid NaderiAlizadeh, Gustavo K. Rohde, Heiko HoffmannICLR 2021 · 99 citations
- Deterministic, near-linear ε-approximation algorithm for geometric bipartite matchingPankaj K. Agarwal, Hsien-Chih Chang, Sharath Raghvendra, Allen XiaoSTOC 2022 · 5 citations
- An O(n5/4) Time ∊-Approximation Algorithm for RMS Matching in a PlaneNathaniel Lahn, Sharath RaghvendraSODA 2021 · 1 citation
- A Higher Precision Algorithm for Computing the -Wasserstein DistancePankaj K. Agarwal, Sharath Raghvendra, Pouyan Shirzadian, Rachita SowleICLR 2023
Related papers
- A Scalable Constant-Factor Approximation Algorithm for Wp Optimal TransportPankaj K. Agarwal, Oliver Chubet, Sharath Raghvendra, Keegan YaoICLR 2026
- Efficient algorithms for Incremental Metric Bipartite MatchingRitesh Seth, Mrinal Garg, Sujoy Bhore, Sharath Raghvendra et al.ICLR 2026
- A Faster Maximum Cardinality Matching Algorithm with Applications in Machine LearningNathaniel Lahn, Sharath Raghvendra, Jiacheng YeNeurIPS 2021 · 4 citations
- Approximating High-Dimensional Earth Mover's Distance as Fast as Closest PairLorenzo Beretta, Vincent Cohen-Addad, Rajesh Jayaram, Erik WaingartenFOCS 2025 · 2 citations
- Approximate Earth Mover's Distance in Truly-Subquadratic TimeLorenzo Beretta, Aviad RubinsteinSTOC 2024 · 3 citations
