In which we prove the difficult direction of Cheeger’s inequality.
As in the past lectures, consider an undirected d-regular graph G=(V,E), call A its adjacency matrix, and M:=d1A its scaled adjacency matrix. Let λ1≥⋯≥λn be the eigenvalues of M, with multiplicities, in non-increasing order. We have been studying the edge expansion of a graph, which is the minimum of h(S) over all non-trivial cuts (S,V−S) of the vertex set (a cut is trivial if S=∅ or S=V), where the expansion h(S) of a cut is
h(S):=d⋅min{∣S∣,∣V−S∣}Edges(S,V−S)
We have also been studying the (uniform) sparsest cut problem, which is the problem of finding the non-trivial cut that minimizes ϕ(S), where the sparsisty ϕ(S) of a cut is
ϕ(S):=nd∣S∣⋅∣V−S∣Edges(S,V−S)
We are proving Cheeger’s inequalities:
21−λ2≤h(G)≤2⋅(1−λ2)(1)
and we established the left-hand side inequality in the previous lecture, showing that the quantity 1−λ2 can be seen as the optimum of a continuous relaxation of ϕ(G), so that 1−λ2≤ϕ(g), and ϕ(G)≤2h(G) follows by the definition.
Today we prove the more difficult, and interesting, direction. The proof will be constructive and algorithmic. The proof can be seen as an analysis of the following algorithm.
Algorithm: SpectralPartitioning
Input: graph G=(V,E) and vector x∈RV
Sort the vertices of V in non-decreasing order of values of entries in x, that is let V={v1,…,vn} where xv1≤xv2≤…xvn
Let i∈{1,…,n−1} be such that h({v1,…,vi}) is minimal
Output S={v1,…,vi}
We note that the algorithm can be implemented to run in time O(∣V∣+∣E∣), assuming arithmetic operations and comparisons take constant time, because once we have computed h({v1,…,vi}) it only takes time O(degree(vi+1)) to compute h({v1,…,vi+1}).
We have the following analysis of the quality of the solution:
Lemma 1 (Analysis of Spectral Partitioning) Let G=(V,E) be a d-regular graph, x∈RV be a vector such that x⊥1, let M be the normalized adjacency matrix of G, define
*
δ:=n1∑i,j∣xi−xj∣2∑i,jMi,j∣xi−xj∣2
and let S be the output of algorithm SpectralPartitioning on input G and x. Then
h(S)≤2δ
*
Remark 1If we apply the lemma to the case in which x is an eigenvector of λ2, then δ=1−λ2, and so we have
h(G)≤h(S)≤2⋅(1−λ2)
which is the difficult direction of Cheeger’s inequalities.
Remark 2If we run the SpectralPartitioning algorithm with the eigenvector x of the second eigenvalue λ2, we find a set S whose expansion is
*
h(S)≤2⋅(1−λ2)≤2h(G)
Even though this doesn’t give a constant-factor approximation to the edge expansion, it gives a very efficient, and non-trivial, approximation.*
As we will see in a later lecture, there is a nearly linear time algorithm that finds a vector x for which the expression δ in the lemma is very close to 1−λ2, so, overall, for any graph G we can find a cut of expansion O(h(G)) in nearly linear time.
1. Proof of the Lemma
In the past lecture, we saw that 1−λ2 can be seen as the optimum of a continuous relaxation of sparsest cut. Lemma 1 provides a rounding algorithm for the real vectors which are solutions of the relaxation. In this section we will think of it as a form of randomized rounding. Later, when we talk about the Leighton-Rao sparsest cut algorithm, we will revisit this proof and think of it in terms of metric embeddings.
To simplify notation, we will assume that V={1,…,n} and that x1≤x2≤⋯xn. Thus our goal is to prove that there is an i such that h({1,…,i})≤2δ
We will derive Lemma 1 by showing that there is a distribution D over sets S of the form {1,…,i} such that
ES∼Dmin{∣S∣,∣V−S∣}ES∼Dd1Edges(S,V−S)≤2δ(2)
We need to be a bit careful in deriving the Lemma from (2). In general, it is not true that a ratio of averages is equal to the average of the ratios, so (2) does not imply that Eh(S)≤2δ. We can, however, apply linearity of expectation and derive from (2) the inequality
ES∼Dd1Edges(S,V−S)−2δmin{∣S∣,∣V−S∣}≤0
So there must exist a set S in the sample space such that
d1Edges(S,V−S)−2δmin{∣S∣,∣V−S∣}≤0
meaning that, for that set S, we have h(S)≤2δ. (Basically we are using the fact that, for random variables X,Y over the same sample space, although it might not be true that EYEX=EYX, we always have P[YX≤EYEX]>0, provided that Y>0 over the entire sample space.)
From now on, we will assume that
x⌊n/2⌋=0, that is, the median of the entries of x is zero
x12+xn2=1
which can be done without loss of generality because adding a fixed constant c to all entries of x, or multiplying all the entries by a fixed constant does not change the value of δ nor does it change the property that x1≤⋯≤xn. The reason for these choices is that they allow us to define a distribution D over sets such that
ES∼Dmin{∣S∣,∣V−S∣}=i∑xi2(3)
We define the distribution D over sets of the form {1,…,i}, i≤n−1, as the outcome of the following probabilistic process:
We pick a real value t in the range [x1,xn] with probabily density function f(t)=2∣t∣. That is, for x1≤a≤b≤xn, P[a≤t≤b]=∫ab2∣t∣dt.
Doing the calculation, this means that P[a≤t≤b]=∣a2−b2∣ if a,b have the same sign, and P[a≤t≤b]=a2+b2 if they have different signs.
We let S:={i:xi≤t}
According to this definition, the probability that an element i≤n/2 belongs to the smallest of the sets S,V−S is the same as the probability that it belongs to S, which is the probability that the threshold t is in the range [xi,0], and that probability is xi2. Similarly, the probability that an element i>n/2 belongs to the smallest of S,V−S is the same as the probability that it belongs to V−S, which is the probability that t is in the range [0,xi], which is again xi2. So we have established (3).
We will now estimate the expected number of edges between S and V−S.
Finally, it remains to study the expression ∑ijMij(∣xi∣+∣xj∣)2. By applying the inequality (a+b)2≤2a2+2b2 (which follows by noting that 2a2+2b2−(a+b)2=(a−b)2≥0), we derive