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
Birth-death chain is always reversible
A birth-death chain on has transitions only to immediate neighbors: , , , with and . Every such chain with a proper stationary distribution is reversible.
The DBE gives the recursion
so
If , normalize to get the stationary distribution. Because the DBE is the only source of probability flow between adjacent states (there are no jumps skipping neighbors), every birth-death chain that has a stationary distribution is automatically reversible. This is a special structural feature that makes queueing theory computations tractable.
Random walk on a graph
Let be a finite connected undirected graph and let be the simple random walk: from state , move to a uniformly chosen neighbor. The transition probability is if and otherwise.
The DBE becomes whenever , so is a solution. Normalizing,
using . The random walk on an undirected graph is reversible with this degree-proportional stationary distribution, a standard tool in spectral graph theory and Monte Carlo algorithms.
Cyclic chain: stationary but not reversible
Let with deterministic cyclic transitions: . The uniform distribution is stationary: each state has exactly one state flowing into it (with probability ) and the total inflow balances the probability of being at that state.
But the DBE fails: . Played backward, probability flows , which is not the forward pattern. Concretely, if you’re shown the sequence and asked whether it is forward or backward, you can tell immediately from the direction of the cycle, so the forward and backward chains are statistically distinguishable.
See Also
- 3.11.1 Metropolis-Hastings: uses the DBE to turn any proposal into a -reversible chain.
- 3.11.2 Gibbs Sampling: each coordinate update is reversible with respect to the target.
- 3.11 MCMC: the central application of reversibility in Bayesian computation.
- 5.3 Distribution of Markov Chains: balance equation and stationary distributions.
- 5.1 Markov Chains: foundational.