Minimum message length explained
Minimum message length (MML) is a Bayesian information-theoretic method for statistical model comparison and selection.[1] It provides a formal information theory restatement of Occam's Razor: even when models are equal in their measure of fit-accuracy to the observed data, the one generating the most concise explanation of data is more likely to be correct (where the explanation consists of the statement of the model, followed by the lossless encoding of the data using the stated model). MML was invented by Chris Wallace, first appearing in the seminal paper "An information measure for classification".[2] MML is intended not just as a theoretical construct, but as a technique that may be deployed in practice.[3] It differs from the related concept of Kolmogorov complexity in that it does not require use of a Turing-complete language to model data.[4]
Definition
Shannon's A Mathematical Theory of Communication (1948) states that in an optimal code, the message length (in binary) of an event
,
, where
has probability
, is given by
\operatorname{length}(E)=-log2(P(E))
.
Bayes's theorem states that the probability of a (variable) hypothesis
given fixed evidence
is proportional to
, which, by the definition of
conditional probability, is equal to
. We want the model (hypothesis) with the highest such
posterior probability. Suppose we encode a message which represents (describes) both model and data jointly. Since
\operatorname{length}(H\landE)=-log2(P(H\landE))
, the most probable model will have the shortest such message. The message breaks into two parts:
-log2(P(H\landE))=-log2(P(H))+-log2(P(E|H))
. The first part encodes the model itself. The second part contains information (e.g., values of parameters, or initial conditions, etc.) that, when processed by the model, outputs the observed data.
MML naturally and precisely trades model complexity for goodness of fit. A more complicated model takes longer to state (longer first part) but probably fits the data better (shorter second part). So, an MML metric won't choose a complicated model unless that model pays for itself.
Continuous-valued parameters
One reason why a model might be longer would be simply because its various parameters are stated to greater precision, thus requiring transmission of more digits. Much of the power of MML derives from its handling of how accurately to state parameters in a model, and a variety of approximations that make this feasible in practice. This makes it possible to usefully compare, say, a model with many parameters imprecisely stated against a model with fewer parameters more accurately stated.
Key features of MML
- MML can be used to compare models of different structure. For example, its earliest application was in finding mixture models with the optimal number of classes. Adding extra classes to a mixture model will always allow the data to be fitted to greater accuracy, but according to MML this must be weighed against the extra bits required to encode the parameters defining those classes.
- MML is a method of Bayesian model comparison. It gives every model a score.
- MML is scale-invariant and statistically invariant. Unlike many Bayesian selection methods, MML doesn't care if you change from measuring length to volume or from Cartesian co-ordinates to polar co-ordinates.
- MML is statistically consistent. For problems like the Dowe|Wallace|1997}}|Neyman-Scott (1948) problem or factor analysis where the amount of data per parameter is bounded above, MML can estimate all parameters with statistical consistency.
- MML accounts for the precision of measurement. It uses the Fisher information (in the Wallace-Freeman 1987 approximation, or other hyper-volumes in Wallace (posthumous)|2005}}|other approximations) to optimally discretize continuous parameters. Therefore the posterior is always a probability, not a probability density.
- MML has been in use since 1968. MML coding schemes have been developed for several distributions, and many kinds of machine learners including unsupervised classification, decision trees and graphs, DNA sequences, Bayesian networks, neural networks (one-layer only so far), image compression, image and function segmentation, etc.
See also
External links
Original Publication:
Books:
- Book: Wallace, C.S. . Chris Wallace (computer scientist)
. Chris Wallace (computer scientist) . Statistical and Inductive Inference by Minimum Message Length . Springer-Verlag . Information Science and Statistics . 978-0-387-23795-4 . May 2005 . 10.1007/0-387-27656-4 . CITEREFWallace (posthumous)2005.
- Book: Allison, L.. Coding Ockham's Razor. Springer. 978-3319764320. 2018. 10.1007/978-3-319-76433-7. 19136282., on implementing MML, and source-code.
Related Links:
- Links to all Chris Wallace's known publications.
- A searchable database of Chris Wallace's publications.
- Minimum Message Length and Kolmogorov Complexity. C.S.. Wallace. D.L.. Dowe. Computer Journal. 42. 4. 1999. 270–283. 10.1093/comjnl/42.4.270. 10.1.1.17.321.
- Special Issue on Kolmogorov Complexity. Computer Journal. 42. 4. 1999. .
- Dowe. D.L.. C.S.. Wallace. 1997. Resolving the Neyman-Scott Problem by Minimum Message Length. Computing Science and Statistics. 28. 28th Symposium on the interface, Sydney, Australia. 614–618.
- History of MML, CSW's last talk.
- Message Length as an Effective Ockham's Razor in Decision Tree Induction. S.. Needham. D.. Dowe. http://www.ai.mit.edu/conferences/aistats2001. Proc. 8th International Workshop on AI and Statistics. 2001. 253–260. (Shows how Occam's razor works fine when interpreted as MML.)
- L.. Allison. Models for machine learning and data mining in functional programming. Journal of Functional Programming. 15. 1. 15–32. Jan 2005. 10.1017/S0956796804005301. 5218889. free. (MML, FP, and Haskell code).
- Book: J.W.. Comley. D.L.. Dowe. http://www.csse.monash.edu.au/~dld/David.Dowe.publications.html#ComleyDowe2005. Chapter 11: Minimum Message Length, MDL and Generalised Bayesian Networks with Asymmetric Languages. 265–294. P.. Grunwald. M. A.. Pitt. I. J.. Myung. Advances in Minimum Description Length: Theory and Applications. M.I.T. Press. April 2005. 978-0-262-07262-5.
- General Bayesian Networks and Asymmetric Languages. Comley. Joshua W.. D.L.. Dowe. Proc. 2nd Hawaii International Conference on Statistics and Related Fields. 5–8 June 2003., .pdf. Comley & Dowe (2003, 2005) are the first two papers on MML Bayesian nets using both discrete and continuous valued parameters.
- Book: Dowe, David L.. 2010. http://www.csse.monash.edu.au/~dld/Publications/2010/Dowe2010_MML_HandbookPhilSci_Vol7_HandbookPhilStat_MML+hybridBayesianNetworkGraphicalModels+StatisticalConsistency+InvarianceAndUniqueness_pp901-982.pdf. MML, hybrid Bayesian network graphical models, statistical consistency, invariance and uniqueness. Handbook of Philosophy of Science (Volume 7: Handbook of Philosophy of Statistics). Elsevier. 978-0-444-51862-0. 901–982.
- Minimum Message Length (MML), LA's MML introduction, (MML alt.).
- Minimum Message Length (MML), researchers and links.
- Web site: Another MML research website. https://web.archive.org/web/20170412041031/http://www.csse.monash.edu.au/mml/. 12 April 2017.
- Snob page for MML mixture modelling.
- MITECS
Chris Wallace wrote an entry on MML for MITECS. (Requires account)
Short introductory slides by Mikko Koivisto in Helsinki
Notes and References
- Book: Wallace, C. S. (Christopher S.), -2004.. Statistical and inductive inference by minimum message length. 2005. Springer. 9780387237954. New York. 62889003.
- Wallace. C. S.. Boulton. D. M.. 1968-08-01. An Information Measure for Classification. The Computer Journal. en. 11. 2. 185–194. 10.1093/comjnl/11.2.185. 0010-4620. free.
- Book: Allison, Lloyd.. Coding Ockham's Razor.. 2019. Springer. 978-3030094881. 1083131091.
- Wallace. C. S.. Dowe. D. L.. 1999-01-01. Minimum Message Length and Kolmogorov Complexity. The Computer Journal. en. 42. 4. 270–283. 10.1093/comjnl/42.4.270. 0010-4620.