Expander walk sampling explained

In the mathematical discipline of graph theory, the expander walk sampling theorem intuitively states that sampling vertices in an expander graph by doing relatively short random walk can simulate sampling the vertices independently from a uniform distribution.The earliest version of this theorem is due to, and the more general version is typically attributed to .

Statement

Let

G=(V,E)

be an n-vertex expander graph with positively weighted edges, and let

A\subsetV

. Let

P

denote the stochastic matrix of the graph, and let

λ2

be the second largest eigenvalue of P. Let

y0,y1,\ldots,yk-1

denote the vertices encountered in a

(k-1)

-step random walk on

G

starting at vertex

y0

, and let \pi (A):=

\limk → infty

1
k
k-1
\sum
i=0

1A(yi)

. Where \mathbf_A(y)\begin 1, & \texty \in A \\ 0, & \text\end

(It is well known[1] that almost all trajectories

y0,y1,\ldots,yk-1

converges to some limiting point, \pi (A), as k \rightarrow\infty

.)

The theorem states that for a weighted graph

G=(V,E)

and a random walk

y0,y1,\ldots,yk-1

where

y0

is chosen by an initial distribution \mathbf, for all

\gamma>0

, we have the following bound:

\Pr\left[|

1
k
k-1
\sum
i=0

1A(yi)-\pi(A)|\geq\gamma\right]\leqC

-1(\gamma2(1-λ2)k)
20
e

.

Where

C

is dependent on

q,G

and

A

.

The theorem gives a bound for the rate of convergence to

\pi(A)

with respect to the length of the random walk, hence giving a more efficient method to estimate

\pi(A)

compared to independent sampling the vertices of

G

.

Proof

In order to prove the theorem, we provide a few definitions followed by three lemmas.

Let

\it{w}xy

be the weight of the edge

xy\inE(G)

and let \it_x=\sum_\it_. Denote by \pi(x):=\it_x/\sum_ \it_y. Let \frac be the matrix with entries\frac, and let N_=||\frac||_.

Let

D=diag(1/\it{w}i)

and

M=(\it{w}ij)

. Let P(r)=PE_r where P is the stochastic matrix, E_r=\text(e^) and r \ge 0. Then:

P=\sqrt{D}S\sqrt{D-1

} \qquad \text \qquad P(r) = \sqrtS(r)\sqrtWhere

S:=\sqrt{D}M\sqrt{D}andS(r):=\sqrt{DEr}M\sqrt{DEr}

. As

S

and

S(r)

are symmetric, they have real eigenvalues. Therefore, as the eigenvalues of

S(r)

and

P(r)

are equal, the eigenvalues of P(r) are real. Let \lambda(r) and \lambda_2(r) be the first and second largest eigenvalue of P(r) respectively.

For convenience of notation, let t_k=\frac \sum_^ \mathbf_A(y_i), \epsilon=\lambda-\lambda_2, \epsilon_r=\lambda(r)-\lambda_2(r), and let

1

be the all-1 vector.

Lemma 1

\Pr\left[tk-\pi(A)\ge\gamma\right]\leqe-rk(\pi(A)+\gamma)+klogλ(r)(qP(r)k1)/λ(r)k

Proof:

By Markov's inequality,

\begin{alignat}{2} \Pr\left[tk\ge\pi(A)+\gamma\right]

rtk
=\Pr[e

\geerk(\pi(A)+\gamma)]\leqe-rk(\pi(A)+\gamma)

rtk
E
qe

\end{alignat}

Where

Eq

is the expectation of

x0

chosen according to the probability distribution

q

. As this can be interpreted by summing over all possible trajectories

x0,x1,...,xk

, hence:

Eqert

=\sum
x1,x2,...,xk

ertq(x0)\Pi

kp
xi-1xi

=qP(r)k1

Combining the two results proves the lemma.

Lemma 2

For

0\ler\le1

,

(qP(r)k1)/λ(r)k\le(1+r)N\pi,q

Proof:

As eigenvalues of

P(r)

and

S(r)

are equal,

\begin{align} (qP(r)k1)/λ(r)k&=

-1
(qP\sqrt{DE
r
}S(r)^k \sqrt\mathbf)/\lambda(r)^k\\ &\le e^||\frac||_2||S(r)^k||_2||\sqrt||_2/\lambda(r)^k\\&\le e^N_\\&\le (1+r)N_\qquad \square\end

Lemma 3

If

r

is a real number such that

0\leer-1\le\epsilon/4

,

logλ(r)\ler\pi(A)+5r2/\epsilon

Proof summary:

We Taylor expand \log \lambda(y) about point r=z to get:

logλ(r)=

1
logλ(z)+m
0

(1-t)Vz+(r-z)tdt

Where

mxandVx

are first and second derivatives of

logλ(r)

at

r=x

. We show that

m0=\limktk=\pi(A).

We then prove that (i) \epsilon_r\ge 3\epsilon/4 by matrix manipulation, and then prove (ii)

Vr\le10/\epsilon

using (i) and Cauchy's estimate from complex analysis.

The results combine to show that

\begin{align} logλ(r)=

1
logλ(0)+m
0

(1-t)Vrtdt \ler\pi(A)+5r2/\epsilon \end{align}

A line to line proof can be found in Gilman (1998)https://epubs.siam.org/doi/pdf/10.1137/S0097539794268765#page23Proof of theorem

Combining lemma 2 and lemma 3, we get that

\Pr[tk-\pi(A)\ge\gamma]\le(1+r)N\pi,q

-k(r\gamma-5r2/\epsilon)
e
Interpreting the exponent on the right hand side of the inequality as a quadratic in

r

and minimising the expression, we see that

\Pr[tk-\pi(A)\ge\gamma]\le(1+\gamma\epsilon/10)N\pi,q

-k\gamma2\epsilon/20
e
A similar bound

\Pr[tk-\pi(A)\le-\gamma]\le(1+\gamma\epsilon/10)N\pi,q

-k\gamma2\epsilon/20
e
holds, hence setting

C=2(1+\gamma\epsilon/10)N\pi,q

gives the desired result.

Uses

This theorem is useful in randomness reduction in the study of derandomization. Sampling from an expander walk is an example of a randomness-efficient sampler. Note that the number of bits used in sampling

k

independent samples from

f

is

klogn

, whereas if we sample from an infinite family of constant-degree expanders this costs only

logn+O(k)

. Such families exist and are efficiently constructible, e.g. the Ramanujan graphs of Lubotzky-Phillips-Sarnak.

References

Notes and References

  1. Book: Doob, J.L.. Stochastic Processes. Wiley. 1953. Theorem 6.1.