Algorithm Search⌘K

Modelcore

Gilbert-Elliott channel

Also called Gilbert-Elliott model, two-state Markov channel.

A binary channel whose crossover probability is set by a hidden two-state Markov chain, good or bad, so errors come in bursts: the standard model of channels with memory.

The Gilbert-Elliott channel is a binary channel with memory. A hidden Markov chain with two states, good and bad, moves at each bit, and in each state the channel is a binary symmetric channel with its own crossover probability, small in the good state and large in the bad state. The chain stays in a state for many bits, so the errors come in bursts. Gilbert defined the model in 1960 with no errors in the good state, and Elliott added errors in the good state in 1963.

The machine

The state St∈{G,B}S_t \in \{G, B\} is a stationary Markov chain with

Pr⁡[St+1=B∣St=G]=p,Pr⁡[St+1=G∣St=B]=r,0<p,r<1.\Pr[S_{t+1} = B \mid S_t = G] = p, \qquad \Pr[S_{t+1} = G \mid S_t = B] = r, \qquad 0 < p, r < 1 .

The input is a bit XtX_t, and the output is Yt=Xt⊕ZtY_t = X_t \oplus Z_t, where the error bit ZtZ_t is 1 with probability eGe_G in state GG and eBe_B in state BB. Given the states, the ZtZ_t are independent of each other and of the input. The usual case is eG≪eBe_G \ll e_B. Neither the transmitter nor the receiver sees StS_t unless the page says so.

Notation. Gilbert 1960 writes PP for the probability of the move from good to bad (pp here), pp for the move from bad to good (rr here) and hh for the probability of a correct bit in the bad state, so eB=1−he_B = 1 - h and eG=0e_G = 0. Elliott 1963 adds kk, the probability of a correct bit in the good state, so eG=1−ke_G = 1 - k. Check the letters before using a formula from a paper.

Derived quantities.

  • Stationary distribution: πB=pp+r\pi_B = \frac{p}{p + r} and πG=rp+r\pi_G = \frac{r}{p + r}.
  • Average error rate: ε=πGeG+πBeB\varepsilon = \pi_G e_G + \pi_B e_B.
  • Sojourn times: the chain stays in BB for a geometric number of bits with mean 1/r1/r, and in GG for a mean of 1/p1/p bits.
  • Memory: the second eigenvalue of the transition matrix is λ=1−p−r\lambda = 1 - p - r, and the state forgets its past as λk\lambda^k.

What it counts

The model predicts the statistics of error patterns: the probability of a given pattern in a block, the distribution of the number of errors per block, the lengths of bursts and gaps, and the capacity.

Example. Take p=0.01p = 0.01, r=0.1r = 0.1, eG=0.001e_G = 0.001 and eB=0.3e_B = 0.3. Then πB=0.0909\pi_B = 0.0909, the mean stays are 100 bits in GG and 10 bits in BB, and ε=0.0282\varepsilon = 0.0282. With eG=0e_G = 0 (Gilbert's case) ε=0.0273\varepsilon = 0.0273. A binary symmetric channel with the same ε\varepsilon looks very different:

Gilbert-Elliott BSC with the same ε\varepsilon
Pr⁡[no error in 10 bits]\Pr[\text{no error in 10 bits}] 0.865 0.751
Pr⁡[no error in 100 bits]\Pr[\text{no error in 100 bits}] 0.382 0.0573
Pr⁡[Zt+1=1∣Zt=1]\Pr[Z_{t+1} = 1 \mid Z_t = 1] 0.262 0.0282

The errors cluster. Many blocks are clean, and the blocks with errors have many of them, which is bad for a short code with small correction power and good for retransmission of whole blocks.

Block probabilities. Let Π\Pi be the transition matrix, D0=diag(1−eG,1−eB)D_0 = \mathrm{diag}(1 - e_G, 1 - e_B) and D1=diag(eG,eB)D_1 = \mathrm{diag}(e_G, e_B). A pattern z1,…,znz_1, \ldots, z_n of error bits has the probability

Pr⁡[Z1=z1,…,Zn=zn]=πTDz1ΠDz2Π⋯ΠDzn1,\Pr[Z_1 = z_1, \ldots, Z_n = z_n] = \pi^T D_{z_1} \Pi D_{z_2} \Pi \cdots \Pi D_{z_n} \mathbf{1},

where π=(πG,πB)T\pi = (\pi_G, \pi_B)^T. This is the forward recursion of a hidden Markov model, and it costs O(n)O(n) operations with a 2 by 2 matrix at each step. The table above uses it with all zi=0z_i = 0.

Relation to other models

  • Binary symmetric channel. If eG=eBe_G = e_B, or if p+r=1p + r = 1 so that λ=0\lambda = 0 and the states are independent, the channel is a BSC with crossover ε\varepsilon.
  • Gilbert channel. The case eG=0e_G = 0. The case eG=0e_G = 0 and eB=1/2e_B = 1/2 makes every bit in the bad state useless.
  • Hidden Markov models. The channel is an HMM whose hidden state is StS_t and whose output is ZtZ_t. The forward-backward algorithm estimates the states from a known error sequence, and expectation maximization (the Baum-Welch algorithm) fits pp, rr, eGe_G and eBe_B to a measured error trace.
  • Fading channels. A Rayleigh fading channel that moves slowly has long good periods and short deep fades. Wang and Moayeri 1995 split the range of the SNR into intervals and make each one a state of a Markov chain, with transition rates from the level crossing rate; with two intervals this gives a Gilbert-Elliott channel. This is a fit; the true fading process is not a Markov chain of finite order.
  • Interleaving. An interleaver deeper than the bursts spreads the errors across codewords, and the code then sees a channel close to a BSC with crossover ε\varepsilon. Codes for bursts, such as Reed-Solomon codes over bytes, use the bursts directly.
  • Packet loss. The same two-state chain with "lost" and "received" outputs is a common model of bursty packet loss in networks.

Known results in the model

  1. Stationary distribution. The chain is irreducible and aperiodic for 0<p,r<10 < p, r < 1. The balance equation πGp=πBr\pi_G p = \pi_B r with πG+πB=1\pi_G + \pi_B = 1 gives πB=p/(p+r)\pi_B = p/(p+r). See stationary distribution.
  2. Correlation of the errors. For a two-state chain, Πk=1πT+λk(I−1πT)\Pi^k = \mathbf{1}\pi^T + \lambda^k (I - \mathbf{1}\pi^T), which can be checked by induction. With e=(eG,eB)Te = (e_G, e_B)^T, for k≥1k \ge 1,
    Pr⁡[Zt=1,Zt+k=1]=πTD1Πke=ε2+λk πGπB(eB−eG)2.\Pr[Z_t = 1, Z_{t+k} = 1] = \pi^T D_1 \Pi^k e = \varepsilon^2 + \lambda^k\, \pi_G \pi_B (e_B - e_G)^2 .
    So the excess correlation of the errors decays geometrically with ratio λ\lambda. In the example, λ=0.89\lambda = 0.89, and Pr⁡[Zt+1=1∣Zt=1]=(ε2+0.89⋅0.0826⋅0.2992)/ε=0.262\Pr[Z_{t+1} = 1 \mid Z_t = 1] = (\varepsilon^2 + 0.89 \cdot 0.0826 \cdot 0.299^2)/\varepsilon = 0.262.
  3. Capacity (a theorem). The channel adds the noise ZZ to the input, and ZZ is stationary and ergodic. For such a binary additive noise channel, the capacity is C=1−Hˉ(Z)C = 1 - \bar H(Z) bit per channel use, where Hˉ(Z)=lim⁡nH(Z1,…,Zn)/n\bar H(Z) = \lim_n H(Z_1, \ldots, Z_n)/n is the entropy rate, reached with uniform independent inputs (Mushkin and Bar-David 1989). Two bounds follow. First, H(Z1,…,Zn)≤n h(ε)H(Z_1, \ldots, Z_n) \le n\, h(\varepsilon), so C≥1−h(ε)C \ge 1 - h(\varepsilon), the capacity after ideal interleaving. Second, H(Z1,…,Zn)≥H(Z1,…,Zn∣S1,…,Sn)=n(πGh(eG)+πBh(eB))H(Z_1, \ldots, Z_n) \ge H(Z_1, \ldots, Z_n \mid S_1, \ldots, S_n) = n(\pi_G h(e_G) + \pi_B h(e_B)), so C≤πG(1−h(eG))+πB(1−h(eB))C \le \pi_G (1 - h(e_G)) + \pi_B (1 - h(e_B)), the capacity with the state known at the receiver. Here hh is the binary entropy function. In the example the bounds are 0.815 and 0.910 bit. Interleaving throws away the memory, and the gap is what a decoder that tracks the state can gain.
  4. Burst and gap lengths. In Gilbert's case with eBe_B close to 1, bursts of errors follow the stays in BB, with mean length 1/r1/r. In general an error burst is shorter than a stay in BB, because the bad state also gives correct bits.

Pitfalls

  • Average error rate is not enough. Two channels with the same ε\varepsilon can have very different block error rates (the table above). Report pp, rr, eGe_G and eBe_B, or at least ε\varepsilon and λ\lambda.
  • Letters across papers. pp, PP, rr, hh and kk mean different things in Gilbert, Elliott and later papers.
  • Start state. A simulation that starts every run in GG is not stationary for the first 1/(p+r)1/(p+r) bits or so. Draw the first state from π\pi.
  • Hidden state. Results with the state known at the receiver are upper bounds. A real decoder must estimate StS_t from the data.

References

  1. E. N. Gilbert, Capacity of a burst-noise channel, Bell System Technical Journal 39(5), 1960, pp. 1253 to 1265 (the two-state model with no errors in the good state, and the capacity of the channel)
  2. E. O. Elliott, Estimates of error rates for codes on burst-noise channels, Bell System Technical Journal 42(5), 1963, pp. 1977 to 1997 (errors in the good state as well, and the probability of error patterns in blocks of bits)
  3. M. Mushkin and I. Bar-David, Capacity and coding for the Gilbert-Elliott channels, IEEE Transactions on Information Theory 35(6), 1989, pp. 1277 to 1290 (the capacity of the channel and the effect of the memory on it)
  4. H. S. Wang and N. Moayeri, Finite-state Markov channel, a useful model for radio communication channels, IEEE Transactions on Vehicular Technology 44(1), 1995, pp. 163 to 171 (a Markov chain over ranges of the SNR of a Rayleigh fading channel)
  5. Andrea Goldsmith, Wireless Communications, Cambridge University Press, 2005, Section 3.2.4 (finite-state Markov channels)

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/3H9VBZ/text.yaml