Tighter Information-Theoretic Generalization Bounds from Supersamples

Ziqiao Wang, Yongyi Mao

Introduction

A central mystery in modern machine learning is why massive neural networks generalize so well despite having enough capacity to simply "memorize" the training data. Traditional tools like VC-dimension often fail to explain this because they are algorithm-independent. Information-theoretic bounds have emerged as a powerful alternative, as they depend on both the data distribution and the specific learning algorithm.

However, earlier bounds based on the Mutual Information (MI) between training data and model weights are often loose or impossible to calculate for high-dimensional deep networks. Recent improvements using Conditional Mutual Information (CMI) in a "supersample" setting—where we imagine a pool of data and a random mask choosing what is used for training versus testing—have helped, but remained somewhat loose.

This paper introduces a new family of information-theoretic generalization bounds that are significantly tighter and easier to compute than previous methods. By projecting complex model outputs down to simple one-dimensional "loss differences" and correlating them with Rademacher sequences, the authors provide a more precise way to track how well machine learning models will perform on unseen data.

Methodology: Squeezing the Bounds

The authors build on the supersample framework, introducing several key innovations to tighten generalization bounds:

  • Loss-Difference CMI (ld-CMI): Instead of calculating the mutual information of high-dimensional weights or predictions, the authors project everything down to a scalar difference between the loss on a training instance and a "ghost" testing instance. This massive reduction in dimensionality makes the bound much tighter and easier to measure.
  • Rademacher Correlation: They explicitly link generalization error to the correlation between losses and a Rademacher sequence (random $\pm 1$ noise). This allows them to use symmetric arguments from statistical learning theory to derive novel MI bounds.
  • Fast-Rate Bounds: Most standard bounds scale at a rate of $1/\sqrt{n}$ (where $n$ is the sample size). The authors derive "fast-rate" bounds that scale at $1/n$, which are much more useful for models that achieve very low training error.
  • Variance and Sharpness: They incorporate notions of "flatness" (sharpness) and loss variance into the MI framework. This reflects the common intuition that models sitting in "flat minima" generalize better.

Key Insights

  • Generalization as Communication: In the "interpolating regime" (where training error is zero), the authors show that generalization error is exactly determined by the communication rate over a specific memoryless channel. This provides a beautiful bridge between Shannon's Information Theory and Statistical Learning Theory.
  • The Power of Projection: By demonstrating that a one-dimensional projection (the loss difference) contains the essential information needed to bound the error, they prove that we don't need to track the "information" in millions of neural network weights to understand generalization.
  • Symmetry is Key: The paper exploits the inherent symmetry of the supersample setting—where training and test points are interchangeable before the mask is applied—to cancel out complex terms, leading to simpler, tighter formulas.

Experimental Results

The authors validated their theoretical bounds using a synthetic Gaussian dataset, MNIST ("4 vs 9"), and CIFAR-10 (using a fine-tuned ResNet-50).

Superior Tightness and Fast-Rate Performance

The proposed ld-CMI and unconditional MI bounds are theoretically and empirically tighter than previous state-of-the-art bounds like e-CMI and f-CMI. Furthermore, their fast-rate bounds decay much more quickly than standard square-root bounds, providing a much more realistic estimate of error for modern high-performance models as sample size increases.

Error bounds vs sample size

Tracking Training Dynamics

In neural network experiments, the new sharpness-based and variance-based bounds successfully track the generalization behavior of CNNs and ResNets. Crucially, they maintain this tight tracking even during the early stages of training, a period where other bounds often become "vacuous" (meaningless).

Error bounds over training epochs

Limitations and Future Work

  • I.I.D. Assumption: Like most work in this field, the bounds assume that training instances are independent and identically distributed (i.i.d.). Extending these to non-i.i.d. settings (like time-series or graphs) remains an open challenge.
  • The "SCO" Counterexample: The authors acknowledge that their current bounds do not yet overcome certain specific counterexamples in Stochastic Convex Optimization (SCO) where information-theoretic measures can fail to vanish even when the true error does.
  • Trajectory Information: A promising future direction is to incorporate the "trajectory" of the optimizer (e.g., the path SGD takes) into these loss-based bounds to see if they can be tightened even further.

Summary updated

BibTeX
@inproceedings{wang2023tighter,
  author = {Ziqiao Wang and Yongyi Mao},
  title = {{Tighter Information-Theoretic Generalization Bounds from Supersamples}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=tpPRPOiqhx},
}
Figure