Search the atlas

When can a Markov chain be aggregated?

A chain can forget its initial state even when a proposed grouping fails to predict the next step from the current group alone.

Grouping detailed states into labels such as “available” and “unavailable” makes a model smaller. It does not automatically make the grouped process Markovian. Two detailed states with the same displayed label can have different probabilities of leaving that label next.

This lesson assumes conditional probability. A finite discrete-time Markov chain has transition probabilities Pij=P(Xn+1=j∣Xn=i)P_{ij}=P(X_{n+1}=j\mid X_n=i), with nonnegative rows summing to one. Row probability vectors evolve as pn+1=pnPp_{n+1}=p_nP. The Markov assumption means that the present detailed state suffices for the next-step distribution; it is an assumption about the chosen state description.

State the Exact Grouping Condition

Partition the detailed states into disjoint blocks. For a single coarse transition matrix to work for every initial distribution, require that, for any states i,i′i,i' in the same block A and every destination block B,

∑j∈BPij=∑j∈BPi′j.\sum_{j\in B}P_{ij}=\sum_{j\in B}P_{i'j}.

These common sums define the coarse transition probabilities PˉAB\bar P_{AB}. This is strong lumpability. Zhang and Wang, Definition 4, states the block-transition condition and distinguishes it from other kinds of state compression.

The individual rows need not be identical: transitions within blocks may differ. What must agree is the probability delivered to each destination block. If that agreement holds, conditioning on the hidden mixture inside A cannot change the next block probabilities.

A Four-State Chain That Can Be Reduced Exactly

Use states A1, A2, B1 and B2, grouped into A and B. Assign

P=[0.50.30.10.10.20.60.10.10.150.150.50.20.10.20.20.5].P=\begin{bmatrix} 0.5&0.3&0.1&0.1\\ 0.2&0.6&0.1&0.1\\ 0.15&0.15&0.5&0.2\\ 0.1&0.2&0.2&0.5 \end{bmatrix}.

Both A rows send probability 0.8 to A and 0.2 to B. Both B rows send 0.3 to A and 0.7 to B. Hence

Pˉ=[0.80.20.30.7].\bar P=\begin{bmatrix}0.8&0.2\\0.3&0.7\end{bmatrix}.

Let an=P(Xn∈A)a_n=P(X_n\in A). Then

an+1=0.8an+0.3(1−an)=0.3+0.5an.a_{n+1}=0.8a_n+0.3(1-a_n)=0.3+0.5a_n.

With all initial probability in A, a0=1a_0=1 and an=0.6+0.4(0.5)na_n=0.6+0.4(0.5)^n. Thus a1=0.8a_1=0.8, a2=0.7a_2=0.7, and the aggregate probability approaches 0.6. These results do not depend on whether the initial detailed state is A1, A2 or a mixture. The hidden within-block probabilities may still differ and evolve.

Break One Block Sum

Now move probability δ\delta in row A2 from its A2 column to B1. That row becomes

[0.2, 0.6−δ, 0.1+δ, 0.1],0≤δ≤0.3.[0.2,\ 0.6-\delta,\ 0.1+\delta,\ 0.1],\qquad0\le\delta\le0.3.

The row remains a valid probability distribution. But A2 now leaves block A with probability 0.2+δ0.2+\delta, while A1 still leaves with probability 0.2. At δ=0.2\delta=0.2, starting in A1 gives next-step block-A probability 0.8; starting in A2 gives 0.6. Both starts have the same coarse state A, so no single transition probability from A can reproduce both experiments.

If the conditional fraction in A1 is αn=P(Xn=A1∣Xn∈A)\alpha_n=P(X_n=A1\mid X_n\in A), the effective A-to-B probability is

0.2+δ(1−αn).0.2+\delta(1-\alpha_n).

The hidden mixture matters and generally changes with time and observed history. A fixed row average silently chooses a mixture without showing why it should remain appropriate. Failure of strong lumpability does not rule out a special initial distribution with a valid reduced law; it rejects the claim that one law works for every initial distribution.

Test the Tempting Equal-Row Average

An equal average of the two A rows assumes αn=1/2\alpha_n=1/2. Its coarse recurrence is

a~n+1=0.3+(0.5−δ/2)a~n.\tilde a_{n+1}=0.3+(0.5-\delta/2)\tilde a_n.

For δ=0.2\delta=0.2 and an A1 start, the full chain gives a1=0.8a_1=0.8, a2=0.64a_2=0.64, while the averaged chain gives a~1=0.7\tilde a_1=0.7, a~2=0.58\tilde a_2=0.58. The first-step error is 0.1 in absolute probability—ten percentage points. It is not sampling noise: both calculations use exact assigned transition probabilities.

Starting with a half-A1, half-A2 mixture makes the first averaged step agree, but it does not impose that mixture at later steps. The laboratory exposes this distinction by plotting the hidden conditional fraction as well as aggregate probability.

Interactive laboratory · explore the worked model

Markov Chain Lumpability and Valid Aggregation — explore the model

Four microstates A1, A2, B1, B2 with a row-stochastic transition matrix. All initial probability lies in block A. The coarse comparison averages the two A rows equally; it is exact for every initial mixture only when δ = 0.

Load a comparison

Comparison: Exact lumpability

Adjust the model
Exact P(A) after one step
0.8000 probability
Coarse P(A) after one step
0.8000 probability

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

Static example shown. Enable JavaScript to use the controls.

Aggregate probability needs a valid transition law

Probability of block A

00.2630.5250.7881.0505101520

Transition step n

━ Full chain, aggregated┄ Equal-row coarse model

Solid: sum A1 + A2 from the full four-state chain. Dashed: a two-state chain built by equal row averaging. Curve vertices denote integer steps; connecting lines guide the eye.

The hidden mixture changes during the run

Conditional A1 fraction

00.2630.5250.7881.0505101520

Transition step n

━ Actual hidden fraction┄ Equal-mixture assumption

This is P(A1 | current block A). The horizontal line is the one-half mixture assumed by equal row averaging, not a law of the full process.

Calculated result

Exact P(A) after one step
0.8000 probability
Coarse P(A) after one step
0.8000 probability

Whole-model comparison

Largest displayed probability error
0.00000 absolute probability
A1-to-B probability
0.200 probability
A2-to-B probability
0.200 probability
Full-chain P(A) at step 20
0.60000 probability
pn+1=pnPp_{n+1}=p_nP∑j∈BPij=PˉAB\sum_{j\in B}P_{ij}=\bar P_{AB}an+1=0.3+0.5an(δ=0)a_{n+1}=0.3+0.5a_n\quad(\delta=0)

Exact versus approximate reduction

Equal block-exit sums are required for every pair of microstates in a block if one coarse transition law must work for every initial distribution. Similar state names are insufficient.

Assigned probabilities

The matrix is a teaching example, not measured reliability data. A transition step has no assigned physical duration; no failure rate per hour is implied.

Applications and checks

Before merging reliability, maintenance or operating states, check whether their future block-transition probabilities agree at the chosen time step. If they differ, retain more state information or justify an approximation and its error for the intended initial conditions and observables. Similar names, similar stationary frequencies or a good fit at one step do not establish exact lumpability.

Independent rational enumeration of detailed paths checks the aggregate and conditional probabilities, while exact block sums and the closed-form recurrence verify the lumpable case. The plots show probability evolution, not random sample trajectories; complete static step sequences make the comparison directly readable, so a timed animation is unnecessary.

The matrix is synthetic, with no assigned hours per step or physical failure rates. A measured transition model also needs evidence for time homogeneity, state observability and the Markov assumption. Even an exact coarse model cannot recover which hidden state a particular unit occupies. In an operational forecast, ignoring a degraded substate with a larger exit probability can understate near-term unavailability despite a reassuring aggregate label.

Related entry · Contraction and aggregation of Markov chains.

Back to contents