Reported experiment
Depth mixtures in a byte predictor
A predictor that uses the true mixture components and weights reproduces that mixture. In Proof/PPM/Bayes.lean, the finite-context comparison with an alternative predictor assumes pointwise nonnegative divergence for the comparator. It does not derive a particular corpus predictor’s escape weights. The empirical script uses an equally weighted mixture of add-0.01-smoothed trie probabilities. Its scoring loop contains neither posterior escape estimation nor PPM exclusion.
The manuscript reports 1.66 bpb after training the depth 2–10 ensemble on ten million bytes and 1.60 after fifty million. The code scores the final 50,000 bytes of enwik8, omitting the first ten positions for that ensemble. These are held-out log scores. The count dictionaries are fitted state, even without gradient training. The table gives a 0.37 bpb change from depths 2–6 to 2–10 at ten million bytes (2.03−1.66). It provides no lower bound on other predictors trained on the same data.
Reported held-out scores in bits per byte
| Corpus size | D∈{2..6} | D∈{2..8} | D∈{2..10} |
|---|---|---|---|
| 10 M | 2.03 bpb | 1.78 bpb | 1.66 bpb |
| 20 M | 2.00 bpb | 1.74 bpb | 1.63 bpb |
| 50 M | 1.96 bpb | 1.70 bpb | 1.60 bpb |
April manuscript with correction (HTML) · Annotated manuscript (PDF)
Cite this page
Richard Hoekstra. Depth mixtures in a byte predictor. https://richardhoekstra.nl/papers/ppm-bayes.html