Lune

NeurIPS2023Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Fully Dynamic Euclidean Bi-Chromatic Matching in Sublinear Update Time cites Deterministic, near-linear ε-approximation algorithm for geometric bipartite matching
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Fully Dynamic Euclidean Bi-Chromatic Matching in Sublinear Update TimeGramoz Goranci, Peter Kiss, Neel Patel, Martin P. Seybold et al.ICML 2025

Builds on6

  1. Wasserstein GAN With Quadratic Transport CostHuidong Liu, Xianfeng Gu, Dimitris SamarasICCV 2019 · 104 citations
  2. Wasserstein Embedding for Graph LearningSoheil Kolouri, Navid NaderiAlizadeh, Gustavo K. Rohde, Heiko HoffmannICLR 2021 · 99 citations
  3. Deterministic, near-linear ε-approximation algorithm for geometric bipartite matchingPankaj K. Agarwal, Hsien-Chih Chang, Sharath Raghvendra, Allen XiaoSTOC 2022 · 5 citations
  4. An O(n5/4) Time ∊-Approximation Algorithm for RMS Matching in a PlaneNathaniel Lahn, Sharath RaghvendraSODA 2021 · 1 citation
  5. A Higher Precision Algorithm for Computing the 11-Wasserstein DistancePankaj K. Agarwal, Sharath Raghvendra, Pouyan Shirzadian, Rachita SowleICLR 2023

Related papers

  1. A Scalable Constant-Factor Approximation Algorithm for Wp Optimal TransportPankaj K. Agarwal, Oliver Chubet, Sharath Raghvendra, Keegan YaoICLR 2026
  2. Efficient algorithms for Incremental Metric Bipartite MatchingRitesh Seth, Mrinal Garg, Sujoy Bhore, Sharath Raghvendra et al.ICLR 2026
  3. A Faster Maximum Cardinality Matching Algorithm with Applications in Machine LearningNathaniel Lahn, Sharath Raghvendra, Jiacheng YeNeurIPS 2021 · 4 citations
  4. Approximate Earth Mover's Distance in Truly-Subquadratic TimeLorenzo Beretta, Aviad RubinsteinSTOC 2024 · 3 citations
  5. Approximating High-Dimensional Earth Mover's Distance as Fast as Closest PairLorenzo Beretta, Vincent Cohen-Addad, Rajesh Jayaram, Erik WaingartenFOCS 2025 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines