Reasoning About Generalization via Conditional Mutual Information

Thomas Steinke, Lydia Zakynthinou

Abstract

Generalization remains the central challenge of machine learning theory. While various frameworks—such as VC dimension, differential privacy, and compression schemes—offer insights into why models generalize, they have historically existed as a fragmented collection of techniques. This paper introduces Conditional Mutual Information (CMI) as a unifying information-theoretic framework. By measuring how much an algorithm's output reveals about the specific training samples selected from a larger "supersample," CMI successfully bounds generalization for combinatorial, stability-based, and information-theoretic methods under a single umbrella.

Introduction

Generalization—the ability of a model to perform well on unseen data—is often described as the "holy grail" of machine learning. Despite its importance, our theoretical understanding of it is split across several disparate domains. We have combinatorial methods like VC dimension, stability-based methods like Differential Privacy (DP), and information-theoretic approaches using Mutual Information (MI).

In "Reasoning About Generalization via Conditional Mutual Information," Thomas Steinke and Lydia Zakynthinou propose a new lens: Conditional Mutual Information (CMI). This framework shifts the perspective from "how much information the model carries" to "how well we can recognize the training data within the model," providing a robust, unified theory of generalization.

The Problem: Why Standard Mutual Information Fails

Information theory seems like the natural language for generalization. If a model "remembers" too much about its specific training set, it is likely to overfit. However, standard Mutual Information (MI) has a fatal flaw in continuous settings: it can be infinite. A single data point drawn from a continuous distribution technically contains infinite information, rendering standard MI bounds useless for many practical applications. Furthermore, standard MI fails to capture combinatorial properties like VC dimension, leaving a gap between information theory and classical learning theory.

The CMI Framework: The "Ghost Sample" Trick

To resolve the issues of standard MI, the authors introduce a symmetrization technique known as the "ghost sample" trick. The process works as follows:

  1. The Supersample: Imagine a pool of $2n$ data points drawn i.i.d. from a distribution.
  2. The Selection: For each pair of points in the pool, a fair coin flip ($S_i$) determines which point enters the training set and which remains a "ghost" (unused) sample.
  3. The Training: The algorithm $A$ trains on the selected $n$ points to produce a model $W$.
  4. The Metric: CMI is defined as the mutual information between the selection bits ($S$) and the model ($W$), conditioned on the entire supersample.

Essentially, CMI asks: "Given the pool of $2n$ possible points, how much does the final model tell me about which $n$ points were actually used for training?" By conditioning on the supersample, CMI "normalizes" the information content. Each data point can contribute at most one bit of information to the metric, regardless of the underlying distribution's complexity.

A Unified Theory of Generalization

The power of CMI lies in its ability to bound existing generalization measures, effectively acting as a "universal language" for the field:

  • VC Dimension ($d$): The authors prove that for any hypothesis class with VC dimension $d$, there exists an Empirical Risk Minimizer (ERM) such that $CMI \le d \log n + 2$.
  • Compression Schemes ($k$): If a model can be reconstructed from a subset of $k$ samples, then $CMI \le k \log(2n)$.
  • Differential Privacy ($\epsilon$): An $\epsilon$-differentially private algorithm implies a CMI bound of $CMI \le \epsilon n$.

By bridging these gaps, the authors derive a general bound (Theorem 1.2): for a loss function in $[0,1]$, the expected generalization error is bounded by $\sqrt{\frac{2}{n} \cdot \text{CMI}_D(A)}$.

Key Insights

Algorithm-Dependence

Unlike VC dimension, which is a property of a hypothesis class, CMI is a property of the algorithm. This is a crucial distinction; it explains why different training procedures (e.g., different optimizers) can result in varying generalization performance even when working within the same model architecture.

Sharper Bounds for Interpolation

Modern deep learning often involves "interpolation," where models achieve zero training error on overparameterized networks. The CMI framework provides quadratically sharper bounds for these "realizable" settings, making it highly relevant to contemporary neural network research.

Handling Non-linear Statistics

CMI is not limited to simple linear loss functions. The authors demonstrate its versatility by deriving the first information-theoretic generalization bound for the Area Under the ROC Curve (AUROC), a complex non-linear statistic.

Limitations and Future Work

While CMI represents a significant step toward a unified theory, several challenges remain:

  • Logarithmic Factors: The current VC dimension bound includes a $\log n$ factor. The authors suspect this is an analytical artifact and conjecture that CMI should be boundable by $O(d)$ directly.
  • High Probability Bounds: Most results are currently in expectation. Achieving the "exponentially small" failure probabilities found in uniform convergence theories remains an open goal.
  • Deep Learning Scalability: Estimating mutual information in high-dimensional spaces (like those of modern neural networks) is computationally difficult, making the direct empirical application of CMI bounds a challenge for future research.

Conclusion

By introducing Conditional Mutual Information, Steinke and Zakynthinou have provided a rigorous framework that harmonizes combinatorial geometry, stability, and information theory. CMI not only solves the technical hurdles of standard MI but also offers a more nuanced, algorithm-dependent understanding of why models generalize, particularly in the era of overparameterized machine learning.

Summary updated

BibTeX
@inproceedings{steinke2020reasoning,
  author = {Thomas Steinke and Lydia Zakynthinou},
  title = {{Reasoning About Generalization via Conditional Mutual Information}},
  booktitle = {Conference on Learning Theory},
  year = {2020},
  url = {https://openreview.net/forum?id=M_7KZcnFHW},
}
Figure