On the method of typical bounded differences
Lutz Warnke
Introduction
While the simplicity of (L) makes this inequality very intuitive and easy to apply, its perhaps main drawback is that it considers worst case changes. In particular, the resulting concentration bounds are rather weak (or even trivial) in situations where the worst case are much larger than the typical changes. A standard example is counting the number of triangles in the binomial random graph : since every pair of vertices has up to common neighbours the worst case is , which is much larger than we expect from the common neighbours we usually have for . In fact, here Theorem 1 only gives trivial estimates for , but it seems plausible that concentration should hold in such applications where the typical changes are much smaller than the worst case ones.
In contrast, much less research has been devoted to developing easy-to-use tools for proving concentration results in such situations. The Hoeffding–Azuma inequality implies, for example, that (2) essentially remains true if we relax (1) to worst case conditional expected changes:
While this might be useful in certain textbook examples, it typically has two main drawbacks in involved combinatorial applications: (a) conditional expectations are usually difficult to calculate and (b) it often yields no substantial improvement (for, say, the worst case in (3) over all choices of is often comparable to (1)). There are also some approaches which allow (3) to be violated occasionally , but these usually require knowledge about conditional probability distributions, making them particularly difficult to apply when is defined in an indirect or complicated way.
In this paper we develop a variant of the bounded differences inequality which can be used to establish concentration of functions where (i) the typical changes are small although (ii) the worst case changes might be very large. One key aspect of this inequality is that it relies on a simple and attractive condition that (a) is easy to check and (b) coincides with heuristic considerations why concentration should hold. Indeed, given a ‘good’ event that holds with very high probability, we essentially relax the Lipschitz condition (L) to situations where occurs. More precisely, for the sake of proving concentration the following inequality usually allows us to restrict our attention to such typical changes, which are often much smaller than the worst case ones.
For any numbers with there is an event satisfying
If each takes only two values (i.e., when ) the exponent in (6) may be multiplied by factor of , analogous to the standard bound (2).
If the underlying probability space is generated by independent Bernoulli random variables we establish much stronger estimates. For example, in the common situation where the success probabilities are all equal to (as in ) the following natural extension of Theorem 2 essentially allows us to multiply the denominator of (6) with an extra factor of (on an intuitive level one can perhaps think of this as applying Theorem 2 after conditioning on variables being ‘relevant’).
where and .
If and are either both monotone increasing or decreasing we have
In typical applications of this inequality we hope to be able to ignore the ‘error term’ (and select such that , as before). In this case (7) is close , which for is a significant improvement of the corresponding from Remark 3. For example, in the case of triangles in this allows us to extend the concentration result of the previous section to edge probabilities satisfying . In fact, the estimates implied by (8) are sometimes comparable to those of Janson’s inequality , see Section 1.2.2.
Ignoring the ‘good’ event in Theorem 4 we also obtain a strengthening of Theorem 1. Since this natural variant of the bounded differences inequality does not seem to be as widely known, we explicitly state it for ease of reference (if each is weakened to then (9) follows from Theorem 3.9 in McDiarmid’s survey ; Alon, Kim and Spencer also proved a comparable inequality that applies to small values of only: for those the contribution of to the denominator of (9) is negligible).
Apply Theorem 4 with and . ∎
This extends Bernstein’s inequality (a strengthening of the Chernoff bounds for small deviations, see e.g. Remark 2.9 in ), which applies to sums of independent random variables. One key aspect of (9) is that it is almost tight when , in which case and . Indeed, the estimate of Corollary 6 is then close to for not too large, which is exactly the tail behaviour predicted by the central limit theorem.
Our arguments in fact yield a slightly stronger form of (7)–(9), analogous to Bennet’s sharpening of the Chernoff bounds (see e.g. Remark 2.9 in ). Indeed, for we can improve terms of the form to , where equals and in (7) and (9). For these refined estimates sharpen the exponents from order to , i.e., yield a logarithmic improvement.
1.2 Two-sided Lipschitz conditions
Theorem 11 also allows us to routinely apply certain truncation arguments (without ad-hoc calculations). A typical example is with having exponential tails, where one often first proves concentration of, say, , and then transfers this result to the original sum, see e.g. . Here (11) almost immediately yields concentration of via the local events that occurs (setting , and ).
1.3 Dynamic exposure of the variables
The previous inequalities can be refined by exposing the values of the random variables one by one in an adaptive order. Intuitively this allows us to exploit that after having learned the values of certain variables, some other may not any more influence the value of . This approach was introduced by Alon, Kim and Spencer , and is particularly useful whenever we can determine without knowing the value of all random variables. More formally, a strategy sequentially exposes , where each index may depend on the previous outcomes and indices (we use the convention that if is determined by with ); every strategy has a natural representation in form of a decision tree. With a fixed strategy in mind, for every possible outcome we obtain a set of queried indices , and by we denote the set of all possible such query sets . The resulting key improvement is that in most inequalities we essentially may replace with for some ‘worst case’ set of indices (note that is a typical choice in applications).
Suppose that for all . For any strategy Theorems 1, 2, 4, 9, 11, Corollary 6 and Remarks 3, 7, 8, 12 remain valid with replaced by and replaced by , with the addition that depends on the query strategy.
Consider any strategy satisfying in each step. Then Theorems 1, 2, 4, 9, 11, Corollary 6 and Remarks 3, 5, 7, 8, 12 remain valid with replaced by and replaced by , with the exception that (5) remains unchanged.
Applied to Corollary 6, Theorem 4 and Remark 7 these results tighten and extend an inequality of Alon, Kim and Spencer , which is based on the Lipschitz condition (L). In certain applications dynamic exposure yields significant improvements, and for an illustrating example we refer to Claim 2 in , where it is crucial to reduce (the order of magnitude of) the number of queried variables. Further refinements are possible by using adaptive Lipschitz bounds , which is perhaps most easily exploited by tailoring the arguments of Section 2 to the specific application.
1.4 Weakening the independence assumption
There are numbers and with such that the following holds for any two possible sequences of outcomes and of . Defining
there is an injection such that for all we have
The proof shows that must be a bijection with equality in (13). Furthermore, if takes at most two values conditioned on , then the exponent in (6) may be multiplied by factor of . In fact, (2) holds if (or below). In addition, for (6) to hold with it suffices if we relax (GL) to the average Lipschitz condition
To illustrate the application of the (GL) condition we consider uniform permutations , which are generated by sequentially choosing each randomly from . Here contains all with and for . In this case a bijection is defined by the transposition of and , so that satisfies , and for . Using and the uniform measure it is not hard to check that (13) holds with equality. We see that for establishing (12) it suffices to bound whenever and are related via a transposition, which is an intuitive and easy to check condition (this may correspond to changing two coordinates).
Several extensions of Theorem 2 carry over to Theorem 15 with some minor modifications, and results analogous to those of Sections 1.1.1 and 1.1.2, including a two-sided Lipschitz condition, are stated below (Remark 7 also applies to (15) after adjusting accordingly).
where and .
In addition, suffices when all possible outcomes occur with the same probability.
The sufficient condition often makes the two-sided Lipschitz condition of Theorem 18 easy to apply. For example, in case of random permutations and random graphs (or the random graph process) we may take and , respectively.
2 Discussion and applications
As discussed, in probabilistic combinatorics and the analysis of randomized algorithms we frequently need to prove that a random function is not too far from its mean, e.g., that or holds. A common feature of many recent applications is that the functions of interest are only ‘smooth enough’ on a high probability event, whereas their deterministic worst case changes are too large for the standard bounded differences inequality (Theorem 1) to be effective.
One aim of this paper is to provide easy-to-apply tools which can routinely deal with such situations, establishing concentration in a rather simple way. For example, in the frequent case where the good event holds with probability at least we can typically choose and then completely ignore the worst case effects, see e.g. the proof of Theorem 28 (this approach also applies, for example, to Lemma 14 in and parts of the martingale-based proof of Theorem 2.2 in ). In other words, the crucial advantage of our new inequalities is that they can often remove the need for sometimes difficult ad-hoc arguments using only a minimum amount of calculations (which typically even coincide with heuristic considerations).
2.2 Comparison with Janson’s inequality
In this section we demonstrate that in certain applications our inequalities give exponential estimates that (i) are tight and (ii) successfully compete with the well known Janson’s inequality. To this end we focus on subgraph counts in the binomial random graph since a concrete example seems more illustrative to us. Henceforth we assume that is a fixed -balanced graph, i.e., where has edges and all its proper subgraphs with vertices satisfy
This class of graphs includes, for example, complete graphs and cycles of arbitrary size. Let count the number of copies in . For -balanced graphs it is well-known (see e.g. ) that Janson’s inequality gives
which asymptotically matches (18), i.e., the estimate of Janson’s inequality. In fact, for this bound is best possible (up to constants in the exponent) since contains no edges (and thus no copies of ) with probability .
2.3 Application: the reverse H𝐻H-free process
The following variations of the classical random graph processes were proposed by Bollobás and Erdős at the 1990 Quo Vadis, Graph Theory conference in an attempt to improve Ramsey numbers . The -free process, where, starting with an empty graph on vertices, in each step a new edge is added, chosen uniformly at random from all pairs whose addition does not complete a copy of . The reverse -free process, where, starting with a complete graph on vertices, in each step an edge is removed, chosen uniformly at random from all edges that are contained in a copy of . The -removal process, where, starting with a complete graph on vertices, in each step all edges of a copy of are removed, which is selected uniformly at random from all copies. All of these processes end with an -free graph, and Bollobás and Erdős asked (among other structural properties) what their typical final number of edges is .
Using our typical bounded differences inequality, in Section 3 we show that the final number of edges in the reverse -free process is sharply concentrated when is -balanced (we do not assume strictly -balanced), and also determine the likely number of edges up to constants. This is in contrast to all known results for the widely studied -free and -removal processes. Indeed, in these (a) no sharp concentration results are known, (b) the order of magnitude of the final number of edges is open for most strictly -balanced graphs, and (c) no general results apply to the class of -balanced graphs. As we shall see, when is a matching the expected final number of edges in the reverse -free process is . When it comes to concentration we thus restrict our main attention to all other -balanced graphs , which in fact satisfy (with equality for trees). Here our next result shows that the reverse -free process typically ends with edges, answering (up to constant factors) the aforementioned question of Bollobás and Erdős from 1990.
Our arguments partially generalize to arbitrary graphs. Set and , so that for -balanced graphs . We show that for any graph the expected final number of edges in the reverse -free process is , and prove concentration under certain conditions (satisfied e.g. by a clique with an extra edge hanging off), see Section 3. The proof of Theorem 19 also extends to a finite family of forbidden graphs , which for the -free process was considered in . Indeed, defining the reverse -free process in the obvious way (always removing a random edge that is contained in a copy of some ) we obtain, for example, the following generalization.
3 Organization of the paper
Section 2 is devoted to the proof of our new concentration inequalities, which are then illustrated by an application to the -free process in Section 3.
Proofs of the concentration inequalities
We start by proving two general martingale inequalities. These are applied in Section 2.2, where we establish our variants of the bounded differences inequality.
Our concentration results are based on the following variants of Hoeffding–Azuma/Bernstein-type martingale inequalities. Since they are not stated exactly in this form in the literature, we give short proofs for the readers convenience (following the slick approach of Freedman ). In both we assume that is an increasing sequence of -algebras, and is an -adapted bounded martingale.
Let and be -measurable variables satisfying . Set . For every and we have
Let be an -measurable variable satisfying . Set and . Let . For every and we have
Observe that we allow for (accumulative) random bounds on the one-step changes (and other quantities), which in case of Lemma 21 is the main difference to the usual formulation of the classical Hoeffding–Azuma inequality . Lemma 22 also extends the related Theorem 2.2.2 of Kim and Vu (see also Lemma 3.1 in Vu’s survey ), which assumes that the underlying probability space is generated by independent random variables (of a special form).
Note that , are -measurable, whereas is -measurable. This difference sometimes causes subtle off-by-one errors. As pointed out by Oliver Riordan, for e.g. the estimate
In fact, assuming that always holds, the approach of e.g. implies (21) if
Our proofs use the following (standard) inequalities due to Hoeffding and Steiger ; they follow e.g. from the proofs of Lemmas 2.4, 2.6 and 2.8 in McDiarmid’s survey .
Furthermore, is a non-negative increasing function. ∎
Set . For all we have . ∎
Let denote the event that and for some . Note that implies . So, for Markov’s inequality gives
which establishes (19) and thus Lemma 21.
We proceed similarly for and let denote the event that , and for some . Using and monotonicity of we see that implies . Recall that . For Markov’s inequality and Lemma 25 now yield
which establishes (20) and thus Lemma 22. ∎
2 Bounded differences inequalities
The textbook proof of Theorem 1 is based on the Hoeffding–Azuma inequality , and essentially uses the ‘worst case’ Lipschitz condition (1) to apply Lemma 21 with . We need some modifications to deal with the obstacle that the ‘good’ event and thus the ‘typical case’ in (4) does not always hold, and these are partially inspired by the seminal work of Shamir and Spencer from 1987.
We step aside these issues by noting that for good bounds on conditional expected one-step changes it suffices that the conditional probabilities of large changes are small. One key aspect of our approach is that we can always guarantee this via the ‘global’ event only, i.e., without having any knowledge about the corresponding conditional distributions.
Let the stopping time be the minimum of and the smallest for which holds (note that is -measurable). Setting , it follows that the sequence is a martingale with . Since unless holds, recalling we see that
It suffices to show for each : then the claim follows by applying Lemma 21 with . The following argument is written with an eye on the upcoming proofs (where some modifications are needed). Note that if and if . So it is enough to prove that whenever . For brevity, for and we write for . Note that
Defining via the next equation, since are independent it follows that
By distinguishing between and , each time applying (4) as appropriate, we infer
As explained, this completes the proof. ∎
Here we could have used the classical Hoeffding–Azuma inequality since the proof yields (deterministic) bounds for each individual . We decided to apply Lemma 21 since the forthcoming modifications needed for the ‘dynamic exposure’ of Section 1.1.3 do use its full strength, i.e., that accumulative estimates of the suffice.
So, since takes only two values, using (28) and (30) we infer for that
This completes the proof (by applying Lemma 21 with ). ∎
In fact, Theorem 1 follows by a similar modification (here (28) implies ).
Arguing as in (30) and (31) we readily obtain when , and thus infer
Using the independence of it follows that for we have
Note that (32) implies , but the resulting minor improvement of usually has negligible effect.
To bound , first note that and independence of yields
So, using (28) and (34), for we infer
A similar argument shows that (9) holds after deleting . The point is that in Corollary 6 there is no ‘good’ event . Consequently, when invoking (28) in (35) the standard line of reasoning (using (1) instead of (4)) yields , and the claim follows. ∎
We start by modifying the proof of Theorem 2. Analogous to (34), if then for all we have
Now, arguing as in (29) and using , we obtain a natural analogue for , namely
which establishes the claimed variant of Theorem 2.
In the proofs of Remark 3 and Theorem 4 we only need to adapt (31), and using (36) this follows by straightforward modifications. Similarly, in the proof of Remark 8 it suffices to modify (35), which is standard using (37) together with . ∎
2.2 Some extensions
Note that is increasing (decreasing) if is increasing (decreasing). Furthermore, in view of (24) it is easy to check that is increasing (decreasing) if is decreasing (increasing). Using the definition and the assumptions of Remark 5, it follows that and are either both increasing or decreasing. So Harris’ inequality yields
The monotonicity property implies (writing as a difference sequence of coordinate changes), so suffices using in (39). Turning to the special case , note that suffices to establish (39). Now, since is a family of independent random variables with satisfying (L), the claimed variant readily follows from Theorem 1. ∎
2.3 Variants using dynamic exposure
The remaining details for establishing Theorem 13 and 14 are rather straightforward: when invoking the martingale estimates we simply take the ‘worst case’ bounds for , and over all possible sets of queried indices (where and are as defined in Section 1.1.3); for example, using in case of Theorem 2. It is this last step where the accumulative random bounds in Lemmas 21 and 22 are crucial (the behaviour of each individual may vary significantly for different sample points due to the dynamic order in which the variables are queried).
2.4 Variants using the general Lipschitz condition
Finally, we discuss how to modify the proofs in Section 2.2.1 when the independence assumption is replaced by (GL). We first claim that is a bijection with equality in (13), i.e., satisfies
Indeed, using (13) and that is injective it follows that
We modify the proof of Theorem 2, where independence is only used to establish (27). Using (41) and that the bijection satisfies (40), we obtain
which is the natural analogue of (27). The remainder of the argument carries over with minor modifications. Indeed, proceeding as in (28) (applying (12) instead of (4)) and then appealing to (41), we infer
Now, by arguing as in (29), when holds we also have
Remark 16 follows by similar reasoning (noting that the proof of Remark 3 carries over and that (42) equals (14) after replacing with ).
Final number of edges in the reverse H𝐻H-free process
In our analysis of the reverse -free process we use several equivalent definitions (with respect to the final graph). Recall that, starting with the complete graph on vertex set , in each step an edge is removed, chosen uniformly at random from all edges contained in a copy of . As in , a moment’s thought reveals that we may instead traverse all edges in random order, each time removing the current edge if and only if it is contained in a copy of in the evolving graph. As observed by Erdős, Suen and Winkler , after considering the decision whether is removed depends only on the later edges (all other ‘surviving’ ones are by construction not contained in a copy of ). This allows us to consider the edges in reverse order, where is added if and only if it does not complete a copy of together with (it does not matter whether these were added or not). Given a random permutation, we denote the corresponding random graph process after steps by , where is the uniform random graph with vertices and edges.
For technical reasons it will be convenient to also consider a continuous variant of the above process, where each edge is independently assigned a uniform birth time ; the edges are then traversed in ascending order of their birth times (which are all distinct with probability one). The resulting process that considers only those edges with is denoted by . So for all edges are traversed in random order, and it follows that
Conditioned on , the decision whether is added only depends on the edges with , which have the same distribution as . As noted by Makai , this allows for the use of classical random graph theory when estimating the probability that an edge is added to the evolving graph. Recall that for -balanced graphs . For
the next lemma follows from the results of Spencer mentioned in Section 1.2.2. Note that in every pair of vertices is expected to have ‘extensions’ to copies of .
The point is that whenever holds no further edges are added. This allows us to couple both variants of the reverse -free process such that they agree with very high probability after considering only edges. So for our purposes they are interchangeable, and we obtain the corresponding formal statement by combining Lemma 26 with (44).
Let be a -balanced graph. There is a coupling such that for every we have
with probability at least for . ∎
Turning to the number of edges in , which we denote by , recall that each is added if and only if it does not complete a copy of together with . So one edge can, in the worst case, influence the decisions of up to edges (whether they are added or not); however, on the ‘typical’ event of Lemma 26 this is limited to at most edges. For this reason the standard bounded differences inequality fails to give useful bounds (due to large worst case ), whereas a routine application of the typical bounded differences inequality yields sharp concentration, illustrating its ease of use and effectiveness.
Let be a -balanced graph. For every and we have
To establish Theorem 19 it remains to bound the expected final number of edges up to constant factors. Our argument is inspired by Makai , who proved asymptomatically matching bounds in (46) for the class of strictly -balanced graphs (the case is due to Erdős, Suen and Winkler ). In fact, here we determine the correct order of magnitude for all graphs.
Let be a graph with . There are such that
for , where the floor function is only needed when .
For the lower bound in (46) fix with that satisfies (this choice is possible as ). Given there are at most extensions to for some , so whenever holds monotonicity and Harris’ inequality yield
Turning to the upper bound in (46), consider with . We apply Janson’s inequality to , which counts the number of extensions of to (viewed as subgraphs these do not contain the edge ). Note that , and imply
Define as the set of all proper subgraphs graphs with . Considering all possible ‘overlaps’ of extensions of to (analogous to the textbook proof of the small subgraphs theorem), the term of Janson’s inequality satisfies
Linearity of expectation now yields the upper bound in (46). ∎
Our arguments partially generalize to arbitrary graphs, which we shall now briefly discuss. In this case Lemma 26 remains true if we modify to at most, say, copies, and so the coupling of Lemma 27 carries over (it only uses ). With (44) in mind, Theorem 29 shows that the expected final number of edges is . Adjusting the proof of Theorem 28 with , a short calculation shows that we obtain concentration on an interval of length with whenever
Perhaps surprisingly, this condition is satisfied by standard examples of ‘unbalanced’ graphs such as a clique with an extra edge hanging off.
The proofs in this section also extend with minor modifications to the more general reverse -free process considered in Theorem 20. In this case the ‘inverted’ processes and are defined in analogous ways, where an edge is added only when it closes no copy of some . We need to modify of Lemma 26 so that for all it ensures at most copies, whereas the corresponding only applies to the distinguished graph with . As before, once holds no more edges are added. With this in mind the coupling of Lemma 27 as well as the concentration result of Theorem 28 carry over in a straightforward way (noting that implies for all ). Turning to the expected final number of edges, for the lower bound of Theorem 29 we avoid all simultaneously. The resulting modification of (48) works for since implies . For the upper bound it suffices to just avoid the distinguished -balanced graph , so we may reuse the estimates of (49) to establish Theorem 20.
Finally, note that every edge added by is also added by the -free process defined in Section 1.2.3 (where is added if and only if it does not complete a copy of together with the added edges among ). It follows from Theorem 29 that the expected final number of edges in the -free process is at least for any graph , which improves the bound resulting from the deletion argument of Osthus and Taraz . In fact, if the technical conditions in (50) are satisfied our earlier discussion implies that this lower bound also holds with probability tending to one (not only in expectation), which for ‘unbalanced’ graphs with does not follow from Theorem 1 in .
Acknowledgements. I am grateful to my supervisor Oliver Riordan for a very careful reading of an earlier version of this paper, and for many helpful comments. I would also like to thank Tamás Makai for sending me a preprint of , Matas Šileikis for remarks, and Colin McDiarmid for asking whether Theorem 2 extends to random permutations.