Manuscript Offprint
arXiv:2608.27805The Power of Local Marginals: An -Aspect-Ratio Reduction for Dynamic Weighted Matching
Abstract
We study dynamic maximum weight matching (MWM) under edge insertions and deletions in two settings: maintaining a -approximation to the optimum weight, and maintaining an explicit -approximate matching. Our main result is a reduction that transforms instances of polynomial aspect ratio into instances of aspect ratio . The reduction applies to general graphs in both settings and is compatible with partially dynamic updates.
The reduction is based on a structural property of local marginals. After grouping edges into weight classes, the global marginal contribution of one class relative to all lower classes is approximated by its marginal contribution within a local weight window of aspect ratio . Summing these local marginals yields a value composition lemma that uses only approximate optimum values of the local windows. This improves the value reduction of Gupta and Peng (FOCS 2013), whose local aspect ratio is . The same structural property yields an improved matching composition lemma for explicit matchings, reducing the local aspect ratio of Bernstein–Chen–Dudeja–Langley–Sidford–Tu (SODA 2025) from to .
Contents
1 Introduction 2
2 Value and Matching Composition 5
2.1 Value Composition 5
2.2 Matching Composition 7
2.3 Tightness of the Local Aspect Ratio 8
3 Dynamic Weight Reduction for MWM Weight 8
3.1 Dynamic Weight-to-Cardinality Reduction in Bipartite Graphs 9
3.2 Application 10
4 Dynamic Weight Reduction for Explicit Matchings 10
4.1 Lazy Composition for Bounded Aspect Ratio 11
4.2 Analysis of Lazy Composition 12
4.3 Putting Everything Together 14
4.4 Dynamic Weighted-to-Unweighted Reduction in Bipartite Graphs 14
4.5 Applications 15
A Low-Degree MWM Sparsifier for Low-Arboricity Graphs 19
We study the dynamic matching problem, in which a graph G undergoes edge updates (insertions and deletions) and the algorithm maintains a large matching after every update. The time taken for the algorithm to maintain the matching between edge updates is the update time. For exact maximum matching, conditional lower bounds rule out amortized update time for every constant , even for bipartite MCM under only insertions or only deletions [Dah16].
The barriers motivate approximation. The ultimate goal is a dynamic algorithm that maintains a -approximate matching , in update time [ARW17, Liu24]. A -approximate MWM, or -MWM, has weight . The correspondence in a unit-weight graph is called a -MCM, with cardinality . In a partially dynamic graph, where updates consist only of edge insertions (incremental) or only of edge deletions (decremental), -update-time results are known [Gup14, BK23, CST25, BCD 25].
The fully dynamic setting remains significantly different even for -MCM: no polynomial improvement over the linear update-time barrier is known for maintaining an explicit matching on dense graphs, and the best bounds remain [GP13, ABKL23, Liu24, MS25]. Recent work parameterizes the update time by the density of Ordered Ruzsa–Szemerédi (ORS) graphs, which pack a sequence of linear-size matchings that are induced relative to later ones [BG24, AKK25, MS25]. Later it is shown by [Pra26] that ORS density is essentially equivalent to classical RS density, which is a longstanding open problem in extremal combinatorics, and the current bounds do not yet yield a polynomial update-time improvement.
Alternatively, for the value version of the problem of maintaining a -approximation to , i.e., , [BKS23] gives a randomized fully dynamic algorithm with worst-case update time with high probability against an adaptive adversary, giving the first polynomial improvement over the barrier on dense graphs.
For weighted graphs, a central line of work develops black-box reductions from dynamic MWM to dynamic MCM. The first general reduction [SW17] loses roughly a factor of two in the approximation ratio. For bipartite graphs, [BDL21] subsequently obtained the first low-loss reduction, transforming a dynamic -MCM algorithm into a dynamic -MWM algorithm, but with overhead. [BCD 25] later reduced the overhead to in bipartite graphs by first introducing matching composition. More recently, [BC26] developed the first low-loss reduction for fully dynamic general graphs, using a primal–dual framework and incurring overhead.
The two low-loss reductions with poly( ) overhead share the same elegant weight reduction. The matching composition lemma of [BCD 25] decomposes an instance with poly(n) aspect ratio—the ratio between its largest and smallest edge weights—into subgraphs of aspect ratio where each subgraph contains every edge with weight in a given window. It then shows that the union of the local -MWMs in each window contains a global -MWM, thereby reducing poly(n) aspect ratio to with only poly( ) additive overhead. For bipartite graphs, [BCD 25] combines this lemma with the dynamic graph unfolding framework of [BDL21]. For general graphs, [BC26] combines the weight range reduction with a primal-dual algorithm based on induced-matching queries simulated by fully dynamic bipartite -MCM algorithms.
Throughout this paper, we assume that the edge weights are bounded by .
Both [BCD 25, BC26] require the MCM algorithm to return an explicit matching. Consequently, neither reduction applies to the value-only breakthrough above. For bipartite graphs, the earlier black-box reduction of [BDL21] is essentially value-compatible. However, it uses the dynamic weight reduction framework of [GP13] that incurs overhead (see [BCD 25] for a detailed discussion on the limitation of [GP13]).
This leaves our central question, already open for bipartite graphs: Can a dynamic algorithm that only estimates the MCM cardinality be converted into a dynamic algorithm that estimates the MWM weight, with only overhead?
We answer this question affirmatively for bipartite graphs, based on the first low-loss value-compatible dynamic weight reduction with overhead. Our reduction decreases the aspect ratio from to using only local MWM-value estimates and works for general graphs. Combined with graph unfolding [KLST01, BDL21], which is specific to bipartite graphs, it transforms a dynamic bipartite MCM-value algorithm into an MWM-value algorithm with only overhead. The reduction is based on a simple observation on the marginal contribution of local weight windows. The same observation also leads to an improved weight reduction for explicit matchings. We now explain the observation below.
The Power of Local Marginals. Denote by the aspect ratio of the graph. Rescale the edge weights to and partition the edges into classes . Let denote the graph induced by . Let and .
The matching composition lemma of states a structural property of explicit local matchings: the union of approximate matchings computed on overlapping weight windows contains a near-optimal matching for the whole graph.
In the value-only setting where explicit matchings are unavailable, we instead seek a quantity that can be composed using only local optimum values. Define the marginal contribution of w.r.t. lower classes as . Taking exposes the entire prefix and is the global contribution of . The key observation shows that if we take , corresponding to aspect ratio , gives a sufficiently accurate approximation to .
Lemma 1.1. For any class and any integer , .
The local contribution can also be realized by explicit matchings, which naturally leads to an improved matching composition lemma. Let be an approximate MWM of the local window, and let be any matching accumulated from the lower scales. The increase in matching weight obtained from approximately realizes the global contribution .
Lemma 1.2. For every , , and , let be a -MWM of and let be any matching. Then
Both Lemmas 1.1 and 1.2 are short consequences of a single local exchange lemma (Lemma 2.1) that we show at the beginning of Section 2.
In this paper, hides only factors polynomial in . All logarithms have base 2.
Value composition. Since the global contributions telescope, i.e., , Lemma 1.1 implies that the sum of the local contributions approximates the global MWM weight. This remains true when each local optimum is replaced by approximations. Consequently, an -aspect-ratio MWM weight algorithm yields a poly(n)-aspect-ratio algorithm with overhead. Combining this reduction with graph unfolding [BDL21, KLST01] converts an MCM cardinality algorithm into an MWM weight algorithm for bipartite graphs with overhead (see Theorem 3.3).
Matching composition. Lemma 1.2 gives the matching counterpart. We process the windows from low weights to high weights. After adding each local matching , we maintain a large matching from the union of and the current partial matching. Summing the gains over all steps shows that local matchings from -aspect-ratio windows compose into a -MWM.
For the dynamic implementation, immediately propagating every change in a local matching can create a cascade through all later windows. We instead rebuild a partial matching only when necessary to preserve the approximation guarantee, thereby preventing such cascades. An -aspect-ratio algorithm can be transformed into a poly(n)-aspect-ratio algorithm with overhead (see Theorem 4.8). Compared with , this improves the local aspect ratio from to and the additive update overhead from to .
Tightness of the local aspect ratio. The local aspect ratio is asymptotically tight for the two forms of composition above. Reductions using only the MWM value of each weight window require a local aspect ratio . The same lower bound holds for matching composition. However, the value lower bound does not cover reductions using additional information from the windows, and the matching lower bound assumes adversarial choices of the local MWMs. See Section 2.3.
Applications. Our dynamic weight reduction for explicit matching can replace that of in all of its dynamic applications. Here we highlight only two genuinely new consequences. For the value version, applying our reduction to yields, for every fixed , a randomized fully dynamic algorithm that maintains a -approximation to the MWM weight of a poly(n)-aspect-ratio bipartite graph in worst-case update time, with high probability against an adaptive adversary. This transfers their polynomial improvement from MCM cardinality to MWM weight in bipartite graphs.
For explicit matching, a new application is to low-arboricity graphs. We design a -MWM sparsifier with degree on a graph of arboricity . It is a natural extension of the -MCM sparsifier in low-arboricity graphs (see [PS16, Sol18]). This gives a fully dynamic algorithm for explicitly maintaining a -MWM in amortized update time . To our knowledge, this is the first result depending only on and on general graphs.
Beyond these applications, our reduction improves the -dependence of several explicit-matching bounds from . Specifically, it gives deterministic -MWM algorithms with total time in incremental bipartite graphs, amortized update time in fully dynamic maximum-degree- graphs, and amortized update time in general fully dynamic graphs. It also improves the dynamic rounding algorithm in weighted general graphs to amortized update time.
2 Value and Matching Composition
In this section, we first prove the local exchange lemma that enables the proof of Lemmas 1.1 and 1.2, and then obtain the value composition and matching composition with them.
Recall that we rescale the edge weights to and partition the edges into classes . Let denote the graph induced by with if . Let and .
The local exchange lemma will show that a matching in the prefix and a local matching in can be repartitioned into matchings in and with only a small loss in total weight. The reverse direction also holds.
Lemma 2.1 (Local Exchange). Fix an integer and .
(i) For matchings and , there are matchings , such that and
(ii) For matchings and , there are matchings and such that and
Proof. We first prove (i). Put every common edge of A and B into both output matchings. The remaining edges form vertex-disjoint alternating paths and even cycles.
On each alternating component, start at every -edge in and walk in both directions. In each direction, if it exists, delete the first edge of weight below . After all cuts, no remaining component contains both an edge of and an edge below . Every -edge in causes at most two deletions, and every edge it deletes has weight less than times its own weight. The total deleted weight is therefore at most .
Assign the remaining components as follows. On a component containing an edge in , put the -edges in and the -edges in . On a component containing an edge below , put the -edges in and the -edges in . Assign either way on every remaining component. The alternation makes both outputs matchings. Moreover, and has neither an edge in nor an edge below , so . This proves (2.1).
For (ii), apply the identical cuts corresponding to A-edges in , charging the weight loss to . On a component containing edges in , send the A-edges to C and the B-edges to D; on every other component, do the reverse. Then and , which proves (2.2).
2.1 Value Composition
To see how local exchange is useful to value composition, we prove Lemma 1.1, which shows that the local marginal contribution approximates the global marginal contribution .
Lemma 1.1. For any class and any integer , .
Proof of Lemma 1.1. For , we have and , so the claimed bound holds. Thus assume . Applying Lemma 2.1(i) to MWMs of and of , we have , and . Similarly, applying Lemma 2.1(ii) to MWMs of and of , we have .
The sum of local marginal contributions approximates the MWM weight of G. The error term is an accumulation of local MWM weights which could be bounded by the following lemma.
Lemma 2.2. For every integer ,
Proof. For every , choose an MWM of and partition the indices by their residue modulo . Fix one residue and process its nonempty in decreasing order of . Greedily add every edge that does not conflict with an edge already retained, and charge a discarded edge to one retained conflicting edge from a higher window.
Suppose a retained edge e came from . The t-th lower window in the same residue class ends at . It contributes at most two edges that conflict with e, and each such edge f satisfies
Consequently, the weight of e together with everything charged to it is at most
The retained edges form a matching in . Thus each residue class contributes at most , and there are residues.
Now we give the value composition lemma.
Lemma 2.3 (Value Composition). Let and . Suppose, for every , we have -approximate values of and , denoted by and , respectively, and define
Then
In particular, for , setting and makes a -approximation of , and any nonempty or has aspect ratio at most .
Proof. Let denote the exact version of , i.e., . Summing the bound in Lemma 1.1 over , using telescoping for the prefix differences, and applying Lemma 2.2 with gives
Again, applying Lemma 2.2 with and gives
Combining the two bounds completes the proof.
6
☐
2.2 Matching Composition
For matching composition, we first prove Lemma 1.2 which shows how to analyze the union of local -MWMs by adding them one by one.
Lemma 1.2. For every , , and , let be a -MWM of and let be any matching. Then
Proof of Lemma 1.2. Applying Lemma 2.1(i) to and gives , . Thus
Lemma 1.1 gives
Combining the two inequalities proves the claim.
Now if we take each as the MWM on , summing Lemma 1.2 over gives the desired property of the union of the local -MWMs.
Lemma 2.4 (Matching Composition). Let and . Suppose, for every , we have of . Then
In particular, for , setting and gives
and every nonempty has aspect ratio less than .
Proof. Define as the MWM on with , thus . By Lemma 1.2,
Summing over i and applying Lemma 2.2 yields
which finishes the proof.
2.3 Tightness of the Local Aspect Ratio
The value result has the best possible dependence on for reductions that see only MWM weights of subgraphs that contain all edges with weights in and .
Lemma 2.5. For any and , there are two graphs and such that, for every family satisfying for every , for every , but no value is ( )-approximation of both and .
Proof. Use two edges with weight 1 and 2R. In the first graph, the two edges are disjoint; in the second they share an endpoint. Any interval containing both weights has , so all admissible interval values agree. The global optima are and 2R. If one answer were a -estimate for both, then , which requires .
A similar statement applies to matching composition if local optima may be chosen adversarially.
Lemma 2.6. For any and , there is a graph such that, for every family satisfying for every , one can choose an MWM of for each so that
Proof. Choose with , and let be the path with edge weights and . Any interval containing both weights has and is therefore not admissible. Whenever an interval contains the unit edges, return ; whenever it contains the heavy edge, return . The union has optimum at most , while has weight . Since , the claim follows.
3 Dynamic Weight Reduction for MWM Weight
The value composition lemma gives a direct dynamic reduction: run the underlying algorithm on -aspect-ratio windows and combine the weight estimates. Since every window is a subgraph of the input, the reduction applies within any graph class closed under taking subgraphs, including bipartite and bounded-arboricity graphs.
Theorem 3.1. Let be a graph family closed under taking subgraphs. Suppose that, for every , there is a dynamic algorithm that, on a graph with at most vertices and edges, and aspect ratio at most , maintains -approximation of with initialization time and update time .
Then for every , there is a dynamic algorithm on a graph with at most vertices and edges, and aspect ratio, that maintains a -approximation of with initialization time
and update time
The reduction preserves worst-case update time, determinism, and incremental or incremental updates.
Throughout this paper, we assume that the initialization time bound of a dynamic matching algorithm is superadditive in the number of edges, with all other parameters fixed.
Proof. Set , , and . Initialize one copy of the underlying algorithm on every and , and maintain . An edge in belongs to for and to for . It therefore affects at most local instances. Before and after updating each affected instance, adjust its term in . By Lemma 2.3, they give a -approximation, and every local window has aspect ratio .
Every local instance is a fixed weight-induced subgraph. Thus an insertion in the original graph causes only insertions in local instances, and a deletion causes only deletions. The reduction introduces neither randomization nor amortization. The initialization cost is the sum of the initialization cost of each local window, where any edge contributes to windows.
3.1 Dynamic Weight-to-Cardinality Reduction in Bipartite Graphs
[BCD 25, BDL21] reduces bipartite MWM to MCM using the graph unfolding structure of [KLST01]. Roughly, unfolding replaces each vertex by copies and each integer-weight edge by a structured collection of unit-weight edges, so that the MCM cardinality in the unfolded graph equals the MWM weight of the original graph.
Lemma 3.2 ([KLST01]). For an n-node m-edge graph G with integer edge weights between 1 and R, the unfolded graph is an unweighted graph defined as follows. For each vertex u in G, create R copies of u named in . For each edge e between u and v in G, create edges between and for all in . Then has at most Rn vertices and Rm edges. Additionally, if G is bipartite, .
We combine the graph unfolding structure with Theorem 3.1 to get the following weight-to-cardinality reduction in bipartite graphs.
Theorem 3.3. Suppose that, for every , there is a dynamic algorithm that, on a unit-weight bipartite graph F with at most n vertices and m edges, maintains a -approximation of in initialization time and update time .
Then for every , there is a dynamic algorithm on a bipartite graph with at most vertices and edges, and aspect ratio, that maintains a -approximation of in initialization time
and update time
The reduction preserves worst-case update time, determinism, and incremental or incremental updates.
Proof. Set , , , and . Let for a sufficiently large universal constant . Consider one window , and let be the fixed lower endpoint of its weight interval, i.e., every edge of has weight in . Replace each weight by the positive integer . Denote by the graph after processing. Since for every matching , , applying it to MWMs of and gives .
We run the unweighted algorithm to maintain a -approximation of the MCM cardinality on defined in Lemma 3.2. Then . Since , we have . Thus the value satisfies
. Since , is a -approximation of , satisfying the approximation requirement of Theorem 3.1.
Because , the largest integer weight is . The unfolded graph has at most vertices and edges, and one weighted-edge update produces unweighted updates. The outer value reduction touches windows. Multiplying these costs proves the claimed update-time bound. The initialization cost is the sum of the initialization cost of each local window, where every weighted edge contributes to unweighted edges in total.
3.2 Application
Now we give an application of our reduction.
Lemma 3.4 ([BKS23]). For every constant , there is a randomized fully dynamic algorithm that maintains a -approximation to the MCM cardinality of a graph with at most nodes and edges in worst-case update time. The guarantee holds with high probability against an adaptive adversary.
Corollary 3.5. For every constant , there is a randomized fully dynamic algorithm that maintains a -approximation to the MWM weight of a bipartite graph with at most nodes, edges and aspect ratio, in worst-case update time . The guarantee holds with high probability against an adaptive adversary.
Proof. Apply Theorem 3.3 with the algorithm of Lemma 3.4. For fixed , all overhead and parameter changes in Theorem 3.3 are constant, so its update-time bound simplifies to . The remaining guarantees are preserved by the reduction.
4 Dynamic Weight Reduction for Explicit Matchings
We now show how matching composition can be used as a dynamic weight reduction framework if one explicitly maintains a matching. The recourse of a dynamic matching algorithm is the size of the symmetric difference between the consecutive output matchings.
We first use a subroutine from to reduce the aspect ratio to .
Theorem 4.1 ([BCD 25, Theorem 5.9]). Let G be a graph family closed under taking subgraphs. Suppose that for every , there is a dynamic algorithm that, on a graph with at most n vertices, m edges and aspect ratio R, initializes in time , and explicitly maintains a -MWM of F in update time and recourse .
Then for every , there is a dynamic algorithm that, on a graph with at most vertices, edges and aspect ratio , explicitly maintains a -MWM with initialization time
update time
and recourse
The reduction preserves worst-case update time and recourse, determinism, and incremental or incremental updates.
To complete the reduction, it remains to handle a single -aspect-ratio instance using only -aspect-ratio subroutines. We present the algorithm in Section 4.1 and analyze it in Section 4.2. For comparison, using the implementation of unchanged would give an additive update overhead. Our lazy-composition algorithm improves this overhead to . After the analysis, we give the full reduction and its applications.
4.1 Lazy Composition for Bounded Aspect Ratio
Now we consider the case when the aspect ratio is . After rescaling, we may assume the edge weights lie in . Let and . We will use the underlying algorithm to maintain a -MWM of for all . It is clear that every nonempty has aspect ratio . Since we require no recourse guarantee from the underlying algorithm, to stabilize the local outputs before composing them, we use the following transformation.
Lemma 4.2 (Derived from [BCD 25, Theorem 5.22]). Let be a graph family closed under taking subgraphs. Suppose that for every , there is a dynamic algorithm that, on a graph with at most vertices, edges and aspect ratio , initializes in time , and explicitly maintains a -MWM of in update time .
Then there is a dynamic algorithm that, on a graph with at most vertices, edges and aspect ratio , explicitly maintains a -MWM with initialization time
amortized update time
and amortized recourse . The transformation preserves determinism and incremental or incremental updates.
After applying Lemma 4.2 to the underlying algorithm, the local matchings have low recourse. We denote the low-recourse matching on by . Suggested by Lemma 1.2, for any integer , we aim to maintain a matching whose weight is close to . Since has maximum degree at most two, we borrow another subroutine from [BCD 25] that maintains a -MWM efficiently on degree-two graphs.
Lemma 4.3 ([BCD 25, Algorithm 2]). For every , there is a deterministic algorithm that, on a graph with at most edges and maximum degree at most two, fully dynamically maintains an explicit -MWM with initialization time , worst-case update time and worst-case recourse . It also maintains an edge set such that:
(i) M is an exact MWM of ;
(ii) for every connected component of , .
We will run Lemma 4.3 on every . However, we do not set its output to be . Instead, we denote the output matching by and allow to lag behind . We will reset when . The lazy update of ensures the approximation of the matching and prevents the recourse from cascading. Now we give the full algorithm.
Algorithm 4.1 Lazy Matching Composition
1: 2: for do 3: Apply Lemma 4.2 to the underlying dynamic matching algorithm on 4: Denote the resulting algorithm by and the maintained matching by 5: Initialize a copy of Lemma 4.3 on with parameter 6: Let be its maintained matching and set 7: end for 8: procedure UPDATE(e) 9: Update every affected , obtaining the changes to 10: for do 11: Update with changes in 12: Let be the matching maintained by 13: if e was deleted from the underlying graph then 14: 15: end if 16: if then 17: 18: end if 19: end for 20: return 21: end procedure
Remark 4.4. To execute the line , we operate the edges in in time .
4.2 Analysis of Lazy Composition
We start by analyzing the approximation ratio and recourse of .
Approximation ratio. We first show that preserves a -approximation. The proof is a direct application of Lemma 1.2.
Lemma 4.5. After initialization and after every edge update, for every , we have
In particular, is a -MWM of .
Proof. Consider any integer . It is easy to see that is a matching in . By Lemma 4.3, . The update rule of ensures that
Combining this with Lemma 1.2 gives
Summing over and applying Lemma 2.2 with gives
Since , and , we finish the proof.
Recourse. We let denote the total number of edge changes in the support of a matching , including those forming its initial output. Let be the number of initial edges and the number of subsequent updates. We assume that fully dynamic and incremental graphs start empty, so , while a incremental graph starts with edges and deletes all of them, so . Now we bound the amortized recourse of , the output of Algorithm 4.1.
Lemma 4.6. For any integer , . In particular, has amortized recourse .
Proof. First consider the initialization of the local matchings. In the incremental case, , and every initial edge belongs to at most local graphs. Forming all initial therefore incurs edge insertions in total. After initialization, each graph update affects at most local graphs. Combining this with the recourse guaranteed by Lemma 4.2 gives .
Fix a level . Besides forced deletions, changes only when , at a cost of . We call the execution of the algorithm between two consecutive resets a period.
At the end of a period, the components of that contain an -edge have at most edges and vertices in total. Hence the matching has at most edges in these components, and at most edges of the matching touch their vertices. These contribute at most edges to . Every other component of is an isolated -edge and belongs to by Lemma 4.3. The number of these components can change by at most 1 because of the changes in and by a constant because of the changes in .
To control the first part over all periods, we use a potential argument. Define
is nonnegative because is a matching in . Initially, . An update of can increase only the terms with , each by at most , so the total increase is at most . A reset decreases by . Thus the sum of over all resets and all is .
To control the second part, summing over all periods, the total number of changes in is and the total number of changes in is .
Thus , which makes .
Now we are ready to give the full analysis of the lazy composition algorithm.
Lemma 4.7 (Bounded-aspect composition). Let be a graph family closed under taking subgraphs. Suppose that, for every , there is a dynamic algorithm that, on a graph with at most vertices and edges and aspect ratio at most , initializes in time and explicitly maintains a -MWM in update time .
Then, for every , there is a dynamic algorithm that, on a graph with at most vertices and edges and aspect ratio , explicitly maintains a -MWM in initialization time
amortized update time
and amortized recourse . The transformation preserves determinism and incremental or incremental updates.
Proof. Run Algorithm 4.1, then Lemma 4.5 gives approximation , and Lemma 4.6 gives recourse . The underlying algorithms are invoked with aspect ratio and accuracy .
There are local algorithms and the total initialization time is at most . The initialization of all inserts edges at a cost of time per edge. Thus, the total initialization time is .
Every edge update affects local matchings. Thus, it takes to maintain . By Lemma 4.6 and , the amortized recourse of all together is . In its proof, we also showed that the amortized recourse of all together is . Therefore, all together receive edge updates and require update time.
4.3 Putting Everything Together
We now give the complete dynamic weight reduction in general graphs that reduces the aspect ratio from to .
Theorem 4.8. Let be a graph family closed under taking subgraphs. Suppose that, for every , there is a dynamic algorithm that, on a graph with at most vertices and edges and aspect ratio at most , initializes in time and explicitly maintains a -MWM of in update time . For every , there is a dynamic algorithm that, on a poly-aspect-ratio graph with at most vertices and edges, initializes in time
and explicitly maintains a -MWM in amortized update time
The reduction preserves determinism, and incremental or incremental updates.
Proof. Apply Lemma 4.7 to the underlying algorithm to get the transformed -aspect-ratio algorithm. Then apply Theorem 4.1 on it. The runtime follows directly.
4.4 Dynamic Weighted-to-Unweighted Reduction in Bipartite Graphs
Similar to Section 3.1, we reduce weighted matchings to unweighted matchings in the unfolded graphs. Its dynamic implementation reuses a subroutine in .
Lemma 4.9 ([BCD 25, Lemma 5.30]). Let F be a bipartite graph with integer edge weights between 1 and R. Suppose an algorithm initializes in time and explicitly maintains a -MCM in update time . Then one can initialize an explicit -MWM of F in time
and maintain it in amortized update time
The reduction preserves determinism, and incremental or incremental updates.
Theorem 4.10. Suppose that, for every , there is a dynamic algorithm that, on an unweighted bipartite graph with at most vertices and edges, initializes in time and explicitly maintains a -MCM in update time .
Then for every , there is a dynamic algorithm on a bipartite graph with at most vertices and edges and aspect ratio that initializes in time
and explicitly maintains a -MWM in amortized update time
The reduction preserves determinism, and incremental or decremental updates.
Proof. Apply the scaling and rounding argument from the proof of Theorem 3.3 to each bounded-aspect instance supplied by Theorem 4.8, using its local accuracy . It produces positive integer weights in , where , while losing only an fraction of every matching's weight.
The proof of Theorem 3.3 uses unfolding only to recover the MWM weight. Here, instead, apply Lemma 4.9 with and accuracy . The refolded output is an explicit -MWM of the original local instance, and adjusting constants makes it a -MWM. Thus Theorem 4.8 applies. Substituting and into the initialization and update bounds of Lemma 4.9, and then into Theorem 4.8, gives the two bounds. Both reductions preserve determinism and partial dynamism.
4.5 Applications
Now we discuss the implications of our reduction frameworks for obtaining new dynamic -MWM algorithms. For those results whose dependence was stated with in , we do not state our improvements in the hidden dependence. Below we emphasize four applications.
| Setting | Prior Result | Our Result | Reduction |
| Incremental Bipartite | Corollary 4.12 | Theorem 4.10 | |
| Fully Dynamic Maximum Degree | Corollary 4.14 | Theorem 4.8 | |
| Fully Dynamic Arboricity | No prior poly()bound is known | Theorem 4.15 | Theorem 4.8 |
| Fully Dynamic General | Corollary 4.17 | Theorem 4.8 |
Lemma 4.11 ([BK23]). There exists a deterministic incremental algorithm that maintains an explicit -MCM in an -vertex -edge bipartite graph in total time .
Corollary 4.12. There exists a deterministic incremental algorithm that maintains an explicit -MWM in an -vertex, -edge, -aspect-ratio bipartite graph in total time .
Proof. Apply Theorem 4.10 to Lemma 4.11.
Lemma 4.13 ([GP13]). There is a deterministic fully dynamic algorithm that explicitly maintains a -MWM on a graph of maximum degree and aspect ratio at most in amortized update time .
Corollary 4.14. There is a deterministic fully dynamic algorithm that explicitly maintains a -MWM on a poly(n)-aspect-ratio graph of maximum degree in amortized update time .
Proof. Apply Theorem 4.8 to Lemma 4.13.
Theorem 4.15. There is a deterministic fully dynamic algorithm that explicitly maintains a -MWM in amortized update time if the graph has arboricity at most after every update.
Proof. Apply Theorem 4.8 to Lemma 4.13 and maintain the low-degree sparsifier in Lemma A.2 on -aspect-ratio instances.
Lemma 4.16 ([GP13]). There is a deterministic fully dynamic algorithm that explicitly maintains a -MWM on a graph with at most m edges and aspect ratio at most R in update time .
Corollary 4.17. There is a deterministic fully dynamic algorithm that explicitly maintains a -MWM on a poly(n)-aspect-ratio graph with at most m edges in amortized update time .
Proof. Apply Theorem 4.8 to Lemma 4.16.
Let denote the matching polytope of .
Lemma 4.18 ([BCD 25]). Let be initially zero and undergo entry updates that preserve . For every , there is a deterministic algorithm that explicitly maintains a subgraph in amortized time per entry update to , such that has maximum degree and .
Corollary 4.19. Let be initially zero and undergo entry updates that preserve . There is a deterministic dynamic rounding algorithm that maintains a matching satisfying with amortized update time.
Proof. Apply Corollary 4.14 to Lemma 4.18.
Acknowledgements
OpenAI’s ChatGPT 5.6 Sol model was used for interactive research discussions guided by the author’s research notes and proposed directions. The model suggested an initial version of Algorithm 4.1, improving upon the original dynamic implementation of . It also provided an alternative analysis of an author’s initial -degree -MWM sparsifier for graphs with arboricity at most , sharpening the degree bound to in Section A. OpenAI Codex was used for polishing and proofreading. The author independently verified all mathematical claims and takes full responsibility for the paper.
References
[ABKL23] Sepehr Assadi, Soheil Behnezhad, Sanjeev Khanna, and Huan Li. On regularity lemma and barriers in streaming and dynamic matching. In Proc. 55th Ann. ACM Symp. Theory of Computing, pages 131–144. ACM, 2023. Available at https://arxiv.org/abs/2207.09354.
[AKK25] Sepehr Assadi, Sanjeev Khanna, and Peter Kiss. Improved bounds for fully dynamic matching via ordered ruzsa-szemerédi graphs. In Proceedings of the 2025 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2025, pages 2971–2990. SIAM, 2025. Available at https://arxiv.org/abs/2406.13573.
[ARW17] Amir Abboud, Aviad Rubinstein, and R. Ryan Williams. Distributed PCP theorems for hardness of approximation in P. In 58th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2017, pages 25–36. IEEE Computer Society, 2017.
[BC26] Aaron Bernstein and Jiale Chen. From unweighted to weighted dynamic matching in non-bipartite graphs: A low-loss reduction. In Kasper Green Larsen and Barna Saha, editors, Proceedings of the 2026 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2026, Vancouver, BC, Canada, January 11-14, 2026, pages 217–246. SIAM, 2026. Available at https://arxiv.org/abs/2510.19049.
[BCD 25] Aaron Bernstein, Jiale Chen, Aditi Dudeja, Zachary Langley, Aaron Sidford, and Ta-Wei Tu. Matching composition and efficient weight reduction in dynamic matching. In Yossi Azar and Debmalya Panigrahi, editors, Proceedings of the 2025 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2025, New Orleans, LA, USA, January 12-15, 2025, pages 2991–3028. SIAM, 2025. Available at https://arxiv.org/abs/2410.18936.
[BDL21] Aaron Bernstein, Aditi Dudeja, and Zachary Langley. A framework for dynamic matching in weighted graphs. In Samir Khuller and Virginia Vassilevska Williams, editors, STOC '21: 53rd Annual ACM SIGACT Symposium on Theory of Computing, Virtual Event, Italy, June 21-25, 2021, pages 668–681. ACM, 2021.
[BG24] Soheil Behnezhad and Alma Ghafari. Fully dynamic matching and ordered ruzsa-szemerédi graphs. In 65th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2024, pages 314–327. IEEE, 2024. Available at https://arxiv.org/abs/2404.06069.
[BK23] Joakim Blikstad and Peter Kiss. Incremental -approximate dynamic matching in update time. In Inge Li Gørtz, Martin Farach-Colton, Simon J. Puglisi, and Grzegorz Herman, editors, 31st Annual European Symposium on Algorithms, ESA 2023, Amsterdam, The Netherlands, September 4-6, 2023, volume 274 of Leibniz International Proceedings in Informatics (LIPics), pages 22:1–22:19. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2023.
[BKS23] Sayan Bhattacharya, Peter Kiss, and Thatchaphol Saranurak. Dynamic -approximate matching size in truly sublinear update time. In 64th Annual IEEE Symposium on Foundations of Computer Science, FOCS 2023, Santa Cruz, CA, USA, November 6–9, 2023, pages 1563–1588. IEEE, 2023.
[CST25] Jiale Chen, Aaron Sidford, and Ta-Wei Tu. Entropy regularization and faster incremental matching in general graphs. In Proceedings of the 2025 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2025, pages 3069–3115. SIAM, 2025. Available at https://arxiv.org/abs/2312.09077.
[Dah16] Søren Dahlgaard. On the hardness of partially dynamic graph problems and connections to diameter. In 43rd International Colloquium on Automata, Languages, and Programming, ICALP 2016, volume 55 of LIPIcs, pages 48:1–48:14. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2016. Available at https://arxiv.org/abs/1602.06705.
[Edm65] Jack Edmonds. Maximum matching and a polyhedron with 0,1-vertices. Journal of Research of the National Bureau of Standards, Section B, 69B(1–2):125–130, 1965.
[GP13] Manoj Gupta and Richard Peng. Fully dynamic -approximate matchings. In 54th Annual IEEE Symposium on Foundations of Computer Science, FOCS 2013, pages 548–557. IEEE Computer Society, 2013. Available at https://arxiv.org/abs/1304.0378.
[Gup14] Manoj Gupta. Maintaining approximate maximum matching in an incremental bipartite graph in polylogarithmic update time. In 34th International Conference on Foundation of Software Technology and Theoretical Computer Science, FSTTCS 2014, volume 29 of LIPIcs, pages 227–239, 2014.
[KLST01] Ming-Yang Kao, Tak-Wah Lam, Wing-Kin Sung, and Hing-Fung Ting. A decomposition theorem for maximum weight bipartite matchings. SIAM J. Comput., 31(1):18–26, 2001.
[Liu24] Yang P. Liu. On approximate fully-dynamic matching and online matrix-vector multiplication. In 65th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2024, pages 228–243. IEEE, 2024. Available at https://arxiv.org/abs/2403.02582.
[MS25] Slobodan Mitrović and Wen-Horng Sheu. A framework for boosting matching approximation: parallel, distributed, and dynamic. In Proceedings of the 37th ACM Symposium on Parallelism in Algorithms and Architectures, SPAA 2025, Portland, OR, USA, 28 July 2025 - 1 August 2025, pages 443–457. ACM, 2025. Available at https://arxiv.org/abs/2503.01147.
[Pra26] Kevin Pratt. A note on ordered ruzsa-szemerédi graphs. In Sepehr Assadi and Eva Rotenberg, editors, 2026 Symposium on Simplicity in Algorithms, SOSA 2026, Vancouver, BC, Canada, January 12-14, 2026, pages 352–354. SIAM, 2026. Available at http://arxiv.org/abs/2502.02455.
[PS16] David Peleg and Shay Solomon. Dynamic -approximate matchings: A density-sensitive approach. In Robert Krauthgamer, editor, Proceedings of the Twenty-Seventh Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2016, Arlington, VA, USA, January 10-12, 2016, pages 712–729. SIAM, 2016.
[Sol18] Shay Solomon. Local algorithms for bounded degree sparsifiers in sparse graphs. In Anna R. Karlin, editor, 9th Innovations in Theoretical Computer Science Conference, ITCS 2018, Cambridge, MA, USA, January 11–14, 2018, volume 94 of LIPIcs, pages 52:1–52:19. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 2018.
[SW17] Daniel Stubbs and Virginia Vassilevska Williams. Metatheorems for dynamic weighted matching. In 8th Innovations in Theoretical Computer Science Conference, ITCS 2017, volume 67 of LIPIcs, pages 58:1–58:14, 2017.
A Low-Degree MWM Sparsifier for Low-Arboricity Graphs
[Sol18] constructs a -MCM sparsifier for graphs of arboricity at most by having each vertex mark incident edges and retaining only those marked by both endpoints. We give a weighted analogue in which each vertex marks its heaviest incident edges.
Lemma A.1. Let contain the edges marked by both endpoints when each vertex marks its heaviest incident edges, so . If has arboricity at most and , then .
Proof. By definition of arboricity, can be partitioned into forests. In every tree component, choose an arbitrary root and orient all edges toward it. Each vertex then has at most one outgoing edge per forest, and hence out-degree at most . If a vertex does not mark an incident edge, then among the edges it marks, at least are oriented into . Denote this set by .
Fix an MWM , write and , and choose for each an endpoint that does not mark . Place one unit of mass at that endpoint. Because is a matching, no vertex receives more than one initial unit.
Process the mass in rounds. At a vertex , split all its mass equally among the edges of . A part sent along is absorbed on if also marks ; otherwise it moves to for the next round. The new edge is at least as heavy as the edge that brought the mass to (or the originating edge in the first round), because marks the former but not the latter. Thus weights never decrease along a route.
Let be the maximum mass processed at any vertex in round , so . Mass transferred into a vertex arrives along an edge oriented out of . There are at most such edges, and each carries at most mass. Therefore and every routed edge carries in total at most mass. Denoting by the mass absorbed on , we then have .
Set . Besides the initial mass at , all absorbed mass incident to can be charged to routed mass on an edge oriented out of . There are at most such edges, each carrying at most mass in total. Moreover, an initial unit at and an edge of incident to cannot both exist, because is a matching. Consequently, . For every odd , since each edge carries at most mass and the arboricity is at most , . Thus satisfies all degree and odd-set constraints of the matching polytope and is thus a valid fractional matching in Edmonds' matching polytope [Edm65]. Therefore, . The degree bound is immediate.
Lemma A.2. For , there is a deterministic fully dynamic algorithm that, on a graph F with arboricity at most and aspect ratio at most R, maintains a subgraph H satisfying and with worst-case update time, and causes edge changes to H.
Proof. Round weights down to powers of and set . Each vertex marks its heaviest incident edges under the rounded weights, breaking ties deterministically, and contains the edges marked by both endpoints. By Lemma A.1, and .
The rounded weights have distinct values. At each vertex, store the marked and unmarked edges in lists by value. After an update, scan all the distinct values and restore the invariant by at most one mark swap. This takes worst-case time, changes marks, and hence causes edge changes in .