Towards a Unified Information-Theoretic Framework for Generalization
Mahdi Haghifam, Gintare Karolina Dziugaite, Shay Moran, Daniel M. Roy
NeurIPS 2021
cs.IT, cs.LG, stat.ML
2021-11-10
Stable compression of size k has CMI at most 2k log 2, so a halfspace SVM has expected excess risk at most 2(d+1)/n, optimal up to a constant.
A generalization bound that sees only the capacity of the hypothesis class says nothing about how the algorithm uses its sample. Information-theoretic bounds measure dependence between the output and the training set instead. The original measure, IOMI, is the mutual information between those two objects. Distribution-free learnability of VC classes does not fit inside it.
Nachum et al. give a concrete obstruction. For every VC-dimension d and every n ≥ 2d², some class of VC-dimension d on a finite domain forces every proper and consistent algorithm to satisfy IOMI = Ω(d log log(|X|/d)) under a realizable distribution. Proper means the returned hypothesis lies in the class. Consistent means training error is almost surely zero. Livni and Moran add the same picture for one-dimensional thresholds: as the domain grows, IOMI of a good algorithm grows with it. On an unbounded domain, that information can be infinite.
Steinke and Zakynthinou (2020) condition on a supersample. Draw a 2×n array of i.i.d. labeled points and, in each column, keep one of the two points by an independent fair coin flip. CMI is the mutual information between the output and the coin string given the supersample, hence at most n log 2. One of their ERMs, for every VC class of dimension d, has CMI at most d log n + 2. Passed through their generalization inequality, the expected excess risk is worse than the optimal rate by a log n factor in some cases. A sample compression scheme of size k only reaches CMI ≤ k log(2n). They conjectured that some proper learner brings CMI down to O(d).
The paper asks which optimal or near-optimal excess-risk bounds can actually be read off from this quantity.
For a consistent algorithm the inequality collapses to a division: expected population risk is at most CMI / (n log 2). Constant CMI therefore gives expected excess risk O(1/n). Evaluated CMI, written eCMI, replaces the hypothesis by the array of its 0-1 losses on the supersample. Data processing yields eCMI ≤ CMI, and consistent algorithms then satisfy expected risk ≤ eCMI / n.
The logarithmic factor drops only for stable compression. A general scheme keeps k training points and reconstructs an empirical risk minimizer, with CMI ≤ k log(2n). That logarithm is tight: some schemes and distributions have expected risk Ω(k log n / n). Stability adds two constraints. The compression map ignores order, and deleting any training point outside the compression set does not change the classifier. A halfspace SVM meets the definition. It retains at most d+1 support vectors and returns the max-margin classifier on those points.
The proof compares entropies. The coins carry n log 2 bits. Flip the coin in one fixed column. Stability says the two training sets produce the same classifier with probability at least about 1 − 2k/n, so that coin still has about (1 − 2k/n) log 2 bits of entropy. Subtracting over all columns leaves CMI ≤ 2k log 2.
Proper learning is blocked by a sample-complexity lower bound. The strengthened claim asked for, on every VC class of dimension d, a proper algorithm whose CMI is bounded by a function of d alone and whose expected empirical risk is O(d/n). Bousquet et al. show a VC class of dimension d whose proper PAC sample complexity is at least on the order of (c̃/ε)(d Log(1/ε) + Log(1/δ)) for ε ∈ (0, 1/8) and δ ∈ (0, 1/100), where Log is at least 1. Constant CMI plus Markov's inequality would undercut that lower bound. The claim is false, and the same claim with eCMI in place of CMI is false too.
Star number s is a different hardness parameter: the longest realizable sample that stays realizable after any one label is flipped. VC-dimension is at most s. Publishing the version space, every hypothesis consistent with the training set, has conditional mutual information at most 2s log 2 once n ≥ s. An infinite star number allows some realizable distribution to push the same quantity to Ω(min{s, n}). The information stays bounded if and only if the star number is finite. An ERM that looks only at the version space inherits the bound 2s log 2.
Leave-one-out error translates directly. If n ≥ 2θ and the average loss from predicting one held-out point among n+1 samples is at most θ/(n+1), then eCMI ≤ θ log((n+1)/θ) + 2θ log 2. The deterministic one-inclusion graph of Haussler et al. is an improper rule, so its prediction need not lie in the class, and its leave-one-out loss averages at most d/(n+1).
Universality is an equivalence. For every distribution and every consistent algorithm, writing R for expected population risk, (2/3)R ≤ eCMI/n ≤ Hb(R) + R log 2, where Hb is binary entropy. R tends to 0 if and only if eCMI grows sublinearly in n.
For a consistent algorithm under a realizable distribution, expected population risk is expected excess risk.
| Object | Information | Expected risk |
| General compression of size k | CMI ≤ k log(2n), and the log n is tight | can be Ω(k log n / n) |
| Stable compression of size k, n ≥ k | CMI ≤ 2k log 2 | ≤ 2k/n |
| Halfspace SVM in R^d, n > d/2 | CMI ≤ 2(d+1) log 2 | ≤ 2(d+1)/n, optimal up to a constant |
| An existing ERM for VC-dimension d | CMI ≤ d log n + 2 | a log n worse than O(d/n) |
| Any algorithm with output in a class of VC-dimension dn | eCMI ≤ dn log(6n) almost surely | a log factor off optimal |
| Version space, star number s, n ≥ s | ≤ 2s log 2 | Ω(min{s, n}) if the star number is infinite |
| Some ERM, VC-dimension d, star number s | CMI = O(d log(s/d)) | O(1/n) |
| Deterministic one-inclusion graph, n ≥ 2d | eCMI ≤ d log((n+1)/d) + 2d log 2 | information bound loses a log n; direct analysis gives ≤ d/n |
| Randomized one-inclusion for point functions on R | eCMI = O(1) | O(1/n) |
The SVM row matches the optimal order. Dividing the CMI bound 2(d+1) log 2 by n log 2 produces 2(d+1)/n, and the known lower bound for linear classifiers shows the gap is only a constant. No function of VC-dimension alone can cap CMI for a proper learner on every VC class while also keeping expected empirical risk at O(d/n).
If expected risk equals θ/n, the right-hand side of the universality inequality only forces eCMI to O(θ log n). Using eCMI/n as a risk upper bound then leaves an extra log n.
The log n removal covers a whole family of algorithms. A halfspace SVM is the special case that stores at most d+1 support vectors.
Star number governs two theorems at once. Conditional mutual information of the version space is bounded if and only if the star number is finite, and Hanneke showed that finite star number is also equivalent to every ERM having an O(1/n) distribution-free bound on expected risk.
eCMI is a characterization. Risk tends to 0 if and only if eCMI is o(n). The paper contains no deep-learning experiments. Sample compression, star number, and leave-one-out error all become ways to bound the same information quantity and then apply the same division.
Finite star number does not give every ERM a bounded CMI. The proofs cover two families: ERMs that are a function of the version space, with CMI ≤ 2s log 2, and one specific ERM with CMI = O(d log(s/d)). Whether every ERM has bounded eCMI is open. Thresholds on the line have star number 2, yet encoding the coins into low-order bits of the output still drives CMI near its maximum, n log 2.
For VC classes with finite dual Helly number, another combinatorial parameter, it is open whether any proper algorithm has expected empirical risk O(1/n) and bounded CMI. That is the missing step toward the optimal proper rate of Bousquet et al.
The deterministic one-inclusion graph has eCMI of order d log n, so the information-theoretic risk bound is a log n worse than the d/n guarantee proved directly by Haussler et al. The conjecture says every VC class of dimension d has a randomized one-inclusion rule with eCMI = O(d). The only case proved here is point functions on the real line, where eCMI = O(1). Other consistent improper rules can be much worse: some have eCMI of order Ω(n).
Theorem 5.1 makes vanishing risk and vanishing eCMI/n equivalent. It does not make the rates match. Risk of order 1/n is compatible with an extra log n in eCMI. The tail bound P(risk ≥ ε) ≤ CMI / (n ε log 2) is also weak for PAC learning, because the failure probability δ enters only as 1/δ. CMI controls expectation. The theorems stay inside binary classification, realizability, and distribution-free analysis.