[Paper Review] Applying MDL to Learning Best Model Granularity
This paper applies the Minimum Description Length (MDL) principle—rooted in Kolmogorov complexity—to determine optimal model granularity in two distinct learning tasks: handwritten character recognition and robot arm modeling. By selecting the model that most compresses the data via a two-part code (model + data error), MDL identifies the best parameter granularity (e.g., sampling interval or hidden layer size), and in both experiments, the theoretically predicted optimal value matches the empirically best-performing setting.
The Minimum Description Length (MDL) principle is solidly based on a provably ideal method of inference using Kolmogorov complexity. We test how the theory behaves in practice on a general problem in model selection: that of learning the best model granularity. The performance of a model depends critically on the granularity, for example the choice of precision of the parameters. Too high precision generally involves modeling of accidental noise and too low precision may lead to confusion of models that should be distinguished. This precision is often determined ad hoc. In MDL the best model is the one that most compresses a two-part code of the data set: this embodies ``Occam's Razor.'' In two quite different experimental settings the theoretical value determined using MDL coincides with the best value found experimentally. In the first experiment the task is to recognize isolated handwritten characters in one subject's handwriting, irrespective of size and orientation. Based on a new modification of elastic matching, using multiple prototypes per character, the optimal prediction rate is predicted for the learned parameter (length of sampling interval) considered most likely by MDL, which is shown to coincide with the best value found experimentally. In the second experiment the task is to model a robot arm with two degrees of freedom using a three layer feed-forward neural network where we need to determine the number of nodes in the hidden layer giving best modeling performance. The optimal model (the one that extrapolizes best on unseen examples) is predicted for the number of nodes in the hidden layer considered most likely by MDL, which again is found to coincide with the best value found experimentally.
Motivation & Objective
- To bridge theoretical model selection using MDL and practical machine learning by testing its applicability to real-world problems.
- To determine the optimal model granularity—such as parameter precision or network architecture—without ad hoc tuning.
- To validate that MDL’s theoretical prediction of minimal description length corresponds to the best generalization performance in real experiments.
- To demonstrate that MDL can guide model design in supervised learning tasks involving discretization or structural choices.
Proposed method
- Uses the MDL principle to select models that minimize the total description length of the model and the data-to-model error.
- Applies Kolmogorov complexity as a theoretical foundation, interpreting minimal description length as a proxy for model simplicity and generalization.
- Employs a two-part coding scheme: one part describes the model parameters, the other describes the residual error between model and data.
- Uses algorithmic probability (universal distribution m) to assign prior probabilities based on Kolmogorov complexity, favoring simple models.
- In experiments, varies model granularity (e.g., sampling interval, number of hidden nodes) and selects the value minimizing total description length.
- Validates predictions by comparing MDL-optimized parameters against empirically determined optima in two distinct learning tasks.
Experimental results
Research questions
- RQ1Can the MDL principle reliably predict the optimal model granularity in real-world learning tasks?
- RQ2Does the theoretically optimal model granularity—defined by minimal description length—correspond to the best generalization performance in practice?
- RQ3How well does MDL perform in selecting the best sampling interval for handwritten character recognition?
- RQ4Can MDL be used to determine the optimal number of hidden nodes in a neural network for robot arm modeling?
Key findings
- In handwritten character recognition, the MDL-predicted sampling interval (granularity) matched the empirically optimal value, achieving the best prediction rate.
- For robot arm modeling with a three-layer neural network, the MDL-predicted number of hidden nodes matched the empirically optimal configuration for best extrapolation on unseen data.
- The theoretical MDL model selection consistently outperformed ad hoc parameter choices, demonstrating robustness across different domains.
- The results validate that MDL’s compression-based approach aligns with empirical performance, supporting its use as a principled method for model granularity selection.
- The study shows that MDL can be directly applied to real learning systems without requiring complex adaptation, even in non-trivial tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.