Prediction Under Imperfect Compression: A Theory of Approximate MDL

Qian Li, Xinyu Mao, Shang-Hua Teng, Guangxu YangNeurIPS 2026

TL;DR

Occam’s razor tells us the simplest explanation is best, and Minimum Description Length (MDL) turns that philosophy into math: compress your model and your data together, and you get rock-solid prediction guarantees. The catch? Classical MDL assumes perfect compression, whereas real-world machine learning relies on messy, approximate optimization. This paper maps out the exact mathematical boundary of where "good enough" compression still guarantees reliable predictions—and where things catastrophically break down.

What Problem Does This Paper Address?

Imagine trying to predict the next token in an infinite sequence. The Minimum Description Length (MDL) principle says you should pick a model that minimizes a two-part score: the bits needed to describe the model itself, plus the bits needed to encode the observed data using that model: $L(\text{model}) + L(\text{data} \mid \text{model})$.

Classical theory gives us a remarkable gift: if you find the exact minimum at every step, your cumulative squared prediction error over an infinite timeline stays finite. Since the total error is finite, your step-by-step prediction error must eventually shrink to zero. You are guaranteed to learn the true data-generating environment.

Here is the rub: in practice—think training neural networks—finding the global minimum is computationally intractable. As AI pioneer Marvin Minsky once noted about algorithmic probability, it is a beautiful theory that requires "an infinite amount of work" to calculate, meaning we desperately need a theory of practical approximations. What happens to MDL’s prediction guarantees when our optimizer is imperfect? And does penalizing model complexity more heavily (multiplying $L(\text{model})$ by a regularization weight $\lambda$) rescue sloppy optimization?

Methods

The authors stick to the standard online, realizable sequential prediction setting: data comes from a true probability distribution $\mu$ living inside a countable family of models $\mathcal{M}$ (including the ultimate stress test: the universal class $\mathcal{M}_U$ of all Turing-estimable probability measures weighted by Kolmogorov complexity).

Instead of assuming the learner finds the exact best model at time $t$, the authors introduce two distinct flavors of optimization imperfection into the regularized MDL objective $\lambda L(\text{model}) + L(\text{data} \mid \text{model})$:

  1. Additive Approximation: The selected model’s compression score is within a fixed constant slack $C \ge 0$ bits of the true optimum.
  2. Multiplicative Approximation: The selected model’s score is within a factor of $(1 + \varepsilon)$ of the true optimum.

Using likelihood-ratio bounds, stopping-time arguments, and carefully constructed adversarial environments (like fair coins vs. memorization models), they test whether cumulative expected squared error remains finite across all combinations of approximation types and regularization strengths $\lambda > 0$.

Datasets

Not discussed in the paper. (This is a purely theoretical work in algorithmic information theory and mathematical learning theory.)

Key Insights and Ideas

  • Additive slack is safe; multiplicative slack is fatal. Why? Because in stochastic environments (like flipping a fair coin), the optimal description length of the data grows linearly with time $t$. An additive slack $C$ stays constant, so the growing data eventually washes out the $C$-bit error. A multiplicative slack of $\varepsilon \cdot \text{OPT}$, however, gives the optimizer a growing error budget over time, allowing slightly wrong, biased models to masquerade as "good enough" forever.
  • Regularization has a razor-sharp phase transition at $\lambda = 1$. Standard MDL weights model bits and data bits equally ($\lambda = 1$). If you under-regularize even slightly ($0 < \lambda < 1$), an approximate optimizer can cheat by memorizing the observed data directly inside the model description—a pathological pointwise overfitting that ruins future predictions.
  • Stronger regularization softens optimization sloppiness. When $\lambda > 1$, penalizing complex models actually shrinks the penalty you pay for having an imperfect, $C$-slack optimizer, scaling the error bound exponentially down from $2^C$ to $2^{C/\lambda}$.

Key Results

Summary of prediction guarantees across exact, additive, and multiplicative MDL settings.

Summary of prediction guarantees across exact, additive, and multiplicative MDL settings.
  • Upper Bound for Additive Slack: When $\lambda \ge 1$, any predictor with additive slack $C$ achieves a finite cumulative expected squared error bounded by $16 K_{\text{PH}} \lambda 2^{C/\lambda} w_\mu^{-1}$ (where $w_\mu$ is the prior weight on the true model, and $K_{\text{PH}} = 21$ is a classical MDL constant). For standard MDL ($\lambda = 1$), you pay at most a $16 \cdot 2^C$ multiplier over exact MDL.
  • Closing an Open Gap: Setting $C = 0$ proves that exact MDL achieves finite cumulative error for all $\lambda \ge 1$, resolving a previously open theoretical gap for the range $\lambda \in (1, 2]$.
  • Tightness: A nearly matching lower bound proves the $2^{C/\lambda}$ dependence isn't an artifact of loose math—it is genuinely how approximate compression behaves in the worst case.
  • Failure Regimes: When $0 < \lambda < 1$ under additive slack, expected squared error can stay stuck at $1/2$ at every single step, yielding $+\infty$ cumulative error. Under $(1+\varepsilon)$-multiplicative approximation, cumulative error hits $+\infty$ across all $\lambda > 0$.

Limitations and Future Work

The authors are upfront about the main catch: analyzing optimization slack doesn't magically make uncomputable things computable. In the universal setting, Kolmogorov complexity is still uncomputable, and the paper characterizes what accuracy is needed without providing an algorithm to achieve it. Furthermore, the theory assumes realizability (the true data generator actually lives inside your model class) and passive observation.

Future directions include pairing these approximation guarantees with computationally restricted model classes (like time-bounded Kolmogorov complexity), extending the math to agnostic (misspecified) and interactive settings, and bridging the theory to modern LLMs—potentially using compression-optimization trade-offs to help explain neural scaling laws and why architectures like Transformers generalize so well.

Summary updated

Abstract

Minimum Description Length (MDL) is a framework for inductive inference and learning that formalizes Occam’s razor as a compression principle based on minimizing the total description length: $L(\mathrm{model})+L(\mathrm{data}\mid\mathrm{model})$. In sequential prediction, MDL selects, at each step, a model that minimizes this objective on the observed prefix and uses it to predict the next outcome. Classical MDL theory shows that exact optimization yields a strong prediction guarantee: \emph{the cumulative expected squared prediction error is finite}. In practice, however, machine-learning methods often rely on approximate optimization. To bridge this gap, we address the following fundamental question: \emph{Under what conditions on approximation and regularization does MDL continue to guarantee reliable sequential prediction?} Our work characterizes when approximate MDL retains this finite-error guarantee, revealing a sharp distinction between additive and multiplicative approximations. For any additive approximation with slack $C\geq 0$, we prove that the cumulative expected squared prediction error is at most $16\cdot 2^C$ times the classical bound for exact MDL. More generally, for the \emph{balanced} MDL objective $\lambda \cdot L(\mathrm{model})+L(\mathrm{data}\mid\mathrm{model})$ with regularization parameter $\lambda$, we show that this factor generalizes to $16\lambda\cdot 2^{C/\lambda}$ when $\lambda\geq 1$. We complement these upper bounds with nearly matching lower bounds, showing that their dependence on $C$ is essentially tight. Thus, the prediction guarantee is robust to any fixed additive optimization slack. We further show that the model-complexity regularization threshold $\lambda=1$ is sharp: when $0<\lambda<1$, overfitting can produce infinite cumulative error over the universal class of estimable measures. Under multiplicative approximation, no regularization parameter $\lambda>0$ provides a finite-error guarantee over the universal class. Thus, additive control of the optimization gap is sufficient—and, in this sense, essential—for retaining a finite-error guarantee.
BibTeX
@inproceedings{li2026prediction,
  author = {Qian Li and Xinyu Mao and Shang-Hua Teng and Guangxu Yang},
  title = {{Prediction Under Imperfect Compression: A Theory of Approximate MDL}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=id5F8lsOvb},
}
Figure