Atom-Level Supersamples: Information-Theoretic Generalization Bounds for Deterministic Learners on Dependent Data

Some of the tightest guarantees we have for deep networks come from conditional mutual information (CMI), which measures how much a trained model reveals about which examples it was trained on. These bounds can be computed for ordinary networks trained with plain SGD or Adam. They get around a basic obstacle: for a deterministic training procedure on continuous data, the classical mutual information between weights and data is infinite, so the classical bound says nothing. CMI avoids this by capping the information at one bit per training example. There is a catch, though. Every CMI result assumes the training examples are independent. The authors of the evaluated-CMI bounds name relaxing this as "a critical next step." Yet many real training sets are built from shared parts: ranking pairs reuse the same images, and node-classification samples come from the same graphs. For those datasets there is currently no computable, non-vacuous bound that applies to a deterministic network.

The fix proposed here is to stop drawing the "ghost" examples at the level of training examples and draw them at the level of the independent parts the examples are made from. Pairs, tuples, and nodes are functions of underlying independent units, which we call atoms (images, graphs, users). If the random swap between training and ghost copies is done per atom, the symmetry that CMI relies on is restored exactly. The bound then remains finite for deterministic algorithms. The price paid for dependence shows up as the fractional chromatic number of the dependency graph, the same quantity that governs the older chromatic bounds. The result is a chromatic generalization bound that, unlike its predecessors, does not require a randomized posterior.

Core Claim

Suppose each training example $Z_i = g_i(X_{A_i})$ is a fixed function of a subset $A_i$ of independent atoms $X_1,\dots,X_N$. Example $i$ might be the pair $(a,b)$ of images, or a node inside graph $a$. Two examples are dependent when their atom sets overlap, and this defines the dependency graph $G$ used by Usunier et al. and Ralaivola et al..

The construction has four steps. First, draw a supersample of $2N$ atoms $\tilde X = (X_{a,0}, X_{a,1})_{a=1}^N$ together with one fair coin $U_a$ per atom. Second, build the training set from the selected atom copies and train the model $W$. Third, for each example, record the vector $L_i$ of its losses under all $2^{|A_i|}$ ways of picking atom copies; that is four numbers for a pair. Fourth, compare the loss of the training version (the copies chosen by $U$) with that of the fully complementary version. The complementary version is built only from atom copies that training never touched, so it is a genuinely fresh test example.

Flipping any set of coins while swapping the matching atom copies leaves the joint distribution unchanged. The Donsker–Varadhan argument used in Steinke and Zakynthinou and Hellström and Durisi therefore goes through. For losses in $[0,1]$ it gives the samplewise bound

$$\left|\mathbb{E}[\mathrm{gen}]\right| \le \frac{1}{n}\sum_{i=1}^n \sqrt{2\, I(L_i; U_{A_i} \mid \tilde X)},$$

where $\mathrm{gen}$ is the gap between the risk on fresh examples and the training loss. Each information term is at most $|A_i|\ln 2$ nats, whatever the algorithm.

Coloring enters when the terms are aggregated. Examples in one color class of a fractional cover (weights $w_c$ on independent sets $V_c$, covering each vertex with total weight exactly one) use disjoint atoms. Their coins are therefore independent, and their loss differences form a sum of independent bounded terms. Cauchy–Schwarz over the cover then gives

$$\left|\mathbb{E}[\mathrm{gen}]\right| \le \sqrt{\frac{2\sum_c w_c\, I(L_{V_c}; U \mid \tilde X)}{n}} \le \sqrt{\frac{2\,\chi_f(G)\, I(W; U\mid \tilde X)}{n}},$$

with $\chi_f(G)$ the fractional chromatic number. With no edges, $\chi_f = 1$ and Steinke–Zakynthinou is recovered. In general, the effective sample size $n/\chi_f$ of chromatic PAC-Bayes appears without requiring a randomized posterior.

We are candid about which part is new and useful in practice. The atom-level supersample is the part that makes a computable bound valid under dependence. The coloring step contributes the interpretable rate and, as we argue below, is necessary for high-probability versions. It is probably not needed for the tightest expectation bound.

Research Program

The first aim is the theory stated above, written for general atom structures. It should also include the binary-KL and interpolation variants of Hellström and Durisi, which are what make evaluated-CMI bounds tight when training error is zero. We will state plainly what the construction does not cover. When all data hang off a single atom, as in transductive link prediction inside one graph, there is no fresh-atom test distribution and the bound says nothing. Dependence that decays with distance rather than through shared atoms, as in the graph-mixing processes of Abélès, Neu, and Clerico, is also outside scope. We treat both as limits, not as solved cases.

The second aim is a high-probability chromatic evaluated-CMI bound. Here concentration of a sum over dependent examples cannot be handled one example at a time, so the fractional cover is essential. This aim tests the tension raised by Frey, Zhu, and Gastpar. They prove that their block-sample expected bounds for deterministic algorithms cannot be turned into high-probability PAC-Bayes bounds decaying faster than $\mathcal{O}(1/\log n)$. We ask whether conditioning on scalar losses rather than weight posteriors escapes that barrier, and how $\chi_f$ enters the tail. A clean negative answer would also be publishable.

The third aim is empirical. We will estimate the atom-level information terms with a plug-in estimator over repeated trainings. For pairs, $U_{A_i}$ takes only four values, so this is cheap. The bounds will be evaluated on bipartite ranking over binary MNIST (4 vs 9), on node classification in the PATTERN benchmark, and on a synthetic pairwise Gaussian problem where exact values are available.

Baselines

The naive reference point is the observed train–test gap itself, measured on fresh pairs or nodes built from held-out atoms. Every bound is judged by how close it comes to this number from above. The first competitor to beat is the practitioner's shortcut: apply the standard evaluated-CMI bound of Hellström and Durisi with one coin per example, treating pairs or nodes as if independent. Its ghost pairs share images with training pairs, so it targets the wrong quantity. It will be run with exactly the same networks, supersample draws, and training-run budget as our bound. Beating it means that our bound upper-bounds the true fresh-atom gap in every configuration, while the example-level version falls below the true gap once pairs share atoms heavily.

The strongest existing method for dependent data is chromatic PAC-Bayes, from Ralaivola et al. and the kl-bound of Guan and Lu. Because it needs a randomized posterior, we will apply it to the trained network with Gaussian weight noise, choosing the noise scale on the same validation budget to minimize the bound. We will report both the bound and the accuracy cost of the noise. Beating it means a lower bound value on the deterministic network's actual error.

For PATTERN, we add the chromatic covering-number bound of Vasileiou, Stoll, and Morris, computed on the same MPNN and sampling splits. No reported bound value is found on Lacuna for chromatic PAC-Bayes or covering bounds on either benchmark. The only reported numbers are empirical gaps on PATTERN: 0.0625 for uniform sampling across graphs versus 1.552 for sampling concentrated in a few correlated graphs (Vasileiou et al.). Since 1.552 exceeds 1, that gap is presumably on an unbounded loss, so we will report 0-1 error gaps alongside.

Two ablations isolate the key ingredient. The first uses atom-level coins with the samplewise sum and no coloring. The second uses the colored aggregate. Comparing them shows whether coloring adds tightness in expectation. We expect that it does not, and the ablation checks this.

Why not just…?

Why not just add Gaussian noise to the weights and use existing chromatic PAC-Bayes? Noise makes the divergence finite, but weight-space terms grow with parameter count and training length. Hellström et al. contrast such bounds with loss-based ones that stay stable and near test error. The noise also changes the model being certified. This is a real competitor, and it is run as the main baseline. If its bound on a mildly perturbed network with nearly unchanged accuracy matches ours on MNIST ranking, our method's advantage reduces to convenience, and we will report that.

Why not just train on one independent set, such as one pair per image, and apply ordinary evaluated CMI? That is valid, but it certifies a different, weaker model trained on a fraction of the data. The comparison is direct: we will report the test error and bound of the independent-subset model next to the full-data model and its atom-level bound. The proposal only matters if the full-data model is better and still certified.

Why not just use the samplewise atom-level bound and forget coloring? For expected generalization this may be the right answer. The first display does not use coloring, and we expect it to be the tightest computable expectation bound. The chromatic aggregate earns its place in two places: the interpretable $n/\chi_f$ rate, and the high-probability bound, where independent-set structure is needed for concentration. The ablation above measures whether coloring changes the expectation numbers at all. We will not claim it does unless the data show it.

Why not just use uniform convergence on the dependency graph? Chromatic Rademacher and covering bounds (Usunier et al., Vasileiou et al.) measure worst-case class complexity. Hellström et al. document that such bounds fail for overparameterized networks that can fit random labels. The PATTERN comparison will show this numerically.

Proposed Experiments

We begin with a synthetic pairwise Gaussian problem: a deterministic least-squares scorer on pairs of Gaussian atoms, with truncated square loss. Here the information terms and the true gap can be computed nearly exactly, as in the controlled settings of Hellström et al. and the Gaussian mean example of Frey et al.. This checks the constants and confirms that the bound stays finite where full-data PAC-Bayes is infinite.

The main experiment is bipartite ranking on binary MNIST 4 vs 9 with a small convolutional scorer trained by Adam to interpolation, using 0-1 pairwise ranking error. We fix the number of training pairs and vary how many pairs each image joins (degree $k$ from 1 to 64). This sweeps $\chi_f$ while the nominal sample size stays constant. We use 10 supersamples with 20 coin draws each, matching the repeated-training protocol of evaluated CMI.

The first decisive check is coverage. The atom-level bound must lie above the fresh-image gap at every $k$, while the example-level bound should fall below it as $k$ grows. The second is tightness. The atom-level binary-KL bound should stay non-vacuous, below 0.5 on 0-1 error, and beat noise-perturbed chromatic PAC-Bayes at matched accuracy.

On PATTERN, we train a standard MPNN under the uniform and concentrated sampling strategies of Vasileiou et al., using graphs as atoms. The decisive check is whether our bound reproduces the ordering and approximate ratio of the two strategies' 0-1 gaps while the covering bound is vacuous for both.

Finally, for the high-probability aim, we will plot the empirical tail of the gap across supersamples against the proposed chromatic tail bound as $n$ grows. The question is whether the observed decay stays near $n^{-1/2}$ or slows toward the $1/\log n$ behavior that Frey et al.'s barrier would predict.