Lune

ICLR2026Top-tier venue

Efficient algorithms for Incremental Metric Bipartite Matching

Ritesh Seth, Mrinal Garg, Sujoy Bhore, Sharath Raghvendra, Syamantak Das

Abstract

The minimum-cost bipartite matching between two sets of points R and S in a metric space has a wide range of applications in machine learning, computer vision, and logistics. For instance, it can be used to estimate the 1-Wasserstein distance between continuous probability distributions and for efficiently matching requests to servers while minimizing cost. However, the computational cost of determining the minimum-cost matching for general metrics spaces, poses a significant challenge, particularly in dynamic settings where points arrive over time and each update requires re-executing the algorithm. In this paper, given a fixed set S, we describe a deterministic algorithm that maintains, after i additions to R, an O(1/δ 0.631 )-approximate minimum-cost matching of cardinality i between sets R and S in any metric space, with an amortized insertion time of O(n 1+δ ) for adding points in R. To the best of our knowledge, this is the first algorithm for incremental minimum-cost matching that applies to arbitrary metric spaces. Interestingly, an important subroutine of our algorithm lends itself to efficient parallelization. We provide both a CPU implementation and a GPU implementation that leverages parallelism. Extensive experiments on both synthetic and real world datasets showcase that our algorithm either matches or outperforms all benchmarks in terms of speed while significantly improving upon the accuracy. This connection to metric bipartite matching naturally extends beyond logistics. The 1-Wasserstein distance, a widely used tool for comparing probability measures in machine learning, can be expressed as a minimum-cost matching between empirical distributions (Villani, 2009; Peyré & Cuturi, 2019) . It has found broad applications in generative modeling, domain adaptation, fairness, and distributional drift detection (

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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • The Unbalanced Gromov Wasserstein Distance: Conic Formulation and Relaxation cites Robust Optimal Transport with Applications in Generative Modeling and Domain Adaptation
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on9

  1. Geometric Dataset Distances via Optimal TransportDavid Alvarez-Melis, Nicolò FusiNeurIPS 2020 · 267 citations
  2. Robust Optimal Transport with Applications in Generative Modeling and Domain AdaptationYogesh Balaji, Rama Chellappa, Soheil FeiziNeurIPS 2020 · 141 citations
  3. The Unbalanced Gromov Wasserstein Distance: Conic Formulation and RelaxationThibault Séjourné, François-Xavier Vialard, Gabriel PeyréNeurIPS 2021 · 106 citations
  4. Negative-Weight Single-Source Shortest Paths in Near-linear TimeAaron Bernstein, Danupon Nanongkai, Christian Wulff-NilsenFOCS 2022 · 24 citations
  5. Dynamical Wasserstein Barycenters for Time-series ModelingKevin C. Cheng, Shuchin Aeron, Michael C. Hughes, Eric L. MillerNeurIPS 2021 · 17 citations

Related papers

  1. Fully Dynamic Euclidean Bi-Chromatic Matching in Sublinear Update TimeGramoz Goranci, Peter Kiss, Neel Patel, Martin P. Seybold et al.ICML 2025
  2. A Robust Exact Algorithm for the Euclidean Bipartite Matching ProblemAkshaykumar Gattani, Sharath Raghvendra, Pouyan ShirzadianNeurIPS 2023 · 6 citations
  3. A Scalable Constant-Factor Approximation Algorithm for Wp Optimal TransportPankaj K. Agarwal, Oliver Chubet, Sharath Raghvendra, Keegan YaoICLR 2026
  4. A Higher Precision Algorithm for Computing the 11-Wasserstein DistancePankaj K. Agarwal, Sharath Raghvendra, Pouyan Shirzadian, Rachita SowleICLR 2023
  5. Approximation Algorithms for the Geometric Multimatching ProblemShinwoo An, Eunjin Oh, Jie XueSTOC 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines