Markov chain mixing time

In probability theory, the mixing time of a Markov chain is the time until the Markov chain is "close" to its steady state distribution.

More precisely, a fundamental result about Markov chains is that a finite state irreducible aperiodic chain has a unique stationary distribution $\pi$ and, regardless of the initial state, the time-t distribution of the chain converges to π  as t tends to infinity. Mixing time refers to any of several variant formalizations of the idea: how large must t be until the time-t distribution is approximately π? One variant, total variation distance mixing time, is defined as the smallest t such that the total variation distance of probability measures is small:
 * $$t_{\operatorname{mix}}(\varepsilon) = \min \left\{ t \geq 0 : \max_{x \in S} \Big[ \max_{A \subseteq S} \left|\Pr(X_t \in A \mid X_0 = x) - \pi(A) \right|\Big] \leq \varepsilon \right\}. $$

Choosing a different $$\varepsilon$$, as long as $$\varepsilon < 1/2$$, can only change the mixing time up to a constant factor (depending on $$\varepsilon$$) and so one often fixes $$\varepsilon = 1/4$$ and simply writes $$t_{\mathrm{mix}}$$.

This is the sense in which proved that the number of riffle shuffles needed to mix an ordinary 52 card deck is 7. Mathematical theory focuses on how mixing times change as a function of the size of the structure underlying the chain. For an $$n$$-card deck, the number of riffle shuffles needed grows as $$1.5 \log_2 n$$. The most developed theory concerns randomized algorithms for #P-complete algorithmic counting problems such as the number of graph colorings of a given $$n$$ vertex graph. Such problems can, for sufficiently large number of colors, be answered using the Markov chain Monte Carlo method and showing that the mixing time grows only as $$n \log(n)$$. This example and the shuffling example possess the rapid mixing property, that the mixing time grows at most polynomially fast in $$\log$$(number of states of the chain). Tools for proving rapid mixing include arguments based on conductance and the method of coupling. In broader uses of the Markov chain Monte Carlo method, rigorous justification of simulation results would require a theoretical bound on mixing time, and many interesting practical cases have resisted such theoretical analysis.