Variance of random greedy independent sets in triangle-free graphs
Abstract
Inspect the vertices of a finite simple graph in uniformly random order, accepting each vertex if none of its neighbors has previously been accepted. Let be the number of accepted vertices. For every triangle-free graph with vertices and edges, we prove
with equality precisely for edgeless graphs and connected stars. In particular, among trees of a given order, the star uniquely maximizes the variance, with value . Known expected vertex-deletion stability already yields the elementary baseline . We obtain the sharp finite-order refinement by combining a stronger centered first-choice estimate with a triangle-free edge-count identity in the law of total variance.
1 Introduction
Random-order greedy acceptance produces a maximal independent set, but generally not a maximum independent set. Its cardinality is random even when the underlying graph is fixed. Equivalently, assign independent uniform arrival times in to the vertices and occupy a vertex on arrival if no neighbor is already occupied. This is terminal blocking random sequential adsorption, as studied by Penrose and Sudbury [6].
We consider the variance of the accepted cardinality. Throughout, graphs are finite, simple, and undirected; they need not be connected. Let denote the accepted count, and write .
Theorem 1.
If is triangle-free and , then
| (1) |
Equality holds if and only if is edgeless or .
Corollary 2.
For every nonempty tree of order ,
with equality if and only if . The singleton is included as .
Gamarnik and Goldberg [3, Theorem 6, equation (9)] give under a maximum-degree bound , without a girth restriction. Penrose and Sudbury [6, Section 2.7, discussion following Theorem 7] also note a linear variance upper bound in the uniformly bounded-degree setting, alongside their correlation and normal-approximation results. Krivelevich, Mészáros, Michaeli, and Shikhelman [4, Theorem 1.2] prove concentration under subfactorial path growth and local convergence. Their Theorem 1.4 makes the path mean-minimal among trees, while Section 8 makes the star uniquely mean-maximal. Corollary 2 gives the variance analogue of the latter extremal statement; a bound on the mean alone does not control the variance. In terms of average degree , (1) reads
Our bound imposes no restriction on the maximum degree.
The degree-free baseline is already an elementary consequence of the expected deletion stability of Censor-Hillel, Haramaty, and Karnin [1], together with first-choice conditioning and a triangle-free edge count; we give this deduction in Proposition 6. Related dynamic-MIS and sensitivity methods appear in [2, 8]. Thus the point of Theorem 1 is the sharp finite-order coefficient and equality classification, not the existence of a linear-in-edge-count variance bound. The refinement uses a stronger centered first-choice estimate. We include a proof of the needed deletion-stability statement for self-containment.
Sudbury [7, Theorem 1] compares single-vertex occupation probabilities on regular and branching-random trees. For a uniformly random labelled tree, Panholzer [5, Theorem 4] obtains an exact accepted-count distribution, variance , and a central limit theorem. These are averaged over the random tree as well as the arrival order; they do not by themselves give a variance bound for every fixed tree.
2 Deletion stability and first-choice means
Write for the independent set obtained from an order , and put
When comparing induced subgraphs, use the restrictions of the same uniform permutation. Let and be the open and closed neighborhoods, and let . For a nonempty graph set
Conditional on being first, the remaining accepted count has the law of . Therefore, with ,
| (2) |
Define and for . Then , and is strictly increasing for .
Lemma 3 (Deletion stability, [1, Theorem 1]).
For any graph and fixed vertex ,
| (3) |
Consequently , and for subsets ,
| (4) |
Proof.
Induct on , the singleton case being immediate. Fix , write , and condition on the first vertex . The remaining relative order is uniform.
If , both runs accept and thereafter reduce to the same graph , so their discrepancy is zero. If , both runs accept and the discrepancy equals that for deleting from . Its conditional expectation is at most one by induction.
If , the full run gives , whereas the deleted run gives . Delete the neighbors of successively from , in any fixed order. The triangle inequality bounds the symmetric difference by one plus the sum of these deletion discrepancies. Each intermediate graph is smaller than and has a uniform restricted order, so the conditional expectation is at most . Averaging gives
The mean assertion follows by bounding cardinality difference by symmetric difference. Telescoping deletions from and to proves (4). ∎
Deleting the open neighborhood leaves isolated. Hence, for every graph and vertex , (4) gives the elementary centered estimate
| (5) |
The next lemma sharpens this estimate for triangle-free graphs.
Lemma 4 (Centered first-choice estimate).
For every triangle-free graph of order and every ,
| (6) |
For a singleton, . Hence, for a uniform vertex ,
| (7) |
Proof.
The singleton case is immediate; assume .
Fix , put , and let . We first establish
| (8) |
For , deleting the two closed neighborhoods commutes:
Thus . Sum over and apply (2) to to obtain
When both sides are zero. Substitution into gives (8).
If is adjacent to , triangle-freeness gives . By (4),
For , apply (5) to to get . A count of ordered pairs , where is removed by deleting , gives
| (9) |
Indeed, for each such , every vertex of lies in , because there are no triangles. The count allows different common neighbors, so it does not exclude four-cycles.
3 Variance and equality
Lemma 5 (Edge loss).
For a nonempty triangle-free graph of order ,
| (10) |
Proof.
Every edge removed by deleting is incident to a neighbor of . No edge joins two such neighbors, so
Summing over proves (10). ∎
Proposition 6 (Elementary edge-count bound).
For every finite triangle-free graph , .
Proof.
Proof of Theorem 1.
We first prove the bound by induction on the order over all triangle-free graphs. Counts are deterministic for orders zero, one, and two. For , the law of total variance, conditional on the first vertex, gives
| (11) |
The first term is the expected conditional variance; the second is the variance of the conditional mean. With , induction and monotonicity give , including empty residual graphs. Applying (7) and (10) to (11) yields
For equality, edgeless graphs attain the zero bound. If and , then . Suppose . If some has an edge, then and , making the corresponding induction estimate strict. Thus equality requires every to be edgeless.
Choose an edge . Every other vertex must be adjacent to at least one of , since otherwise survives in its residual graph; triangle-freeness prevents adjacency to both. Therefore and partition into independent sets, with and . If and were nonadjacent, then the edge would survive in , a contradiction. Hence for positive integers , .
The first vertex of determines the accepted part. Its count is with probability and with probability , so
As , equality in (1) is equivalent to , or . These are exactly the connected stars, and the same computation proves that they attain equality. ∎
4 Scope of the bound
Theorem 1 is sharp uniformly and gives the exact maximum over trees of each order. It does not give an attained maximum for every prescribed pair . Nor does it assert a central limit theorem.
Relative to Proposition 6, the finite-order improvement is . For a tree it is
which tends to four. The coefficient one in the baseline cannot be decreased uniformly in : the explicit star law gives . The refinement supplies the exact finite-order tree maximum and its equality cases.
References
- [1] K. Censor-Hillel, E. Haramaty, and Z. Karnin, Optimal dynamic distributed MIS, Proceedings of the 2016 ACM Symposium on Principles of Distributed Computing (PODC), 2016, 217–226. doi:10.1145/2933057.2933083. arXiv:1507.04330.
- [2] S. Chechik and T. Zhang, Fully dynamic maximal independent set in expected poly-log update time, Proceedings of the 60th IEEE Symposium on Foundations of Computer Science (FOCS), 2019, 370–381. doi:10.1109/FOCS.2019.00031. arXiv:1909.03445.
- [3] D. Gamarnik and D. A. Goldberg, Randomized greedy algorithms for independent sets and matchings in regular graphs: Exact results and finite girth corrections, Combinatorics, Probability and Computing 19 (2010), 61–85. doi:10.1017/S0963548309990186.
- [4] M. Krivelevich, T. Mészáros, P. Michaeli, and C. Shikhelman, Greedy maximal independent sets via local limits, Random Structures & Algorithms 64 (2024), 986–1015. doi:10.1002/rsa.21200.
- [5] A. Panholzer, A combinatorial approach for discrete car parking on random labelled trees, Journal of Combinatorial Theory, Series A 173 (2020), 105233. doi:10.1016/j.jcta.2020.105233.
- [6] M. D. Penrose and A. Sudbury, Exact and approximate results for deposition and annihilation processes on graphs, The Annals of Applied Probability 15 (2005), 853–889. doi:10.1214/105051604000000765.
- [7] A. Sudbury, Random sequential adsorption on random trees, Journal of Statistical Physics 136 (2009), 51–58. doi:10.1007/s10955-009-9776-3.
- [8] N. Varma and Y. Yoshida, Average sensitivity of graph algorithms, SIAM Journal on Computing 52 (2023), 1039–1081. doi:10.1137/21M1399592.