Search the atlas

Contraction and aggregation of Markov chains

Calculate a Markov-chain contraction coefficient from row overlap, distinguish an inconclusive one-step bound from nonconvergence, and inspect a useful three-step bound.

Dobrushin Contraction: Bound How a Markov Chain Forgets Its Start

A transition matrix can preserve the full distance between some initial distributions for one step and still forget its starting state over several steps. The Dobrushin coefficient quantifies the worst contraction in one application of the matrix; applying it to a matrix power can reveal what one step misses.

Fix the Probability Convention

Take a finite row-stochastic matrix P, so entries are nonnegative and each row sums to one. Row probability vectors evolve as un+1=unPu_{n+1}=u_nP. For two distributions, define total-variation distance by

∥u−v∥TV=12∑k∣uk−vk∣.\|u-v\|_{TV}=\tfrac12\sum_k|u_k-v_k|.

It lies between zero and one. It equals the largest difference the two distributions assign to the same event. The Markov aggregation lesson examines which states may be merged; this lesson keeps the states and asks how strongly future probabilities depend on the initial distribution.

Compare the Most Different Rows

Define

δ(P)=12max⁡i,j∑k∣Pik−Pjk∣=1−min⁡i,j∑kmin⁡(Pik,Pjk).\delta(P)=\tfrac12\max_{i,j}\sum_k|P_{ik}-P_{jk}|=1-\min_{i,j}\sum_k\min(P_{ik},P_{jk}).

The second form measures the smallest overlap between any pair of row distributions. Kirkland’s treatment of coefficients of ergodicity gives the coefficient and its connection to overlapping row supports.

The contraction inequality is ∥uP−vP∥TV≤δ(P)∥u−v∥TV\|uP-vP\|_{TV}\le\delta(P)\|u-v\|_{TV}. To see the mechanism, split the signed vector u−v into its positive and negative parts. Both have total mass equal to the initial distance. After normalization, their images are mixtures of rows of P. The distance between two such mixtures cannot exceed the largest row-to-row distance.

Repeated application gives ∥uPn−vPn∥TV≤δ(P)n∥u−v∥TV\|uP^n-vP^n\|_{TV}\le\delta(P)^n\|u-v\|_{TV}. If δ<1 this is a geometric bound. If δ=1, this particular bound is inconclusive about eventual convergence.

Examine a Chain That Needs Three Steps

Consider the synthetic matrix

P=[0100011/21/20].P=\begin{bmatrix}0&1&0\\0&0&1\\1/2&1/2&0\end{bmatrix}.

The first two rows have disjoint support, so δ(P)=1. Its third power is

P3=[1/21/2001/21/21/41/41/2].P^3=\begin{bmatrix}1/2&1/2&0\\0&1/2&1/2\\1/4&1/4&1/2\end{bmatrix}.

Every row pair now overlaps by at least one half, giving δ(P³)=1/2. For n=3m+r with r=0,1,2, the remaining r transitions cannot increase total variation. Thus

∥uPn−vPn∥TV≤(1/2)⌊n/3⌋∥u−v∥TV.\|uP^n-vP^n\|_{TV}\le(1/2)^{\lfloor n/3\rfloor}\|u-v\|_{TV}.

After 12 steps, any two starts are within 1/16=0.0625, since their original distance cannot exceed one. After 30 steps the bound is 1/1024≈0.000977. These are probability-distance bounds, not expected times for an individual trajectory to reach a state.

The stationary distribution is (0.2,0.4,0.4); multiplication verifies it directly. Taking v equal to that distribution gives the same bound on distance to stationarity. A finite stochastic matrix has a stationary distribution, and strict contraction of this power makes it unique here.

Interactive laboratory · explore the worked model

Dobrushin Contraction: Bound How a Markov Chain Forgets Its Start — explore the model

Two row probability distributions evolve through the same three-state matrix. The curves compare their actual total-variation distance with bounds valid for any two starts.

Load a comparison

Comparison: No one-step contraction

Adjust the model
One-step coefficient
1.0000
Three-step coefficient
0.5000

Change one parameter at a time and compare the complete curves.

Static example shown. Enable JavaScript to use the controls.

Loss of initial-condition information

Total-variation distance or bound

00.250.50.75107.51522.530

Transition steps

━ Selected starts━ One-step coefficient bound━ Three-step block bound

A one-step bound may remain at one while a block bound proves contraction.

Calculated result

One-step coefficient
1.0000
Three-step coefficient
0.5000

Whole-model comparison

Actual distance after 12 steps
0.015625
Block bound after 12 steps
0.062500
δ(P)=12max⁡i,j∑k∣Pik−Pjk∣\delta(P)=\tfrac12\max_{i,j}\sum_k|P_{ik}-P_{jk}|∥uPn−vPn∥TV≤δ(P3)⌊n/3⌋\|uP^n-vP^n\|_{TV}\le\delta(P^3)^{\lfloor n/3\rfloor}

Common matrix

Rows sum to one and probability vectors multiply on the left. Uniform refresh mixes each row with (1/3,1/3,1/3).

A bound is not an equality

The initial distributions here have distance one. A lower curve for those starts alone does not certify the worst case over all starts.

Interpret the Refresh Experiment

The explorer replaces each row by (1−ε)Pi+ε(1/3,1/3,1/3)(1-\varepsilon)P_i+\varepsilon(1/3,1/3,1/3). All row differences scale by 1−ε1-\varepsilon, so the one-step coefficient becomes 1−ε1-\varepsilon. At zero refresh it remains one, while the three-step bound still decreases.

The selected starts are (α,1−α,0)(\alpha,1-\alpha,0) and (0,0,1). Their initial distance is one. Changing α can change the observed distance but cannot change a coefficient calculated from the transition matrix alone. The stationary distribution also changes with refresh; the plot compares two evolving starts rather than assuming the unrefreshed stationary vector remains valid.

Applications and checks

Use an explicit contraction bound to justify how much a reliability, queue-state or operating-mode forecast can depend on an uncertain initial distribution. Report the transition step duration before turning a step count into elapsed time.

Exact rational propagation checks the example, while a separate minimum-overlap calculation checks both coefficients. The guarantee concerns the assigned homogeneous Markov matrix. It does not cover estimation error, omitted state or changing operating conditions. Treating δ=1 as proof of nonconvergence would discard a useful model; treating one favourable initial pair as the worst case would overstate what a simulation has established.

Markov Chain Lumpability and Valid Aggregation

A chain can forget its initial state even when a proposed grouping fails to predict the next step from the current group alone. Testing aggregation for every initial distribution requires comparing total transition probabilities into each group. When can a Markov chain be aggregated?.

When can a Markov chain be aggregated? · State the Exact Grouping Condition When can a Markov chain be aggregated? · State the Exact Grouping Condition When can a Markov chain be aggregated? · A Four-State Chain That Can Be Reduced Exactly When can a Markov chain be aggregated? · A Four-State Chain That Can Be Reduced Exactly When can a Markov chain be aggregated? · Break One Block Sum When can a Markov chain be aggregated? · Break One Block Sum When can a Markov chain be aggregated? · Test the Tempting Equal-Row Average When can a Markov chain be aggregated? · Test the Tempting Equal-Row Average When can a Markov chain be aggregated? · When can a Markov chain be aggregated? When can a Markov chain be aggregated? · When can a Markov chain be aggregated? When can a Markov chain be aggregated? · When can a Markov chain be aggregated? When can a Markov chain be aggregated? · When can a Markov chain be aggregated? When can a Markov chain be aggregated? · Applications and checks When can a Markov chain be aggregated? · Applications and checks

Back to contents