Richard Hoekstra

Model-selection proposal

Scoring prediction against model description length

Companion to the Hodge-Epsilon Program
Richard Hoekstra · 2026

For a byte sequence x, an explicit two-part description of length L(model)+L(residual given model) saves 8|x| minus that total relative to an uncompressed byte representation. A sequential probabilistic predictor supplies an idealized residual length −Σ log₂ p(xₜ | x₁,…,xₜ₋₁), with each probability conditioned only on earlier symbols. An actual decodable representation must also account for headers, rounding, termination, and any side information unavailable to the receiver.

An accuracy reward of eight bits per correct prediction is a separate score. To decode exceptions to a deterministic prediction, the receiver needs their positions as well as the replacement symbols. A deterministic model assigning zero probability to an observed symbol has infinite logarithmic loss. A general trit carries at most log₂ 3 bits of information; 3 log₂ φ is a chosen penalty that requires an explicit code if interpreted as serialized size. An alphabet permutation preserves the score only with an equivariant predictor and a length-preserving representation. Composition savings also require disjoint information or an explicit joint code to avoid counting the same saved bits twice.

Cite this page

Richard Hoekstra. Scoring prediction against model description length. https://richardhoekstra.nl/papers/f-functionaal.html