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

The Information Bottleneck

The information bottleneck asks for a representation T of input X that is as compressed as possible while keeping as much information as possible about a target Y: minimize I(X;T) − β I(T;Y). It is rate–distortion theory where the distortion is lost relevance. You will derive the self-consistent IB equations, run the iterative algorithm and trace the information plane with its phase transitions, recover minimal sufficient statistics, and meet the variational information bottleneck used to train robust, compressed neural representations, along with the debate over IB as an explanation of deep learning.

Level 0: Foundation

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

Keep only what matters

A rover’s cameras record millions of pixels, but to decide “safe to drive here?” it only needs a few facts: slope, rocks, sand. The information bottleneck is a recipe for building such summaries. Squeeze the input through a narrow bottleneck that forgets as much as possible, while still remembering everything that matters for the task.

The information bottleneck: squeeze X, keep what matters about Y
clusters |T|:
I(X;Y) = 0.454I(X;T) compression cost (bits) →I(T;Y) relevance ↑grey bar: p(hazard | x) · colour: assigned clusterx0x1x2x3x4x5x6x7x8x9x10x11
β = 17.11: I(X;T) = 1.548 bits kept from 3.58, I(T;Y) = 0.449 of 0.454 bits relevant (99%)
IB minimizes I(X;T) − β I(T;Y). At small β, T ignores X entirely. As β grows, it splits, in phase transitions, into clusters of readings with similar p(hazard | x), whatever the readings' numerical values. With three clusters the three hazard levels are separated and almost all relevant information survives, even though T needs only about 1.5 bits instead of 3.6. That makes T a compressed sufficient statistic for the task.
Why engineers care

Compact task-relevant representations save onboard memory and downlink. They also generalize better and are more robust to nuisance changes like lighting or sensor noise. The IB principle underlies variational IB training, information-theoretic world models and the theory of minimal sufficient statistics.

📝 Quick check (Level 0)
0/3 answered
  1. 1. The information bottleneck wants a representation that is…
  2. 2. Information about irrelevant details (like lighting) should be…
  3. 3. Can the summary know more about the target than the raw input does?

Level 1: Beginner

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

The IB objective

Given a joint p(x,y)p(x, y), find an encoder p(t∣x)p(t\mid x) (so Y→X→TY\to X\to T is Markov) that minimizes

L=I(X;T)−β I(T;Y)\mathcal L = I(X;T) - \beta\,I(T;Y)
  • I(X;T)I(X;T) is the compression cost: how many bits of the input T keeps.
  • I(T;Y)I(T;Y) is the relevance: how much T tells about the target.
  • β\beta sets the exchange rate between the two.

Bounds from the DPI

0≤I(T;Y)≤min⁡(I(X;T),I(X;Y))0\le I(T;Y)\le\min(I(X;T), I(X;Y))

The curve of the best achievable I(T;Y)I(T;Y) vs I(X;T)I(X;T) is the information plane. It’s concave and increasing, and it saturates at I(X;Y)I(X;Y).

📝 Quick check (Level 1)
0/3 answered
  1. 1. IB minimizes…
  2. 2. I(T;Y) is at most…
  3. 3. β → 0 gives a T that…

Level 2: Intermediate

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

The self-consistent equations

Setting the variation to zero (Tishby, Pereira and Bialek, 1999):

p(t∣x)=p(t)Z(x,β)exp⁡(−βKL⁡(p(y∣x) ∥ p(y∣t)))p(t\mid x) = \frac{p(t)}{Z(x, \beta)}\exp\big(-\beta\operatorname{KL}(p(y\mid x)\,\|\,p(y\mid t))\big)

with p(t)=∑xp(x)p(t∣x)p(t) = \sum_xp(x)p(t\mid x) and p(y∣t)=∑xp(y∣x)p(x∣t)p(y\mid t) = \sum_xp(y\mid x)p(x\mid t). This is rate–distortion (A7-10) with the distortion d(x,t)=KL⁡(p(y∣x) ∥ p(y∣t))d(x, t) = \operatorname{KL}(p(y\mid x)\,\|\,p(y\mid t)). Inputs are grouped by how similarly they predict YY, not by how similar they look. Iterating these updates is a Blahut–Arimoto-type algorithm.

Phase transitions

As β\beta increases, the solution stays trivial until a critical βc\beta_c. Then clusters split one at a time, giving kinks in the information plane. With enough clusters and β→∞\beta\to\infty, TT becomes a minimal sufficient statistic for YY: it merges exactly the xxs with identical p(y∣x)p(y\mid x).

🐍 Exercise 1: the iterative IB algorithm
Implement the IB updates. Trace the information plane over β with warm starts, check the DPI bounds at every point, and see the trivial phase at small β and near-complete relevance at large β.
📝 Quick check (Level 2)
0/3 answered
  1. 1. IB's effective distortion between x and cluster t is…
  2. 2. IB groups inputs that are…
  3. 3. As β grows past a critical value, the IB solution…

Level 3: Advanced

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

Deriving the IB equations

Form the Lagrangian I(X;T)−βI(T;Y)+∑xλ(x)∑tp(t∣x)I(X;T) - \beta I(T;Y) + \sum_x\lambda(x)\sum_tp(t\mid x). Differentiate with respect to p(t∣x)p(t\mid x):

  • ∂I(X;T)/∂p(t∣x)=p(x)log⁡p(t∣x)p(t)\partial I(X;T)/\partial p(t\mid x) = p(x)\log\frac{p(t\mid x)}{p(t)}.
  • ∂I(T;Y)/∂p(t∣x)=p(x)∑yp(y∣x)log⁡p(y∣t)p(y)\partial I(T;Y)/\partial p(t\mid x) = p(x)\sum_yp(y\mid x)\log\frac{p(y\mid t)}{p(y)}, which equals −p(x)KL⁡(p(y∣x) ∥ p(y∣t))-p(x)\operatorname{KL}(p(y\mid x)\,\|\,p(y\mid t)) plus terms independent of tt.

Setting the sum to zero and normalizing gives the exponential form. ∎

Sufficiency

If TT merges exactly those xx with equal p(y∣x)p(y\mid x), then p(y∣x)=p(y∣t(x))p(y\mid x) = p(y\mid t(x)). So Y→T→XY\to T\to X is also Markov and I(T;Y)=I(X;Y)I(T;Y) = I(X;Y), with the smallest I(X;T)I(X;T) among all such TT. ∎

Variational IB (deep version)

For neural encoders qϕ(t∣x)q_\phi(t\mid x), bound both terms (Alemi et al., 2017):

I(X;T)≤ExKL⁡(qϕ(t∣x) ∥ r(t)),I(T;Y)≥Elog⁡qψ(y∣t)+H(Y)I(X;T)\le\mathbb E_x\operatorname{KL}(q_\phi(t\mid x)\,\|\,r(t)),\qquad I(T;Y)\ge\mathbb E\log q_\psi(y\mid t) + H(Y)

This gives the VIB loss E[−log⁡qψ(y∣t)]+β−1EKL⁡(qϕ(t∣x) ∥ N(0,I))\mathbb E[-\log q_\psi(y\mid t)] + \beta^{-1}\mathbb E\operatorname{KL}(q_\phi(t\mid x)\,\|\,\mathcal N(0, I)): a supervised β-VAE.

Exercise 3.1: merging two inputs

x1x_1 has p(x1)=0.25p(x_1) = 0.25 and p(y∣x1)=(1,0)p(y\mid x_1) = (1, 0). x2x_2 has p(x2)=0.75p(x_2) = 0.75 and p(y∣x2)=(0.2,0.8)p(y\mid x_2) = (0.2, 0.8). Merging them gives p(y∣t)=0.25(1,0)+0.75(0.2,0.8)=(0.4,0.6)p(y\mid t) = 0.25(1, 0) + 0.75(0.2, 0.8) = (0.4, 0.6).

📝 Quick check (Level 3)
0/3 answered
  1. 1. The VIB rate term upper-bounds I(X;T) with…
  2. 2. A minimal sufficient statistic T achieves I(T;Y) =
  3. 3. Merged p(y|t) for weights (0.25, 0.75), rows (1, 0) and (0.2, 0.8):

Level 4: Expert

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

Task-relevant compression of sensor readings

Sixteen quantized terrain readings (a slope × roughness cell) predict hazard in a scrambled way. Readings that look numerically close aren’t necessarily alike in risk. A naive compressor that bins neighbouring readings keeps almost nothing about hazard. IB with two clusters groups readings by p(hazard∣x)p(\text{hazard}\mid x). It keeps all of I(X;Y)I(X;Y) in at most 1 bit, compared with 4 bits for the raw reading.

🐍 Exercise 2 (research): IB vs naive binning for a hazard sensor
Run IB with restarts on a 16-reading sensor whose hazard probability is scrambled across readings. Check that IB recovers the minimal sufficient statistic, and compare its relevance with contiguous binning at the same cardinality.

The information bottleneck in AI, robotics and aerospace

  • Robust representation learning: VIB improves adversarial robustness and calibration (Alemi et al., 2017). IB regularization helps sim-to-real visual policies ignore nuisance factors.
  • Deep learning theory, debated: Shwartz-Ziv and Tishby (2017) reported a fitting-then-compression phase in the information plane. Saxe et al. (2018) showed it depends on activation functions and MI estimators. For deterministic networks, MI with continuous inputs is ill-defined without noise. Treat IB as a design principle, not a settled law.
  • Reinforcement learning: information-bottleneck policies and world models that compress observations to task-relevant latents (Goyal et al., 2019; Igl et al., 2019).
  • Semantic and goal-oriented communication: transmit only task-relevant information over bandwidth-limited links, e.g. from a lander or swarm member.

References

  1. N. Tishby, F. Pereira, W. Bialek (1999). “The information bottleneck method.” Allerton Conference.
  2. A. Alemi, I. Fischer, J. Dillon, K. Murphy (2017). “Deep variational information bottleneck.” ICLR.
  3. R. Shwartz-Ziv, N. Tishby (2017). “Opening the black box of deep neural networks via information.” arXiv:1703.00810.
  4. A. Saxe et al. (2018). “On the information bottleneck theory of deep learning.” ICLR.
  5. N. Slonim, N. Tishby (2000). “Agglomerative information bottleneck.” NeurIPS.
  6. N. Tishby, N. Zaslavsky (2015). “Deep learning and the information bottleneck principle.” IEEE ITW.
  7. A. Goyal et al. (2019). “InfoBot: transfer and exploration via the information bottleneck.” ICLR.
  8. M. Igl et al. (2019). “Generalization in reinforcement learning with selective noise injection and information bottleneck.” NeurIPS.
  9. Z. Goldfeld, Y. Polyanskiy (2020). “The information bottleneck problem and its applications in machine learning.” IEEE JSAIT, 1(1).
  10. D. Strouse, D. Schwab (2017). “The deterministic information bottleneck.” Neural Computation, 29(6).