Lune

ICLR2026Top-tier venue

Efficient algorithms for Incremental Metric Bipartite Matching

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

2026Year

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 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.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 53a778d6-de88-4788-bc3b-51f898cb2c92

Builds on9

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines