Abstract
We provide an information-theoretic framework for studying the generalization properties of machine learning algorithms. Our framework ties together existing approaches, including uniform convergence bounds and recent methods for adaptive data analysis. Specifically, we use Conditional Mutual Information (CMI) to quantify how well the input (i.e., the training data) can be recognized given the output (i.e., the trained model) of the learning algorithm. We show that bounds on CMI can be obtained from VC dimension, compression schemes, differential privacy, and other methods. We then show that bounded CMI implies various forms of generalization.
Introduction
The fundamental challenge in machine learning is generalization: ensuring that a model performs well on new, unseen data rather than simply memorizing its training set. Over the decades, researchers have developed several distinct mathematical frameworks to prove generalization, including Uniform Convergence (focusing on the simplicity of the model class, such as VC dimension), Stability (focusing on how much the model changes if a single training point is swapped, such as Differential Privacy), and Compression (focusing on whether a model can be represented using a small subset of training examples).
Despite their shared goal, these frameworks are largely incompatible. One cannot easily combine a VC dimension bound with a stability bound. Furthermore, previous attempts to use standard Mutual Information (MI) as a unifying bridge failed because MI can become infinite for continuous data distributions, even when generalization is easily achieved. This paper introduces Conditional Mutual Information (CMI) as a robust, unifying framework that resolves these issues.
The CMI Framework
The core of the CMI approach is a "supersample" thought experiment. Imagine drawing $2n$ independent samples from a distribution. For each pair of samples, we toss a coin ($S$) to decide which one enters the training set and which becomes a "ghost" sample (held out). The learning algorithm trains on the $n$ selected points to produce a model ($W$).
CMI measures how much information the model $W$ reveals about the coin flips $S$, given that we already know the full $2n$ supersample. Formally, this is expressed as $I(W; S | Z)$, where $Z$ is the supersample. Intuitively, if the model "remembers" exactly which points were used for training versus which were ghosts, the CMI is high (up to $n$ bits). If the model generalizes well, it should not be able to distinguish training points from ghost points easily, resulting in low CMI.
By conditioning on the supersample, CMI effectively "normalizes" the information of each data point to at most one bit. This prevents the "infinite information" problem that plagued previous mutual information approaches for continuous data.
CMI as a Unifying Metric
The authors demonstrate that CMI serves as a "common currency" for existing generalization theories. They prove that several classic bounds can be translated into CMI:
- VC Dimension: A model class with VC dimension $d$ implies a CMI of approximately $O(d \log n)$.
- Compression Schemes: If an algorithm can represent its model using only $k$ training examples, the CMI is $O(k \log n)$.
- Differential Privacy: An $\epsilon$-differentially private algorithm implies a CMI of at most $\epsilon n$.
Furthermore, CMI obeys the Data Processing Inequality. If a model with low CMI is used in further calculations without re-examining the training data, the CMI cannot increase. This makes the framework highly robust for multi-stage machine learning pipelines.
Key Results and Generalization Bounds
The paper provides concrete mathematical bounds relating CMI to generalization error. For any loss function bounded between 0 and 1, the difference between training error and true error (the generalization gap) is bounded by:
$$\text{gen}(A, \mu) \leq \sqrt{\frac{2}{n} \text{CMI}_D(A)}$$
Beyond simple loss functions, the authors extend these bounds to more complex, non-linear statistics such as the Area Under the ROC Curve (AUROC). This demonstrates that CMI can bound the generalization of ranking metrics that standard theories often struggle to address. Additionally, they prove that Total Variation (TV) stability—a weaker form of stability than differential privacy—is sufficient to bound CMI, providing a new path for proving generalization in stable algorithms.
Limitations and Future Work
While CMI provides a powerful unification, it currently focuses on expected generalization error. Unlike uniform convergence, CMI does not naturally yield "high probability" guarantees (e.g., "this model generalizes with 99.9% certainty") as easily. The authors suggest that exploring "max-information" or Rényi entropy could address this in the future.
Additionally, standard CMI does not compose perfectly when a dataset is reused multiple times for different analyses, unlike Differential Privacy. The authors propose a variant called "Universal CMI" (uCMI) as a potential solution, though it remains an area for further research. Finally, a logarithmic gap ($\log n$) remains in the VC dimension bound; the authors conjecture this may be removable, which would further tighten the CMI framework.
Summary updated