Information-Theoretic Generalization Bounds
Generalisation costs information: the gap between test and train grows with how much the learned weights reveal about the training sample, measured by mutual information.
Why Does This Exist?
Stability and complexity bound the method or the class, but modern nets have huge classes yet leak little about training through noisy optimisation. What you want is a bound on the actual learned weights: if reveals almost nothing about sample beyond population structure, memorisation is impossible and the gap must be small. Mutual information measures exactly that leakage in nats.
Xu-Raginsky made it rigorous: expected gap bounded by for -sub-Gaussian loss. SGLD noise, compression and early stopping all shrink and tighten the bound. It also explains the information bottleneck preference for minimal sufficient representations: less information, smaller gap.
Prerequisite in one paragraph. You need mutual information , the nats of dependence between weights and sample, and sub-Gaussian loss tails. Data processing says post-processing cannot create information. Background is in mutual information and data processing inequality.
Think of It Like This
A student who saw the exam versus one who learned the subject
Two students score on practice exams. One memorised answer keys: their brain holds nats about those exact sheets and collapses on new questions. The other learned methods: nats about the sheets, mostly shared structure, and repeats on finals.
Mutual information is the memorisation count. The bound charges the gap by : the memoriser pays triple at the same . Noisy study habits, like SGLD, blur exact answers and force the second student's strategy.
Where the analogy stops: students choose strategies consciously while is a property of the algorithm plus distribution. Estimating it for real nets needs bounds and proxies, not direct measurement.
How It Actually Works
Let be learned weights from sample of size and loss be -sub-Gaussian in the relevant sense. Then , where is test risk, train risk and mutual information. Chaining across samples sharpens constants; conditional and disintegrated versions handle single draws rather than averages.
For SGLD with noise variance over steps, grows like -style quantities: more steps leak more, more noise leaks less. Compression bounds replace by description length: a -nat compressed model generalises almost as if .
Worked example
Take , . With nats the bound gives . Train promises test below in expectation. With nats it gives , diagram : same training, triple the allowed gap.
Halve to with : . Information budgets interact directly with sample size, which is why compression helps most on small data.
Watch Out For
Estimating MI on the same data and quoting the bound
Plug-in MI estimates from training data are themselves overfit: they understate leakage because the estimator shares the memorisation. The bound with an underestimated promises while true allows .
Fix: bound analytically (SGLD, compression, VC-to-MI) or estimate on held-out randomization. Never plug a point estimate into its own bound.
Confusing representation MI with weights MI
for representations and for weights bound different gaps through different theorems. Swapping them applies bottleneck intuition to weight leakage or vice versa, with mismatched and scaling.
Fix: name both arguments of every time. Weights-sample bounds generalisation; input-representation bounds compression.
The Quick Version
- Test-train gap scales as : leakage about the sample is the price.
- Ten nats at 2000 samples hold the gap below 0.10; one hundred nats allow 0.32.
- Noisy training, compression and early stopping shrink and tighten the bound.
- Bound analytically; plug-in estimates on training understate it.
- Weights-sample and input-representation informations answer different questions.