ArticleslgStudy

mathematics

Expander walk sampling

Expander walk sampling is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Expander walk sampling rather than just read about it. In short: 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 Ajtai, Komlós & Szemerédi (1987), and the more general version is typically attributed to Gillman (1998).

Key takeaways

  • Expander walk sampling belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Expander walk sampling to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Expander walk sampling from memory before moving on to harder problems.

Reference excerpt

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 Ajtai, Komlós & Szemerédi (1987), and the more general version is typically attributed to Gillman (1998).

Statement Let G=(V,E) be an n-vertex expander graph with positively weighted edges, and let A⊂V. Let P denote the stochastic matrix of the graph, and let λ2 be the second largest eigenvalue of P. Let y0,y1,…,yk−1 denote the vertices encountered in a (k−1)-step random walk on G starting at vertex y0, and let π(A):= limk→∞1k∑i=0k−1𝟏A(yi). Where 𝟏A(y){1,if y∈A0,otherwise (It is well known that almost all trajectories y0,y1,…,yk−1 converges to some limiting point, π(A), as k→∞.) The theorem states that for a weighted graph G=(V,E) and a random walk y0,y1,…,yk−1 where y0 is chosen by an initial distribution 𝐪, for all γ>0, we have the following bound:

Pr⁡[|1k∑i=0k−1𝟏A(yi)−π(A)|≥γ]≤Ce−120(γ2(1−λ2)k). Where C is dependent on 𝐪,G and A. The theorem gives a bound for the rate of convergence to π(A) with respect to the length of the random walk, hence giving a more efficient method to estimate π(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 𝑤𝑥𝑦 be the weight of the edge xy∈E(G) and let 𝑤𝑥=∑𝑦:𝑥𝑦∈𝐸(𝐺)𝑤𝑥𝑦. Denote by π(x):=𝑤𝑥/∑𝑦∈𝑉𝑤𝑦. Let 𝐪π be the matrix with entries𝐪(x)π(x) , and let Nπ,𝐪=||𝐪π||2. Let D=diag(1/𝑤𝑖) and M=(𝑤𝑖𝑗). Let P(r)=PEr where P is the stochastic matrix, Er=diag(er𝟏A) and r≥0. Then:

P=DSD−1andP(r)=DEr−1S(r)ErD−1 Where S:=DMD and S(r):=DErMDEr. 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 λ(r) and λ2(r) be the first and second largest eigenvalue of P(r) respectively. For convenience of notation, let tk=1k∑i=0k−1𝟏A(yi), ϵ=λ−λ2, ϵr=λ(r)−λ2(r), and let 𝟏 be the all-1 vector. Lemma 1 Pr⁡[tk−π(A)≥γ]≤e−rk(π(A)+γ)+klog⁡λ(r)(𝐪P(r)k𝟏)/λ(r)k Proof: By Markov's inequality, Pr⁡[tk≥π(A)+γ]=Pr⁡[ertk≥erk(π(A)+γ)]≤e−rk(π(A)+γ)E𝐪ertk Where E𝐪 is the expectation of x0 chosen according to the probability distribution 𝐪. As this can be interpreted by summing over all possible trajectories x0,x1,...,xk, hence: E𝐪ert=∑x1,x2,...,xkert𝕢(x0)Πi=1kpxi−1xi=𝐪P(r)k𝟏 Combining the two results proves the lemma. Lemma 2 For 0≤r≤1,

(𝐪P(r)k𝟏)/λ(r)k≤(1+r)Nπ,𝐪 Proof: As eigenvalues of P(r) and S(r) are equal, (𝐪P(r)k𝟏)/λ(r)k=(𝐪PDEr−1S(r)kD−1Er𝟏)/λ(r)k≤er/2||𝐪π||2||S(r)k||2||π||2/λ(r)k≤er/2Nπ,𝐪≤(1+r)Nπ,𝐪◻ Lemma 3 If r is a real number such that 0≤er−1≤ϵ/4,

log⁡λ(r)≤rπ(A)+5r2/ϵ Proof summary: We Taylor expand log⁡λ(y) about point r=z to get:

log⁡λ(r)=log⁡λ(z)+mz(r−z)+(r−z)2∫01(1−t)Vz+(r−z)tdt Where mx and Vx are first and second derivatives of log⁡λ(r) at r=x. We show that m0=limk→∞tk=π(A). We then prove that (i) ϵr≥3ϵ/4 by matrix manipulation, and then prove (ii)Vr≤10/ϵ using (i) and Cauchy's estimate from complex analysis. The results combine to show that

log⁡λ(r)=log⁡λ(0)+m0r+r2∫01(1−t)Vrtdt≤rπ(A)+5r2/ϵ A line to line proof can be found in Gilman (1998)[1] Proof of theorem Combining lemma 2 and lemma 3, we get that

Pr⁡[tk−π(A)≥γ]≤(1+r)Nπ,𝐪e−k(rγ−5r2/ϵ) 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−π(A)≥γ]≤(1+γϵ/10)Nπ,𝐪e−kγ2ϵ/20 A similar bound

Pr⁡[tk−π(A)≤−γ]≤(1+γϵ/10)Nπ,𝐪e−kγ2ϵ/20 holds, hence setting C=2(1+γϵ/10)Nπ,𝐪 gives the desired result.

Uses This theorem is useful in randomness reductions in the study of derandomization, showing that expander random walks are good pseudorandom generators against various classes of test functions. 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 klog⁡n, whereas if we sample from an infinite family of constant-degree expanders this costs only log⁡n+O(k). Such families exist and are efficiently constructible, e.g. the Ramanujan graphs of Lubotzky-Phillips-Sarnak.

References

Worked examples

Example 1 — a first encounter with Expander walk sampling

Start with the simplest possible case. Write down what Expander walk sampling claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Expander walk sampling before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Expander walk sampling ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Expander walk sampling

In research
Expander walk sampling appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Expander walk sampling in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Expander walk sampling is common in secondary-school and first-year university syllabi. It links to neighbouring topics Sampling (statistics), so understanding it makes those chapters shorter.
In everyday life
Look for Expander walk sampling outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Expander walk sampling” →

How to study Expander walk sampling in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Expander walk sampling means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Expander walk sampling out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Expander walk sampling in simple terms?

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…

Why does Expander walk sampling matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Expander walk sampling?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Expander walk sampling.

Tags

  • Sampling (statistics)

Keep exploring