Abstract
The Minimum Description Length (MDL) principle is a cornerstone of inductive inference, often viewed as the mathematical implementation of Occam’s Razor. While its properties in offline model selection are well-documented, its behavior in online prediction—where observations arrive sequentially and the learner updates its state at each step—is more complex. This paper provides a rigorous asymptotic analysis of two-part MDL for online prediction within countable model classes. We identify two primary variants, static and dynamic MDL, and prove that both are consistent predictors, meaning they eventually converge to the true distribution. However, we also demonstrate that MDL’s convergence rate is exponentially slower than that of Bayesian mixture predictors, a gap we prove is fundamentally unavoidable through sharp loss bounds.
Introduction
In machine learning, the Minimum Description Length (MDL) principle suggests that the best explanation for a set of data is the one that permits the shortest compression of that data. In the "two-part" MDL framework, this involves minimizing the sum of the model's complexity (the length of the model's description) and the length of the data encoded using that model.
While MDL is a staple for offline tasks, Jan Poland and Marcus Hutter investigate its performance in an online setting. In this framework, a predictor must provide a probability distribution for the next observation based on the history seen so far. The central question is whether an MDL-based learner will eventually "learn" the true data-generating process if that process is contained within its model class.
The Online MDL Framework
The authors define three distinct ways to apply the two-part MDL principle to online sequence prediction:
- Static MDL: At each time step $t$, the learner identifies the model in the class that minimizes the two-part code length for the history observed so far. This model is then used to predict the next symbol.
- Dynamic MDL: This variant looks one step ahead. For each possible next symbol, it finds the model that would minimize the description length of the sequence including that symbol. These lengths are then converted into a predictive distribution.
- Hybrid MDL: A variation that simplifies the complexity term during the prediction step. The authors' analysis ultimately reveals this variant to be inferior to the others.
To compare these MDL predictors to the true distribution, the authors employ Solomonoff Normalization, turning MDL estimates into proper probability measures. This allows for the calculation of standard loss metrics like quadratic, Hellinger, and Kullback-Leibler (KL) losses.
Predictive Consistency and the Bayesian Gap
The primary contribution of the paper is the proof of predictive consistency. The authors demonstrate that under the sole assumption that the true data-generating distribution is contained within the countable model class, the MDL predictions will converge to the true values "almost surely." This holds not just for simple independent and identically distributed (i.i.d.) data, but for general non-i.i.d. processes.
However, the paper highlights a significant performance disparity between MDL and Bayesian methods. In Bayesian induction, the cumulative loss is bounded by the logarithm of the inverse prior weight ($-\ln w_\mu$). In contrast, the bounds for MDL are proportional to the inverse prior weight itself ($w_\mu^{-1}$).
Given that the prior weight $w_\mu$ is typically related to the complexity $K$ of a model (roughly $2^{-K}$), this means:
- Bayesian Loss: Scales linearly with complexity ($K$).
- MDL Loss: Scales exponentially with complexity ($2^K$).
This "Bayesian Gap" implies that in the worst-case scenario, an MDL learner may take exponentially longer than a Bayesian learner to achieve the same level of predictive accuracy.
Sharpness and Stabilization
One might wonder if these exponential bounds are merely pessimistic mathematical artifacts. The authors prove they are sharp by constructing synthetic adversarial environments, including simple Bernoulli (coin-flip) classes. These examples demonstrate that there are indeed cases where MDL is forced to make errors for a duration proportional to $2^K$, confirming that the efficiency gap is a fundamental characteristic of the two-part MDL principle in online settings.
Furthermore, the paper addresses the "flickering" problem, where an MDL estimator might oscillate between two or more models that provide similar description lengths. They establish conditions, such as "uniform stochasticity," under which the MDL estimator eventually stabilizes and settles on the correct model.
Conclusion and Implications
The results have broad implications for universal induction and algorithmic information theory. Because the proofs apply to any countable class of distributions (semimeasures), they extend to the theoretical limits of machine learning where the model class includes all computable programs.
While the paper confirms that MDL is a reliable (consistent) predictor, the exponential loss bounds serve as a warning for practical implementation. Without additional regularity conditions or more favorable data distributions (like i.i.d. settings), "raw" two-part MDL can be significantly less efficient than Bayesian approaches. Future research remains focused on identifying the specific environments where this gap closes and MDL matches the efficiency of Bayesian induction.
Summary updated