Explain how expander graphs are used for derandomization — specifically, how a random walk on an expander can replace independent random samples.
Think about your answer, then reveal below.
Model answer: Suppose an algorithm needs k independent random samples from {1,...,n}, each requiring log(n) random bits, for k*log(n) total random bits. Instead, pick one random vertex on a d-regular expander on n vertices (log n bits), then take a random walk of length k-1 (each step requires log d bits), using each visited vertex as a sample. Total random bits: log n + (k-1) * log d, which is much less than k * log n. The expander mixing lemma ensures that the walk visits vertices in approximately the correct frequencies — the spectral gap bounds the deviation from independence. For algorithms whose analysis only requires bounded pairwise (or limited) dependence, expander walks provide sufficient pseudorandomness at dramatically reduced random-bit cost.
This is one of the key derandomization techniques: replacing true randomness with pseudorandomness generated by deterministic walks on structured graphs. The Ajtai-Komlós-Szemerédi sorting network and the RL = L conjecture both connect to expander-based derandomization. The general principle is that expanders 'spread out' probability mass so efficiently that walks on them approximate independent sampling.