Foundations to Frontier
Tests
A. Mathematical Foundations › A7 Information Theory

The Data Processing Inequality

No processing of data can create information about its source: if X → Y → Z is a Markov chain, then I(X;Z) ≤ I(X;Y). Every KL and f-divergence likewise shrinks when both distributions pass through the same channel. You will prove the inequality from the chain rule, characterize when equality holds (sufficient statistics), quantify how fast information decays along noisy relay chains with the strong DPI, and see what it implies for on-board quantization, feature extractors and deep networks.

Level 0: Foundation

★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.

Photocopies of photocopies

Copy a photo, then copy the copy, again and again. Each copy gets blurrier, and no copier, however clever, can make a copy sharper than the original. The data processing inequality says the same about information: whatever you do to a measurement (compress it, filter it, feed it to a neural network), the result can’t tell you more about the original source than the measurement did.

Data processing: relays can only lose information
1 bit123456strong-DPI envelope (1−2ε)^(2j)
I(X; Z₁) = 0.531 bits → I(X; Z6) = 0.050 bits (equivalent flip probability 0.369 without copies)
Every relay is a Markov step X → Z₁ → Z₂ → …, so I(X; Zⱼ) can never increase. No clever decoding or neural network at a relay can recover what is lost. Sending r copies at hop 1 and taking a majority vote does raise I(X; Z₁), but only because it adds new observations of X; it is not post-processing. Each later hop multiplies the information by at most (1−2ε)², the strong data-processing coefficient of a BSC.
Why engineers care

Spacecraft quantize and compress data before sending it home, and that information is gone for good. The DPI tells you that onboard processing can only lose information, and so where to spend your bits. It also limits what any learned feature extractor can know.

📝 Quick check (Level 0)
0/3 answered
  1. 1. Can filtering a sensor reading increase information about the true state?
  2. 2. To learn more about the state you need…
  3. 3. A chain of noisy relays makes information…

Level 1: Beginner

★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.

Markov chains

X→Y→ZX\to Y\to Z means ZZ depends on XX only through YY: p(z∣x,y)=p(z∣y)p(z\mid x, y) = p(z\mid y). Equivalently, XX and ZZ are conditionally independent given YY. Any function Z=g(Y)Z = g(Y) qualifies.

The inequality

X→Y→Z⟹I(X;Z)≤I(X;Y)X\to Y\to Z\quad\Longrightarrow\quad I(X;Z)\le I(X;Y)

The chain is reversible (Z→Y→XZ\to Y\to X is also Markov), so I(X;Z)≤I(Y;Z)I(X;Z)\le I(Y;Z) too. Hence I(X;Z)≤min⁡(I(X;Y),I(Y;Z))I(X;Z)\le\min(I(X;Y), I(Y;Z)).

Divergence version

For any channel KK: KL⁡(pK ∥ qK)≤KL⁡(p ∥ q)\operatorname{KL}(pK\,\|\,qK)\le\operatorname{KL}(p\,\|\,q), and the same holds for every f-divergence. Processing makes distributions harder to tell apart.

📝 Quick check (Level 1)
0/3 answered
  1. 1. I(X;Y) = 0.8 and I(Y;Z) = 0.5 bits for a Markov chain X → Y → Z. I(X;Z) is at most…
  2. 2. Z = g(Y) for a deterministic g: is X → Y → Z Markov?
  3. 3. Passing two distributions through the same channel makes their KL…

Level 2: Intermediate

★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.

When is nothing lost? Sufficient statistics

Equality I(θ;T(X))=I(θ;X)I(\theta;T(X)) = I(\theta;X) holds for every prior iff TT is a sufficient statistic, i.e. θ→T(X)→X\theta\to T(X)\to X is also Markov. For nn Bernoulli(θ\theta) samples, the count is sufficient: the whole sequence tells you nothing more about θ\theta. Invertible maps are trivially sufficient.

Strong data processing

For many channels there is a contraction coefficient η<1\eta < 1 with I(U;Z)≤η I(U;Y)I(U;Z)\le\eta\,I(U;Y) whenever U→Y→ZU\to Y\to Z. For a binary symmetric channel, ηKL=(1−2ε)2\eta_{\mathrm{KL}} = (1 - 2\varepsilon)^2. Information decays exponentially along a chain of relays. A chain of kk BSC(ε\varepsilon) relays is a single BSC with εk=12(1−(1−2ε)k)\varepsilon_k = \frac12(1 - (1 - 2\varepsilon)^k).

🐍 Exercise 1: the DPI, KL contraction and sufficiency
On random chains X → Y → Z, check that I(X;Z) ≤ I(X;Y) and that KL contracts under channels. Check that a permutation loses nothing. Show that the success count keeps all the information about θ in a Bernoulli sequence, while a single sample does not.
📝 Quick check (Level 2)
0/3 answered
  1. 1. Equality in the DPI for all priors means T is…
  2. 2. SDPI coefficient for BSC(0.1):
  3. 3. Two BSC(0.1) in series act like a BSC with ε =

Level 3: Advanced

★★★★☆ Advanced⏱ 40 minGraduate level, with full derivations and proofs.

Proof of the DPI

Expand I(X;Y,Z)I(X;Y, Z) by the chain rule both ways:

I(X;Y,Z)=I(X;Z)+I(X;Y∣Z)=I(X;Y)+I(X;Z∣Y)I(X;Y, Z) = I(X;Z) + I(X;Y\mid Z) = I(X;Y) + I(X;Z\mid Y)

Markov gives I(X;Z∣Y)=0I(X;Z\mid Y) = 0. So I(X;Z)=I(X;Y)−I(X;Y∣Z)≤I(X;Y)I(X;Z) = I(X;Y) - I(X;Y\mid Z)\le I(X;Y). Equality holds iff I(X;Y∣Z)=0I(X;Y\mid Z) = 0, i.e. X→Z→YX\to Z\to Y. ∎

KL contraction

Apply the KL chain rule to the joints p(x)K(y∣x)p(x)K(y\mid x) and q(x)K(y∣x)q(x)K(y\mid x) in two orders. In the X-first order the conditional terms vanish (same KK). In the Y-first order they’re non-negative. So KL⁡(p ∥ q)=KL⁡(pK ∥ qK)+(≥0)\operatorname{KL}(p\,\|\,q) = \operatorname{KL}(pK\,\|\,qK) + (\ge0). ∎

Relay chain formula

1−2ε1 - 2\varepsilon is the correlation between input and output (in ±1 form). Correlations multiply along the chain: 1−2εk=(1−2ε)k1 - 2\varepsilon_k = (1 - 2\varepsilon)^k. ∎

Exercise 3.1: MI after 2 BSC(0.1) relays with fair input

ε2=0.18\varepsilon_2 = 0.18, so I=1−h2(0.18)≈1−0.680=0.320I = 1 - h_2(0.18)\approx1 - 0.680 = 0.320 bits. One relay gives 0.531.

📝 Quick check (Level 3)
0/3 answered
  1. 1. The DPI proof uses the Markov property in the form…
  2. 2. The DPI is tight (equality) iff…
  3. 3. MI after 2 BSC(0.1) relays ≈

Level 4: Expert

★★★★★ Expert⏱ 35 minResearchers: original papers and open problems.

On-board quantization and relay networks

A lander’s altimeter reading YY is quantized to bb bits before telemetry. The altitude state SS has 8 levels, and the Gaussian noise has σ = 0.6 levels. S→Y→Qb(Y)S\to Y\to Q_b(Y) is Markov, so I(S;Qb)≤I(S;Y)I(S;Q_b)\le I(S;Y) for every bb. Finer quantizers lose less, with diminishing returns: most of the information survives at 3 bits. Similarly, data relayed through a chain of noisy links (e.g. surface asset → orbiter → Earth) loses information exponentially in the number of hops unless each hop decodes and re-encodes with error correction. Processing then happens on codewords, which is the subject of channel coding (A7-8).

🐍 Exercise 2 (research): relay decay and quantized telemetry
Compute MI along a chain of BSC relays and check the strong-DPI bound at each hop. Then compute the information an altimeter reading carries about an 8-level state, raw and quantized to 1–6 bits, and confirm the DPI ordering.

The DPI in AI, robotics and aerospace

  • Representation learning: every layer of a deterministic network satisfies I(Y;Tℓ+1)≤I(Y;Tℓ)I(Y;T_{\ell+1})\le I(Y;T_\ell). Information-bottleneck analyses of deep nets build on this (Tishby and Zaslavsky, 2015; A7-11).
  • Sensor fusion and estimation: the Kalman filter’s state estimate is a sufficient statistic for linear-Gaussian systems, so it loses nothing relative to the full measurement history.
  • Distributed estimation and communication limits: strong DPI bounds the accuracy of estimation over noisy multi-hop networks (Polyanskiy and Wu, 2017).
  • Privacy: differential privacy is closed under post-processing, a DPI-type property (Dwork and Roth, 2014).

References

  1. T. Cover, J. Thomas (2006). Elements of Information Theory, 2nd ed. Wiley. §2.8–2.9.
  2. R. Ahlswede, P. Gács (1976). “Spreading of sets in product spaces and hypercontraction of the Markov operator.” Annals of Probability, 4(6).
  3. Y. Polyanskiy, Y. Wu (2017). “Strong data-processing inequalities for channels and Bayesian networks.” In Convexity and Concentration, Springer.
  4. N. Tishby, N. Zaslavsky (2015). “Deep learning and the information bottleneck principle.” IEEE ITW.
  5. C. Dwork, A. Roth (2014). “The algorithmic foundations of differential privacy.” Foundations and Trends in TCS, 9(3–4).
  6. I. Csiszár (1967). “Information-type measures of difference of probability distributions.” Studia Sci. Math. Hungarica, 2.
  7. R. A. Fisher (1922). “On the mathematical foundations of theoretical statistics.” Phil. Trans. R. Soc. A, 222 (sufficiency).
  8. J. Max (1960). “Quantizing for minimum distortion.” IRE Transactions on Information Theory, 6(1).