advanced41 min studyLesson 750 in Mathematics

Information bottlenecks and variational bounds

Preserve information relevant to a target while checking the direction, units and population scope of tractable variational objectives.

On this page

What you’ll understand

  • Define a finite stochastic information bottleneck with an explicit beta convention.
  • Derive compression upper bounds and relevance lower bounds from conditional KL identities.
  • Separate a population surrogate bound from finite-data optimization or universal learning claims.

A representation may discard details of an observation while preserving what matters for predicting a particular target. The information bottleneck formalizes that tradeoff using two mutual informations. Variational approximations make the objective tractable, but their directions must match: overestimate compression cost and underestimate predictive information to obtain an upper bound on a minimizing objective. That algebra concerns the specified population joint law. It does not guarantee that a finite-data neural optimizer finds a global solution or discovers a causal representation.

The encoder preserves a specified observational task

Begin with a finite joint law for X and Y and choose a finite representation T through a stochastic encoder q(t given x). Its joint law factors as p(x,y)q(t given x), so Y to X to T is a Markov chain. We minimize I(X;T) minus beta times I(T;Y), with beta nonnegative and all information measured in bits. Compression penalizes retained detail about X; relevance rewards retained detail about the chosen Y.

Data processing bounds relevance by both I(X;Y) and I(X;T). For beta at most one, the objective is therefore nonnegative and a constant representation attains zero. A nontrivial tradeoff can appear for larger beta, but it is not guaranteed when X and Y are unrelated. Some papers maximize relevance minus beta-A times compression instead; for positive coefficients the equivalent parameter is beta-A equal to one over our beta. Comparing reported coefficients requires accounting for that convention.

Jβ(q)=I(X;T)−βI(T;Y),Y−X−T,I(T;Y)≤min⁡{I(X;T),I(X;Y)}J_\beta(q)=I(X;T)-\beta I(T;Y),\qquad Y-X-T,\qquad I(T;Y)\le\min\{I(X;T),I(X;Y)\}
The chain Y−X−T records conditional independence through the encoder. The objective and parameter direction are fixed explicitly; no causal intervention model is implied.↔ Scroll wide equations horizontally.

Two KL identities set the variational directions

Choose a reference law r(t) positive wherever the encoder's marginal is positive. The expected KL from q(t given X) to r equals compression mutual information plus the KL from the true representation marginal to r. It is therefore an upper bound on compression, tight when r equals that marginal. A reference distribution is an auxiliary modeling choice, not a claim that the encoder's output actually follows it.

Choose a predictive conditional law s(y given t) that is positive on the relevant joint support. Replacing the true conditional log-likelihood by log s lowers the relevance expression by an average conditional KL. Thus H(Y) plus the expected log predictive probability is a lower bound on relevance. Multiplying that lower bound by minus beta reverses its inequality, so combining it with the compression upper bound gives an upper bound on the minimizing objective. A zero predictive probability on a possible event instead gives an infinite cross-entropy penalty.

U=EXD2(qT∣X∥r)=I(X;T)+D2(qT∥r),L=H(Y)+Elog⁡2s(Y∣T)≤I(T;Y),Jβ≤U−βLU=\mathbb E_XD_2(q_{T\mid X}\|r)=I(X;T)+D_2(q_T\|r),\quad L=H(Y)+\mathbb E\log_2s(Y\mid T)\le I(T;Y),\quad J_\beta\le U-\beta L
These are population expectations under p(x,y)q(t|x), with β≥0. Tightness requires matching both the marginal reference and predictive conditional distributions.↔ Scroll wide equations horizontally.

A tractable loss retains statistical limitations

Dropping the constant minus beta H(Y), the upper-bound objective becomes the KL penalty U plus beta times predictive cross-entropy. A formulation using cross-entropy plus beta-A times KL has the reciprocal coefficient after rescaling by a positive constant. Both logarithm units must also match. Replacing the population expectation by a sample average introduces estimation error: a realized empirical loss need not remain an upper bound on the unknown population information objective.

The finite model avoids another issue: a deterministic representation of a non-atomic continuous input can have infinite mutual information even when it looks low dimensional. Adding noise or discretizing changes the mathematical model and requires stating that choice. Finally, a variational bound is not a universal generalization, robustness or causal-identification theorem. Those properties need additional assumptions and evidence beyond a favorable information objective or a lower training loss.

Retain the relevant bit and discard the other one

Let X=(A,B) contain independent fair bits and let Y=A. Set beta=2. Compare T constant, T=A and T=X, and show that T=A is globally optimal in this finite model.

  1. A constant representation has compression and relevance zero, so J=0. Keeping all of X has compression two and relevance one, also giving J=0.

  2. For T=A, compression is one and relevance is one, so J=1−2=−1.

  3. For any encoder, compression is at least relevance and relevance is at most H(Y)=1. Hence J=I(X;T)−2I(T;Y)≥−I(T;Y)≥−1, proving global optimality of the chosen representation.

The result

The relevant bit attains the lower bound. An arbitrary stochastic encoder cannot improve on minus one under this specified population law and coefficient.

Explore the model

Interactive lab

Interactive lab · network

Inspect the predictive part of a surrogate

Pause and reset, then set both controls to input x = 1 and weight w = 0.5. With fixed bias minus 0.5, predict logit zero, probability 0.5 and one bit of cross-entropy for label one. For a fresh comparison, pause and reset, then set x = 1 and w = 1.5; predict logit one, probability about 0.731059 and cross-entropy log₂(1+e⁻¹)≈0.4519 bits. This is one sigmoid unit; it does not compute encoder mutual information, KL regularization, generalization or a full bottleneck optimum.

Inspect the predictive part of a surrogateOne inspectable sigmoid unit, σ(wx − 0.5). Playback traces the computation graph. There is no training, attention mechanism or hidden deep network. Current readings: Product · wx: 1.2; Logit · wx − 0.5: 0.7; Sigmoid output: 0.6682. All parameters are adjustable with the labeled controls below.One input. One weight. One sigmoid.x1.20× w1.20+ b0.70σ0.668output0.668w = 1.00b = −0.50σ(z) = 1 / (1 + exp(−z))
Computation graphSignal trace
Product · wx
1.2
Logit · wx − 0.5
0.7
Sigmoid output
0.6682
t = 0 s

One inspectable sigmoid unit, σ(wx − 0.5). Playback traces the computation graph. There is no training, attention mechanism or hidden deep network. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.

Look forA predictive probability supplies one cross-entropy term, not the entire information tradeoff.

Check your understanding

Which variational combination upper-bounds the minimizing bottleneck objective for beta≥0?

Try it yourself

For the same model and T=A, use reference r(T=1)=0.75 and a predictor assigning probability 0.8 to the correct label for either T. Calculate U, L and U−2L, and compare with the true objective minus one.

Take a moment to make a prediction or work it out on paper. Open a hint when you need one.

Give me a hint

The true T marginal is fair. Its KL to r is 0.5log₂(2/3)+0.5log₂2, while predictive cross-entropy is −log₂0.8.

Compare with the solution

The marginal mismatch KL is approximately 0.207519, so U=1+0.207519=1.207519 bits. The relevance lower bound is L=1+log₂0.8≈0.678072 bits. Consequently U−2L≈−0.148625, which is above the true J=−1. The gap consists of the marginal mismatch plus twice the predictive conditional mismatch. Improving either auxiliary distribution can tighten this population surrogate without changing the encoder; a finite observed training average still requires statistical error control before being treated as a population bound.

Take it with you

  • An information bottleneck preserves relevance for a specified joint law and beta convention.
  • Compression upper and relevance lower bounds combine in the correct direction for minimization.
  • Variational population identities do not automatically certify finite-data optimization or broader learning guarantees.

Read further

Original sources and deeper explanations to follow at your own pace.

Optional progress, saved in this browser when available. Revisit any lesson at any time.

Lesson not marked complete.