Does Occam's razor claim that nature itself prefers simple laws, or is there a formal statistical reason to prefer simpler hypotheses that fit the training data — and when can counting parameters mislead you?
Foundations, Occam's razor
Level L4 Advanced. Length Medium. Nature Th Theoretical.
What's being asked
Whether you understand the combinatorial and PAC/MDL justification for Occam's razor rather than treating it as vague philosophy, plus its modern caveats.
Key idea
There are vastly fewer simple hypotheses than complex ones, so a simple hypothesis is far less likely to fit training points by pure luck; however, "simple" means low effective capacity or description length chosen before seeing the data, not raw parameter count.
Steps
- Reject the metaphysical myth: Occam's razor does not assert that real phenomena are simple, nor does it guarantee that a simpler model always beats a richer one; if the true rule is complex and data are plentiful, a model that is too simple underfits.
- Give the formal statistical argument (Blumer et al. / MDL, minimum description length): suppose hypotheses are encoded as prefix-free binary strings, so by Kraft's inequality at most hypotheses have description length bits. By the union bound, the chance that *any* hypothesis of length with true error at least accidentally fits examples is bounded by . Because is small for short descriptions, achieving a good training fit with a short description is unlikely to be a coincidence.
- State the key caveats: first, the simplicity ordering (encoding or prior) must be fixed *before* looking at the data — inventing a custom "1-parameter" model after peeking at the test set proves nothing. Second, modern over-parameterised neural networks, random forests, and kernel machines can have millions of parameters yet low effective complexity (small norm or flat minima), so parameter count alone is a poor proxy for simplicity.
Common mistakes
- Claiming "fewer parameters always generalises better": a smooth regularised 10,000-parameter spline or neural network can have far lower effective capacity than an unregularised 5-parameter lookup or high-frequency sinusoid .
- Misreading Occam's razor as preferring simplicity *even when training fit is poor*: Occam's razor compares hypotheses that explain the data *equally well*.
How long your answer should be
Half a page; 2–3 minutes: reject the metaphysical claim, give the counting argument, and state both caveats.
Read this
Previous in Foundations: For least-squares linear regression with hat matrix , how do you prove that the leave-one-out residual is , so that leave-one-out cross-validation needs only one fit?
Next in Foundations: Suppose you evaluate hyperparameter settings using a single 5-fold cross-validation loop and report the minimum CV error as your model's expected generalisation error. Why is this estimate optimistically biased, how does nested cross-validation eliminate this selection bias, and how many model fits does a -outer, -inner nested CV over hyperparameter candidates require for , and (including refitting)?