Manuscript Offprint
arXiv:2610.25507Degree Stability of Parallel Greedy Matching in Random Graphs
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.
Abstract
We study a natural synchronous greedy matching process in Erdős–Rényi random graphs and give a rigorous analysis of this parallel stochastic dynamics. The process evolves as follows: in each round, every unmatched vertex proposes to a uniformly random neighbour, and mutually proposing pairs are matched and removed from the graph, after which the process repeats on the residual graph. We consider the density regime for any constant , which lies just above the threshold for the existence of a perfect matching. We show that, with high probability, for rounds, every unmatched vertex keeps a constant fraction of its initial degree in the residual graph, simultaneously for all vertices and all rounds. By then, the process has matched a constant fraction of the vertices.
Our analysis tracks fine-grained invariants that control the evolution of individual vertex degrees, rather than directly tracking the global degree distribution. At the local level, we analyze the per-round degree loss of a vertex via a neighbourhood-exposure martingale. We show that structural sparsity of yields variance and thus the per-round degree loss is strongly concentrated around its conditional expectation. At the global level, these local concentration bounds control the increments of a martingale tracking cumulative degree loss over many rounds, allowing us to show that vertex degrees remain stable for rounds.
*(nvishvajeet@gmail.com) CNRS, LaBRI, Université de Bordeaux, France.
†(shrinidhi.teganahally-sridhara@u-bordeaux.fr) CNRS, LaBRI, Université de Bordeaux, France.
i
Contents
1 Introduction 1
1.1 Proof Overview 2
1.2 Related Work 6
1.3 Organization 8
2 A Simple Synchronous Greedy Process for Matchings 9
3 Notation and Preliminaries 10
4 Warmup: -stability Holds for Few Rounds 13
4.1 Expected Loss of Degree is Bounded 13
4.2 Degree-Loss in the First Round is Concentrated 14
4.3 Extending the First-Round Analysis and Iterating Degree-Loss 16
5 Strong Local Concentration via Structural Sparsity of 18
5.1 Local Dependency Graph is a Matching 19
5.2 Variance of Degree-Loss is Bounded 21
5.3 Strong Concentration of Degree-Loss via Variance Control 23
6 Controlling Degree Evolution via Cumulative-Deviation Martingales 28
6.1 Bounding the Increments of the Cumulative-Deviation Martingale 29
6.2 Bounding the Quadratic Variation 30
6.3 Concentration of Cumulative Degree-Loss via Freedman's Inequality 31
6.4 Putting Everything Together: -stability Holds for Rounds 32
7 Large Matchings from Invariants 34
7.1 Geometric Decay Under Sustained Degree-Positivity 34
A Concentration Inequalities 41
B Degree Concentration in 43
C Concentration of the Matching Size in One Round 44
D Proofs for the Warmup: -stability via Iterated Weak Concentration 45
ii
Despite decades of work following Edmonds' blossom algorithm [Edm65], no algorithm asymptotically faster than the Micali–Vazirani algorithm [MV80, Vaz24] is known for maximum matching in general graphs. Among the simplest approaches for matchings are greedy algorithms, which iteratively select edges according to simple local rules. While they have poor worst-case guarantees, greedy algorithms often perform remarkably well on random inputs and frequently serve as primitives in large-scale and distributed systems.
The seminal work of Karp and Sipser [KS81] initiated the study of sequential greedy processes for matchings on random graphs. A large body of subsequent work shows that these processes produce matchings close to maximum with high probability and provides a detailed understanding of their output distributions (see, e.g., [AFP98, Kre17, GKSS25] and references therein). These analyses are primarily carried out using the differential equation method [Wor95], which tracks the gradual evolution of the degree distribution of the graph when edges are selected one at a time.
In many modern algorithmic settings, greedy algorithms are executed in parallel without centralized coordination, allowing many vertices to act simultaneously and significantly accelerate the process. At the same time, parallelism complicates the analysis: in a single round, many vertices are matched at once, which can remove a linear number of edges, and the decisions made in that round are correlated through overlapping neighbourhoods. An analysis therefore has to control many simultaneous, dependent changes, rather than one edge at a time.
We consider a simple synchronous process for constructing matchings. In each round, every unmatched vertex proposes to a uniformly random neighbour, and pairs of vertices that mutually propose to each other are matched and removed from the graph. The process is then repeated on the residual graph.
We analyze these dynamics on Erdős–Rényi random graphs in the regime for any constant , which lies just above the threshold for the existence of perfect matchings.
Result (Informal). Fix any constant and consider with . During an execution of the parallel greedy process for rounds, with high probability, every unmatched vertex retains at least a constant fraction of its initial degree, simultaneously for all vertices and for all rounds. Consequently, the process matches a linear number of vertices during these rounds.
Formally, the robustness property is captured in our main Theorem 1: although vertices are removed as matches occur, every remaining vertex retains many available edges. This prevents the algorithm from quickly “running out of edges” and allows it to make steady progress over the analyzed rounds, as is formalized in Theorem 2.
Our analysis tracks the local evolution of vertex degrees rather than the global degree distribution. The key idea is a local-to-global martingale argument: we first obtain strong control on the degree loss of a vertex within each round, and then use this to bound the cumulative deviation of degree loss over many rounds. This prevents local fluctuations from building up, ensuring that degrees remain stable throughout the process for rounds.
1.1 Proof Overview
We begin with an overview of the main ideas behind the proof. At a high level, the analysis proceeds from local to global: we first obtain strong control over the degree loss of individual vertices within a single round, which yields bounded increments for a martingale tracking cumulative degree loss, and then use this to control the cumulative deviation over many rounds.
Recall our matching process: on a random graph , in each round every unmatched vertex proposes to a uniformly random neighbour, and two vertices are matched if and only if they propose to each other. We emphasize that the randomness governing the proposal choices is independent across vertices and across rounds. This independence plays a crucial role in the analysis by partially decorrelating the local interactions created by the simultaneous proposals.
A guiding invariant for large matchings: degree-positivity. We begin with a simple observation that guides our entire analysis: the growth of the matching can be reduced to maintaining a local structural invariant. We observe that if every unmatched vertex has available at least one unmatched neighbour at the start of each round – a property we call degree-positivity invariant – then every vertex has a non-trivial probability of becoming matched in that round. In particular, suppose degree-positivity holds, then we have for any vertex v,
where denotes the degree of a vertex and denotes the set of neighbours of v.
Indeed, conditioning on the current residual graph, if the maximum degree of the input graph is at most , then every unmatched vertex becomes matched with probability at least . Thus, in each round, every unmatched vertex has a large probability of being removed. It follows that the probability that a fixed vertex remains unmatched for T rounds decays exponentially in T, as long as degree-positivity is maintained. This connection is formalized in Lemma 7.2.
Random graphs with , for some constant and any constant , have tightly concentrated degrees, so that , where denotes the order of the expected degree.
Our goal is therefore to understand how long the degree-positivity invariant can persist during the execution of the process:
For how many rounds can the degree-positivity invariant be maintained with high probability?
In fact, we prove more: during these rounds every unmatched vertex keeps a constant fraction of its initial degree. This stronger property, which we call -stability, is what our analysis carries from one round to the next.
How could the invariant fail? We begin by examining how the invariant could fail. Consider an unmatched vertex v at some round t. The only way v can violate the invariant is if it loses all of its neighbours before it becomes matched itself. This happens when all the neighbours of v become matched elsewhere during the process.
At first sight it seems possible that a vertex v could lose all of its neighbours before being matched. However, if the events that different neighbours of v become matched were independent, then the probability that all of them disappear before v itself is matched would be extremely small.
The difficulty is that these events are not independent: matching decisions depend on overlapping local neighbourhoods. Consequently, correlations between the matching events of neighbours of v could in principle allow neighbour losses to accumulate over many rounds and eventually isolate v.
Understanding the first round. To understand this phenomenon of isolation without being matched, we begin with a warm-up analysis of the first round.
For a fixed vertex v, let
denote the number of neighbours of v that become matched in the first round.
A simple calculation shows that
where and denote the maximum and minimum degrees of the graph.
As the degrees in are tightly concentrated, this ratio is a constant, implying that the expected number of neighbours lost by v in a round is small compared to its degree.
We next ask whether is tightly concentrated around its mean. To show this, we expose the proposal choices of the vertices in the neighbourhood of v sequentially and analyze their effect on using a martingale.
Let denote the neighbours of in the initial graph. We reveal the random proposals one by one, where denotes the neighbour to which vertex proposes in the round. Let denote the information revealed after exposing the first proposals. We then consider the Doob martingale
which we refer to as the neighbourhood-exposure martingale.
Revealing the proposal of a single neighbour can only affect matching decisions involving . Since each vertex can be part of at most one matched edge, changing can create or destroy at most one matched edge incident to . If this edge connects to another neighbour of , then the matched status of both endpoints may change, and hence can change by at most 2.
Thus, the martingale satisfies the bounded difference property, for . Since depends on independent choices, applying Azuma–Hoeffding inequality yields
In particular, deviations of order already occur with inverse polynomially small probability:
Thus, by a union bound, we have the guarantee that with high probability no vertex loses more than neighbours in a single round. However, these deviations are still too large to allow this argument to be applied iteratively over many rounds. Even though the expected degree loss in each round is small, fluctuations of order could accumulate across rounds and eventually cause a vertex to lose a large fraction of its neighbours. As a result, this approach only provides sufficient control to maintain the invariant for rounds.
Strong local concentration using the structure of . Degree positivity cannot be carried from one round to the next on its own. Whether keeps a neighbour in round depends on how fast its neighbours are matched, and the probability that a neighbour is matched depends on the degrees of the neighbours of , about which degree positivity says nothing. We therefore work under the stronger invariant we call -stability (Lemma 3.4): for a constant , every unmatched vertex keeps at least neighbours in every round considered,
Under this invariant each neighbour of is matched with probability in a round, so the expected degree loss satisfies , and degree positivity holds automatically.
To analyze the degree loss under this invariant, we fix a vertex v that is unmatched at the start of round t, and write
Here is the indicator of the event that vertex u becomes matched in round t and is the set of neighbours of v in the residual graph at the start of round t.
While the variables are not independent, their dependencies are extremely limited for random graphs in our regime. In particular, overlaps between the neighbourhoods of vertices in are rare, and even when they occur, they involve only a very small number of vertices.
We show that the dependency graph among the indicators has maximum degree at most 1, and is therefore a matching. This allows us to decompose the neighbourhood of into disjoint blocks of size at most 2 that account for the dependencies.
More precisely, this induces a partition of into disjoint blocks , and we can write
where each is the sum of at most two dependent indicators.
To analyze this sum, we first condition on the proposal , where denotes the neighbour to which vertex proposes in round . This conditioning removes the only global source of dependence among the variables. We then expose the blocks sequentially and consider the corresponding Doob martingale. We show that each increment is bounded by a constant and that, under the -stability invariant, each block contributes only to the conditional variance. Summing over all blocks then yields that the total conditional variance in a round is
Applying Freedman’s inequality (see Lemma A.5 for a precise statement) to this martingale, together with the bounded increments and quadratic variation, yields a strong concentration bound (we formalize this in Lemma 5.6):
In particular, deviations of order already occur with polynomially small probability:
Compared to the Azuma–Hoeffding bound obtained previously, this improves the deviation scale from to and yields much stronger tail probabilities.
We now show how these local deviation bounds can be combined across many rounds to control the global evolution of vertex degrees throughout the process.
Controlling degree-loss over many rounds by cumulative-deviation martingales. Our local Freedman-based bounds show that the degree loss in a single round is tightly concentrated around its expectation. However, they do not by themselves rule out the possibility that small deviations accumulate over many rounds. In particular, even with these stronger bounds, a naïve union bound over rounds only ensures that the invariant persists for rounds, since each round may incur a loss of up to neighbours.
To overcome this limitation, we track how these deviations accumulate over time via a cumulative-deviation martingale. Fix a vertex v, and define
Here denotes the history of the process up to the start of round . By construction is a martingale with respect to the filtration . A naïve attempt to control this martingale would bound the increments deterministically. Since a vertex may have degree as large as , this would yield a worst-case bound of on the martingale increments. Such coarse bounds are too weak to control the cumulative deviation over rounds.
Our key idea is instead to use the stronger probabilistic control obtained from the local concentration bounds established earlier. Those results show that with extremely high probability the per-round degree loss satisfies
Thus, rather than treating the martingale increments as potentially as large as , we may treat them as typically logarithmic.
More precisely, we proceed via a two-level analysis. First, the Freedman-based bounds obtained above provide strong control over the local degree loss in each round, showing that the increments of the cumulative-deviation martingale are typically only . Second, we control the accumulation of these local deviations across rounds via the martingale .
Our local concentration bounds ensure that the martingale increments are with high probability. Crucially, although the increments can be as large as , such large deviations occur with very small probability. Under the -stability invariant, the conditional variance of each increment is , so over rounds the predictable quadratic variation is . Thus, Freedman's inequality applies in a regime where the total variance is small, yielding global control on the cumulative deviation and showing that the cumulative deviation is rather than . The logarithmic bound on the increments is essential here: using only the trivial bound would yield a constant-probability deviation bound from Freedman's inequality, which is insufficient for our purposes, whereas the sharper bound ensures exponentially small tail probabilities.
To make this argument rigorous, we use a stopping-time construction. We define a stopping time corresponding to the first round in which some vertex violates the -stability invariant. Up to this time, the degree of every vertex remains bounded below by a constant fraction of its initial value, ensuring that the conditions required for the above concentration and martingale bounds continue to hold.
Applying Freedman’s inequality up to this stopping time shows that, with high probability, it occurs only after rounds. Consequently, the -stability invariant holds for rounds (formalized in Theorem 1).
Since -stability implies the degree-positivity invariant holds, the geometric decay argument then guarantees that the algorithm produces a matching of size (this is formalized in Theorem 2). Our work studies the greedy parallel dynamics at our chosen density , which is just above the perfect matching threshold . This leaves the general question open:
What is the behaviour of the parallel greedy process for other densities p?
Additionally, we are interested in the ‘end-game’, i.e. to understand the matching process and its trajectory after it has matched a constant fraction of the vertices, at all densities p.
1.2 Related Work
The design of efficient matching algorithms is a central topic in combinatorial optimization. Following Edmonds' landmark blossom algorithm [Edm65] and the algorithm of Micali and Vazirani [MV80] (whose correctness was only recently formalized in [Vaz24]), substantial research has focused on improving worst-case performance. Despite decades of work, no asymptotically faster algorithm than that of Micali and Vazirani is known for maximum matching in general graphs.
On the complexity side, parallel matching has been extensively studied. Perfect matching has long been known to lie in via randomized algebraic methods [MVV87, KUW88], most notably through the use of the isolation lemma. This connection has driven a substantial line of research on constructing deterministic or pseudorandom weight assignments that isolate a unique perfect matching. A recent breakthrough by Fenner, Gurjar, and Thierauf [FGT21] gives a nearer-randomization of the isolation lemma, placing bipartite perfect matching in quasi- . Subsequently, this result was extended to general graphs by Svensson and Tarnawski [ST17]. On the algorithmic side, distributed and parallel algorithms for matching have been extensively studied. A classical result of Israeli and Itai [II86] gives a randomized algorithm that computes a maximal matching (yielding a 1/2-approximation to the maximum matching) in synchronous rounds on general graphs. Subsequent work has focused on improving approximation guarantees and extending to weighted settings, including -approximation algorithms in the CONGEST model [LPSP15], as well as earlier constant-factor approximation algorithms for weighted matching [LPSR07, Wat04, Hoe04, CHS04].
One round of our process is the randomized handshake (rendezvous) procedure of Métivier, Saheb and Zemmari [MSZ03]: each vertex chooses a uniformly random neighbour, and two vertices that choose each other are matched. Its one-round behaviour has been analysed on general graphs [MSZ03, Die02, DT05] and on [Zem08], and its iteration on the unmatched vertices, which is the process studied here, terminates with probability 1 [FZ16]; the expected number of rounds of a closely related variant has also been bounded [OA17, Ch. 6]. The residual degrees, which are the subject of this paper, are not analysed in these works.
We note that our argument follows every vertex round by round, in the style of the semi-random, or “nibble”, method of Rödl [Röd85] and Pippenger and Spencer [PS89]. This method has also been applied to processes such as edge coloring, triangle-free and others [DGP98, GP97, BK21, BB19].
The key idea behind our analysis is to control the degree loss via a two-level martingale process. One that proves concentration around expected degree loss in a round and one that proves that the accumulation of the degree loss over multiple rounds is controlled.
While classical matching algorithms rely on augmenting path techniques, greedy algorithms offer simple and efficient approaches to constructing matchings. However, in the worst case they achieve only constant-factor approximations. Understanding the limitations of randomized greedy matching algorithms in the worst case has been an important direction [BD78, DF91, PS12]. This has motivated the study of greedy algorithms under random graph models, where such worst-case lower bounds are not known.
Classical results identify sharp thresholds for the existence of perfect matchings in Erdős–Rényi random graphs: above this threshold, such matchings exist with high probability [ER66, BF83]. Moreover, randomized algorithms can find them efficiently; for example, Angluin and Valiant [AV77] gave an algorithm that succeeds w.h.p. in graphs with at least edges.
An extensive line of work, initiated by the seminal paper of Karp and Sipser [KS81], studies the performance of greedy processes for finding large matchings in even sparser regimes. Specifically, Karp and Sipser analysed a simple greedy algorithm and showed that it finds a matching which is within of the maximum in with where is a constant. Subsequent refinements sharpened this analysis significantly. In particular, Aronson, Frieze, and Pittel [AFP98] showed that the Karp–Sipser algorithm produces a matching within of the maximum with high probability. Related work further established precise asymptotic and distributional properties of greedy matching algorithms on random graphs [DFP93, ADFS95]. Complementary algorithmic results of Chebolu, Frieze, and Melsted [CFM10] show that such near-maximum matchings can be augmented to a maximum matching in expected time. More recent works, including the PhD thesis of Kreačić [Kre17] and Glasgow, Kwan, Sah, and Sawhney [GKSS25], establish central limit theorems for the matching size in sparse random graphs, building on the analysis of the Karp–Sipser process and showing that its fluctuations are asymptotically Gaussian.
Such analyses have also been extended beyond the general Erdős–Rényi model: e.g., Bohman and Frieze [BF11] analyze the Karp–Sipser algorithm on random graphs with a fixed degree sequence, showing that even under strong structural constraints, the algorithm finds almost-perfect matchings. This line has helped establish the differential equation method (DEM) [Wor95] as a powerful framework for analyzing stochastic processes on random graphs.
We study a fully synchronous process in which all vertices act in parallel each round, a natural model for greedy matching dynamics. While algorithms for matching have been studied extensively in parallel and distributed settings, their focus is on worst-case guarantees – such as achieving constant-factor approximations in a small number of communication rounds – on arbitrary graphs. In contrast, our focus is on the stochastic evolution of fully symmetric parallel greedy dynamics on random graphs, where the goal is to understand the trajectory of the process rather than to optimize worst-case approximation ratios.
1.3 Organization
We describe the randomized greedy matching process in Section 2, while Section 3 introduces the notation, random graph model, and concentration tools used throughout the paper.
Section 4 serves as a warmup, analyzing the initial rounds via a neighbourhood-exposure martingale and the Azuma–Hoeffding inequality to obtain weak concentration bounds. This shows that degree-positivity persists for the first rounds.
Section 5 exploits structural sparsity of to obtain strong local concentration bounds; the dependency graph among matching indicators is a matching, allowing us to decompose dependencies into small blocks and show that the variance of the degree loss in each round is .
Section 6 combines these local bounds with a cumulative martingale argument to control how degree fluctuations accumulate over rounds. Using Freedman's inequality together with a stopping-time argument, we show that the -stability invariant persists for rounds (Theorem 1), which is the main focus of this work.
In Section 7 we show that if the degree-positivity invariant holds for T rounds, then the number of unmatched vertices decays geometrically (Lemma 7.2), thus giving large matchings (Theorem 2).
Additional concentration results are collected in the Appendix.
2 A Simple Synchronous Greedy Process for Matchings
We study a simple randomized greedy process that constructs a matching in an input graph over a sequence of synchronous rounds. The process is vertex-driven: in each round, each vertex independently proposes to a uniformly random neighbour.
We describe the process below.
Algorithm ALG: Randomized Greedy Matching
Input : Graph , number of rounds Output: Matching
for to do foreach s.t. independently do Choose uniformly at random from foreach s.t. and do if and then end end end end
return
The parameter specifies the number of rounds for which the process is executed. Although the process eventually converges to a maximal matching as , our analysis concerns its first rounds.
We observe that ALG always outputs a valid matching of the input graph.
Lemma 2.1 (Correctness of ALG). The set output by ALG is a matching of the input graph .
Proof. We show that no vertex is incident to more than one edge in . In each round, every vertex selects exactly one neighbour . An edge is added to only if and , and only while both and belong to . Once such an edge is added, both vertices are removed from and do not participate in subsequent rounds. Therefore, a vertex can be matched in at most one round and cannot be incident to more than one edge of . Hence is a matching of .
The remainder of the paper analyzes the behaviour of ALG on Erdős–Rényi random graphs.
3 Notation and Preliminaries
In this section we introduce the notation and probabilistic tools used throughout the analysis.
Matching process notation. We begin by introducing notation for the evolution of the matching process. For each , let denote the matching constructed by the end of round during the execution of ALG, and let denote the set of vertices that remain unmatched at the end of round . We set and , and refer to the initial configuration before any proposals are made as round 0.
For each we define the residual graph as
For any , let denote the degree of in , and let denote its open neighbourhood in .
Finally, let
denote the maximum and minimum degrees respectively, in .
To track the evolution of the process round by round, we introduce the random variables and defined below. The variables capture which vertices become matched in round , while tracks the number of neighbours of that disappear in that round.
Definition 3.1 (Matching indicator ). Fix a round and a vertex . We define the indicator random variable as,
Definition 3.2 (Round-t degree-loss). Fix a round and a vertex . Define the random variable
Although primarily tracks the degree loss of unmatched vertices, we extend its definition to the entire vertex set by setting whenever . This allows us to analyze the algorithm as a stochastic process evolving on the fixed index set , significantly simplifying the tracking of degree-loss over multiple rounds.
We observe that for every (that is, is still unmatched after round ),
Invariants. We now define the key invariants used in this work. The degree-positivity invariant ensures that every vertex has at least one neighbour to match with at the start of each round when it holds, while -stability ensures that the degree of every vertex in the residual graph remains at least a constant fraction of its initial degree.
Definition 3.3 (Degree-positivity invariant up to round T). We say that the degree-positivity invariant holds up to round T if:
For every and every , we have
Definition 3.4 ( -stability invariant). Let be a constant. We say that the -stability invariant holds up to round T if:
For every and every , we have
Equivalently,
We note that if the -stability invariant holds up to round , then the degree-positivity invariant also holds up to round .
Random graph model. Throughout the paper we consider graphs drawn from the Erdős–Rényi random graph distribution defined below.
Definition 3.5 (Erdős–Rényi random graph distribution). For an integer and a real number , the distribution is the probability distribution over graphs on vertex set in which each edge with is included independently with probability .
We write for a graph sampled from this distribution, and occasionally abuse notation by writing to denote the same.
Density regime. Throughout the paper, we work with random graphs with
for any and a constant sufficiently large. This regime lies just above the threshold for perfect matchings, which occurs at [FK15, Theorem 6.2]. Some of our structural lemmas already hold under the weaker assumption which includes the regime , while our main theorem requires the regime .
Typical degree scale. For convenience we denote by
the canonical degree scale in the density regime considered above. In particular, when with , the expected degree satisfies . We therefore use as a convenient shorthand for the typical magnitude of vertex degrees in the graph.
A basic property of Erdős–Rényi random graphs is that vertex degrees are concentrated around their expectation. We define the event called degree-regularity which captures this quantifiably,
Definition 3.6 (Degree-regularity event ( )). Let . We define the event that the initial degrees are concentrated around the mean; specifically,
We require throughout this article a precise bound on the probability that holds, and we prove one in Lemma B.1.
For a random variable , we write for its expectation and for its variance.
Martingale preliminaries. Our analysis relies on martingale techniques, and we briefly recall the definitions we will use. We use bold letter font to denote random variables concerning martingales. More details and background on martingales can be found in any standard textbook on probability theory, e.g. [GS01].
Definition 3.7 (Filtration). Let be a probability space. A sequence of -algebras is called a filtration if
Throughout the paper we write “conditioning on ” to mean conditioning on an arbitrary realization of the information contained in the -algebra , equivalently, conditioning on an arbitrary event in .
Definition 3.8 (Martingale). Let be a filtration. A sequence of random variables is called a martingale with respect to the filtration if
and for every ,
Definition 3.9 (Doob martingale). Let be a filtration and let be an integrable random variable with . The sequence
is called the Doob martingale associated with X and the filtration .
We will use to denote the set , and denotes the set , where is the set of natural numbers.
Matching probabilities under ALG To analyze the process round by round, we let denote the history of the algorithm up to the end of round , i.e., the -algebra generated by all proposal choices in rounds . Note that determines and the residual graph . The probability that a vertex is matched in the next round has a simple closed form:
For and with , we have
Indeed, given the vertices of propose independently and uniformly to their current neighbours; is matched if and only if and for some , and these events are disjoint for distinct .
Finally, denotes a binomial random variable with parameters n and p, i.e.,
4 Warmup: -stability Holds for Few Rounds
In this section we show, using only coarse martingale concentration (Azuma–Hoeffding inequality), that the -stability invariant holds for the first rounds. This serves as a warmup that captures the key difficulty, namely controlling how many neighbours a vertex loses in each round, and shows where such coarse concentration stops being enough.
We begin by studying the first round of the process on a random graph . This analysis provides local control over the evolution of a vertex neighbourhood within one round.
4.1 Expected Loss of Degree is Bounded
Lemma 4.1 (Expected degree loss in the first round). Fix . Let with . Consider any vertex . Then
In particular, with probability ,
Proof. Recall from Lemma 3.2, we have for every ,
Hence
Fix a neighbour . Vertex is matched in round 1 if and only if there exists a vertex such that and .
Summing over all we obtain,
Substituting into eq. (1) gives
We now condition on the degree-regularity event from Lemma B.1, which holds with probability at least . Under , every vertex satisfies
Eq. (2) then implies that
is true with probability at least .
4.2 Degree-Loss in the First Round is Concentrated
We now prove a concentration bound for the degree loss in the first round. Our bound will show that with high probability no vertex loses more than half its neighbours. Since the argument uses martingales, we begin by describing the proposal exposure process.
Fix a vertex , and let for the purposes of this section. To analyse the number of neighbours loses in the first round, we separate the randomness according to whether it originates from vertices inside or outside the neighbourhood of . Since proposal choices are made independently by each vertex, we may first expose the choices made by vertices outside and condition on them.
Let denote the proposal choices of all vertices outside , i.e.,
Fix an arbitrary realization and condition on it throughout, i.e., we work in the probability space
Let denote the number of neighbours of matched in round 1 under this conditioning, i.e.,
Under this conditioning, the proposal choices outside are fixed. It therefore suffices to expose the proposal choices of vertices in . For each , let denote the (fixed) set of neighbours from which chooses.
Let denote the sample space of proposal choices of the neighbours of , where an outcome is a tuple .
We reveal these proposals sequentially and define the corresponding filtration by
Clearly, for all , and thus is a filtration of the conditional probability space induced by the conditioning .
We consider the Doob martingale with respect to the filtration , i.e.,
We refer to as the neighbourhood-exposure martingale.
Note that
We now show that satisfies the bounded difference property.
Lemma 4.2 (Bounded differences for the exposure martingale). For the martingale we have
Proof. Fix and condition on the -algebra . Under this conditioning, we note that the proposal choices are fixed, while and the choices of remain random.
Exposing the proposal can only affect edges incident to . Consequently, changing the value of can create or destroy at most one matched edge, say , in the matching produced in round 1.
If the edge joins to another neighbour , then the matched status of both and may change. Hence the value of can change by at most 2.
Therefore, we have
The bounded difference property allows us to apply Azuma–Hoeffding inequality, yielding concentration of the number of neighbours of v matched in the first round.
Lemma 4.3 (Degree-stability in the first round). Fix . Let with for a sufficiently large constant .
Then with probability at least 1−o(1), the following holds simultaneously for all vertices :
Proof. Fix a vertex and write . Let denote the random variable conditioned on an arbitrary realization of the proposal choices made by vertices outside . We consider the martingale defined in eq. (3).
By Lemma 4.2, we have that satisfies the bounded difference property.
Therefore, by the Azuma–Hoeffding inequality (Lemma A.4), we obtain:
For any ,
Equivalently,
We note that the bound in eq. (4) holds uniformly for every realization . This yields,
Conditioning on the degree-regularity event from Lemma B.1, which holds with probability , we have and . Therefore, choosing yields .
Substituting this choice of into eq. (5) yields
Applying a union bound over all vertices gives
Since , it follows that with probability , for every vertex we have
Thus we have,
with probability at least , which proves the lemma.
4.3 Extending the First-Round Analysis and Iterating Degree-Loss
We now extend the first-round analysis to an arbitrary round t and use it to show -stability for a few rounds.
Condition on the history and suppose that -stability holds. Under this conditioning, the proposal choices made in round remain independent and uniform over current neighbourhoods.
Fix a vertex and let . We expose the proposal choices of the neighbours of sequentially, inducing a filtration and the corresponding Doob martingale for . The same argument therefore yields the following round-t analogues of Lemmas 4.1 and 4.2, which we then iterate to control degree evolution.
Lemma 4.4. Fix . Let with . Assume that -stability holds up to round .
Then, for every vertex ,
Lemma 4.5 (Concentration of degree-loss in round ). Fix . Let with . Suppose the degree regularity event holds and there exists an absolute constant such that:
Fix any . Condition on and suppose -stability holds up to round . Then for every vertex , we have
We now iterate these bounds to control the cumulative degree loss over multiple rounds. In particular, we show that with high probability the degree of every vertex decreases by at most a fixed additive amount in each round.
Lemma 4.6 (Additive loss of degree over multiple rounds). Fix . Let with and let . Suppose that . Then for every round and every vertex , we have
with probability at least .
Consequently, the minimum degree of the residual graph remains large for a number of rounds, implying that the -stability invariant holds during this period.
Corollary 4.7 ( -stability for rounds). Fix . Let with . Then -stability holds up to
rounds with probability at least .
The proofs of Lemma 4.6 and Lemma 4.7 are given in Section D.
Remark 4.8. While Lemma 4.6 and Lemma 4.7 hold for any , they are inherently limited by the coarse concentration of the Azuma–Hoeffding inequality. Specifically, because this approach allows for deviations of order in each round, the iterative argument only yields -stability for rounds. In the case where , this simply ensures that no vertex becomes isolated for a constant number of rounds with high probability.
5 Strong Local Concentration via Structural Sparsity of
In this section we exploit structural sparsity of Erdős–Rényi random graphs to obtain strong concentration bounds for the per-round degree loss.
In contrast to the Azuma–Hoeffding bound obtained earlier, which yields control over deviations of order , we obtain that deviations of order occur with exponentially small tails. This is done by exploiting the structural sparsity of , which ensures that the variance of the degree loss in each round is . Combined with a martingale argument, this yields a Freedman-type concentration bound. This stronger control of per-round degree loss serves as the local ingredient for controlling the evolution of vertex degrees across many rounds.
To achieve this, we must control correlations between the matching events of different neighbours of a vertex. Two neighbours u and w may either be adjacent or share a common neighbour z, introducing correlations between the indicators and . We capture these interactions using a dependency graph defined on the neighbours of a vertex.
Definition 5.1 (Dependency Graph for In-Round Indicators). Fix a round and a vertex . The dependency graph is the graph with vertex set in which two distinct vertices are adjacent if either
• , or
• there exists a vertex such that .
Bounding the maximum degree of will be the key structural input for our variance-based concentration arguments.
We now define the structural event that captures this bounded dependency property.
Definition 5.2 (Structural Event ( )). Let denote the event that for every vertex v in the graph G and every neighbour , there is at most one vertex such that u and w are adjacent or have a common neighbour other than v, i.e.,
We remark that the role of the random graph model in our analysis is primarily to guarantee certain structural properties with high probability. In particular, the key ingredient is the bounded dependency structure captured by the event , which ensures that the dependency graph among neighbours of a vertex has maximum degree at most one. This condition can be viewed as enforcing a form of local sparsity, in which interactions between neighbours are limited to isolated pairs.
Conditioned on such structural properties, the analysis of the matching process relies only on the randomness of the algorithm itself (i.e., the proposal choices), rather than on additional randomness from the graph. The model thus serves as a convenient framework in which these properties hold with high probability.
It would be interesting to understand to what extent our analysis extends to broader classes of graphs satisfying similar structural conditions.
5.1 Local Dependency Graph is a Matching
We now show that the structural event holds with high probability in . As a consequence, w.h.p., for every vertex and round , the corresponding dependency graph has maximum degree at most 1, and is therefore a matching.
Lemma 5.3 (Bounded Local Dependency). Fix . Let with . Then
Proof. We condition on , which holds with probability .
Fix a vertex and consider . Let .
We define
For each define
Thus,
We note that the lemma is equivalent to showing
The remainder of the proof bounds this probability.
Fix u, w and analyse . We have
The first term in eq. (6) is p. For the second term, the number of common neighbours of u and w outside is distributed as . Therefore,
Thus we have,
This implies,
where we used .
If , then there exist distinct such that . By union bound we have,
For a fixed pair of distinct neighbours , the joint event and occurs if interacts with both and either via adjacency or via shared neighbours. We bound and by considering the following cases.
Case A (Adjacency). Both interactions occur via direct edges, i.e., and .
This requires the existence of both the edges uw and uw'. Since each such edge appears independently with probability p, this event occurs with probability at most .
Case B (Mixed Interaction). One interaction occurs via adjacency and the other via a shared neighbour.
Without loss of generality, suppose and there exists a vertex such that .
This requires the existence of three edges: uw, uz, and . As there are at most n choices for z, we have
The symmetric case where and shares a neighbour with is handled identically. Thus, by a union bound,
Case C (Shared Witness). A single vertex z is adjacent to all three vertices u, w, and .
This requires the existence of three distinct edges uz, wz, and . As there are at most n choices for z, we have
Case D (Distinct Witnesses). There exist distinct vertices such that and .
This requires the existence of four distinct edges uz, wz, uz', and w'z'. As there are at most choices for , we have
Putting together the probabilities derived in the above cases we have that
Using eq. (8) and the fact that there are at most unordered pairs , the bound in eq. (7) simplifies to
As the number of ordered pairs is , so a union bound gives
thus proving the lemma.
Since is always a subgraph of , no new neighbours can appear during the process. Thus, if holds for the graph , then for every round and every vertex , the dependency graph has maximum degree at most 1. We thus have the following lemma.
Lemma 5.4 (Dynamic Bounded Dependency). Assume that the structural event holds. Then for every round and every vertex , the dependency graph has maximum degree at most 1, and is therefore a matching.
5.2 Variance of Degree-Loss is Bounded
We now use the bounded dependency structure to control correlations between matching events of neighbours of a vertex v, thereby bounding the variance of the degree loss.
A priori, since has neighbours, the variance of could be as large as . However, the dependencies among the indicators are tightly constrained. Competition among neighbours to match with is self-limiting, as can be matched to at most one vertex, while all remaining dependencies are sparse and captured by the dependency graph , which has maximum degree at most one. Together, these properties reduce the conditional variance of to .
Lemma 5.5 (Conditional Variance of Degree Loss). Fix . Let with . Assume that the events and hold. Fix a vertex and a round . Condition on the history and assume that the -stability invariant holds up to round .
Then,
Proof. By assumption holds. We condition on the history . Under this conditioning the residual graph and the neighbourhood are fixed, while the proposal choices in round remain random. Suppose that the -stability invariant holds up to round , i.e., we have
Recall that
For each we define the indicators
Then
Eq. (10) thus simplifies to
We define
Hence
We analyse the variance of the two components and separately.
Bounding the variance of
For distinct the events and are mutually exclusive, since both require to take different values. Hence and thus
Bounding the variance of
We now analyse .
Expanding the variance gives
Fix a vertex . As the r.v. is an indicator, we have
(15)
Here the last inequality follows from the assumption that -stability holds (eq. (9)).
As we have at most neighbours of v, using the bound in eq. (15) we have
Dependence between and can arise only when and interact through a potential matching event, i.e., when either or they share a common neighbour . Equivalently, this occurs precisely when is an edge of the dependency graph . Hence the number of unordered pairs for which is at most the number of edges of .
By Lemma 5.4, is a matching, so it has at most edges and therefore we have at most dependent pairs. For each such pair, we have
(17) where the last inequality (eq. (17)) again uses the assumption that -stability holds. Thus,
Combining the bounds in eqs. (16) and (18) yields
Conclusion. Writing out the variance of using the decomposition in eq. (13) we have
As we have shown in eqs. (14) and (19) that and respectively, using the Cauchy–Schwarz inequality implies
Thus, we have shown , which completes the proof.
5.3 Strong Concentration of Degree-Loss via Variance Control
We are now ready to establish stronger concentration for the degree loss in a single round under the -stability invariant. This provides control of local deviations within a round and serves as the key input for controlling the evolution of degrees over many rounds.
Lemma 5.6 (Strong One-Round Concentration of Degree Loss). Fix . Let with . Assume that the events and hold. Fix a vertex and a round . Condition on the history and suppose the -stability invariant holds up to round .
Then there exists absolute constant C > 0, such that for all ,
In particular, there exists a sufficiently large absolute constant such that
Proof. Condition on and assume that and the -stability invariant hold up to round . We analyze using a martingale argument that exploits the bounded dependency structure of the indicators .
By Lemma 5.4, the dependency graph has maximum degree at most 1, and hence is a matching. Therefore, can be partitioned into disjoint blocks of size at most 2, where each block contains all mutually dependent indicators.
For each , define
Thus,
with .
In what follows, we will condition on the proposal . Conditioning on eliminates the only source of global dependency among the indicators , ensuring that all remaining dependencies are captured by the local dependency graph .
Define,
Then,
Let
Then,
Since changing affects the matching status of at most two neighbours of v, we have
Using triangle inequality, we have for any ,
Let
Since is determined by and , is the conditional variance of the degree loss once the proposal of is fixed. Lemma 5.5 bounds the variance given alone; by the law of total variance, this bounds only the average of over the values of . We show below that for every value of (see eq. (33)); this follows from the bound on the quadratic variation of a block martingale, which is also the bound used in Freedman's inequality. Fix and . Let be the -algebra generated by , , and all proposal variables .
Each is determined by the proposal variables of vertices in and their neighbours; hence reveals .
Define the Doob martingale
Then and .
Let
Since reveals all randomness determining , we have
Using eq. (21), we have , and hence
Let
We show that almost surely.
Fix and condition on . By construction of the blocks as connected components of the dependency graph , all proposal variables that influence the indicators are contained within the block . In particular, vertices in earlier blocks cannot introduce new proposal conflicts with vertices in .
Moreover, any vertex whose proposal could affect the matching outcome of a vertex must lie in the same block . Indeed, if such a vertex matches a neighbour of , then and , so and share a common neighbour. By the definition of the dependency graph , this implies that and are adjacent in , and hence belong to the same block. Therefore, conditioning on reveals no proposal variables that affect the matching outcomes of vertices in . In particular, for every ,
As -stability implies , we have for every ,
uniformly over .
We are now ready to bound .
As , we have . Using this in eq. (30) we obtain
Since with , we have
Using eq. (29) we obtain
Summing eq. (31) over all blocks yields,
In particular, . Indeed, is generated by and , and the martingale starts at and ends at , so . By eq. (21) this sum has conditional mean zero, so its variance equals its conditional second moment. Moreover, for the increment is -measurable and , hence by the tower property. The cross terms therefore vanish, and
(33)
by eq. (32).
The bound in eq. (32) holds for every realization, so in Lemma A.5 the event , where is the constant in eq. (32), has probability one, and the probability of the joint event there is the probability of the deviation alone. Applying Lemma A.5 to the martingale and to its negative, with by eq. (27) and , we obtain for every
Let . For we take , so that ; since , this gives
By eq. (24) and eq. (34), we obtain for all
Since the bound holds uniformly over all realizations of , we obtain
for all . For the right-hand side is at least , since , so the bound holds trivially. This proves the first claim of the lemma. Finally, setting
and using (Lemma 4.4), we obtain for sufficiently large ,
This implies,
thus proving the lemma.
6 Controlling Degree Evolution via Cumulative-Deviation Martingales
Although the expected degree loss in each round is bounded as seen in the previous section, small random deviations could in principle accumulate over time. We control this accumulation by tracking the difference between the actual degree loss and its conditional expectation using a martingale. Applying Freedman's inequality (Lemma A.5), together with the variance bound and deviation bounds from Section 5, shows that these cumulative deviations remain small for rounds. Consequently, the -stability invariant holds throughout these rounds with high probability.
To formalize when the -stability invariant may fail, we begin by defining the notion of threshold time for each vertex, which records the first round in which its degree drops below the -stability threshold. We then define a global stopping time corresponding to the earliest such violation over all vertices.
Definition 6.1 (Threshold time). Let be a constant. For each vertex , define the threshold time
and if no such time exists.
Definition 6.2 (Critical vertex). Let denote the lexicographically first vertex attaining
We call the critical vertex.
Definition 6.3 (Global stopping time). We define the stopping time
We note that is the last round before the -stability invariant is violated for some vertex. In particular, for every . Moreover, the threshold time is finite only if remains unmatched until its degree drops below the threshold. If becomes matched before its degree falls below the threshold, then , and the -stability invariant is never violated for that vertex.
Consequently, the analysis only needs to control the process up to the stopping time , during which the -stability invariant holds.
To analyse the concentration of the process, we define a martingale that tracks the deviation between the actual cumulative degree loss of the critical vertex and its conditional expectation.
Definition 6.4 (Cumulative-Deviation Martingale). For the critical vertex , we define the stochastic process by
We now verify that the process defined above forms a martingale with respect to the natural filtration of the process.
Lemma 6.5. is a martingale with respect to the filtration , i.e.,
Proof. By definition,
Taking conditional expectation with respect to gives
where the last equality holds as is fully determined by .
To restrict attention to the regime where the -stability invariant holds, we consider the martingale stopped at time . This avoids the need for a longer and more involved round-by-round inductive argument and allows us to analyze the cumulative deviations directly. The stopped martingale ensures all bounds relying on -stability remain valid till our target round .
Definition 6.6 (Stopped Martingale). Let . For the critical vertex , we define the stochastic process as
We note that as , the stopped process is also a martingale with respect to the filtration .
In order to apply Freedman’s inequality to the stopped martingale, we need to establish two properties: a uniform bound on its increments, and a bound on its predictable quadratic variation. We prove these in the following subsections.
6.1 Bounding the Increments of the Cumulative-Deviation Martingale
We first establish a uniform bound on the increments of the stopped martingale. This step lifts the strong per-round concentration bounds from Lemma 5.6 to control the cumulative-deviation martingale: the local bounds on the degree loss imply that the martingale increments are uniformly bounded with high probability. We formalize this through the following bounded increment event.
Definition 6.7 (Bounded Increment Event). We define to be the event
Lemma 6.8 (Uniform Martingale Increment Bound). Assume and hold. Fix for a constant . Then for sufficiently large constant we have,
Proof. We recall the definition of the stopped martingale,
Thus, for the lemma holds trivially, so we focus on the case when .
Whenever , the -stability invariant holds and we can apply Lemma 5.6. This yields
for sufficiently large
Finally, as , taking a union bound over all rounds then gives
This proves the lemma.
6.2 Bounding the Quadratic Variation
We next define the predictable quadratic variation of the stopped martingale in our setting, and then prove that it admits a uniform bound.
Definition 6.9 (Predictable Quadratic Variation). We define the predictable quadratic variation of the stopped martingale as
We next control the predictable quadratic variation of the stopped martingale, which captures how variance accumulates over many rounds. Using the conditional variance bounds established above, we show that this quantity grows at most linearly in the number of rounds.
Lemma 6.10 (Quadratic Variation Bound). Suppose that the events and hold. Then for every T, we have
for some constant .
Proof. We recall the definition of the stopped martingale,
Hence,
By definition of stopping time , the -stability invariant holds for all vertices. Thus, Lemma 5.5 applies, and we have
whenever .
We then have
proving the lemma.
6.3 Concentration of Cumulative Degree-Loss via Freedman's Inequality
We combine the increment and quadratic variation bounds to apply Freedman's inequality to the stopped martingale, yielding a deviation bound for the cumulative degree loss.
Lemma 6.11 (Freedman Deviation Bound). Fix . Let for a constant and let for a large constant . Suppose that the events , and hold. Then for the stopped martingale we have,
Proof. As the event holds, we have that the martingale satisfies
Since the events and hold, Lemma 6.10 implies
The bound in eq. (39) holds for every realization of the process, so the event in Lemma A.5 has probability one, and the probability of the joint event there is the probability of the deviation alone. Plugging in the bounds from eq. (38) and eq. (39) and into Freedman's inequality (Lemma A.5) we get,
As
we have
Finally, since , we get
proving the lemma.
Thus, cumulative deviations remain over rounds.
6.4 Putting Everything Together: -stability Holds for Rounds
We now combine the deviation bound from Lemma 6.11 with the expectation estimates for the degree loss derived in Lemma 4.4 to prove that the -stability invariant persists for rounds.
The key idea is that while the expected degree loss in each round is small, tight martingale control prevents cumulative deviations from causing vertex degrees to drop below a constant fraction of their initial values.
Intuitively, the strong per-round concentration bounds control the local fluctuations of degree loss, while the cumulative-deviation martingale ensures that these fluctuations do not accumulate enough to destabilize vertex degrees over time.
Theorem 1 (Persistence of -stability for rounds). Fix any . Let with for a sufficiently large constant , and let . There exist constants such that, for , the following holds with probability :
For all rounds and all vertices ,
Proof. If , then by definition of stopping time the -stability invariant holds for all rounds . Therefore we only need to bound the probability that the stopping time occurs within the first rounds. In particular, we show that for , we have
Let for a sufficiently large constant . We condition on the high-probability events , and .
If -stability fails before round , vertex witnesses the earliest such failure. For the critical vertex and any with , we have
Additionally, for any round , we have .
Further, for any , the -stability invariant holds, and this gives . On the other hand, under , we have .
Hence by Lemma 4.4 we have,
Summing up the bound in eq. (41) till round t we get
Here eq. (43) follows from eq. (42) as .
Under we also have that
Hence for all , we have
Now suppose . Then , and therefore eq. (44) gives
Choose sufficiently large and sufficiently small such that the following holds
Thus eq. (45) simplifies and we have,
By Lemma 6.11, we have
For the critical vertex ,
Since , we obtain
Finally, we have that
Hence with probability , which implies that
This completes the proof.
This completes the local-to-global argument, showing that strong per-round control of fluctuations lifts to global control of the evolution of vertex degrees, yielding stability for rounds.
7 Large Matchings from Invariants
In this section we deduce our bound on the size of matching. It uses the weaker degree-positivity invariant, which holds with high probability for the first rounds by Theorem 1. Under the degree-positivity invariant, every unmatched vertex has at least one available neighbour at the beginning of each round. We prove that this ensures that each vertex has a large probability of becoming matched in a round, leading to a geometric decay in the number of unmatched vertices. As -stability implies degree-positivity, this leads to a matching of linear size after rounds.
7.1 Geometric Decay Under Sustained Degree-Positivity
Lemma 7.1 (One-step geometric decay under degree-positivity). Consider an execution of ALG on an input graph with maximum degree at most .
Let denote the event that the degree-positivity invariant holds up to round .
Then for every ,
Consequently,
Proof. Recall that denote the history of the process up to the start of round . Conditioning on the fixes the residual graph .
Note that is determined by , since it only involves the degrees for . If does not hold, then the left-hand side of eq. (50) is zero, and the claim follows trivially. We therefore assume that holds for the remainder of the proof; in particular, holds as well.
Fix . Given , the proposal choice of in round is independent and uniform over . Thus,
Since holds, and for every neighbour . Hence,
Therefore,
Summing over all and noting that yields
We have thus shown eq. (50) holds. Taking expectations on both sides yields eq. (51), proving the lemma.
We now iterate the one-step bound of Lemma 7.1 to obtain a global bound on the matching size after T rounds.
Proposition 7.2 (Geometric decay under the degree-positivity invariant). Consider an execution of ALG on a graph with maximum degree at most .
Let be the event that the degree-positivity invariant holds up to round . For every we have that,
Proof. Let . We begin by decomposing using conditional expectations,
We will separately bound the two terms in eq. (53).
Consider the term . By Lemma 7.1 we have that,
Applying Lemma 7.1 recursively gives,
Since , and as holds trivially with probability 1, we have,
Next, we consider the term . As , we have
Plugging in the bounds obtained in eqs. (54) and (55) into eq. (53) we have,
Since the number of matching edges is half of the number of matched vertices, we have
Finally, using eq. (57) and the bound obtained in eq. (56), we have
thus proving the lemma.
Remark 7.3. We note that Lemma 7.2 makes no assumptions about the existence or structure of a maximum matching in the underlying graph G. In particular, it does not assert that every vertex is matchable, nor that the algorithm must eventually produce a large matching. Rather, it states that conditional on the degree-positivity invariant holding for T rounds, the probability that any given vertex remains unmatched decays geometrically with T.
The lemma can therefore be viewed as a general algorithmic principle: whenever the degree-positivity invariant can be maintained for sufficiently many rounds, strong guarantees on the size of the resulting matching follow.
Finally, Lemma 7.2 bounds only the expected size of the matching after T rounds. To obtain a high-probability bound, we use that the number of edges added in a single round is concentrated around its conditional expectation (Lemma C.1 in Section C), and apply this round by round. Since -stability implies degree positivity, Theorem 1 shows that, with high probability, the degree-positivity invariant holds for the first rounds. Together with Lemmas C.1 and 7.1, this yields the following theorem.
Theorem 2 (Large matching after rounds). Fix any . Let with for a sufficiently large constant , and let . Let be the constant of Theorem 1 and let . Then, with probability ,
Proof. Let be the event that the degree-positivity invariant holds up to round ; it is determined by . On the maximum degree of is at most , so Lemma 7.1 with gives, on ,
Let . Since , Lemma C.1 gives, for every ,
and a union bound shows that, with probability at least , this happens in no round . On this event intersected with , every satisfies
and unrolling from gives, for ,
Finally, by Lemma B.1, and by Theorem 1, since -stability implies degree-positivity. As , the claimed bound on holds with probability .
Acknowledgements and Disclosure
We are grateful to Yassine Hamoudi for carefully going through an earlier version of this article.
The technical contents of this article, including the proof of the main theorem, were obtained by the authors before April 2026. AI tools were used to improve the writeup and to help locate related literature. The authors take full responsibility for the content of the article.
References
[ADFS95] Jonathan Aronson, Martin Dyer, Alan Frieze, and Stephen Suen. Randomized Greedy Matching II. Random Structures & Algorithms, 1995. 7
[AFP98] Jonathan Aronson, Alan Frieze, and Boris G. Pittel. Maximum Matchings in Sparse Random Graphs: Karp–Sipser Revisited. Random Structures & Algorithms, 1998. 1, 7
[AV77] Dana Angluin and Leslie G. Valiant. Fast probabilistic algorithms for hamiltonian circuits and matchings. In ACM Symposium on Theory of Computing (STOC), 1977. 7
[BB19] Patrick Bennett and Tom Bohman. A natural barrier in random greedy hypergraph matching. Combinatorics, Probability and Computing, 2019. 7
[BD78] Korte Bernhard and Hausmann Dirk. An analysis of the greedy heuristic for independence systems. Annals of discrete mathematics, 1978. 7
[BF83] Béla Bollobás and Alan M. Frieze. On Matchings and Hamiltonian Cycles in Random Graphs. Random Graphs, 1983. 7
[BF11] Tom Bohman and Alan Frieze. Karp–Sipser on Random Graphs with a Fixed Degree Sequence. Combinatorics, Probability and Computing, 2011. 7
[BK21] Tom Bohman and Peter Keevash. Dynamic concentration of the triangle-free process. Random Structures & Algorithms, 2021. 7
[BLM13] Staphane Boucheron, Gabor Lugosi, and Pascal Massart. Concentration Inequalities: A Nonasymptotic Theory of Independence. Oxford University Press, 2013. 42
[CBL06] Nicolo Cesa-Bianchi and Gabor Lugosi. Prediction, Learning, and Games. Cambridge University Press, 2006. 41, 42
[CFM10] Prasad Chebolu, Alan Frieze, and P'all Melsted. Finding a Maximum Matching in a Sparse Random Graph in Expected Time. Journal of the ACM, 2010. 7
[CHS04] Andrzej Czygrinow, Michał Hańckowiak, and Edyta Szymańska. A Fast Distributed Algorithm for Approximating the Maximum Matching. In European Symposium on Algorithms (ESA), 2004. 6
[DF91] Martin Dyer and Alan Frieze. Randomized Greedy Matching. Random Structures & Algorithms, 1991. 7
[DFP93] Martin Dyer, Alan Frieze, and Boris Pittel. The Average Performance of the Greedy Matching Algorithm. The Annals of Applied Probability, 1993. 7
[DGP98] Devdatt Dubhashi, David A. Grable, and Alessandro Panconesi. Near-optimal, distributed edge colouring via the nibble method. Theoretical Computer Science, 1998. 7
[Die02] Martin Dietzfelbinger. The probability of a rendezvous is minimal in complete graphs. In Algorithms and Computation (ISAAC 2002), 2002. 6
[DT05] Martin Dietzfelbinger and Hisao Tamaki. On the probability of rendezvous in graphs. Random Structures & Algorithms, 2005. 6
[Edm65] Jack Edmonds. Paths, Trees, and Flowers. Canadian Journal of Mathematics, 1965. 1, 6
[ER66] Paul Erdős and Alfred Rényi. On the existence of a factor of degree one of a connected random graph. Acta Mathematica Academiae Scientiarum Hungarica, 1966. 7
[FGT21] Stephen Fenner, Rohit Gurjar, and Thomas Thierauf. Bipartite Perfect Matching is in Quasi-NC. SIAM Journal on Computing, 2021. 6
[FK15] Alan Frieze and Michal Karoński. Introduction to Random Graphs. Cambridge University Press, 2015. 11
[FZ16] Allyx Fontaine and Akka Zemmari. RDA: A Coq library to reason about randomised distributed algorithms in the message passing model. Scientific Annals of Computer Science, 2016. 6
[GKSS25] Margalit Glasgow, Matthew Kwan, Ashwin Sah, and Mehtaab Sawhney. A central limit theorem for the matching number of a sparse random graph. Journal of the London Mathematical Society, 2025. 1, 7
[GP97] David A. Grable and Alessandro Panconesi. Nearly optimal distributed edge colouring in rounds. Random Structures & Algorithms, 1997. 7
[GS01] Geoffrey R Grimmett and David R Stirzaker. Probability and Random Processes. Oxford University Press, 2001. 12, 41, 42
[Hoe04] Jaap-Henk Hoepman. Simple Distributed Weighted Matchings, 2004. 6
[II86] Amos Israeli and A. Itai. A Fast and Simple Randomized Parallel Algorithm for Maximal Matching. Information Processing Letters, 1986. 6
[Kre17] Eleonora Kreacić. Some Problems Related to the Karp-Sipser Algorithm on Random Graphs. PhD thesis, University of Oxford, 2017. 1, 7
[KS81] R. M. Karp and M. Sipser. Maximum Matching in Sparse Random Graphs. The 22nd Annual Symposium on Foundations of Computer Science (SFCS), 1981. 1, 7
[KUW88] Richard M. Karp, Eli Upfal, and Avi Wigderson. The Complexity of Parallel Search. Journal of Computer and System Sciences, 1988. 6
[LPSP15] Zvi Lotker, Boaz Patt-Shamir, and Seth Pettie. Improved Distributed Approximate Matching. Journal of the ACM, 2015. 6
[LPSR07] Zvi Lotker, Boaz Patt-Shamir, and Adi Rosen. Distributed Approximate Matching. In Annual ACM Symposium on Principles of Distributed Computing (PODC), 2007. 6
[MSZ03] Yves Métivier, Nasser Saheb, and Akka Zemmari. Analysis of a randomized rendezvous algorithm. Information and Computation, 2003. 6
[MV80] Silvio Micali and Vijay V. Vazirani. An O( ) Algorithm for Finding Maximum Matching in General Graphs. Annual Symposium on Foundations of Computer Science (SFCS), 1980. 1, 6
[MVV87] Ketan Mulmuley, Umesh Vazirani, and Vijay Vazirani. Matching is as Easy as Matrix Inversion. Combinatorica, 1987. 6
[OA17] Nesrine Ouled Abdallah. Computing Models for Networks of Tiny Objects. PhD thesis, Université de Bordeaux and Université de Sfax, 2017. HAL tel-01563772. 6
[PS89] Nicholas Pippenger and Joel Spencer. Asymptotic behavior of the chromatic index for hypergraphs. Journal of Combinatorial Theory, Series A, 1989. 7
[PS12] Matthias Poloczek and Mario Szegedy. Randomized Greedy Algorithms for the Maximum Matching Problem with New Analysis. IEEE Annual Symposium on Foundations of Computer Science (FOCS), 2012. 7
[Roc24] Sabastien Roch. Modern Discrete Probability: An Essential Toolkit. Cambridge University Press, 2024. 42
[Röd85] Vojtěch Rödl. On a packing and covering problem. European Journal of Combinatorics, 1985. 7
[ST17] Ola Svensson and Jakub Tarnawski. The Matching Problem in General Graphs Is in Quasi-NC. IEEE Annual Symposium on Foundations of Computer Science (FOCS), 2017. 6
[Vaz24] Vijay V. Vazirani. A Theory of Alternating Paths and Blossoms from the Perspective of Minimum Length. Math. Oper. Res., 2024. 1, 6
[Wat04] Wattenhofer, Mirjam and Wattenhofer, Roger. Distributed Weighted Matching. In Distributed Computing, 2004. 6
[Wor95] Nicholas C. Wormald. Differential Equations for Random Processes and Random Graphs. The Annals of Applied Probability, 1995. 1, 7
[Zem08] Akka Zemmari. On handshakes in random graphs. Information Processing Letters, 2008. 6
Appendix
A Concentration Inequalities
In this section we collect the concentration inequalities used throughout the paper. Proofs can be found in any standard textbook on probability theory, e.g. [GS01].
Fact A.1 (Union bound). Let be events. We have
Fact A.2 (Markov's inequality). Let X be a nonnegative random variable and let a > 0. Then,
Fact A.3 (Chernoff bound for sums of independent Bernoulli random variables). Let be independent Bernoulli random variables with . Let
Then for any ,
Additionally, for any ,
Fact A.4 (Azuma–Hoeffding inequality (Lemma A.7 in [CBL06])). Let be a martingale with respect to a filtration .
Suppose there exist constants such that
Then for every ,
Fact A.5 (Freedman's Inequality (Lemma A.8 in [CBL06])). Let be a real-valued martingale with respect to a filtration , with . Let denote the martingale increments. Suppose that the increments are uniformly bounded, i.e.,
Define the predictable quadratic variation
Then for any ,
Fact A.6 (McDiarmid's Inequality (Theorem 20.10 in [Roc24])). Let be independent random variables with , and let
Assume that there exist constants such that for every and all ,
Then for every ,
Fact A.7 (Hoeffding's lemma (Lemma 2.2 in [BLM13])). Let Y be a random variable with and almost surely. Then for every ,
Definition A.8 (Submartingale). Let be a filtration. A sequence of random variables is called a submartingale with respect to the filtration if for all , and for every , .
Fact A.9 (Doob's maximal inequality [GS01]). Let be a nonnegative submartingale. Then for every and every ,
B Degree Concentration in
In this section, we prove that the degree-regularity event from Lemma 3.6 holds with high probability in via standard Chernoff bounds.
Fact B.1 (Degree concentration in ). Let with for a sufficiently large constant . Then
Proof. Fix a vertex . Then
Since , we have
By the Chernoff bounds (Lemma A.3), for ,
and for ,
For sufficiently large n we have
Hence
Since , this gives
Applying a union bound over all n vertices we obtain,
Choosing c sufficiently large ensures
which proves the claim.
C Concentration of the Matching Size in One Round
Lemma 7.2 bounds the expected number of unmatched vertices. To turn this into a high-probability bound, we show that, given the history, the number of edges added in a single round is concentrated around its conditional expectation; the proof of Theorem 2 applies this round by round. A bounded-differences argument over all T rounds at once is not available: changing one proposal in round t changes which vertices are present in round , and the effect propagates, so already for T = 2 the matching size can change by .
Lemma C.1 (Matching size concentration in one round). Let be any graph and let . Let be the number of edges added to the matching in round . Then for every ,
Proof. Condition on ; this fixes the residual graph . Let be the set of unmatched vertices with . In round , each proposes to a vertex chosen uniformly from , independently of the other proposals, and
is a function of the independent random variables .
Suppose we change a single proposal from to and keep all other proposals fixed. Only pairs containing can change: before the change, is matched if and only if , and after it, if and only if . Hence changes by at most 1.
Applying McDiarmid's inequality (Lemma A.6) to the conditional distribution given , with for every , gives the bound with in place of . Since , the lemma follows. If , then and there is nothing to prove.
D Proofs for the Warmup: -stability via Iterated Weak Concentration
In this section we provide the deferred proofs of Lemma 4.6 and Lemma 4.7 from Section 4.
Lemma D.1 (Restatement of Lemma 4.6). Fix . Let with and let . Suppose that .
Then for every round and every vertex , we have
with probability at least .
Proof. We condition on for the remainder of this proof. By Lemma B.1, . For each round we define the event :
We will also need the event ,
We intend to prove by induction that for every ,
Base case . Condition on the regularity event . Under we have
Applying Lemma 4.5 with and gives
for every vertex .
Equivalently,
Taking a union bound over all yields
Hence
which establishes the base case.
Inductive step. Assume that for some , the inductive hypothesis holds, i.e.,
Since , we have
and therefore
Fix an arbitrary history for which holds. Then for every ,
Under the regularity event we have
Since , this implies
By Lemma 4.4 we have
Applying Lemma 4.5 gives
Setting
and using yields
Taking a union bound over all gives
Substituting eq. (59) into eq. (58) gives
thus completing the inductive step.
Finally, since , we have
which proves the lemma.
Corollary D.2 (Restatement of Lemma 4.7). Fix . Let with . Then the -stability invariant holds up to
rounds with probability at least .
Proof. Let . For sufficiently large , this choice ensures that
Hence by Lemma 4.6, with probability at least we have
Under , and therefore
Thus the -stability invariant holds for all .