Reversibility of Markov Chains

Let be an irreducible Markov chain with transition matrix and invariant distribution . Run the chain backward by defining for under a starting distribution . The reverse transition matrix is defined by

which is the unique stochastic matrix making a Markov chain with the same stationary distribution as .

The chain is reversible with respect to if , i.e., the forward and backward chains are statistically identical. Reversibility is equivalent to the detailed balance equation (DBE):

Detailed balance implies stationarity (summing both sides over gives the balance equation ), but the converse does not hold in general. A chain can be stationary without being reversible; however, if a distribution satisfies the DBE for some , then is automatically the invariant distribution of that . This one-way implication is the workhorse of MCMC: design a transition that satisfies the DBE with the target , and is automatically stationary.

DBE Is a Local Condition local: it equates pairwise flow between any two states. The balance equation is global: it equates total flow into and out of each state. Every reversible chain is stationary, but not every stationary chain is reversible. The forward-reverse transformation always gives a valid reverse chain; reversibility requires the additional identity .

Detailed balance is

Intuition

“Reversibility” means the movie of the chain looks the same played forward and backward. Imagine watching a chain in stationarity and being shown a video of state transitions: if the chain is reversible, there is no statistical test that distinguishes the video from its time-reversed counterpart. The DBE is the precise condition: the probability flow from to in one step, , exactly matches the flow from to , .

The one-way implication “detailed balance stationarity” is why MCMC algorithms are designed to satisfy the DBE rather than the balance equation directly. Checking pairwise detailed balance is an algebraic identity between and that can be verified (or enforced, as in Metropolis-Hastings’ accept-reject rule) without computing ‘s normalizing constant. Checking the balance equation requires summing over all states of the chain, which is usually intractable when is known only up to a constant.

Properties

(DBE Stationarity) Any distribution satisfying the detailed balance equation with is automatically invariant for .

Summing the DBE over gives

since the rows of sum to . The left-hand side is the -th entry of , so . This is the implication that underwrites MCMC: to sample from , it suffices to build any irreducible satisfying the DBE, and will be the long-run distribution of the chain regardless of the starting state.

(Stationarity DBE) A stationary chain need not be reversible.

The balance equation equates the total probability flow into and out of from all states; the DBE equates pairwise flow between each pair. A cyclic chain illustrates the difference: let with and all other transitions . The uniform distribution is stationary, but , violating the DBE. Probability flows around the cycle one direction only; played backward the chain looks different, and is therefore not reversible.

(Reverse Chain Always Well-Defined) Every irreducible chain has a reverse chain with the same stationary distribution; reversibility is the special case where it equals the forward chain.

The reverse transition is a stochastic matrix whenever : its rows sum to because using . The reverse chain has the same stationary distribution and the same communicating classes as the forward chain. Reversibility is then the single extra condition , equivalent to the DBE.

(Metropolis Construction) Any irreducible proposal can be turned into a -reversible chain via the accept-reject rule.

Given any irreducible proposal , define the Metropolis-Hastings transition for , with

This satisfies the DBE with by construction (see MH note’s derivation), so is stationary. The entire MCMC toolkit (random-walk Metropolis, Gibbs, MALA, HMC) is built on this reversibility-by-design principle.

(Symmetric Implies Uniform Is Reversible) If for all , the uniform distribution over satisfies the DBE.

Plugging into the DBE gives , which holds by assumption. Symmetric transition matrices arise for random walks on undirected graphs (transition to each neighbor with probability is symmetric iff the graph is regular) and for Ising-style models with symmetric flip probabilities. The reverse is also useful: to design a reversible chain with uniform target, make symmetric.

Examples

See Also