arXiv:2610.21376cs.LGOct 2026

Manuscript Offprint

arXiv:2610.21376

Does Compression Imply Generalization? A Minimum Description Length Perspective

Lincen Yang, Jiayang Shi, Nan Pu, Daniël M. Pelt, Matthijs van Leeuwen, Zhong Li, Shujian Yu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

A central question in modern learning theory is what notion of compression, if any, explains why over-parameterized neural networks generalize. Existing answers measure complexity at different levels, ranging from weights to representations; however, estimating the associated quantities either requires held-out data in principle or relies on the challenging (ultra) high-dimensional mutual information estimation. To overcome these challenges, we approach the question through the minimum description length (MDL) principle, and specifically, we propose the prequential regret as a complementary signal that is computable from the training trajectory alone. We establish that, in the (nearly) interpolating regime, the expected prequential regret upper-bounds the description length of the trained parameter under the algorithm-induced distribution, and that this description length translates into a high-probability generalization bound in the PAC-MDL setting. Along the way, we show that the encoder-complexity correction recently added to the algorithm-level information bottleneck (IB) is upper-bounded by an MDL parameter description length, bringing together the two views of compression from MDL and IB. Empirically, the prequential regret tracks the generalization error on CIFAR-10 and CIFAR-100, with Pearson correlations exceeding 0.9.

1 Introduction

A fundamental question in statistical learning theory is why over-parameterized models generalize to unseen data, despite having enough capacity to memorize their training sets [45, 6]. Classical theory measures complexity at the level of the model class, through quantities such as VC dimension [41], Rademacher complexity [3], or norm-based capacity [4]. By contrast, a modern line of work shifts attention to what the learned model actually retains from the training data [10, 33, 42]. The complexity of the learned model is then characterized through information-theoretic quantities, and the central question becomes how to formalize and measure this complexity.

Three mainstream approaches make this complexity precise as a coding cost. First, PAC-Bayes [28, 15] bounds generalization by DKL(Q∥π)D_{\mathrm{KL}}(Q\|\pi) between a posterior Q over learned models and a prior π\pi, which by the bits-back argument [23, 24] is the code length of transmitting a sample from Q induced

*Corresponding authors: Zhong Li (z.li@liacs.leidenuniv.nl) and Shujian Yu (yusj9011@gmail.com).

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

by π\pi [16]. Second, the information-theoretic line [33, 42] replaces the prior with the data-marginal and bounds generalization by I(S;W)I(S; W), measuring how much information the weights W retain about the training set S. Since I(S;W)I(S; W) can be infinite for deterministic algorithms, the supersample/CMI variants [38, 19, 20] introduce a pooled sample Z~\tilde{Z} of 2n points together with a uniform selector U that assigns half to training and half to a ‘ghost’ test set, and bound generalization by I(W;U∣Z~)I(W; U \mid \tilde{Z}), capturing how much the weights leak about the train/test assignment given the pool. Third, the information bottleneck (IB) [40, 39, 37] asks how much the internal representations Z retain about X, with I(X;Z)I(X; Z) or I(X;Z∣Y)I(X; Z \mid Y) [40] as the coding cost of the representation. Recent work observes that vanilla IB implicitly assumes a fixed encoder and can fail when the encoder, i.e., the map from an input to its internal representation, is itself learned from data [18]; Kawaguchi et al. [25] hence addresses this by extending IB to the algorithm level, adding an encoder-complexity term that penalizes how much the trained encoder depends on the training set.

While these three lines capture different aspects of compression, they have the following shortcomings when we want a compression signal directly tied to fixed algorithms for training networks. On the conceptual side, what is being compressed is different across the literature: PAC-Bayes and the I(S;W)I(S; W) line compress at the level of weights, while IB compresses at the level of representations, and the two notions have evolved separately, leaving it unclear whether they are facets of one underlying property or distinct phenomena that share a name. Further, even granting a notion of compression, whether Occam-style reasoning survives for over-parameterized neural networks is itself debated [45, 36, 30].

On the practical side, the existing complexity measures are hard to estimate or evaluate in deep learning regimes. Specifically, IB and I(S;W)I(S; W) require estimating mutual information for ultra-high-dimensional feature vectors X or weight parameters W, the supersample/CMI variant requires a held-out twin sample, and PAC-Bayes requires a prior that captures the complex dependency among parameters. Thus, a complementary signal computable from the training set, with no extra data and no high-dimensional MI estimation, would shed light on generalization from the inside of training.

This motivates us to consider quantifying the model complexity from the alternative perspective of the minimum description length (MDL) [32, 16, 17], which provides the tools to link the complexity of a model via the description length (in bits) needed to encode the model itself in a lossless manner. Specifically, to resolve the aforementioned shortcomings, we propose to use the prequential coding regret (defined in Section 2) as an operational generalization bound, together with both theoretical justifications and empirical validations.

Contributions. We summarize our main contributions as follows.

• We connect MDL parameter compression to the algorithm-level information bottleneck, showing that the encoder-complexity correction added to obtain the first rigorous IB-based generalization bound is upper-bounded by an MDL parameter description length, which relates the two views of compression from IB and MDL (Section 3).

• We prove that, in the (nearly) interpolating regime, the expected prequential coding regret upper-bounds the description length of the trained parameter under the algorithm-induced distribution over parameters given the data (Section 4).

• We further show that this description length translates into a generalization bound in the PAC-MDL setting, with the algorithm-dependent content carried entirely by the prequential regret. We also empirically demonstrate that the regret tracks the generalization gap on CIFAR-10 and CIFAR-100 with Pearson correlations of 0.9 or higher (Sections 5 and 6).

Related work. Although MDL was incorporated into neural networks as early as the 1990s [23], the MDL-based model complexity of neural networks and its connection to generalization remain understudied, with a few exceptions as follows. First, the PAC-MDL bound [8] connects the description length of a model to its generalization, yet, as in the PAC-Bayesian framework, leaves open how to quantify this description length. Second, Blier and Ollivier [7] empirically demonstrated that the prequential code can be used to effectively compress the data and the neural network together, and argued that the description length of the trained neural network was ‘contained’ in the total code length; however, quantifying the description length of the model itself remains unclear. Third, recent theoretical work connects MDL with generalization bounds [34, 35], but the “MDL” there is defined as an expected KL divergence between the posterior of the latent representation and a symmetric conditional prior; while conceptually related, this does not directly measure the description length.

of the model. Fourth, the excess description length [14], defined as the prequential code length minus the negative log-likelihood on a test set, is conceptually close to the prequential regret but, by depending on the test set, does not measure model complexity from the training side alone.

Organization. The remainder of the paper is organized as follows. Section 2 introduces the MDL principle and the prequential code, from which the prequential regret is defined. Section 3 reviews the recent correction to the information bottleneck and connects it to MDL, linking the two notions of compression. Section 4 makes precise what the complexity of a trained network means and proves that it is bounded by the prequential regret, a quantity that can be computed from the training run alone. Section 5 shows that this complexity leads to generalization guarantees, and Section 6 tests empirically whether the regret tracks the generalization gap.

References (38)