Lovász local lemma

From HandWiki

In probability theory, if a large number of events are all independent of one another and each has probability less than 1, then there is a positive (possibly small) probability that none of the events will occur. The Lovász local lemma allows one to relax the independence condition slightly: As long as the events are "mostly" independent from one another and aren't individually too likely, then there will still be a positive probability that none of them occurs. It is most commonly used in the probabilistic method, in particular to give existence proofs. There are several different versions of the lemma. The simplest and most frequently used is the symmetric version given below. A weaker version was proved in 1975 by László Lovász and Paul Erdős in the article Problems and results on 3-chromatic hypergraphs and some related questions. For other versions, see (Alon Spencer). In 2020, Robin Moser and Gábor Tardos received the Gödel Prize for their algorithmic version of the Lovász Local Lemma, which uses entropy compression to provide an efficient randomized algorithm for finding an outcome in which none of the events occurs.[1][2]

Statements of the lemma (symmetric version)

Let A1, A2,..., Ak be a sequence of events such that each event occurs with probability at most p and such that each event is independent of all the other events except for at most d of them.

Lemma I (Lovász and Erdős 1973; published 1975) If

[math]\displaystyle{ 4 p d \le 1 }[/math]

then there is a nonzero probability that none of the events occurs.

Lemma II (Lovász 1977; published by Joel Spencer[3]) If

[math]\displaystyle{ e p (d+1) \le 1, }[/math]

where e = 2.718... is the base of natural logarithms, then there is a nonzero probability that none of the events occurs.

Lemma II today is usually referred to as "Lovász local lemma".

Lemma III (Shearer 1985[4]) If

[math]\displaystyle{ \begin{cases} p \lt \frac{(d-1)^{d-1}}{d^d} & d \gt 1\\ p \lt \tfrac{1}{2} & d = 1 \end{cases} }[/math]

then there is a nonzero probability that none of the events occurs.

The threshold in Lemma III is optimal and it implies that the bound

[math]\displaystyle{ epd \le 1 }[/math]

is also sufficient.

Asymmetric Lovász local lemma

A statement of the asymmetric version (which allows for events with different probability bounds) is as follows:

Lemma (asymmetric version). Let [math]\displaystyle{ \mathcal{A} = \{ A_1, \ldots, A_n \} }[/math] be a finite set of events in the probability space Ω. For [math]\displaystyle{ A \in \mathcal{A} }[/math] let [math]\displaystyle{ \Gamma(A) }[/math] denote the neighbours of [math]\displaystyle{ A }[/math] in the dependency graph (In the dependency graph, event [math]\displaystyle{ A }[/math] is not adjacent to events which are mutually independent). If there exists an assignment of reals [math]\displaystyle{ x : \mathcal{A} \to [0,1) }[/math] to the events such that

[math]\displaystyle{ \forall A \in \mathcal{A} : \Pr(A) \leq x(A) \prod_{B \in \Gamma(A)} (1-x(B)) }[/math]

then the probability of avoiding all events in [math]\displaystyle{ \mathcal{A} }[/math] is positive, in particular

[math]\displaystyle{ \Pr\left(\overline{A_1} \wedge \cdots \wedge \overline{A_n} \right) \geq \prod_{i\in \{1,\cdot\cdot\cdot,n\}} (1-x(A_i)). }[/math]

The symmetric version follows immediately from the asymmetric version by setting

[math]\displaystyle{ \forall A \in \mathcal{A} : x(A) = \frac{1}{d+1} }[/math]

to get the sufficient condition

[math]\displaystyle{ p \leq \frac{1}{d+1} \cdot \frac{1}{e} }[/math]

since

[math]\displaystyle{ \frac{1}{e} \leq \left (1 - \frac{1}{d+1} \right)^d. }[/math]

Constructive versus non-constructive

Note that, as is often the case with probabilistic arguments, this theorem is nonconstructive and gives no method of determining an explicit element of the probability space in which no event occurs. However, algorithmic versions of the local lemma with stronger preconditions are also known (Beck 1991; Czumaj and Scheideler 2000). More recently, a constructive version of the local lemma was given by Robin Moser and Gábor Tardos requiring no stronger preconditions.

Non-constructive proof

We prove the asymmetric version of the lemma, from which the symmetric version can be derived. By using the principle of mathematical induction we prove that for all [math]\displaystyle{ A }[/math] in [math]\displaystyle{ \mathcal{A} }[/math] and all subsets [math]\displaystyle{ S }[/math] of [math]\displaystyle{ \mathcal{A} }[/math] that do not include [math]\displaystyle{ A }[/math], [math]\displaystyle{ \Pr\left(A\mid\bigwedge_{B \in S}\overline{B}\right)\leq x(A) }[/math]. The induction here is applied on the size (cardinality) of the set [math]\displaystyle{ S }[/math]. For base case [math]\displaystyle{ S=\emptyset }[/math] the statement obviously holds since [math]\displaystyle{ \Pr(A_i) \leq x\left(A_i\right) }[/math]. We need to show that the inequality holds for any subset of [math]\displaystyle{ \mathcal{A} }[/math] of a certain cardinality given that it holds for all subsets of a lower cardinality.

Let [math]\displaystyle{ S_1 = S\cap \Gamma(A), S_2 = S \setminus S_1 }[/math]. We have from Bayes' theorem

[math]\displaystyle{ \Pr\left(A\mid\bigwedge_{B\in S} \overline{B}\right) = \frac{\Pr\left(A\wedge\bigwedge_{B\in S_{1}} \overline{B}\mid \bigwedge_{B\in S_2} \overline{B}\right)}{\Pr\left(\bigwedge_{B\in S_1}\overline{B}\mid\bigwedge_{B\in S_2} \overline{B} \right)}. }[/math]

We bound the numerator and denominator of the above expression separately. For this, let [math]\displaystyle{ S_1=\{B_{j1},B_{j2},\ldots,B_{jl}\} }[/math]. First, exploiting the fact that [math]\displaystyle{ A }[/math] does not depend upon any event in [math]\displaystyle{ S_2 }[/math].

[math]\displaystyle{ \text{Numerator} \leq \Pr\left(A\mid\bigwedge_{B\in S_2} \overline{B}\right) = \Pr(A) \leq x(A) \prod_{B\in\Gamma(A)}(1-x(B)). \qquad (1) }[/math]

Expanding the denominator by using Bayes' theorem and then using the inductive assumption, we get

[math]\displaystyle{ \begin{align} & \text{Denominator} \\ = {} & \Pr\left(\overline{B}_{j1}\mid\bigwedge_{t=2}^l \overline{B}_{jt}\wedge\bigwedge_{B\in S_2} \overline{B} \right)\cdot \Pr\left(\overline{B}_{j2}\mid\bigwedge_{t=3}^l\overline{B}_{jt}\wedge\bigwedge_{B\in S_2} \overline{B} \right)\cdots \Pr\left(\overline{B}_{jl}\mid\bigwedge_{B\in S_2} \overline{B} \right) \geq \prod_{B\in S_1} (1-x(B)) \qquad (2) \end{align} }[/math]

The inductive assumption can be applied here since each event is conditioned on lesser number of other events, i.e. on a subset of cardinality less than [math]\displaystyle{ |S| }[/math]. From (1) and (2), we get

[math]\displaystyle{ \Pr\left(A\mid\bigwedge_{B\in S} \overline{B}\right) \leq x(A)\prod_{B\in \Gamma(A)-S_1}(1-x(B)) \leq x(A) }[/math]

Since the value of x is always in [math]\displaystyle{ [0,1) }[/math]. Note that we have essentially proved [math]\displaystyle{ \Pr\left(\overline{A}\mid\bigwedge_{B\in S} \overline{B}\right) \geq 1-x(A) }[/math]. To get the desired probability, we write it in terms of conditional probabilities applying Bayes' theorem repeatedly. Hence,

[math]\displaystyle{ \begin{align} & \Pr\left(\overline{A_1} \wedge \cdots \wedge \overline{A_n} \right) \\ = {} & \Pr\left(\overline{A_1}\mid\overline{A_{2}}\wedge \cdots \overline{A_n}\right)\cdot\Pr\left(\overline{A_2}\mid\overline{A_3}\wedge \cdots \overline{A_n}\right) \cdots \Pr\left(\overline{A_n}\right) \\ \geq {} & \prod_{A\in\mathcal{A}}(1-x(A)), \end{align} }[/math]

which is what we had intended to prove.

Example

Suppose 11n points are placed around a circle and colored with n different colors in such a way that each color is applied to exactly 11 points. In any such coloring, there must be a set of n points containing one point of each color but not containing any pair of adjacent points.

To see this, imagine picking a point of each color randomly, with all points equally likely (i.e., having probability 1/11) to be chosen. The 11n different events we want to avoid correspond to the 11n pairs of adjacent points on the circle. For each pair our chance of picking both points in that pair is at most 1/121 (exactly 1/121 if the two points are of different colors, otherwise 0), so we will take p = 1/121.

Whether a given pair (ab) of points is chosen depends only on what happens in the colors of a and b, and not at all on whether any other collection of points in the other n − 2 colors are chosen. This implies the event "a and b are both chosen" is dependent only on those pairs of adjacent points which share a color either with a or with b.

There are 11 points on the circle sharing a color with a (including a itself), each of which is involved with 2 pairs. This means there are 21 pairs other than (ab) which include the same color as a, and the same holds true for b. The worst that can happen is that these two sets are disjoint, so we can take d = 42 in the lemma. This gives

[math]\displaystyle{ e p (d+1) \approx 0.966\lt 1. }[/math]

By the local lemma, there is a positive probability that none of the bad events occur, meaning that our set contains no pair of adjacent points. This implies that a set satisfying our conditions must exist.

See also

Notes

References

  • The probabilistic method (2nd ed.). New York: Wiley-Interscience. 2000. ISBN 0-471-37046-0. 
  • Beck, J. (1991). "An algorithmic approach to the Lovász local lemma, I". Random Structures and Algorithms 2 (4): 343–365. doi:10.1002/rsa.3240020402. 
  • Czumaj, Artur; Scheideler, Christian (2000). "Coloring nonuniform hypergraphs: A new algorithmic approach to the general Lovász local lemma". Random Structures & Algorithms 17 (3–4): 213–237. doi:10.1002/1098-2418(200010/12)17:3/4<213::AID-RSA3>3.0.CO;2-Y. 
  • Erdős, Paul; Lovász, László (1975). "Problems and results on 3-chromatic hypergraphs and some related questions". in A. Hajnal. II. North-Holland. pp. 609–627. http://www.cs.elte.hu/~lovasz/scans/LocalLem.pdf. 
  • Moser, Robin A. (2008). "A constructive proof of the Lovasz Local Lemma". arXiv:0810.4812 [cs.DS].