Hitting times of the simple random walk on a graph #
The simple random walk on a finite graph G moves from x to a uniformly random neighbor of x
(Cslib.Probability.MarkovChain.randomWalk): its transition probabilities are
P x y = 1 / deg x for adjacent x, y and 0 otherwise (randomWalk_apply). An isolated
vertex keeps the walk in place, so randomWalk G is a Markov chain for every graph, and the
expected hitting and return times of Cslib.Probability.MarkovChain.hittingTime apply.
The degrees form a stationary measure: ∑ x, deg x * P x y = deg y
(sum_degree_mul_randomWalk). Since ∑ x, deg x = 2 |E|, Kac's formula gives
deg v * E_v[τ⁺_v] = 2 |E| in a connected graph (degree_mul_returnTime_randomWalk), that is,
E_v[τ⁺_v] = 2 |E| / deg v when deg v > 0. On a single vertex deg v = 0 and the walk
stays put (randomWalk_apply_of_degree_eq_zero), so E_v[τ⁺_v] = 1 while 2 |E| / deg v = 0 in
ℝ≥0∞. For deg v > 0, conditioning on the first step gives
E_v[τ⁺_v] = 1 + (1 / deg v) ∑_{u ~ v} E_u[τ_v], so the expected hitting times of v from its
neighbors sum to 2 |E| - deg v (degree_add_sum_hittingTime_randomWalk). In particular, for
every edge {u, v}, E_u[τ_v] ≤ 2 |E| - deg v ≤ 2 |E| (hittingTime_randomWalk_add_degree_le,
hittingTime_randomWalk_le_of_adj). This is the endpoint of Exercise 6.19 of Goldreich's draft,
which completes the proof of his Proposition 6.13 Goldreich, Exercise 6.19.
The proof here goes through Kac's formula and the neighbor sum
Levin and Peres, Section 10.6; Goldreich's guideline instead counts traversals
of the stationary walk and takes a commute-time limit. By the triangle inequality for hitting times,
E_u[τ_v] ≤ ℓ · 2 |E| along any walk of length ℓ from u to v
(hittingTime_randomWalk_le_length_mul, hittingTime_randomWalk_le_dist_mul).
Main definitions #
Cslib.Probability.MarkovChain.randomWalk: the simple random walk on a graph.Cslib.Probability.MarkovChain.degreeStationary: the degree-proportional stationary distributionπ(v) = deg(v) / (2 |E|)on a graph with at least one edge.
Main results #
Cslib.Probability.MarkovChain.randomWalk_apply,Cslib.Probability.MarkovChain.randomWalk_apply_of_degree_eq_zero: its transition probabilities from a vertex with a neighbor and from an isolated vertex.Cslib.Probability.MarkovChain.sum_degree_mul_randomWalk: the degrees are stationary.Cslib.Probability.MarkovChain.isReversible_randomWalk,Cslib.Probability.MarkovChain.isStationary_randomWalk: detailed balance and stationarity ofdegreeStationary.Cslib.Probability.MarkovChain.distToStationary_lazy_randomWalk_le,Cslib.Probability.MarkovChain.mixingTime_lazy_randomWalk_le: total-variation and mixing-time bounds for(randomWalk G).lazyon connected nontrivial graphs viaspectralGap.Cslib.Probability.MarkovChain.degree_mul_returnTime_randomWalk:deg v * E_v[τ⁺_v] = 2 |E|.Cslib.Probability.MarkovChain.hittingTime_randomWalk_add_degree_le,Cslib.Probability.MarkovChain.hittingTime_randomWalk_le_of_adj:E_u[τ_v] + deg v ≤ 2 |E|for every edge{u, v}of a connected graph (Goldreich, Exercise 6.19).Cslib.Probability.MarkovChain.hittingTime_randomWalk_le_length_mul,Cslib.Probability.MarkovChain.hittingTime_randomWalk_le_dist_mul:E_u[τ_v] ≤ ℓ · 2 |E|when a walk of lengthℓjoinsutov.
References #
The simple random walk on G: from x, move to a uniformly random neighbor of x. An
isolated vertex keeps the walk in place.
The transition probabilities of the simple random walk from a vertex with a neighbor.
From an isolated vertex the simple random walk stays put.
The degrees form a stationary measure of the simple random walk.
In a connected graph, the expected hitting time of any vertex is finite.
Expected return time of the simple random walk on a connected graph:
deg v * E_v[τ⁺_v] = 2 |E|, by Kac's formula for the stationary measure given by the
degrees.
In a connected graph, the expected hitting times of v from its neighbors sum to
2 |E| - deg v.
Goldreich, Exercise 6.19. For an edge {u, v} of a connected graph G = (V, E), the
expected number of steps of the random walk from u to reach v satisfies
E_u[τ_v] + deg v ≤ 2 |E|.
Goldreich, Exercise 6.19. For an edge {u, v} of a connected graph G = (V, E),
E_u[τ_v] ≤ 2 |E|.
Along a walk of length ℓ from u to v in a connected graph,
E_u[τ_v] ≤ ℓ · 2 |E|.
In a connected graph, E_u[τ_v] ≤ dist(u, v) · 2 |E|.
Degree-stationary distribution and lazy spectral mixing #
The degree-proportional stationary distribution π(v) = deg(v) / (2 |E|) of the simple
random walk on a finite graph G ≠ ⊥ ([LP17], Section 1.5, (1.20)).
The simple random walk on G ≠ ⊥ satisfies detailed balance with respect to
degreeStationary G hG ([LP17], Section 1.5).
degreeStationary G hG is stationary for randomWalk G.
Lazy random-walk total-variation contraction on a connected nontrivial graph:
d(t) ≤ (1 / 2) √(2 |E| - 1) · (1 - γ / 2)^t.
Lazy random-walk mixing-time bound on a connected nontrivial graph:
t_mix(ε) ≤ ⌈2 γ⁻¹ ((1 / 2) log(2 |E|) + log(1 / (2 ε)))⌉₊.