Efficient Algorithms For Fully Dynamic Bipartite Matching In Metric Spaces
Pankaj K Agarwal, Oliver Chubet, Sharath Raghvendra, Arian Zamani
NeurIPS 2026
Abstract. Given two point sets and of points each in a metric space , a matching is a set of pairs such that each point of appears exactly once in . The -cost of is . is \textit{-approximate} if its cost is at most times the minimum cost of a matching of and . We study the problem of maintaining an -approximate matching of and under insertion and deletion of point pairs.
For , with being the -norm, , and for any parameter , we present the following two data structures for maintaining a matching under the -cost:
- The first one maintains an expected -approximate matching in amortized update time , where denotes the update and query time of a dynamic -approximate nearest-neighbor data structure under the -norm.
- The second one maintains an expected -approximate matching in expected amortized update time , where and hides polylogarithmic factors. For the Euclidean metric (), the approximation factor becomes . \end{itemize}
For in an arbitrary finite metric space, any integer , and any constant , we present a fully dynamic data structure that maintains an -approximate matching of and under the -cost in amortized update time , where is the spread of .
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 paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:42 UTC.
- 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.
- 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.
- 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 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 space and general metrics.
- For space, the paper gave an algorithm that finds an approximation of the optimal transportation in update time, where is the amortied udpate time for maintaining -approximation for the nearest neighbor on points.
- Using the above result and dimensionality reduction techniques, we can obtain approximation in the (Euclidean) space with update time.
- For general metric, the paper obtained -approximation in 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 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 -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 . 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-, which I think is used much less frequently in practice (compared to optimal transportation, Wasserstein-). 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 , but this paper scales with . 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 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 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 .” Is there a typo here? Should it be ? While the bound can be made via re-scaling, going from to 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
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.
- 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 metric, they suggest a fully dynamic algorithm maintaining an expected approximate matching. The approximation factor depends on d and on an arbitrary positive . 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 metric. Using existing results concerning dimension reduction, for the Euclidean metric, they show a result with an expected factor of and an amortized update time of . (2) For arbitrary metric space, an arbitrary integer , and any they suggest an algorithm for maintaining an -approximative matching for the p-th power objective function, and an -approximative matching for the p-Wasserstein cost. The amortized update time is , where 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
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 be the smallest nonzero edge cost and let be the largest edge cost. Scaling all costs by makes the smallest nonzero cost equal to , while the largest becomes , 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 for every , 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 optimal transport.
Thank you for the rebuttal. Your responses have fully addressed my two questions. I therefore maintain my strong accept score.
- 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:
-
objectives in metrics. The paper presents a fully dynamic algorithm that maintains a -approximation with update time, where 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.
-
objectives in arbitrary metrics. The paper presents a fully dynamic algorithm that maintains a -approximation with update time, where denotes the spread. The algorithm first obtains proxy distances using hierarchal clusters. For each of levels, the centers are subsampled from the previous-level centers with probability . 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 norms in Theorem 1.1, and the generalization to 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 ( and ).
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
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 , and in the update times. The two notable prior related results achieve the following:
-
Goranci et al. [1] (ICML 2025): This paper achieves an approximation with an update time of ; however, the dimension of the space is treated as a constant. When taking into account, their update time is and their approximation factor is . The update time is sublinear only when . Achieving an update time requires rescaling the parameter by a factor of , which yields an approximation factor of . It is worth noting that this rescaling trick is only viable when is small.
-
Goranci et al.\ [2] (SODA 2026): This paper achieves an approximation with an update time of in the high-dimensional setting when the ground metric is the -norm. Although their framework can be applied to any -norm, the resulting update time is roughly , which is exponential in . The update time can be reduced to for the -norm using the Johnson-Lindenstrauss lemma.
Our result improves the state of the art in the following regimes:
-
Low dimensions (): For the same update time, our algorithm achieves an approximation, whereas Goranci et al.\ [1] (ICML~2025) achieve an approximation.
-
Intermediate dimensions (): No sublinear-update algorithm was previously known in this regime with an approximation factor. Our algorithm provides the first such result.
-
High dimensions (): Our algorithm matches the approximation factor and update time of Goranci et al. [2] \ (SODA~2026), while extending their Euclidean result to all -norms.
Notably, unlike prior work, a single algorithm achieves these best-known guarantees across all dimensional regimes and for every -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 points using the Hungarian algorithm. So when taking the dimension into account, the update time is and their approximation factor is . Consequently, the update time is sublinear only when these subinstances contain a sublinear number of points, which only occurs when . Moreover, obtaining an -type update time requires rescaling the parameter by a factor of , degrading the approximation guarantee from to . We note that this rescaling trick does not work if is large since . 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 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 throughout the regime , improving upon the 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 -Wasserstein matching in arbitrary metric spaces. A central challenge is that the costs no longer satisfy the triangle inequality, requiring a more delicate analysis than in the metric setting. Existing algorithms for approximate -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 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 optimal transport.
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.
Loading the discussion…
Rebuttal
Thank you for your thoughtful review and valuable feedback.
W2 metric arises in numerous applications and has been extensively studied in different fields. In the context of AI and ML, W2-metric (and more generally Wp-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∞ also arises in some data analysis applications [3].
Beyond these applications, quadratic transport has structural advantages that are absent for W1. Under standard regularity conditions, the W2-optimal transport map is the essentially unique gradient of a convex potential, providing a canonical and interpretable map between distributions; by contrast, W1-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.
We first explain how our approach differs from Goranci et al. [8] (ICML 2025) and how it avoids the exponential dependence on d. 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) points using the Hungarian algorithm. So when taking the dimension into account, the update time is O(min(n,⌈nϵ⌉d)3) and their approximation factor is O(dϵ−1). Consequently, the update time is sublinear only when these subinstances contain a sublinear number of points, which only occurs when d<1/ϵ. Moreover, obtaining an O(nϵ)-type update time requires rescaling the parameter by a factor of d, degrading the approximation guarantee from O(d/ϵ) to O(d2/ϵ). We note that this rescaling trick does not work if d is large since ⌈nϵ⌉d≥2d.
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) points while still supporting efficient updates, provided that its spread is sublinear. This removes d 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 d is small, our algorithm can use a 2-approximate dynamic ANN data structure with O(logn) update time, yielding an O(d/ϵ) approximation with O(nϵ)-type update time. Thus, throughout the regime in which Goranci et al. [8] apply, our algorithm improves the approximation factor from O(d2/ϵ) to O(d/ϵ) 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/ϵ)-approximate dynamic ANN data structure with O(nϵ) update time. Its approximation factor compounds with the O(d/ϵ) loss from the shifted quad-tree construction, resulting in the stated O(d/ϵ3/2) approximation. Thus, the additional 1/ϵ 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 d, and the source of the additional 1/ϵ factor in the Introduction.
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.
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.
Thank you for pointing this out. We agree that the notation may be confusing, and we will replace □ with a more conventional symbol, such as C, in the revised manuscript.
Thank you for catching this error. The ϵ−2 factor in the detailed bound is correct; the subsequent ϵ−3/2 expression is a typo. After rescaling the exponent of n, the update time remains roughly O(nϵϵ−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 ∞-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.