potentialpaper

Efficient Algorithms For Fully Dynamic Bipartite Matching In Metric Spaces

Pankaj K Agarwal, Oliver Chubet, Sharath Raghvendra, Arian Zamani

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Given two point sets AA and BB of nn points each in a metric space (X,d)(\mathbb{X},\mathsf{d}), a matching M⊆A×BM\subseteq A \times B is a set of nn pairs such that each point of A∪BA\cup B appears exactly once in MM. The WpW_p-cost of MM is (∑(a,b)∈Md(a,b)p)1/p(\sum_{(a,b)\in M} \mathsf{d}(a,b)^p)^{1/p}. MM is \textit{α\alpha-approximate} if its cost is at most α\alpha times the minimum cost of a matching of AA and BB. We study the problem of maintaining an α\alpha-approximate matching of AA and BB under insertion and deletion of point pairs.

For A,B⊂RdA,B \subset \mathbb{R}^d, with d(⋅,⋅)\mathsf{d}(\cdot,\cdot) being the ℓq\ell_q-norm, q≥1q \geq 1, and for any parameter ϵ∈(0,1]\epsilon \in (0,1], we present the following two data structures for maintaining a matching under the W1W_1-cost:

  • The first one maintains an expected O(dϵ−3/2)O(d\epsilon^{-3/2})-approximate matching in amortized update time O~(nϵd(2/q)+ϵϵ−2φ(n,ϵ−1/2))\widetilde{O}(n^\epsilon d^{(2/q)+\epsilon}\epsilon^{-2}\varphi(n,\epsilon^{-1/2})), where φ(n,α)\varphi(n,\alpha) denotes the update and query time of a dynamic α\alpha-approximate nearest-neighbor data structure under the ℓq\ell_q-norm.
  • The second one maintains an expected O(ϵ−2d∣1/q−1/2∣γlog⁡γ)O(\epsilon^{-2}d^{|1/q-1/2|}\sqrt{\gamma\log\gamma})-approximate matching in expected amortized update time O~(nϵ+d2)\widetilde O(n^\epsilon+d^2), where γ=min⁡{d,log⁡n}\gamma=\min\{d,\log n\} and O~\widetilde{O} hides polylogarithmic factors. For the Euclidean metric (q=2q=2), the approximation factor becomes O(ϵ−2γlog⁡γ)O(\epsilon^{-2}\sqrt{\gamma\log\gamma}). \end{itemize}

For A,BA,B in an arbitrary finite metric space, any integer p≥1p\geq1, and any constant ϵ∈(0,1)\epsilon\in(0,1), we present a fully dynamic data structure that maintains an O(1/ϵ)O(1/\epsilon)-approximate matching of AA and BB under the WpW_p-cost in amortized update time O(ϵ−1n1+ϵlog⁡nlog⁡Δ)O(\epsilon^{-1}n^{1+\epsilon}\log n\log\Delta), where Δ\Delta is the spread of A∪BA\cup B.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper studies efficient algorithms for dynamic bipartite matching using the Wasserstein-p metric. There are two main contributions:

  • for p=1, the paper gives an algorithm with d/epsilon^(3/2) approximation and roughly n^epsilon * phi update time, where phi is the update time of an approximate nearest neighbor data structure.
  • for p>=1, the paper gives an algorithm with 2k(1+epsilon) approximation and roughly n^(1+1/k) update time.

The reviewers all appreciate the clarity of the writing and the importance of computing the Wasserstein distances. On the other hand, they also mention some weaknesses:

  • more details on the practicality of the algorithms are needed, such as how the algorithms are expected to scale and the settings where they are expected to do well. Are the large approximation factors here pessimistic or do we expect them to show up on real data?
  • the improvement for p=1 is limited and has higher dependence on epsilon than previous work.
  • the strongest improvement is for p>1. This setting is somewhat less motivated than p=1.
  • The techniques involved are established in the literature. A more detailed explanation of the novelty would clarify the contribution.

After the rebuttal, the authors clarified the novel techniques compared with prior works for p=1 and applications for p>1. All reviewers appreciated the contribution and recommended acceptance.

Final justification

Please see the meta review.

Area Chair 5Tmk · Meta-reviewOpenReview ↗
Final justification
Please see the meta review.
Read meta-review
Meta-review

The paper studies efficient algorithms for dynamic bipartite matching using the Wasserstein-p metric. There are two main contributions:

  • for p=1, the paper gives an algorithm with d/epsilon^(3/2) approximation and roughly n^epsilon * phi update time, where phi is the update time of an approximate nearest neighbor data structure.
  • for p>=1, the paper gives an algorithm with 2k(1+epsilon) approximation and roughly n^(1+1/k) update time.

The reviewers all appreciate the clarity of the writing and the importance of computing the Wasserstein distances. On the other hand, they also mention some weaknesses:

  • more details on the practicality of the algorithms are needed, such as how the algorithms are expected to scale and the settings where they are expected to do well. Are the large approximation factors here pessimistic or do we expect them to show up on real data?
  • the improvement for p=1 is limited and has higher dependence on epsilon than previous work.
  • the strongest improvement is for p>1. This setting is somewhat less motivated than p=1.
  • The techniques involved are established in the literature. A more detailed explanation of the novelty would clarify the contribution.

After the rebuttal, the authors clarified the novel techniques compared with prior works for p=1 and applications for p>1. All reviewers appreciated the contribution and recommended acceptance.

Reviewer hJyDOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studied dynamic geometric matching (bi-chromatic matching, also optimal transportation) for discrete distributions. In this setting, we are given nn points that can be inserted and deleted, and the goal is to maintain a bipartite matching at any point with a good approximation ratio.

The dynamic setting has been subject to extensive studies recently. The paper continued on this line of exploration and designed algorithms for both ℓp\ell_p space and general metrics.

  • For ℓp\ell_p space, the paper gave an algorithm that finds an O(d/ε3/2)O(d/\varepsilon^{3/2}) approximation of the optimal transportation in O(nεdε−3/2ψ(n,ε))O(n^{\varepsilon} d \varepsilon^{-3/2} \psi(n, \sqrt{\varepsilon})) update time, where ψ(n,ε)\psi(n, \sqrt{\varepsilon}) is the amortied udpate time for maintaining ε\sqrt{\varepsilon}-approximation for the nearest neighbor on nn points.
  • Using the above result and dimensionality reduction techniques, we can obtain O(log⁡n/ε3/2)O(\log{n}/\varepsilon^{3/2}) approximation in the ℓ2\ell_2 (Euclidean) space with O(d+nε/ε−3/2)logn)O(d + n^{\varepsilon}/\varepsilon^{−3/2}) log n) update time.
  • For general metric, the paper obtained 2k(1+ε)2k(1 + \varepsilon)-approximation in O(kn1+1/klog⁡Δ/ε)O (kn^{1+1/k} \log{\Delta}/\varepsilon) update time.

The most significant aspect of these results, as claimed by the paper, are versatility and high-dimensional scalability.

Main Techniques. I reviewed the ℓp\ell_p algorithm in more detail, so I’ll mostly focus on the techniques used in this case. The high-level intuition for this algorithm is similar to the algorithm in Goranci et al. [NeurIPS’25], which partitions the space into a hierarchical structure using pp-tree or random shifts. However, this paper adopted a novel approach to update matchings inside each partitioned cell. This is inspired by the Gabow–Tarjan minimum-cost matching algorithm, and the advantage here is that the algorithm can now locally maintain a matching inside each cell independent of cross-cell matchings between surplus and deficit pairs. Furthermore, the paper used a substantially different approach to partition the space (use hyper-cubes), which avoided exponential blow-up w.r.t. dimension in the update time. The algorithm then carefully balanced the parameters to achieve the desired bounds.

The algorithm for the general metric is based on a novel data structure that uses hierarchical buckets of “representative centers”. This is coupled with a fast Hungarian search algorithm over the proxy distance dCd_{\mathcal{C}}. Limited by time, I did not check this algorithm in detail.

Strengths and weaknesses

Overall, I think the merits of the work outweigh the weaknesses, and I lean towards acceptance. However, I do have some reservations due to the points I’m going to discuss as follows.

  • Motivation: I think bichromatic matching in the dynamic setting is an important problem. E.g., in statistics and machine learning, we do need these algorithms aimed at evolving data. However, this paper definitely has a weaker motivation score than, e.g., Goranci et al. [NeurIPS’25]. This paper talks about general Wasserstein-pp, which I think is used much less frequently in practice (compared to optimal transportation, Wasserstein-11). That being said, the high-dimensional and general metric cases are indeed interesting, and I’ll give the authors more credit for the motivations to study these cases. Overall, I think the motivation is still solid, but it’s weaker compared to early works and some aspects are quite niche.
  • Bounds: the paper emphasized the versatility and high-dimensional cases. However, the results do not really “cover” the bounds for the special cases studied by previous algorithms. For instance, the approximation ratio and update time in Goranci et al. [NeurIPS’25] scale with O(1/ε)O(1/\varepsilon), but this paper scales with O(1/ε3/2)O(1/\varepsilon^{3/2}). This certainly weakens (although of course does not nullify) the significance.
  • Writing: The merits in writing is that the paper provided a clean comparison between their algorithms and previous results. Furthermore, the high-level intuitions are explained well. The only issue in writing is that the paper did refer to many tools (e.g., Gabow–Tarjan minimum-cost matching) without much additional explanation. It is not an issue for me, but I wonder whether a reader without familiarity with these can understand the algorithm.
  • Finally, the paper does not contain experiments. This is NOT a problem for me, but for NeurIPS, it is one of the criteria, and I need (not willing) to flag this.
Questions
  • Do you have responses to my comments about weakness?
  • Compared to the recent work Goranci et al. [NeurIPS’25], can you explain more why your algorithm can avoid the exponential blowup in dimension? As in, I can follow why your algorithm works, but it’ll be better if you can articulate how your techniques circumvented the blow-up issue in partitioning.
  • Related to the above question: if the answer is that the use of proxy points and the recomputation of the matching inside each cell is important, then I guess the 1/ε3/21/\varepsilon^{3/2} dependency is the best we can hope for the balancing of parameters using this framework? Some clarifications about this would be helpful.
  • Also, can you confirm that the Goranci et al. [NeurIPS’25] result does not have dd on the approximation ratio? This is related to my comments about weakness.
  • The cell notation □ is a bit funny: for a moment, I thought it is broken math rendering. You do not necessarily have to change it, though. This is minor.
  • Lines 290-291: “we conclude that the amortized time it takes to maintain an explicit matching is O(n2εd(dlog⁡n+nε)ε−2)O(n^{2\varepsilon} d (d\log n + n^{\varepsilon}) \varepsilon^{-2}).” Is there a typo here? Should it be ε−3/2\varepsilon^{-3/2}? While the n2εn^{2\varepsilon} bound can be made O(nε)O(n^{\varepsilon}) via re-scaling, going from ε−2)\varepsilon^{-2}) to ε−3/2\varepsilon^{-3/2} is not possible.
Limitations

Yes; N/A

Final justification

I thank the reviewers for the responses and clarifications. For the record to the AC: I think the authors' responses have largely resolved my concerns about the motivation, although I believe a better discussion should be added in the final version of the paper.

I also went over my colleagues' reviews, and I'm less concerned about the technical novelty. I agree that most of the techniques in this paper are extensions of standard approaches, but putting them together still requires non-trivial work.

Overall, I remain supportive of the paper.

Formatting concerns

N/A

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your thoughtful review and valuable feedback.

This paper talks about general Wasserstein-pp, which I think is used much less frequently in practice compared to Wasserstein-1.

W2W_2 metric arises in numerous applications and has been extensively studied in different fields. In the context of AI and ML, W2W_2-metric (and more generally WpW_p-metric) is being used for flow matching, Wasserstein gradient flows, sampling, generative modeling, multidimensional ranks and quantiles, and distribution-free two-sample testing [1,2]. W∞W_\infty also arises in some data analysis applications [3].

Beyond these applications, quadratic transport has structural advantages that are absent for W1W_1. Under standard regularity conditions, the W2W_2-optimal transport map is the essentially unique gradient of a convex potential, providing a canonical and interpretable map between distributions; by contrast, W1W_1-optimal maps can be nonunique [4]. This structure has been used to define multidimensional ranks, quantiles, and depth through optimal transport maps [5,6]. These ideas have led to several recent breakthroughs in multivariate inference, including tuning-parameter-free and exactly distribution-free two-sample tests, universally consistent tests, and tests with strong efficiency guarantees [5,7]. We will expand the Introduction to discuss these applications and include the appropriate references.

The paper emphasized versatility and high-dimensional cases. However, the results do not really `cover' the bounds for the special cases studied by previous algorithms. For instance, the approximation ratio and update time in Goranci et al. scale with O(1/ϵ)O(1/\epsilon), but this paper scales with O(1/ϵ3/2)O(1/\epsilon^{3/2}).

Compared to the recent work of Goranci et al., can you explain more why your algorithm can avoid the exponential blowup in dimension?

Related to the above question: if the use of proxy points and the recomputation of the matching inside each cell is important, is the 1/ϵ3/21/\epsilon^{3/2} dependence the best that can be obtained by balancing the parameters within this framework?

Can you confirm that the Goranci et al. result does not have dd in the approximation ratio?

We first explain how our approach differs from Goranci et al. [8] (ICML 2025) and how it avoids the exponential dependence on dd. Their algorithm uses the same shifted quad-tree decomposition but, after each update, recomputes an exact matching on bounded-spread subinstances containing up to min⁡(n,⌈nϵ⌉d)\min(n,\lceil n^{\epsilon}\rceil^d) points using the Hungarian algorithm. So when taking the dimension into account, the update time is O(min⁡(n,⌈nϵ⌉d)3)O\big(\min(n,\lceil n^{\epsilon}\rceil ^d)^3\big) and their approximation factor is O(dϵ−1)O(d\epsilon^{-1}). Consequently, the update time is sublinear only when these subinstances contain a sublinear number of points, which only occurs when d<1/ϵd<1/\epsilon. Moreover, obtaining an O(nϵ)O(n^\epsilon)-type update time requires rescaling the parameter by a factor of dd, degrading the approximation guarantee from O(d/ϵ)O(d/\epsilon) to O(d2/ϵ)O(d^2/\epsilon). We note that this rescaling trick does not work if dd is large since ⌈nϵ⌉d≥2d\lceil n^{\epsilon}\rceil^d\geq 2^d.

Our main technical contribution is a new dynamic relative approximation algorithm for bounded-spread instances. The key algorithmic insight is the design of a relative approximation algorithm whose update time depends polynomially on the spread of the point set and on the update time of a dynamic ANN data structure for the underlying distance function, resulting in a sublinear dependence on the number of points. Consequently, the subinstances generated by our shifted quad-tree decomposition need only have sublinear spread rather than sublinear cardinality. A quad-tree cell may contain as many as Θ(n)\Theta(n) points while still supporting efficient updates, provided that its spread is sublinear. This removes dd from the exponent of the update time and allows the shifted quad-tree approach to provide guarantees across all dimensions. We also clarify that proxy distances are used in our second, general-metric algorithm and are not part of the shifted quad-tree algorithm in Theorem 1.1.

We next clarify the approximation guarantees. When dd is small, our algorithm can use a 22-approximate dynamic ANN data structure with O(log⁡n)O(\log n) update time, yielding an O(d/ϵ)O(d/\epsilon) approximation with O(nϵ)O(n^\epsilon)-type update time. Thus, throughout the regime in which Goranci et al. [8] apply, our algorithm improves the approximation factor from O(d2/ϵ)O(d^2/\epsilon) to O(d/ϵ)O(d/\epsilon) for the same update time.

For higher dimensions, where the result of Goranci et al. [8] does not provide sublinear update time, we use an O(1/ϵ)O(1/\sqrt{\epsilon})-approximate dynamic ANN data structure with O(nϵ)O(n^\epsilon) update time. Its approximation factor compounds with the O(d/ϵ)O(d/\epsilon) loss from the shifted quad-tree construction, resulting in the stated O(d/ϵ3/2)O(d/\epsilon^{3/2}) approximation. Thus, the additional 1/ϵ1/\sqrt{\epsilon} factor arises from the high-dimensional dynamic ANN data structure used in this instantiation. We will include a careful discussion of these dimensional regimes, the dependence on dd, and the source of the additional 1/ϵ1/\sqrt{\epsilon} factor in the Introduction.

The paper refers to several tools, such as the Gabow-Tarjan minimum-cost matching algorithm, without much additional explanation. I wonder whether a reader without familiarity with these tools can understand the algorithm.

Thank you for this helpful suggestion. We will add brief, self-contained descriptions of the main properties of the Gabow-Tarjan framework and the other external tools used by our algorithms. In particular, we will explain the specific invariants and algorithmic operations required by our results, so that understanding the high-level arguments does not require detailed familiarity with the original papers.

Finally, the paper does not contain experiments.

Thank you for raising this point. We agree that an empirical evaluation would be valuable. An efficient implementation of our first algorithm would require combining the high-dimensional shifted quad-tree framework with an efficient implementation of the algorithm of Lahn et al. [9] (NeurIPS 2019), which uses a dynamic ANN data structure as a black box. Our efficient implementation of Lahn et al. is based on the combinatorial ideas of Agarwal and Sharathkumar [10] (STOC 2014), whose algorithm maintains several internal data structures. Developing a careful and efficient implementation of these data structures therefore remains a substantial engineering challenge.

A promising direction toward a practical implementation is to instead use the combinatorial solver of Lahn, Raghvendra, and Zhang [11] (NeurIPS 2023). Their algorithm is based on the push-relabel framework, is considerably simpler and highly parallelizable, and admits a GPU implementation. An important future challenge is to design an ANN-based implementation of their algorithm, which could lead to a simple and highly practical implementation of our data structure. We will include a discussion of this direction in the conclusion.

The cell notation □\square is a bit funny: for a moment, I thought it was broken math rendering.

Thank you for pointing this out. We agree that the notation may be confusing, and we will replace □\square with a more conventional symbol, such as CC, in the revised manuscript.

Lines 290--291: `we conclude that the amortized time it takes to maintain an explicit matching is O(n2ϵd(dlog⁡n+nϵ)ϵ−2)O(n^{2\epsilon}d(d\log n+n^\epsilon)\epsilon^{-2}).' Is there a typo here? Should it be ϵ−3/2\epsilon^{-3/2}? While the bound can be made O(nϵ)O(n^\epsilon) via rescaling, going from ϵ−2\epsilon^{-2} to ϵ−3/2\epsilon^{-3/2} is not possible.

Thank you for catching this error. The ϵ−2\epsilon^{-2} factor in the detailed bound is correct; the subsequent ϵ−3/2\epsilon^{-3/2} expression is a typo. After rescaling the exponent of nn, the update time remains roughly O(nϵϵ−2)O(n^\epsilon\epsilon^{-2}), up to the other stated factors. We will correct this expression in the revised manuscript.

References

[1] Mokrov, P., Korotin, A., Li, L., Genevay, A., Solomon, J., Burnaev, E. (2021). Large-Scale Wasserstein Gradient Flows. Neurips.

[2] Haviv, Pooladian, Pe'er, and Amos (2025) present Wasserstein Flow Matching: Generative Modeling over Families of Distributions. ICML.

[3] Trillos, Nicolas, Slepčev, Dejan. (2014). On the rate of convergence of empirical measures in ∞\infty-transportation distance. Canadian Journal of Mathematics.

[4] Brenier, Y. (1991). Polar Factorization and Monotone Rearrangement of Vector-Valued Functions. Communications on Pure and Applied Mathematics.

[5] Ghosal, Promit, Sen, Bodhisattva. (2022). Multivariate ranks and quantiles using optimal transport: Consistency, rates and nonparametric testing. The Annals of Statistics.

[6] Chernozhukov, Victor, Galichon, Alfred, Hallin, Marc, Henry, Marc. (2017). Monge-Kantorovich Depth, Quantiles, Ranks, and Signs. The Annals of Statistics.

[7] Mallasto, A., Feragen, A. (2017). Learning from uncertain curves: The 2-Wasserstein metric for Gaussian processes. Neurips.

[8] Goranci, G., Kiss, P., Patel, N., P., M. S., Szilagyi, E., Zheng, D. (2025). Fully Dynamic Euclidean Bi-Chromatic Matching in Sublinear Update Time (ICML 2025).

[9] Lahn, N., Mulchandani, D., Raghvendra, S. (2019). A graph theoretic additive approximation of optimal transport. Neurips.

[10] Pankaj K. Agarwal and R. Sharathkumar. 2014. Approximation algorithms for bipartite matching with metric and geometric costs. In Proceedings of the forty-sixth annual ACM symposium on Theory of computing (STOC '14).

[11] Nathaniel Lahn, Sharath Raghvendra, and Kaiyi Zhang. (2023). A combinatorial algorithm for approximating the optimal transport in the parallel and MPC settings. Neurips.

Reviewer hJyD · CommentOpenReview ↗

I thank the reviewers for the responses and clarifications. For the record to the AC: I think the authors' responses have largely resolved my concerns about the motivation, although I believe a better discussion should be added in the final version of the paper.

I also went over my colleagues' reviews, and I'm less concerned about the technical novelty. I agree that most of the techniques in this paper are extensions of standard approaches, but putting them together still requires non-trivial work.

Overall, I remain supportive of the paper.

Reviewer VvgbOpenReview ↗
Rating
6/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
4/4
Originality
4/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors suggest two algorithms for maintaining the approximate Wasserstein-p cost of a matching between two point sets A and B in metric space under insertion and deletion of pairs (a,b). They provide two main results: (1) For geometric instances in d-dimensional space with lpl_p metric, they suggest a fully dynamic algorithm maintaining an expected approximate W1W_1 matching. The approximation factor depends on d and on an arbitrary positive ϵ<1\epsilon <1. The amortized update time depends on the number of points, d, epsilon, and the update and query time of an alpha-approximate nearest-neighbor data structure under the lpl_p metric. Using existing results concerning dimension reduction, for the Euclidean metric, they show a result with an expected factor of O(ϵ3/2log⁡n)O(\epsilon^{3/2}\log n) and an amortized update time of O(d+nϵϵ−3/2log⁡n)O(d+n^\epsilon \epsilon^{-3/2}\log n). (2) For arbitrary metric space, an arbitrary integer k≥1k\ge 1, and any ϵ\epsilon they suggest an algorithm for maintaining an (2k(1+ϵ)p(2k(1+\epsilon)^p-approximative matching for the p-th power objective function, and an 2k(1+ϵ2k(1+\epsilon-approximative matching for the p-Wasserstein cost. The amortized update time is O(kn1+1/kϵ−1log⁡δ)O(kn^{1+1/k}\epsilon^{-1}\log \delta), where δ\delta is the spread of the metric instance. The result generalizes an incremental-only algorithm by Seth et al. for 1-Wasserstein matching, which does not extend to p-Wasserstein costs.

Strengths and weaknesses

Quality: The proofs, lemmas, and the overall logical flow seems to be mathematically sound. Due to time constraints, I could not verify all details, but those with which I am familiar (primal-dual matching, augmenting path, Hungarian search) are correct. I am confident that it is correct.

Clarity: The authors did a great job for describing the high-level proof strategy, and then the single steps.

Significance: The submission clearly advances the state-of-the-art in dynamic matching under the Wasserstein-p cost. Given its applications to comparing distributions, the topic is clearly relevant to NeurIPS.

Originality: The authors elegantly take previous results and combine them with new ideas. For their first results, they decompose a polynomial-spread instance into a hierarchy of low-spread instances, solve those, and use a periodic reconstruction framework. For the second result, they use dynamic k-level clustering.

Questions

In the subsection 3.1 Proxy Distance, you mention that you can scale the metric, and assume without loss of generality that the minimum nonzero distance between andy two points in the sampled set is at least 1. If two points are very close to each other, then you need to scale with a large factor. Why does this factor have no impact on the runtime or the approximation bound?

I understand that these are theoretical results. However, I would be interested in the practicality of the algorithms. Are they practical? For which instance sizes and parameters do you expect that those will work well in practice?

Limitations

I would have liked to see comments on the practicality of the algorithms.

Final justification

The paper makes a strong theoretical contribution by providing fully dynamic approximation algorithms for Wasserstein-p matching in both geometric and general metric settings, with nontrivial approximation guarantees and amortized update bounds. The rebuttal fully addressed my original questions, and I have no remaining decision-critical concerns. I therefore maintain my strong accept score.

Formatting concerns

ln. 251: typo: at various cells ln. 586, reference [37]: missing publication information, we only have the authors and the title, and the year 2019

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your review and valuable feedback.

In the subsection 3.1 Proxy Distance, you mention that you can scale the metric, and assume without loss of generality that the minimum nonzero distance between any two points in the sampled set is at least 1. If two points are very close to each other, then you need to scale with a large factor. Why does this factor have no impact on the runtime or the approximation bound?

Relative approximation guarantees are invariant under uniform scaling, so rescaling the metric does not affect the approximation quality. It does, however, affect the running time. Let δmin⁡\delta_{\min} be the smallest nonzero edge cost and let DD be the largest edge cost. Scaling all costs by 1/δmin⁡1/\delta_{\min} makes the smallest nonzero cost equal to 11, while the largest becomes Δ\Delta, the spread of the instance. Thus, very small nonzero edge costs result in a larger spread. The update time is $ O(k n^{1+1/k}\log \Delta)$, so the dependence on the spread is only logarithmic. We will clarify this point in Section 3.1.

I would be interested in the practicality of the algorithms. Are they practical? For which instance sizes and parameters do you expect that those will work well in practice?

The practicality of the two results differs. An efficient implementation of our first algorithm would require combining the high-dimensional shifted quad-tree framework with an efficient implementation of the algorithm of Lahn et al. [1] (NeurIPS 2019), which uses a dynamic ANN data structure as a black box. Our efficient implementation of Lahn et al. is based on the combinatorial ideas of Agarwal and Sharathkumar [2] (STOC 2014), whose algorithm maintains several internal data structures. Developing a careful and efficient implementation of these data structures is a substantial effort.

A promising direction toward a practical implementation is to instead use the combinatorial solver of Lahn, Raghvendra, and Zhang [3] (NeurIPS 2023). Their algorithm is based on the push-relabel framework, is considerably simpler and highly parallelizable, and admits a GPU implementation. An important future challenge is to design an ANN-based implementation of their algorithm, which could lead to a simple and highly practical implementation of our data structure. We will include a discussion of this direction in the conclusion.

In contrast, our second result, which applies to WpW_p for every p≥1p\geq 1, is directly implementable. The clustering-based static algorithm on which it builds already has a prototype Python implementation due to Agarwal et al. [4] (ICLR 2026). However, Python implementations of graph algorithms typically incur substantial overhead and may obscure the scalability benefits of the underlying approach. Realizing these benefits in practice would require an efficient C++ implementation of our fully dynamic data structure

ln. 251: typo: at various cells ln. 586, reference [37]: missing publication information, we only have the authors and the title, and the year 2019

Thank you for pointing these out. We will fix them.

References

[1] Lahn, N., Mulchandani, D., Raghvendra, S. (2019). A graph theoretic additive approximation of optimal transport. Neurips.

[2] Pankaj K. Agarwal and R. Sharathkumar. 2014. Approximation algorithms for bipartite matching with metric and geometric costs. In Proceedings of the forty-sixth annual ACM symposium on Theory of computing (STOC '14).

[3] Nathaniel Lahn, Sharath Raghvendra, and Kaiyi Zhang. (2023). A combinatorial algorithm for approximating the optimal transport in the parallel and MPC settings. Neurips.

[4] Agarwal, P. K., Chubet, O., Raghvendra, S., Yao, K. (2026). A scalable constant-factor approximation algorithm for WpW_p optimal transport.

Reviewer Vvgb · CommentOpenReview ↗

Thank you for the rebuttal. Your responses have fully addressed my two questions. I therefore maintain my strong accept score.

Reviewer kBHaOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper studied the fully dynamic minimum-cost perfect matching problem in metrics. There are essentially two regimes considered:

  1. W1W_1 objectives in (Rd,ℓp)(R^d, \ell_p) metrics. The paper presents a fully dynamic algorithm that maintains a dε−3/2d \varepsilon^{-3/2}-approximation with O(nεdε−3/2φ)O(n^\varepsilon d \varepsilon^{-3/2} \varphi) update time, where φ\varphi denotes the update time of approximate nearest-neighbor search. The algorithm operates by decomposing the input into local bounded-spread instances, and running a bounded-spread algorithm on each instance. The decomposition is obtained through a quad-tree with random shifts. The bounded-spread algorithm is obtained by periodically running a static algorithm for the same problem, and making arbitrary local repairs in between.

  2. WpW_p objectives in arbitrary metrics. The paper presents a fully dynamic algorithm that maintains a 2k(1+ε)2k(1 + \varepsilon)-approximation with O(kn1+1/kε−1log⁡Δ)O(kn^{1 + 1/k} \varepsilon^{-1} \log \Delta) update time, where Δ\Delta denotes the spread. The algorithm first obtains proxy distances using hierarchal clusters. For each of kk levels, the centers are subsampled from the previous-level centers with probability n−1/kn^{-1/k}. Then, a proxy distance for a pair of points is approximated through the lowest level center that contains both points in its cluster. These proxy distances are then used to maintain a primal-dual matching, through a Hungarian-style augmenting-path-finding routine.

Strengths and weaknesses

Quality: The proofs are well-written and logically sound.

Clarity: The claims are concisely stated. However, the paper does not clearly distinguish between the methods adopted from prior work and its own technical contributions. A brief, explicit summary that highlights the new techniques would improve clarity.

Originality: My primary concern is the paper's novelty. The presented algorithms appear to be relatively straightforward dynamizations of established tools / static algorithms. For instance, in Theorem 1.1, the use of quad-trees with random shifts, periodic reconstruction of the output through a static algorithm, and decomposition into bounded-spread instances all seem to be well established in the literature. Perhaps a clearer statement of the paper’s technical contributions would help address this concern.

Significance: The paper's most notable results are the generalization to ℓp\ell_p norms in Theorem 1.1, and the generalization to WpW_p objectives and the fully dynamic setting (i.e., both insertions and deletions) in Theorem 1.3. It is also worth noting that, for Euclidean spaces, Theorem 1.1 improves over prior work only for a limited regime of dimensions (ω(1)\omega(1) and o(log⁡n)o(\log n)).

Questions

See clarity and originality concerns above.

Limitations

See the remarks concerning significance.

Final justification

I thank the authors for their informative responses. My concerns regarding novelty have been addressed. I also agree with the other reviewer that extending the standard approaches constitutes a non-trivial technical contribution.

Accordingly, I would recommend the acceptance of the paper.

Formatting concerns
2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your thoughtful review and valuable feedback.

The paper's most notable results are the generalization to norms in Theorem 1.1 and the generalization to objectives and the fully dynamic setting in Theorem 1.3. It is also worth noting that, for Euclidean spaces, Theorem 1.1 improves over prior work only for a limited regime of dimensions.

We realize that the manuscript did not convey all of our improvements clearly. The significance of Theorem~1.1 is broader than currently reflected in the manuscript. We summarize the results of prior work and compare them to ours below. For the sake of simplicity, we ignore factors that are polynomial in dd, 1/ϵ1/\epsilon and log⁡n\log n in the update times. The two notable prior related results achieve the following:

  • Goranci et al. [1] (ICML 2025): This paper achieves an O(1/ϵ)O(1/\epsilon) approximation with an update time of O(nϵ)O(n^\epsilon); however, the dimension of the space is treated as a constant. When taking dd into account, their update time is O(min⁡(n,⌈nϵ⌉d)3)O\big(\min(n,\lceil n^{\epsilon}\rceil ^d)^3\big) and their approximation factor is O(dϵ−1)O(d\epsilon^{-1}). The update time is sublinear only when d<1/ϵd<1/\epsilon. Achieving an O(nϵ)O(n^\epsilon) update time requires rescaling the parameter ϵ\epsilon by a factor of dd, which yields an approximation factor of O(d2ϵ−1)O(d^2\epsilon^{-1}). It is worth noting that this rescaling trick is only viable when dd is small.

  • Goranci et al.\ [2] (SODA 2026): This paper achieves an O(log⁡n⋅ϵ−3/2log⁡ϵ−1)O\left(\log n\cdot \epsilon^{-3/2}\log \epsilon^{-1}\right) approximation with an update time of O(nϵ)O(n^\epsilon) in the high-dimensional setting when the ground metric is the ℓ2\ell_2-norm. Although their framework can be applied to any ℓq\ell_q-norm, the resulting update time is roughly O(2dϵ)O(2^{d\epsilon}), which is exponential in dd. The update time can be reduced to O(nϵ)O(n^\epsilon) for the ℓ2\ell_2-norm using the Johnson-Lindenstrauss lemma.

Our result improves the state of the art in the following regimes:

  • Low dimensions (d<1/ϵd<1/\epsilon): For the same O(nϵ)O(n^\epsilon) update time, our algorithm achieves an O(d/ϵ)O(d/\epsilon) approximation, whereas Goranci et al.\ [1] (ICML~2025) achieve an O(d2/ϵ)O(d^2/\epsilon) approximation.

  • Intermediate dimensions (1/ϵ≤d<log⁡n1/\epsilon\leq d<\log n): No sublinear-update algorithm was previously known in this regime with an O(d)O(d) approximation factor. Our algorithm provides the first such result.

  • High dimensions (d≥log⁡nd\geq\log n): Our algorithm matches the approximation factor and update time of Goranci et al. [2] \ (SODA~2026), while extending their Euclidean result to all ℓq\ell_q-norms.

Notably, unlike prior work, a single algorithm achieves these best-known guarantees across all dimensional regimes and for every ℓq\ell_q-norm. The details for these improvements are provided below.

The paper does not clearly distinguish between the methods adopted from prior work and its own technical contributions. A brief, explicit summary that highlights the new techniques would improve clarity. The presented algorithms appear to be relatively straightforward dynamizations of established tools/static algorithms.

We agree that the distinction between ingredients inherited from prior work and our new technical contributions can be made more explicit. We will revise the "Our Results and Techniques" section to better highlight these differences. Our paper contains two independent technical contributions, corresponding to Theorems 1.1 and 1.3.

The closest prior work for Theorem 1.1 is Goranci et al. [1] (ICML'25). Their algorithm also uses the shifted quad-tree decomposition but, after each update, recomputes an exact matching on bounded-spread subinstances containing up to min⁡(n,⌈nϵ⌉d)\min(n,\lceil n^{\epsilon}\rceil^d) points using the Hungarian algorithm. So when taking the dimension into account, the update time is O(min⁡(n,⌈nϵ⌉d)3)O\big(\min(n,\lceil n^{\epsilon}\rceil ^d)^3\big) and their approximation factor is O(dϵ−1)O(d\epsilon^{-1}). Consequently, the update time is sublinear only when these subinstances contain a sublinear number of points, which only occurs when d<1/ϵd<1/\epsilon. Moreover, obtaining an O(nϵ)O(n^\epsilon)-type update time requires rescaling the parameter by a factor of dd, degrading the approximation guarantee from O(d/ϵ)O(d/\epsilon) to O(d2/ϵ)O(d^2/\epsilon). We note that this rescaling trick does not work if dd is large since ⌈nϵ⌉d≥2d\lceil n^{\epsilon}\rceil^d\geq 2^d. It, therefore, does not achieve sublinear update time in the high dimensional setting.

Our first technical contribution is a new dynamic relative approximation algorithm for bounded-spread instances. The key algorithmic insight is the design of a relative approximation algorithm whose update time depends polynomially on the spread of the point set and on the update time of the dynamic ANN data structure for the underlying distance function, resulting in a sublinear dependence on the number of points. Consequently, the subinstances generated by our shifted quad-tree decomposition need only have sublinear spread, rather than sublinear cardinality. A quad-tree cell may therefore contain as many as Θ(n)\Theta(n) points while still supporting efficient updates, provided that its spread is sublinear. This new spread-sensitive solver allows us to extend the shifted quad-tree approach beyond the low-dimensional regime and obtain guarantees across all dimensions. We note that by instantiating our framework with low-dimensional dynamic ANN data structures, our algorithm achieves an approximation factor of O(d/ϵ)O(d/\epsilon) throughout the regime 1<d<1/ϵ1<d<1/\epsilon, improving upon the O(d2/ϵ)O(d^2/\epsilon) guarantee of Goranci et al. [1] (ICML'25) after accounting for the dependence on the dimension. We did not explicitly state this optimization in the submitted version and will include it in the revision.

Our second technical contribution is a fully dynamic algorithm for approximate pp-Wasserstein matching in arbitrary metric spaces. A central challenge is that the costs dp(x,y)d^p(x,y) no longer satisfy the triangle inequality, requiring a more delicate analysis than in the metric setting. Existing algorithms for approximate WpW_p-matching in arbitrary metric spaces, such as Agarwal et al. [3] (ICLR 2026), rely on replacing the original metric costs with clustering-based proxy distances and executing a Hungarian-style primal-dual algorithm on these proxy distances. Supporting fully dynamic updates introduces two additional challenges. First, the clustering must be maintained under insertions and deletions. Deletions can trigger major changes to the clustering, which may be expensive. To overcome this, we employ a lazy-deletion approach. Second, the insertion or deletion of a single point can create, delete, or modify multiple clusters, causing the proxy distances for many pairs of points to change. These changes can invalidate the feasibility conditions maintained by the primal-dual algorithm. Overcoming these challenges requires many new ideas. We relax the feasibility conditions and adapt the Hungarian search to operate correctly on dynamically changing proxy distances. These ideas form the basis of the fully dynamic data structure presented in Section 3.

In the revision, we will expand the comparison with prior work to better distinguish inherited ideas from our new algorithmic techniques, explicitly state the improved O(d/ϵ)O(d/\epsilon) approximation guarantee obtained using low-dimensional dynamic ANN data structures, and better highlight the distinct technical contributions underlying Theorems 1.1 and 1.3.

References.

[1] Goranci, G., Kiss, P., Patel, N., P., M. S., Szilagyi, E., Zheng, D. (2025). Fully Dynamic Euclidean Bi-Chromatic Matching in Sublinear Update Time (ICML 2025).

[2] Goranci, G., Jiang, S. H.-C., Kiss, P., Kong, Q., Qian, Y., Szilagyi, E. (2026). Tree Embedding in High Dimensions: Dynamic and Massively Parallel. In ACM-SIAM Symposium on Discrete Algorithms (SODA26)

[3] Agarwal, P. K., Chubet, O., Raghvendra, S., Yao, K. (2026). A scalable constant-factor approximation algorithm for WpW_p optimal transport.

Reviewer kBHa · CommentOpenReview ↗

I thank the authors for their informative responses. My concerns regarding novelty have been addressed. I also agree with the other reviewer that extending the standard approaches constitutes a non-trivial technical contribution.

Accordingly, I would recommend the acceptance of the paper.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…