Manuscript Offprint
arXiv:2610.12987Forecasting Corpus-Sampling Disagreement in Masked Text Reconstruction
ABSTRACT
If a second text corpus were collected from the same population, how much would a predictor’s outputs change? We study this question for masked-text reconstruction using a smoothed predictor built from nearby token-pair counts and evaluated over the full 50,257-token GPT-2 vocabulary. Treating each source document as one observation, we derive a first-order formula for the expected disagreement between predictors fitted to two independent corpora. The formula accounts for variable document length, random context counts, and correlations across token offsets, and it can be evaluated from a separate reference corpus without access to either target corpus. On TinyStories, WikiText-103, and CNN/DailyMail, growing each corpus from 512 to 2,048 chunks of 64 tokens lowers disagreement by only 5–40%, far short of the 75% implied by 1/n scaling. The forecast tracks this slow decline, which we trace to smoothing of rarely seen contexts. Forecast accuracy depends less on how these correlations are modeled than on the size of the reference corpus: small references systematically underpredict disagreement. A source-split jackknife that uses only reference data reduces this calibration error by 57–59%. After this correction, a simpler smoothed-multinomial approximation is most accurate when the reference corpus is smaller than the target corpus, and a nonlinear source bootstrap is most accurate when it is larger. Finally, small masked diffusion language models trained on the same corpora show that the count-based forecasts partly identify which inputs are most sensitive to the corpus, but miss the neural models’ much faster decline in disagreement.
1 Introduction and Related Work
A text corpus reflects the particular stories, articles, and other sources that happened to be collected. A second collection from the same population will contain different examples and token frequencies, so a predictor built from it can change as well. How large should we expect that change to be? Answering this question would help us decide how much text to collect and judge how strongly a prediction depends on the chosen corpus. Average test error alone cannot answer it: similarly accurate predictors may disagree on the same input (Marx et al., 2020), and comparable validation performance can conceal differences in deployment behavior (D'Amour et al., 2022).
Code: https://github.com/learncsai/masked-diffusion-model-text-reconstruction
We study how corpus sampling affects predictions in a masked-text reconstruction problem. Our reconstructor predicts a hidden token by combining conditional token frequencies at nearby positions. Independent corpora A and B supply separate count tables, while the unigram baseline and combination weights are fixed using shared auxiliary data. We measure the observed disagreement as the mean squared distance between the two reconstructors' output vectors on identical masked inputs. Our forecast targets the expected value of this disagreement across independent draws of A and B at a specified corpus size. We compute the forecast from an independent reference corpus and assess it against the measured disagreement averaged over multiple A/B pairs. Because only the count tables differ between the two reconstructors, this comparison isolates variation due to corpus sampling. Separately, we measure relative MSE improvement over the shared unigram to assess reconstruction accuracy.
Two features of text make the calculation less straightforward than a standard inverse-sample-size argument. First, token-pair counts are dependent. An article can contribute several chunks, overlapping pairs share tokens, and counts at different offsets fluctuate together. Second, each conditional row is a ratio whose denominator, the number of times the context appears, is itself random. Our smoothing rule pulls rows with few observations strongly toward the unigram (Chen and Goodman, 1999), so a larger corpus does two things at once. It reduces sampling noise in the estimated frequencies, and it lets the predictor rely more heavily on those frequencies. The second effect partly offsets the first, which is why disagreement can fall much more slowly than 1/n.
Contributions. (1) We derive a first-order, source-level formula for expected disagreement (Proposition 1) that accounts for source length, random row totals, and cross-lag covariance. It enables forecasts from independent reference data without using the target A/B counts or outputs, and explains how smoothing can produce substantially slower decay than 1/n at finite corpus sizes. We call it the source law throughout the article.
(2) We show that correcting finite-reference error can matter more than retaining additional covariance detail. A source-split jackknife reduces small-reference error by 57–59% for both the source and smoothed multinomial forecasts. In our main experiments, the corrected multinomial law outperforms the source law with a small reference, while the corrected nonlinear source bootstrap is most accurate with a larger one. In simulations with known population values, the multinomial law does better partly because two of its errors cancel.
(3) We test the count-based forecasts against disagreement between small MDLMs trained on separate corpora. The forecasts partly identify the inputs on which the MDLMs disagree most. We also compare the directions in which their token scores change. Overall token frequencies predict these directions as well as the reconstructor does. With the number of training steps held fixed, MDLM disagreement falls much faster with corpus size than reconstructor disagreement. The forecasts therefore help identify inputs sensitive to corpus sampling, but do not fully explain the size or pattern of neural prediction changes.
Related work. Existing work studies corpus uncertainty through embedding stability, resampling, and covariance estimates for word representations (Antoniak and Mimno, 2018; Gries, 2022; Vallebueno et al., 2024). For word-frequency comparisons, Lijffijt et al. (2016) emphasize treating texts as independent observations while allowing dependence among words within a text. GloVe-V (Vallebueno et al., 2024) instead defines uncertainty over word co-occurrences rather than over the documents that produce them. Our multinomial law makes the analogous count-level assumption, whereas our source law treats complete sources as the sampling unit and retains dependence within each source. Influence functions measure how single training examples change a model's predictions (Koh and Liang, 2017) and Brunet et al. (2019) trace embedding bias back to individual documents. The infinitesimal jackknife linearizes a procedure with respect to observation weights (Jaeckel, 1972; Efron, 1982; Giordano et al., 2019). Wager et al. (2014) use jackknife methods to estimate how much a random forest's prediction at a fixed input varies across training samples, a target close to ours.
Datamodels learn how a model's predictions depend on which examples it is trained on, using outputs from models trained on many subsets of the same dataset (Ilyas et al., 2022). Our analytic forecast does not require training models on many subsets of the corpus: a first-order approximation gives an explicit variance formula for smoothed lag counts at a fixed chunk budget, and its inputs are estimated from an independent reference corpus. Treating a complete source as the sampling unit keeps its internal dependence and lets us separate source-length, row-normalization, and cross-lag contributions. We compare this formula with a smoothed multinomial approximation and a nonlinear source bootstrap. All three are computed from a finite reference corpus, so a forecast can fail in two ways. Its approximation to the sampling variation can be too crude, or the reference can estimate the required rows and covariances poorly.
In our experiments, the second problem is the bigger one. Both analytic laws (source law and multinomial) capture much of the slow, smoothing-driven decline in disagreement with corpus size, but both underpredict its level when the reference is small. Part of the gap comes from contexts the reference never sees, which contribute nothing to the forecast even when the new corpora contain them. We reduce this bias with a source-split jackknife (Quenouille, 1956), applied the same way to both laws. After correction, the multinomial law is still the better calibrated of the two. Exact population calculations explain this: even with no reference error, linearization makes the source formula overshoot the actual disagreement by 3–12% in our controlled experiment. The multinomial law gives smaller variance estimates that partly offset this overshoot. As the reference grows and estimation error shrinks, linearization error becomes a larger share of what remains. This fits our finding that a corrected bootstrap, which refits the smoothed rows on every resample instead of linearizing, gives the best forecasts when the reference is larger than the target.
We then ask whether these local statistics also explain variation in a trained neural denoiser. In image diffusion, Kadkhodaie et al. (2024) show that denoisers trained on non-overlapping datasets learn nearly the same score function when the datasets are sufficiently large. Zhang et al. (2024) study consistency of generated outputs across diffusion models under common initial noise and deterministic sampling. Wang et al. (2026) connect image-diffusion consistency to empirical means and covariances through a Gaussian linear denoiser and random matrix theory. That Gaussian analysis does not carry over directly to text, where tokens are categorical, corruption is by masking, and the predictor divides by random context counts. Table 7 in Appendix C.3 maps out the correspondence.
For text, Nguyen (2024) approximates transformer predictions using training-data n-gram statistics and relates approximation quality to prediction variability across training runs. That variability comes from different shuffles of a fixed corpus; our target is variation across independently sampled corpora. Our matched experiment with small masked diffusion language models (MDLMs) compares token-prediction vectors on identical masked inputs, and tests how far the count-based predictions carry over in magnitude, input ranking, and output direction.
Let have token IDs in . Each position is hidden with probability . The mask has hidden set , and contains the visible tokens and mask. For output vectors , define
This norm averages over hidden positions within a chunk, so every chunk receives equal weight. For one pair of corpora, define
Averaging also over independent corpus collections gives the population target . Here size counts number of chunks, and denotes equal sizes .
Reconstruction from lag counts. For offsets , let count context token followed by target at offset within the chunks of source . Both positions must be in the same chunk. Write
These are raw pair frequencies. With smoothing , the conditional row is
Here . Unseen contexts return . Let contain the offsets with an in-bounds visible token at . The reconstruction method is
Regularized least squares on auxiliary sources sets the weights once (Appendix B.4), leaving the count tables as the only quantities that vary between A and B. With no visible neighbor, the predictor returns p. For fixed masks and tables, its output is affine in visible one-hot tokens. Its dependence on sampled counts is nonlinear because each row is normalized. Because these scores can be negative, log-loss is undefined, so we use squared error.
Relative MSE improvement. For one-hot targets , define
(5)
Table 1. Source-disjoint data roles. Auxiliary quantities are shared by A and B and held fixed throughout.
| Role | Purpose |
|---|---|
| Auxiliary | Set the unigram and reconstruction weights. |
| Reference | Estimate count variation and forecast disagreement. |
| A and B | Supply two independent count tables for testing the forecast. |
| Evaluation | Supply the same masked inputs to both predictors. |
The denominator is positive in every case we explore, so positive relative improvement means lower MSE than the unigram. This metric uses the full output vector. We assess ranking separately with top-k accuracy (Appendix D). The unigram ignores context, so by construction it has zero disagreement and zero relative improvement.
3 Disagreement Laws and Reference Correction
A large corpus can contain many rare contexts, for which smoothing strongly affects how predictions vary across corpus samples. In the multinomial model below, the variance of a smoothed conditional row with observations is proportional to . Increasing its count from to reduces this variance by only 36%, compared with 75% under inverse-size scaling. So the forecast depends on how often each context is seen relative to . We first derive a source-level formula that retains dependence among counts, then compare it with a multinomial approximation to examine the roles of smoothing and covariance.
3.1 Source influence and the population target
Two independent corpora drawn by the same procedure at the same size give identically distributed predictors. Expanding their squared difference gives the exact identity
The remaining task is to approximate the variance of one predictor. Appendix A derives this identity and the first-order covariance expansion.
Let be source 's chunk contribution before terminal chunk-budget truncation, and let count pairs in that full contribution. Set and . At chunk budget , set and . The centered source count is
A longer source supplies more pairs but also uses more of the fixed chunk budget, which is why centering subtracts . When every source supplies one chunk, and this reduces to ordinary mean centering.
Let be (3) evaluated at counts . We expand around this fixed row, whose value generally differs from because normalization is nonlinear. Applying the quotient rule gives
The subtraction keeps fluctuations in the row total. The resulting output influence is
The vector represents the first-order change in the reconstructed output at position i induced by source s count fluctuation, adjusted for the fixed chunk budget.
Proposition 1 (First-order corpus reproducibility). Fix , and the shared unigram and auxiliary weights. Suppose full source contributions are iid, with , and for every row queried by the reconstructor. For two independent corpora with retained chunks and evaluation inputs independent of both,
as . The leading term is .
Appendix A proves the result, including truncation of the final source to meet the chunk budget. The finite-size forecast retains the smoothed denominators in (8), so it can decrease more slowly than 1/n while row counts remain comparable to .
3.2 Forecast from independent reference data
A reference has sources and chunks. Replace the source means by their empirical values and use and . Then
The forecast uses only reference and auxiliary quantities on the common evaluation inputs. The reference size determines how accurately we can estimate source moments and conditional rows, whereas the target size n sets the expected counts, the strength of smoothing, and the number of sources in each new corpus. Forecasting another n therefore requires recomputing these quantities from the same reference. The two sizes are free to differ, and Section 4 examines how their ratio affects calibration.
Source bootstrap estimates the same total variance by resampling whole reference sources and rebuilding the nonlinear rows. The analytic expression instead makes source and lag contributions explicit, without bootstrap Monte Carlo error. We compare both forecasts in Appendix B.2.
3.3 The smoothed multinomial approximation
We compare the source forecast with a multinomial model that retains smoothing but fixes row totals. For context at lag , fix and let count targets of type . Assume , where is the conditional target distribution. The smoothed row has covariance . For two independent corpora with the same row totals and independent rows across lags, the predicted disagreement at a masked position is
(12) where . Averaging over hidden positions and chunks gives the total forecast. We estimate with reference-smoothed rows and set by scaling reference row totals by (Appendix B.4).
The formula is exact under this model before substituting reference estimates. The source law accounts for random row totals and dependence from overlapping pairs, shared sources, and different lags, to first order. Both include smoothing, so both can predict a decline slower than 1/n. We compare how well each matches the level of disagreement and how it changes with corpus size.
3.4 Correcting finite-reference bias
The reference estimates both the conditional rows and their variation, so increasing its size can change the forecast even when A/B size stays fixed. We test a classical jackknife correction for this estimation error (Quenouille, 1956). Let denote a forecast from S reference sources. Split them randomly into two groups of sizes , , keeping each source's retained chunks together, and compute
We use the same target size n in all three components. The operation applies to any forecast computed from a reference. If the mean forecast has bias at fixed source count, (13) cancels its leading term (Appendix A). This justifies the correction when the bias expansion is regular; whether it still helps with sparse rows and chunk-budget stopping is an empirical question, which we test below.
4 Calibration and Corpus-Size Response
We evaluate TinyStories (Eldan and Li, 2023), WikiText-103 (Merity et al., 2017), and cased CNN/DailyMail 3.0.0 (Hermann et al., 2015; See et al., 2017) with the GPT-2 tokenizer (Radford et al., 2019). The shared settings are , , , , and auxiliary ridge 0.01. The calibration comparisons below use . On the grid of three corpora, three sizes, three mask rates, and two A/B pairs, the reconstructor improves on the unigram in all 54 combinations, with mean relative MSE improvements of 13.16%, 5.19%, and 3.95% in corpus order. Shuffling tokens within each chunk removes almost all of this gain (Appendix D), so the gain comes from local context.
4.1 Disagreement falls more slowly than 1/n
On seven independent pairs per corpus, increasing size from 512 to 2,048 chunks reduces disagreement by only 5 to 40%, compared with 75% under 1/n. The source-law forecast, recomputed at each size, tracks this slow decline more closely than 1/n in every corpus. A separate three-pair comparison at 4,096 and 8,192 chunks shows that the smoothed multinomial law also reproduces much of the slow decrease (Appendix B.5). So smoothing, not covariance structure, is the main reason disagreement falls slowly. The absolute level is harder to predict, since it also depends on random row totals, source dependence, and how well the reference estimates them.
4.2 Bias correction improves calibration
Our main calibration test uses 20 new A/B pairs and six separate reference banks per corpus. Each A/B corpus contains chunks, while each reference bank contains chunks. Smaller sizes are nested within each allocation. No source is shared between reference banks, between A/B corpora, or across data roles. Appendix B.1 gives the protocol and every tested condition. The primary comparison covers , where the reference is smaller than the target (A/B). For each method and reference bank, let denote the predicted disagreement and the arithmetic mean of the 20 observed A/B disagreements. We measure the absolute log error and average equally over banks, conditions, and corpora.
Table 2. Calibration on the twenty-pair, six-bank study. Lower mean absolute log error is better. The primary subset contains the three cells. The full grid contains all twelve combinations per corpus. Jackknife rows apply correction at every cell, without the restriction. Appendix B.2 gives definitions and uncertainty intervals.
| Forecast | Full grid | |
|---|---|---|
| Full source | 0.469 | 0.188 |
| Source jackknife | 0.203 | 0.103 |
| Multinomial | 0.205 | 0.115 |
| Multinomial jackknife | 0.085 | 0.061 |
| Source bootstrap | 0.433 | 0.191 |
| Bootstrap jackknife | 0.175 | 0.060 |
The source-split jackknife reduces the source forecast's error by 56.7%, from 0.469 to 0.203, bringing it close to the uncorrected multinomial error of 0.205. Applying the same correction to multinomial reduces its error by 58.5% to 0.085 (Table 2). The correction helps both laws without changing their order, and the simpler multinomial law remains the better calibrated of the two. We also evaluate the correction on six fresh A/B pairs and three new reference banks per corpus, saving forecasts before scoring. At , , the same split jackknife reduces multinomial error from 0.187 to 0.077 (Appendix B.3).
Figure 1 shows the effect of jackknife correction on the analytic source forecast. At , correction moves the ratios from 0.83–0.87 to 0.97–1.01. With , the corrected ratios are still only 0.65–0.74. So correction reduces, but does not remove, the shortfall caused by a small reference. For the analytic source law, we recommend correction only when : correcting at raises source error from 0.052 to 0.095.
The nonlinear source bootstrap behaves differently. At , its corrected error is 0.175, compared with 0.085 for corrected multinomial. At , it improves from 0.072 to 0.013 after correction, beating corrected multinomial's 0.049. On the separate confirmation pairs at , , the corrected bootstrap again has lower error, 0.020 versus 0.049 (Appendix B.3). We therefore favor corrected multinomial with a small reference and corrected source bootstrap with a larger one.
An obvious alternative is to scale an uncorrected forecast by a constant, and it works well (Appendix B.3). We also test whether a fitted scale factor transfers to fresh sources. We choose a single multiplier to minimize the multinomial forecast's mean absolute log error over the twenty-pair calibration grid. Applying the resulting factor, 1.118, unchanged to the fresh grid

Figure 1. Analytic forecast calibration at , with 64 tokens per chunk and . Each point divides the six-bank mean forecast by the arithmetic mean disagreement of 20 A/B pairs. Bars show 95% crossed bootstrap intervals over banks and pairs, conditional on auxiliary and evaluation data. The dotted line marks exact calibration, and lines connect the three tested reference sizes. Stars use an uncorrected 8,192-chunk reference.
gives error 0.045, compared with 0.060 for multinomial jackknife (Appendix B.3). But fitting this factor needs observed A/B disagreements, while the jackknife needs only the reference bank.
Sensitivity to smoothing. The calibration ranking changes with the smoothing strength (Table 3). Corrected multinomial has lower error at and 5, but at corrected source has lower error on TinyStories and WikiText, with the two methods nearly tied on CNN/DailyMail.
Table 3. Effect of on calibration for small references (). Both forecasts use source-split jackknife correction. Entries are mean absolute log errors () on the same 20 pairs and six reference banks per corpus, with weights fixed at their values. Appendix E.3 gives the protocol and interpretation.
| TinyStories | WikiText | CNN/DailyMail | ||||
|---|---|---|---|---|---|---|
| Source | Mult. | Source | Mult. | Source | Mult. | |
| 1 | 0.525 | 0.220 | 0.803 | 0.307 | 0.677 | 0.260 |
| 5 | 0.196 | 0.104 | 0.247 | 0.107 | 0.167 | 0.043 |
| 20 | 0.052 | 0.108 | 0.057 | 0.114 | 0.024 | 0.024 |
4.3 Where does the remaining error come from?
To find where the remaining shortfall comes from, we use synthetic populations whose mean counts are known exactly (Appendix E.1). A context that never appears in the reference contributes nothing to the forecast, however often the A/B corpora contain it. With four chunks per source (, ), these unseen rows and their cross terms account for 32.6 percentage points of underprediction. Errors in rows the reference did observe add another 38.6, so more than half of the shortfall lies in rows that a bias correction can reach. When we replace every reference estimate with its exact population value (Appendix E.2), the multinomial law is still closer to the actual disagreement in all six controls. Linearization makes the source law overshoot, and the multinomial law's smaller variance happens to cancel part of that. These are simulations, so real text may show different error sizes.
5 Comparison with Trained MDLMs
We next test whether the count-based forecasts say anything about neural models trained on the same corpora. We compare MDLM and reconstructor disagreement in overall size, in which inputs disagree most, and in the direction of the output differences.
We train MDLMs (Sahoo et al., 2024) with two Transformer blocks of width 96 on three A/B pairs at 512, 1,024, and 2,048 chunks. A and B share the initialization, training seed, masking streams, and number of updates, so only the training corpus differs. We score both at 8,000 and 12,000 updates on the common 128 chunks with q = 0.5. Appendix C gives the full protocol and seed controls.
Both models see the same corpora, masked inputs, and vocabulary, and we score both with the squared-error measures of Section 2, applied to the full output vector. MDLM is trained with its usual likelihood loss. Two differences remain: It reads every visible position in the 64-token chunk and outputs probabilities, while the reconstructor reads only the four nearest offsets and outputs affine scores that can be negative.
Magnitude of disagreements. From 512 to 2,048 chunks, MDLM disagreement falls by 72.9%, 81.5%, and 79.9% at 12,000 updates. The reconstructor falls by 38.9%, 4.9%, and 11.4% on the same pairs. Thus the neural models have a much steeper size response (Figure 4), and the ordering of absolute disagreement across corpora also changes at 2,048 chunks (Table 4).
MDLM improves reconstruction more on TinyStories, but the reconstructor performs better on WikiText and CNN/DailyMail. The news models are the most stable neural models, yet they improve MSE over the unigram by only 1.21%. Training longer increased disagreement in all nine conditions.
Which inputs disagree most. Although the magnitudes differ, the count forecasts partly predict which chunks the neural models disagree on most. Across the 128 evaluation chunks at n = 2048 and 12,000 updates, the Spearman correlation between the source-law forecast and MDLM disagreement averages 0.48 on TinyStories, 0.38 on WikiText, and 0.18 on news. The multinomial law gives nearly identical values.
Direction of the output differences. We next check whether the two models change in the same directions. We project output differences onto 64 fixed random vocabulary directions. On half of the evaluation sources, we find the four directions in which the reconstructor's A/B differences are largest. On the other half, we measure how much of MDLM's difference energy falls in them. The share is 39.4% on TinyStories, 56.0% on WikiText, and 52.2% on news, against 6.25% for random directions. But the leading directions of the unigram covariance diag(p) - pp capture slightly more (41.0%, 58.9%, and 58.2%). So token frequencies alone explain the overlap (Appendix C.2) and Appendix D compares top-k accuracy.
6 Discussion and Limitations
Knowing how much a predictor depends on its training corpus helps judge how reproducible its predictions are and how much more data to collect. For a smoothed count-based reconstructor, we show that a separate reference sample can forecast disagreement between predictors fitted to new corpora. Our source-level formula connects this variation to source length, random row totals, and covariance across lags. Retaining smoothing also explains why collecting more text can reduce disagreement more slowly than 1/n at the corpus sizes studied.
Table 4. Reconstruction at chunks and mask rate for the local reconstructor (L) and MDLM after 12,000 updates (N). For each corpus, both methods are fitted to the A and B corpora of three independent pairs and evaluated on the same 128 masked chunks. is the disagreement between the A and B fits, averaged over the three pairs; lower means more stable. RelImprove is the MSE improvement over the unigram, averaged over the six fitted models; higher is better.
| Corpus | RelImprove (%) ↑ | |||
|---|---|---|---|---|
| L | N | L | N | |
| TinyStories | 0.0223 | 0.0504 | 14.34 | 20.82 |
| WikiText-103 | 0.0308 | 0.0344 | 5.45 | 3.16 |
| CNN/DailyMail | 0.0248 | 0.0112 | 4.43 | 1.21 |
The experiments show that improving the reference estimates can matter more than refining the covariance model. A source-split jackknife reduces small-reference error by 57–59% for both analytic laws, using only reference data. Fitted multipliers are competitive, but require earlier observed disagreements. In our tested settings, the corrected multinomial law performs best when the reference is smaller than the target, while the corrected source bootstrap performs best when it is larger.
The source formula also explains why the simpler multinomial law can do better. In our simulations, the multinomial law leaves out some covariance terms, and its smaller forecast partly offsets the overshoot that linearization causes, though the balance changes with . The bootstrap avoids linearization altogether by refitting the smoothed rows on each resample.
Further applications. The approach could extend to other smoothed count statistics, including n-gram models and normalized co-occurrence or pointwise mutual information estimates (Chen and Goodman, 1999; Church and Hanks, 1990). Their derivatives would propagate source covariance into output variation under suitable positivity and regularity conditions. A further goal is to use these forecasts to guide corpus collection. Evaluating candidate sizes could identify the smallest corpus expected to meet a chosen stability target. Finer size grids and independently chosen targets would allow us to test whether these forecasts can support a concrete decision: how much text to collect for reproducible predictions.
Limitations. Larger references need not improve calibration when reference and linearization errors offset. Proposition 1 assumes a fixed vocabulary and positive context probabilities, while the jackknife requires a regular bias expansion in the number of reference sources. Neither argument gives uniform guarantees for sparse rows or growing vocabularies. The correction also leaves unseen rows unresolved. Accounting for their uncertainty requires assumptions about conditional outputs and their joint variation, beyond missing mass alone. Estimating that mass must itself account for sequence dependence (Pananjady et al., 2024).
Our intervals capture variation across reference banks and A/B pairs, conditional on the auxiliary quantities and 128 evaluation chunks. Six banks limit precision, and WikiText paragraph sampling leaves dependence within articles unmodeled. The fresh-source check is small: six A/B pairs and three banks per corpus.
The MDLM comparison is only a first test of how local corpus statistics relate to neural variation. It covers small Transformers and corpora, with three A/B pairs and fixed update budgets. Larger corpora receive fewer passes, so training also affects the measured size response.
Extending the comparison to larger models and datasets, with varied training budgets, would help establish how much neural variation these statistics can explain. Such tests should measure predictive quality alongside stability and check whether directional predictions improve on the token-frequency control.
AI Use Statement
Generative AI tools, including OpenAI Codex and Anthropic Claude, were used during several stages of this work. These tools assisted with preprocessing TinyStories, WikiText-103, and CNN/DailyMail and constructing the text chunks described in the paper. They were also used in generating code to implement the experiments, preparing tables and figures from recorded experimental outputs. We have also used these tools in identifying relevant literature and revising parts of the manuscript for clarity and readability.
The authors take full responsibility for the final manuscript and supplementary materials, including the mathematical claims, experimental results, code, and references.
References
A. Agresti. Categorical Data Analysis. Third edition. Wiley, 2013.
M. Antoniak and D. Mimno. Evaluating the stability of embedding-based word similarities. Transactions of the Association for Computational Linguistics, 6:107–119, 2018. https://doi.org/10.1162/tacl_a_00008.
J. Austin, D. D. Johnson, J. Ho, D. Tarlow, and R. van den Berg. Structured denoising diffusion models in discrete state-spaces. In Advances in Neural Information Processing Systems, volume 34, 2021. https://arxiv.org/abs/2107.03006.
M.-E. Brunet, C. Alkalay-Houlihan, A. Anderson, and R. Zemel. Understanding the origins of bias in word embeddings. In Proceedings of ICML, PMLR 97:803–811, 2019. https://proceedings.mlr.press/v97/brunet19a.html.
S. F. Chen and J. Goodman. An empirical study of smoothing techniques for language modeling. Computer Speech & Language, 13(4):359–394, 1999. https://doi.org/10.1006/csla.1999.0128.
K. W. Church and P. Hanks. Word association norms, mutual information, and lexicography. Computational Linguistics, 16(1):22–29, 1990. https://aclanthology.org/J90-1003/.
W. G. Cochran. Sampling Techniques. Third edition. Wiley, 1977.
A. D'Amour, K. Heller, D. Moldovan, B. Adlam, B. Alipanahi, A. Beutel, C. Chen, J. Deaton, J. Eisenstein, M. D. Hoffman, F. Hormozdiari, N. Houlsby, S. Hou, G. Jerfel, A. Karthikesalingam, M. Lucic, Y. Ma, C. McLean, D. Mincu, A. Mitani, A. Montanari, Z. Nado, V. Natarajan, C. Nielson, T. F. Osborne, R. Raman, K. Ramasamy, R. Sayres, J. Schrouff, M. Seneviratne, S. Sequeira, H. Suresh, V. Veitch, M. Vladymyrov, X. Wang, K. Webster, S. Yadlowsky, T. Yun, X. Zhai, and D. Sculley. Underspecification presents challenges for credibility in modern machine learning. Journal of Machine Learning Research, 23(226):1–61, 2022. https://jmlr.org/papers/v23/20-1335.html.
T. Dunning. Accurate methods for the statistics of surprise and coincidence. Computational Linguistics, 19(1):61–74, 1993. https://aclanthology.org/J93-1003/.
J. Durbin. A note on the application of Quenouille's method of bias reduction to the estimation of ratios. Biometrika, 46(3–4):477–480, 1959. https://doi.org/10.1093/biomet/46.3-4.477.
B. Efron. Bootstrap methods: Another look at the jackknife. The Annals of Statistics, 7(1):1–26, 1979. https://doi.org/10.1214/aos/1176344552.
B. Efron. The Jackknife, the Bootstrap and Other Resampling Plans. CBMS-NSF Regional Conference Series in Applied Mathematics, volume 38. SIAM, 1982. https://doi.org/10.1137/1.9781611970319.
R. Eldan and Y. Li. TinyStories: How small can language models be and still speak coherent English? arXiv:2305.07759, 2023. https://arxiv.org/abs/2305.07759.
C. A. Field and A. H. Welsh. Bootstrapping clustered data. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 69(3):369–390, 2007. https://doi.org/10.1111/j.1467-9868.2007.00593.x.
R. Giordano, W. Stephenson, R. Liu, M. I. Jordan, and T. Broderick. A Swiss Army infinitesimal jackknife. In Proceedings of AISTATS, PMLR 89:1139–1147, 2019. https://proceedings.mlr.press/v89/giordano19a.html.
I. J. Good. The population frequencies of species and the estimation of population parameters. Biometrika, 40(3–4):237–264, 1953. https://doi.org/10.1093/biomet/40.3-4.237.
S. Th. Gries. Toward more careful corpus statistics: Uncertainty estimates for frequencies, dispersions, association measures, and more. Research Methods in Applied Linguistics, 1(1):100002, 2022. https://doi.org/10.1016/j.rmal.2021.100002.
F. R. Hampel. The influence curve and its role in robust estimation. Journal of the American Statistical Association, 69(346):383–393, 1974. https://doi.org/10.1080/01621459.1974.10482962.
K. M. Hermann, T. Kočiský, E. Grefenstette, L. Espeholt, W. Kay, M. Suleyman, and P. Blunsom. Teaching machines to read and comprehend. In Advances in Neural Information Processing Systems, volume 28, pages 1693–1701, 2015. https://proceedings.neurips.cc/paper/2015/hash/afdec7005cc9f14302cd0474fd0f3c96-Abstract.html.
W. Hoeffding. Probability inequalities for sums of bounded random variables. Journal of the American Statistical Association, 58(301):13–30, 1963. https://doi.org/10.1080/01621459.1963.10500830.
A. Ilyas, S. M. Park, L. Engstrom, G. Leclerc, and A. Madry. Datamodels: Understanding predictions with data and data with predictions. In Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pages 9525–9587, 2022. https://proceedings.mlr.press/v162/ilyas22a.html.
L. A. Jaeckel. The infinitesimal jackknife. Bell Laboratories Memorandum MM 72-1215-11, 1972. https://faculty.washington.edu/fscholz/Reports/InfinitesimalJackknife.pdf.
Z. Kadkhodaie, F. Guth, E. P. Simoncelli, and S. Mallat. Generalization in diffusion models arises from geometry-adaptive harmonic representations. In International Conference on Learning Representations, 2024. https://arxiv.org/abs/2310.02557.
P. W. Koh and P. Liang. Understanding black-box predictions via influence functions. In Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pages 1885–1894, 2017. https://proceedings.mlr.press/v70/koh17a.html.
O. Levy and Y. Goldberg. Neural word embedding as implicit matrix factorization. In Advances in Neural Information Processing Systems, volume 27, pages 2177–2185, 2014. https://proceedings.neurips.cc/paper/2014/hash/b78666971ceae55a8e87efb7cbfd9ad4-Abstract.html.
J. Lijffijt, T. Nevalainen, T. Säily, P. Papapetrou, K. Puolamäki, and H. Mannila. Significance testing of word frequencies in corpora. Digital Scholarship in the Humanities, 31(2):374–397, 2016. https://doi.org/10.1093/llc/fqu064.
A. Lou, C. Meng, and S. Ermon. Discrete diffusion modeling by estimating the ratios of the data distribution. In Proceedings of ICML, PMLR 235:32819–32848, 2024. https://proceedings.mlr.press/v235/lou24a.html.
C. Marx, F. Calmon, and B. Ustun. Predictive multiplicity in classification. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 6765–6774, 2020. https://proceedings.mlr.press/v119/marx20a.html.
S. Merity, C. Xiong, J. Bradbury, and R. Socher. Pointer sentinel mixture models. In Proceedings of ICLR, 2017. https://openreview.net/forum?id=Byj72udxe.
T. Nguyen. Understanding transformers via N-gram statistics. In Advances in Neural Information Processing Systems, volume 37, 2024. https://arxiv.org/abs/2407.12034.
A. Pananjady, V. Muthukumar, and A. Thangaraj. Just wing it: Near-optimal estimation of missing mass in a Markovian sequence. Journal of Machine Learning Research, 25(312):1–43, 2024. https://jmlr.org/papers/v25/24-0511.html.
J. Pennington, R. Socher, and C. D. Manning. GloVe: Global vectors for word representation. In Proceedings of EMNLP, pages 1532–1543, 2014. https://doi.org/10.3115/v1/D14-1162.
M. H. Quenouille. Notes on bias in estimation. Biometrika, 43(3–4):353–360, 1956. https://doi.org/10.1093/biomet/43.3-4.353.
A. Radford, J. Wu, R. Child, D. Luan, D. Amodei, and I. Sutskever. Language models are unsupervised multitask learners. OpenAI technical report, 2019. https://cdn.openai.com/better-language-models/language-models.pdf.
S. S. Sahoo, M. Arriola, Y. Schiff, A. Gokaslan, E. Marroquin, J. T. Chiu, A. M. Rush, and V. Kuleshov. Simple and effective masked diffusion language models. In Advances in Neural Information Processing Systems, volume 37, pages 130136–130184, 2024. doi:10.52202/079017-4135.
A. See, P. J. Liu, and C. D. Manning. Get to the point: Summarization with pointer-generator networks. In Proceedings of ACL, pages 1073–1083, 2017. https://doi.org/10.18653/v1/P17-1099.
A. Vallebueno, C. Handan-Nader, C. D. Manning, and D. E. Ho. Statistical uncertainty in word embeddings: GloVe-V. In Proceedings of EMNLP, pages 9032–9047, 2024. https://doi.org/10.18653/v1/2024.emnlp-mai.n.510.
A. W. van der Vaart. Asymptotic Statistics. Cambridge University Press, 1998. https://doi.org/10.1017/CB09780511802256.
S. Wager, T. Hastie, and B. Efron. Confidence intervals for random forests: The jackknife and the infinitesimal jackknife. Journal of Machine Learning Research, 15(48):1625–1651, 2014. https://jmlr.org/papers/v15/wager14a.html.
A. Wald. On cumulative sums of random variables. The Annals of Mathematical Statistics, 15(3):283–296, 1944. https://doi.org/10.1214/aoms/1177731235.
B. Wang, J. A. Zavatone-Veth, and C. Pehlevan. A random matrix theory perspective on the consistency of diffusion models. In Proceedings of ICML, PMLR 306:132077–132128, 2026. https://proceedings.mlr.press/v306/wang26kf.html.
H. Zhang, J. Zhou, Y. Lu, M. Guo, P. Wang, L. Shen, and Q. Qu. The emergence of reproducibility and consistency in diffusion models. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 60558–60590, 2024. https://proceedings.mlr.press/v235/zhang24cn.html.
Appendix
A Proof and Exact Identities
Disagreement identity. First we fix the auxiliary quantities and an evaluation input . Let and be the vectors of predictions at the hidden positions, each divided by . Then is the squared output difference in (1). Under this conditioning, the two predictions are independent. Writing their means as and and expanding the square gives
At equal corpus sizes, the two outputs have the same distribution, so their means agree and the two variance terms are equal. This holds even if the reconstructor is biased. The last term therefore vanishes, and averaging over evaluation inputs gives (6). When the corpus sizes differ, the means need not agree; averaging the full expression gives (15).
From count covariance to output covariance. We condition on the auxiliary quantities. Let be the vector containing all lag counts, and . For a fixed evaluation input , let contain the predictions at hidden positions, divided by , when the count vector is . Define
The first-order expression is
This follows from the multivariate delta method (van der Vaart, 1998, Chapter 3). Expanding around the mean count vector gives
The linear term has covariance . Its expected squared norm is the trace of this covariance, so (6) gives (14). We now derive the count covariance under source sampling and show that the omitted terms are .
Source counts at a fixed chunk budget. Longer sources use more of the chunk budget, leaving room for fewer subsequent sources. The resulting correction has the residual form familiar from ratio estimation (Cochran, 1977, Chapter 6).
Let be iid contributions from complete sources, where is the number of chunks and contains the counts at all offsets. Assume
Sampling stops at
We shorten the final source if necessary to obtain exactly n chunks. Since L, R, are fixed, this changes the count vector by a uniformly bounded amount. With
we have
The residual satisfies . is the influence function of the count rate (Hampel, 1974).
The event depends only on sources preceding . Then, the stopped sum of the has mean zero and covariance
The bounded overshoot and Wald’s identity (Wald, 1944) give . Since is bounded, its covariance with the stopped sum is by Cauchy-Schwarz. Hence
Using one source vector for all offsets includes correlations between lags as well as dependence within each source.
Taking expectations also gives . Under the positive-row assumption below, moving the expansion point from to changes the derivative by . Thus the derivatives evaluated at in (8) give the same first-order result.
Ratio expansion. A perturbation adds to the smoothed numerator and to its denominator. Differentiating the ratio at gives (8).
We keep , , and the auxiliary quantities fixed as grows. Assume that every queried population row has positive mass. Its denominator at is then proportional to . When the empirical denominator is also bounded below by a positive constant times , the first derivative is and the Hessian is throughout the line segment between the population and empirical counts.
To control small empirical denominators, fix a queried row and write
At least
sources are included in full before the final source. The empirical row total is therefore at least . These first variables are iid; their inclusion does not depend on the later stopping index. Hoeffding's inequality (Hoeffding, 1963) gives
For sufficiently large n, the empirical denominator is thus bounded below by a positive constant times n, except on an event with exponentially small probability. There are finitely many queried rows because K, L, R are fixed, so a union bound gives the same conclusion for all of them.
The stopped count sum has bounded martingale increments and at most n terms. Its fourth moment is therefore , and the bounded correction gives
On the event where all queried denominators are sufficiently large, the Taylor remainder is bounded by . On the exceptional event, both the predictions and their linear approximation are bounded: smoothing bounds each conditional row, the weights are fixed, and the count perturbation is . Together, these facts give an bound on the expected squared norm of the Taylor remainder.
The boundary correction contributes , whose norm is . Including this term in the remainder, we obtain
The bound is uniform over evaluation inputs under the stated assumptions. Its constants depend on the positive population row masses and need not remain bounded as those masses approach zero.
Output variance. Applying the row derivative to the reconstruction rule (4) gives . Let be its vector of hidden outputs with the same normalization as . Then
For fixed Z, this contribution has mean zero and norm . The same stopped-sum calculation gives
The linear fluctuation has expected squared norm , whereas . Their mixed covariance is therefore by Cauchy-Schwarz. Taking the trace, averaging over evaluation inputs, and using (6) gives
which proves Proposition 1.
For unequal corpus sizes, the exact identity also contains the difference between the two mean predictions:
where
and
Our first-order prediction adds the two variance estimates:
The mean term is lower order under the assumptions above, as we show next. It is still part of the finite-size target. For equal sizes, exactly.
Unequal-size mean order. Let be the reconstruction obtained from the population conditional rows without smoothing. Because is fixed and the queried row masses are positive, the prediction evaluated at differs from by . The stopped linear term has mean zero, and
It follows that
uniformly over evaluation inputs. Hence
as both sizes grow. Thus the mean term is smaller than the variance scale.
Multinomial variance. Under the fixed-count model in Section 3, a row count vector C is the sum of N independent one-hot draws with mean . Therefore
(Agresti, 2013, Chapter 1). Adding the fixed vector does not change the covariance, while division by multiplies it by . The difference between two independent copies has twice this covariance, with trace
This gives the row factor in (12). Under the assumed independence across lags, the cross terms in the squared output difference have zero expectation. The formula is therefore exact for this model when evaluated at its population quantities. Substituting reference estimates introduces a separate estimation error.
Source-split jackknife. Fix the target size n and condition on the auxiliary quantities and evaluation inputs. Suppose the forecast from S iid sources satisfies
Partition the sources independently of their contents into groups of deterministic sizes , where
Let be the forecast computed from group j, and define
Each group has the marginal distribution of an iid sample of its stated size. Linearity of expectation therefore gives
Both group estimates share data with the full-bank estimate, but this expectation calculation requires no independence between them. The weights cancel the leading bias even when the groups differ in size. Splitting individual chunks would change the sampling unit and would no longer match this iid-source argument.
This is the classical bias-reduction argument of Quenouille (1956), applied to the reference forecast. Its use for ratio estimators has a direct precedent in Durbin (1959). Here is the limiting reference forecast at the chosen target size n. It can still differ from the exact disagreement of the nonlinear reconstructor.
The calculation assumes a fixed number of iid sources and a regular bias expansion. Our reference banks end at a fixed chunk budget, so their source counts are random and their final sources may be shortened. The calculation above does not by itself establish the same bias order for that sampling rule; we evaluate the correction under that protocol in the experiments.
A row absent from the whole bank is also absent from both groups, so the correction cannot recover its contribution to the influence variance. We keep the signs of individual contributions and set only a negative final scalar forecast to zero. The bias expansion above applies before this final clipping.
B Data Protocol and Calibration Evidence
B.1 Finite-reference correction
For each corpus, we use a block of 128,000 distinct texts after the 64,000-source prefix used in the previous experiments (see Appendix B.5). From this block, we construct 20 source-disjoint A/B pairs and six independent reference banks. Each corpus in a pair contains 4,096 chunks, and each reference bank contains 8,192 chunks. Smaller sizes are obtained from prefixes. Source IDs, text hashes, and chunk hashes verify separation between A and B and across data roles. The auxiliary statistics and 128 evaluation chunks are shared with the matched comparison.
We write for the reference size and for the size of each corpus in an A/B pair. Throughout this experiment, , , and , with a ridge penalty of 0.01. At each reference size, a random permutation partitions the sources into two groups, with all included chunks from a source assigned to the same group. We recompute the conditional rows and covariance estimates in each group for the same target size , then combine the forecasts using the source-count weights in (13). The correction is evaluated at . The uncorrected forecast at provides a comparison with a larger reference bank.
The correction was checked in three simulation controls at before the text experiment. The full source law, its jackknife correction, and the multinomial law were specified before the
A/B outcomes were inspected. The multinomial correction and the additional baselines were examined after the outcomes were available. Section B.3 evaluates the multinomial correction on a disjoint source allocation, with forecasts saved before scoring.
Error measure and uncertainty. Let denote the forecast from method h for corpus c, reference bank b, reference size m, and target size n. Let be the mean observed disagreement across the 20 A/B pairs. For reference banks smaller than the target corpora, we summarize error over
as
The three corpora, three size combinations, and six reference banks receive equal weight.
We estimate uncertainty with 5,000 bootstrap draws. Within each corpus, a draw resamples six bank indices and twenty pair indices independently. The same indices are then used for every method and every reference and target size. We recompute the mean observed disagreements, the errors, and their paired differences in each draw. This accounts for the dependence between methods and between measurements at nested sizes. The intervals reflect variation across reference banks and A/B pairs only; the corpora, auxiliary data, evaluation inputs, and masks are held fixed.
Table 2 reports the errors over P. The paired difference between source jackknife and the uncorrected source law is -0.265 [-0.267, -0.263]. The difference between source jackknife and uncorrected multinomial is -0.0017 [-0.0052, 0.0020]. Applying the correction to the multinomial law reduces error further: source-jackknife error minus multinomial-jackknife error is 0.119 [0.114, 0.124]. Figure 2 shows the full grid, including m > n, where some corrections overpredict.
B.2 Bootstrap and calibration baselines
We compare additional forecasts on the same twenty-pair data. These comparisons were designed after the A/B outcomes were available. Before computing these forecasts, we fixed the number of bootstrap resamples, the division of reference sources into two groups, and the multiplier 1.25 used to test a uniform 25% increase in the uncorrected source and multinomial forecasts.
Source bootstrap and its correction. Following the cluster bootstrap (Efron, 1979; Field and Welsh, 2007), we sample sources uniformly with replacement until reaching n chunks, shortening only the final source when necessary. Each sampled source contributes its chunks and all associated pair counts at every lag. We rebuild the smoothed conditional rows on each draw and estimate disagreement as twice the unbiased sample output variance on the common evaluation inputs.
Three independent batches of sixteen replicates give 48 replicates per forecast. To apply the jackknife, we repeat the procedure on the two source groups used by the analytic corrections and combine the resulting scalar estimates according to (13). Across 216 forecasts per method, the median Monte Carlo standard errors are 0.62% for the bootstrap and 1.19% for its jackknife correction; the maxima are 2.36% and 4.17%. All corrected scalar forecasts are positive. The intervals below condition on these saved Monte Carlo draws.
Full source
Multinomial
Source jackknife
Multinomial jackknife
Source, 8,192 reference

Reference / target size, m/n
Reference / target size, m/n
Reference / target size, m/n
Figure 2. Forecast calibration across reference and target sizes. Rows correspond to target size n and columns to corpora; sizes count 64-token chunks. Each point is the mean forecast across six reference banks divided by the mean observed disagreement across 20 A/B pairs. The dotted line marks exact calibration, with values below one indicating underprediction and values above one indicating overprediction. Error bars are 95% intervals obtained by resampling banks and A/B pairs independently, with auxiliary data, evaluation inputs, and masks fixed. Curves use reference sizes ; stars show the uncorrected forecast at m = 8192.
Direct disagreement and multiplicative corrections. A second approach constructs a reconstructor from each source group and measures their disagreement, . If the groups contain and chunks, output variance proportional to inverse corpus size and a size-independent mean would imply
The harmonic mean accounts for unequal group sizes. Since smoothing can change both the mean and the variance, we also compare the constant forecast .
We then ask whether a simple increase in scale can account for the improvement from the jackknife. For this comparison, we multiply each uncorrected law by 1.25. Finally, we consider a conditional correction: apply the jackknife when and use the uncorrected forecast when .
Table 5 reports errors for the three combinations, the full twelve-combination grid, and the six combinations. Restricting the jackknife to reduces the full-grid error of the source law from 0.103 to 0.081. The same restriction increases multinomial error from 0.061 to 0.071. So whether to restrict the correction depends on the law. A fixed multiplier also does well when but worse when ; Appendix B.3 tests whether fitted multipliers transfer.
Table 5. Mean absolute log prediction error across reference banks, size combinations, and corpora, with 95% bootstrap intervals. Each forecast is compared with the mean disagreement of the same twenty A/B pairs, and every method uses the same six reference banks per corpus. Lower values indicate better calibration. The column averages the three combinations in ; the full grid averages all twelve combinations; and the column averages the six combinations with a larger reference bank than target corpus. Banks, combinations, and corpora receive equal weight within each column. The last two rows apply the jackknife only when and use the uncorrected law otherwise. Intervals resample whole banks and A/B pairs jointly across methods and sizes, conditional on auxiliary data, evaluation inputs, masks, and saved Monte Carlo draws.
| Forecast | Full grid | ||
|---|---|---|---|
| Full source | 0.469 [0.463, 0.475] | 0.188 [0.185, 0.191] | 0.052 [0.051, 0.053] |
| Source jackknife | 0.203 [0.197, 0.211] | 0.103 [0.101, 0.105] | 0.095 [0.088, 0.100] |
| Multinomial | 0.205 [0.199, 0.212] | 0.115 [0.112, 0.119] | 0.069 [0.065, 0.073] |
| Multinomial jackknife | 0.085 [0.077, 0.093] | 0.061 [0.057, 0.065] | 0.049 [0.045, 0.053] |
| Source bootstrap | 0.433 [0.427, 0.440] | 0.191 [0.186, 0.195] | 0.072 [0.067, 0.076] |
| Bootstrap jackknife | 0.175 [0.167, 0.184] | 0.060 [0.056, 0.064] | 0.013 [0.011, 0.016] |
| Direct split, 1/n | 1.318 [1.311, 1.324] | 0.671 [0.669, 0.674] | 0.402 [0.398, 0.406] |
| Direct split, constant | 0.300 [0.293, 0.306] | 0.147 [0.144, 0.149] | 0.076 [0.073, 0.081] |
| Source 1.25 | 0.245 [0.240, 0.251] | 0.184 [0.181, 0.186] | 0.222 [0.217, 0.227] |
| Multinomial 1.25 | 0.054 [0.051, 0.057] | 0.117 [0.114, 0.120] | 0.155 [0.151, 0.159] |
| Source jackknife, | 0.203 [0.197, 0.211] | 0.081 [0.079, 0.084] | 0.052 [0.051, 0.053] |
| Multinomial jackknife, | 0.085 [0.077, 0.093] | 0.071 [0.067, 0.075] | 0.069 [0.065, 0.073] |
B.3 Calibration on disjoint source collections
To assess the multinomial correction on different corpus pairs and reference banks, we allocate unused texts from the same 128,000-text block to six A/B pairs and three reference banks per corpus. Each A or B corpus and each bank contains 2,048 chunks, with a 1,024-chunk prefix. Source IDs, text hashes, and chunk hashes verify separation across roles and from the other source allocations. The auxiliary quantities and evaluation inputs are unchanged. This allocation uses 10,638 TinyStories sources, 13,556 WikiText paragraphs, and 15,376 news articles.
Before allocating these sources, we specified the comparison between multinomial and jackknife-corrected multinomial forecasts at . We use the same bank-level absolute log error and 5,000 bootstrap draws as in the twenty-pair experiment. We also report the other three combinations of and the source-law forecasts. The multiplier and bootstrap comparisons were designed after these outcomes were available.
Table 6. Calibration on six A/B pairs and three reference banks per corpus. Entries are mean absolute log prediction errors with 95% bootstrap intervals; lower values indicate better calibration. Sizes count 64-token chunks. The column corresponds to , the full grid averages all four combinations of , and the column corresponds to . Each forecast is compared with the mean disagreement across the six pairs, with banks, size combinations, and corpora weighted equally. Jackknife corrections are applied at every combination. The pooled and cross-corpus multipliers are selected using only the twenty-pair results. Intervals condition on auxiliary data, evaluation inputs, masks, and, where applicable, saved Monte Carlo draws.
| Forecast | Full grid | ||
|---|---|---|---|
| Full source | 0.397 [0.385, 0.410] | 0.207 [0.196, 0.217] | 0.053 [0.043, 0.063] |
| Source jackknife | 0.146 [0.133, 0.159] | 0.066 [0.060, 0.073] | 0.071 [0.059, 0.083] |
| Multinomial | 0.187 [0.175, 0.199] | 0.126 [0.118, 0.135] | 0.080 [0.073, 0.088] |
| Multinomial jackknife | 0.077 [0.066, 0.089] | 0.060 [0.051, 0.069] | 0.049 [0.041, 0.059] |
| Multinomial | 0.041 [0.031, 0.051] | 0.098 [0.090, 0.106] | 0.143 [0.135, 0.150] |
| Multinomial, pooled factor | 0.076 [0.062, 0.090] | 0.045 [0.039, 0.052] | 0.039 [0.031, 0.047] |
| Multinomial, cross-corpus factors | 0.082 [0.069, 0.095] | 0.057 [0.051, 0.064] | 0.052 [0.044, 0.061] |
At , the multinomial correction reduces mean absolute log error from 0.187 to 0.077. The paired difference, corrected minus uncorrected, is , a reduction. The corrected forecast-to-observation ratios are 0.897, 0.913, and 0.970 for TinyStories, WikiText-103, and CNN/DailyMail, respectively. So the improvement holds on new sources, although the corrected forecasts still run low. Both experiments draw from the same three corpora.
Bootstrap comparison at . We evaluate the source bootstrap at using all three banks and six pairs per corpus. The resampling procedure and source-split correction follow Section B.2, with three batches of sixteen replicates per component and the same source partitions as the analytic corrections.
The correction reduces bootstrap error from 0.106 to 0.020. Its paired error difference from multinomial jackknife is , and its difference from the multinomial forecast with the pooled calibration factor is . The corrected bootstrap forecast-to-observation ratios are 0.964, 0.987, and 1.001 for TinyStories, WikiText-103, and CNN/DailyMail, respectively. Its lower pooled error does not imply an advantage in every corpus: the calibrated multiplier gives closer predictions on TinyStories.
The median Monte Carlo standard errors are for the bootstrap and for its correction, with maxima of and . All nine corrected scalar estimates are positive. The bank-and-pair intervals condition on these Monte Carlo draws and on the shared auxiliary and evaluation data.
The results also suggest combining the two corrections. On the twenty-pair grid, using multinomial jackknife when and bootstrap jackknife when gives error 0.043 [0.040, 0.047]. This rule was chosen after inspecting those results. The six-pair bootstrap comparison evaluates its component at ; it does not evaluate the rule across the full grid or establish as a general threshold.
Transfer of multiplicative corrections. A fixed multiplier of 1.25 gives lower multinomial error than the jackknife on the subset of the twenty-pair experiment. The same comparison at in the six-pair experiment gives errors of 0.041 and 0.077, with paired difference -0.036 [-0.055, -0.017]. Across the four-combination grid, however, the multiplier gives error 0.098, compared with 0.060 for the jackknife. We therefore test whether a factor chosen on one set of results still works on new sources, corpora, and sizes.
These comparisons were designed after both experiments had been scored. Each factor is selected using only the calibration outcomes specified below. For forecast-to-observation ratios , a constant minimizing mean absolute log error is
Banks, size combinations, and corpora receive equal weight. We evaluate a sweep from 0.85 to 1.50 in increments of 0.005. Figure 3 shows the exact optimum for each size combination, computed from the median formula.
Selecting one factor from the full twenty-pair grid gives . Applied unchanged to the six-pair grid, this factor gives error 0.045, compared with 0.060 for the jackknife. The paired difference is . Selecting the factor using only the twenty-pair subset gives and error 0.030 at , in the six-pair experiment.
To test transfer across corpora, we select a factor using two corpora from the twenty-pair experiment and evaluate it on the third corpus in the six-pair experiment. The factors for TinyStories, WikiText-103, and CNN/DailyMail are 1.086, 1.116, and 1.130, respectively. Their pooled error on the six-pair grid is 0.057, with paired difference from the jackknife -0.003 [-0.008, 0.002].
Two further comparisons use the twenty-pair grid to test transfer across sizes. We exclude either one target size or one ratio when selecting the factor, then evaluate it on the excluded combinations. Both procedures give error 0.062, compared with 0.061 for the jackknife. The paired differences are 0.001 and 0.001 , respectively.
All intervals use 5,000 resamples of whole reference banks and A/B pairs. Measurements at nested sizes are carried together, and the factors are selected again within each resample. The twenty-pair and six-pair experiments are resampled independently. The size-based comparisons separate the calibration and evaluation combinations, but use shared banks and A/B pairs.
So a fitted multiplier does about as well as the jackknife, but only when past A/B disagreements are available to fit it; the jackknife needs none.
B.4 Data allocation and shared quantities
The output vocabulary consists of GPT-2's 50,257 token IDs, including EOS; MASK and PAD are excluded. We use 64-token chunks and fix , , and auxiliary ridge . A source is a story in TinyStories, a paragraph in WikiText-103, or an article in CNN/DailyMail. Each news article contributes at most two spaced chunks. Because the cached WikiText token IDs do not mark article boundaries, source grouping accounts for dependence within paragraphs only.

Figure 3. Optimal multiplicative correction for the multinomial forecast at each reference–target size combination in the twenty-pair experiment. Each factor minimizes mean absolute log error across six reference banks, using the mean observed disagreement of twenty A/B pairs. Shapes identify target size n, and lines connect combinations with the same target size. Error bars are 95% intervals obtained by resampling banks and A/B pairs and selecting the factor again in each draw. The dashed line marks the fixed factor 1.25; the dotted line marks the pooled factor 1.118 selected across all corpora and size combinations. The factors shown here are selected using the observations in their respective combinations. Table 6 reports their pooled and cross-corpus calibration alternatives on disjoint source collections.
The 2,048-chunk reference banks used in the seven-pair comparison contain 768 stories, 895 paragraphs, and 1,025 articles, respectively. This comparison includes mask rates . The three-pair comparison at and 8192 uses a separate auxiliary allocation, which also supplies the finite-reference correction and neural comparisons. These comparisons share evaluation text and saved masks.
Within each auxiliary allocation, one split estimates and the conditional rows . A separate split determines the weights using the centered predictors
at mask rate , with unavailable predictors set to zero. We pool inner products between predictors into a Gram matrix G and their inner products with into a vector b. For a nonempty set A of visible offsets, the weights are
When A is empty, the reconstruction is p. Within each experiment, the weights are fixed across corpus sizes and mask rates. Radius, smoothing, and ridge are chosen using development data, independently of the A/B disagreement used for evaluation.
Each real-text evaluation uses 128 chunks with one saved Bernoulli mask per chunk at the specified mask rate. If a mask hides no positions, we hide position zero. At , the probability of this event is . We first average disagreement over hidden positions within each chunk, then average across chunks with equal weight.
Multinomial implementation. For a reference bank of m chunks and a target corpus size of n chunks, we substitute
into (12). The conditional estimate is fixed as changes. We compute its collision probability, , over the full vocabulary, including tokens absent from the reference row.
The same-lag source forecast instead sums squared influence contributions separately for each lag. This removes cross-lag covariance terms while accounting for within-source dependence at each lag, random row totals, and variation in source length.
B.5 Disagreement across corpus and reference sizes
In the seven-pair comparison, observed disagreement decreases by 5–40% across corpora as n increases from 512 to 2,048 chunks. A 1/n law would predict a 75% decrease over this range. The forecast based on a 2,048-chunk reference underpredicts disagreement by 13–18% at n = 2048. At n = 4096, the shortfall increases to 27–33%; this comparison uses seven pairs for TinyStories, five for WikiText-103, and four for CNN/DailyMail. Increasing the reference to 6,144 chunks reduces the shortfall at n = 4096 to 8–11%, but leads to overprediction at n = 512.
The comparison at n = 4096 and 8192 uses three A/B pairs per corpus to examine both calibration and the decrease in disagreement with corpus size. Holding the A/B outcomes fixed, the multinomial forecast is closer to observed disagreement in all six corpus-size conditions at each of m = 2048 and 4096. At m = 8192, the full source forecast is closer in four of the six conditions, including all three corpora at n = 4096. The multinomial forecast nevertheless describes the percentage decrease between the two corpus sizes more accurately. Reference size can therefore change which method is better calibrated without producing the same ranking for size response.
A reference-size comparison uses three independently sampled A/B pairs at n = 4096. Here we report calibration as the forecast divided by the arithmetic mean of observed disagreement. Increasing m from 4,096 to 12,288 changes the source forecast ratios from (0.845, 0.838, 0.861) to (1.010, 1.012, 0.988), in the order TinyStories, WikiText-103, and CNN/DailyMail. A separate 4,096-chunk reference bank gives ratios (0.846, 0.859, 0.882). Thus, the ratio m/n alone does not determine calibration.
This sensitivity to reference estimation motivates the finite-reference correction experiments with multiple independent banks.
C Neural Protocol and Transfer Test
C.1 Training and evaluation
For each corpus, we train on three A/B pairs at each size . The neural and count-based comparisons use the same vocabulary, 128 evaluation chunks, and saved masks. Count forecasts are computed from a 2,048-chunk reference bank. Figure 4 reports neural disagreement after 8,000 and 12,000 updates.
The neural model is a bidirectional Transformer with two layers, hidden width 96, four attention heads, feed-forward width 384, tied input and output embeddings, and no dropout. It has 5,179,539 parameters. We train it using the masked-token objective of MDLM (Sahoo

Figure 4. Corpus-size response on the matched task at q = 0.5. The upper row shows observed mean disagreement for MDLM and the reconstructor, together with reference forecasts for the reconstructor. Both forecasts use 2,048 reference chunks. The vertical axis is logarithmic, and bars span the three observed pair means. The lower row divides each curve by its own n = 512 value, with a dotted 512/n benchmark starting at that value. Sizes count 64-token chunks, and MDLM curves include both training stages.
et al., 2024), within the discrete-diffusion framework (Austin et al., 2021; Lou et al., 2024). We sample and independently hide each token with probability . The time-conditioned model minimizes
Here, is the probability that the Transformer with parameters assigns to the true token at position , given the masked input and diffusion time . Training uses the MDLM loss over the specified interval of masking probabilities. The output softmax covers the 50,257-token vocabulary, excluding MASK and PAD. A training example with no hidden positions contributes zero loss.
For each corpus, a model trained on auxiliary data for 4,000 updates provides the common initialization for the A/B runs. Both models begin with newly initialized AdamW optimizer states. Within each pair, they use identical minibatch indices, diffusion times, training masks, learning-rate schedules, and update counts. Each optimizer update accumulates gradients over four microbatches of four chunks, giving an effective batch size of 16. The learning rate increases to over the first 400 updates, decreases to at update 8,000, and remains at that value through update 12,000. AdamW uses , weight decay 0.01, and gradient clipping at one.
Evaluation uses the saved masks at diffusion time . For a model class , we estimate disagreement by
This can also be written as
Here, denotes the mask applied to evaluation chunk , and is its set of hidden positions. The norm averages squared Euclidean output differences over positions in . This comparison measures variation across corpora conditional on the shared initialization, training randomness, and update budget. Under independent A/B corpus sampling, the corresponding population disagreement satisfies the equal-size identity (6).
The two predictors have different information and output constraints: MDLM uses the full visible chunk and returns token probabilities, whereas the reconstructor uses the four offsets and returns affine scores.
To assess sensitivity to training randomness, we also retrain the A corpus of pair 1 with an alternative training seed at every size. At n = 2048 and 12,000 updates, disagreement between models trained on this same corpus is 0.0281 for TinyStories, 0.0138 for WikiText-103, and 0.0052 for CNN/DailyMail. These values measure a different source of variation from the A/B comparison and are reported separately, without subtraction from A/B disagreement.
For input-ranking comparisons, we compute Spearman correlations over the 128 evaluation chunks within each pair and report the mean of the three coefficients. We report them without significance tests, because chunks from the same source are not independent.
C.2 Directional overlap and the frequency control
Scalar disagreement measures the total size of an output difference. We also ask whether neural and count-based differences concentrate in similar directions in vocabulary space.
Let have fixed, randomly chosen orthonormal columns satisfying . For a given A/B pair and model class , write . On a set of evaluation chunks, define
This is an uncentered second-moment matrix. Its trace is the projected disagreement, including the contribution from the mean output difference.
We partition the 128 evaluation chunks into two groups, and , of 64 chunks each, placing all chunks from a source in the same group. For each group , we use the other group to select the four leading eigenvectors of the reconstructor's second-moment matrix. Denote these orthonormal directions by the columns of . The fraction of neural disagreement in these directions, measured on the held-out groups, is
We compute this fraction for each of the three pairs at n = 2048 and 12,000 updates, then average across pairs. The projection Q, the rank of four, and the source partition were fixed after the scalar analyses and before computing directional overlap. All reported fractions refer to energy within the 64-dimensional projection.
A uniformly random four-dimensional subspace captures of this energy in expectation. To determine whether the reconstructor contributes more than a preference for frequent tokens, we also use the four leading eigenvectors of
This matrix is the projected covariance of a one-hot token drawn from the auxiliary unigram distribution. Its leading directions capture at least as much neural disagreement as those selected by the reconstructor (Section 5). The control therefore measures how much directional overlap can be explained by token frequencies alone. It does not compare two unigram predictors: both would return the same p and have zero disagreement.
C.3 Relation to the image diffusion setting
The common question in the image and text settings is how predictions change when the training data are sampled again. In the image analysis of Wang et al. (2026), the tractable predictor is the empirical linear denoiser
Its dependence on the dataset is determined by the empirical mean and covariance. The text reconstructor instead depends on lag counts through smoothed conditional rows. For fixed tables and masks, it is affine in the visible one-hot tokens, while row normalization makes it nonlinear in the sampled counts. Related local co-occurrence statistics appear in word association (Church and Hanks, 1990), GloVe (Pennington et al., 2014), and the matrix interpretation of skip-gram with negative sampling (Levy and Goldberg, 2014). Table 7 summarizes the correspondence. The image analysis includes both denoising at a fixed noise level and complete sampling maps. Our text comparisons evaluate a single masked-input reconstruction, using either affine scores or neural token probabilities.
Table 7. Comparison of the image diffusion setting of Wang et al. (2026) with the two text predictors. Each setting measures variation across datasets while holding the evaluation input fixed. The image theory analyzes a linear denoiser and its sampling map; the text theory analyzes normalized lag counts and their reconstruction scores. MDLM provides a neural test of the count-based forecasts.
| Quantity | Image diffusion | Text reconstructor | Trained MDLM |
|---|---|---|---|
| Data sampling | Images sampled from a distribution | Sources supplying token chunks | The same source-disjoint A/B corpora |
| Corruption | Additive Gaussian noise with variance | Independent token masking with probability | Absorbing token masks; evaluation at |
| Dependence on data | Empirical mean and covariance for the linear denoiser | Lag counts and conditional rows; auxiliary and weights fixed | Transformer parameters learned from masked chunks |
| Predictor | Empirical linear denoiser | Weighted conditional rows in (4) | Time-conditioned Transformer probabilities |
| Population target | Output variation over independently sampled datasets | over source collections | conditional on shared training randomness |
| Shared input | Noisy image for denoising; initial noise for sampling | Identical text and mask | Identical text, mask, and diffusion time |
| Analysis | Random-matrix expressions for fluctuations of the linear denoiser and sampling map | Source-count covariance or multinomial row variance | Observed A/B disagreement compared with count-based forecasts |
| Outputs compared | Denoiser outputs and generated samples | One-step reconstruction scores | One-step token probabilities |
D Reconstruction Quality and Top-k Accuracy
D.1 Relative MSE improvement
Across the 54-condition grid, the reconstructor's mean relative MSE improvement over the auxiliary unigram is 13.16% for TinyStories, 5.19% for WikiText-103, and 3.95% for CNN/DailyMail.
We examine the role of local order with a separate shuffle control at . Shuffling tokens within each chunk preserves token counts and source membership, but yields relative MSE improvements of only 0.0042%, 0.0003%, and 0.0001%, respectively. These near-zero gains indicate that the reconstructor depends strongly on local token order. The control evaluates a single size and mask rate, whereas the percentages above average over the full grid.
Table 8 compares the reconstructor and MDLM on the same evaluation inputs at . At both neural checkpoints, MDLM achieves lower MSE and higher top-1 and top-64 accuracy on TinyStories. The reconstructor performs better on all three measures for WikiText-103 and CNN/DailyMail. At , MDLM's relative MSE improvement is negative on WikiText-103 and CNN/DailyMail after both 8,000 and 12,000 updates. For CNN/DailyMail, it is also slightly negative at .
Table 8. Reconstruction quality at on the shared 128 evaluation chunks. Each row averages six models from three A/B pairs. MSE sums squared error over the 50,257 vocabulary coordinates, averages over hidden positions within each chunk, and then weights chunks equally. MSE gain is the percentage reduction relative to the auxiliary unigram. Top-1 and top-64 accuracy are also reported as percentages. Arrows indicate the preferred direction.
| Corpus | Method | MSE ↓ | MSE gain (%) ↑ | Top-1 (%) ↑ | Top-64 (%) ↑ |
|---|---|---|---|---|---|
| TinyStories | Reconstructor | 0.8450 | 14.34 | 28.12 | 75.80 |
| TinyStories | MDLM, 8k | 0.7855 | 20.37 | 33.14 | 78.75 |
| TinyStories | MDLM, 12k | 0.7811 | 20.82 | 33.88 | 79.15 |
| WikiText-103 | Reconstructor | 0.9372 | 5.45 | 15.75 | 48.49 |
| WikiText-103 | MDLM, 8k | 0.9603 | 3.12 | 12.09 | 44.66 |
| WikiText-103 | MDLM, 12k | 0.9599 | 3.16 | 12.37 | 44.39 |
| CNN/DailyMail | Reconstructor | 0.9482 | 4.43 | 13.94 | 52.11 |
| CNN/DailyMail | MDLM, 8k | 0.9821 | 1.01 | 7.38 | 45.45 |
| CNN/DailyMail | MDLM, 12k | 0.9801 | 1.21 | 7.86 | 45.40 |
D.2 Top- accuracy
Squared error evaluates the full output vector. Top- accuracy instead asks whether the true token appears among the highest-scoring vocabulary entries. We rank all 50,257 tokens, including EOS, using the reconstructor's raw affine scores or the neural model's logits. Ties are resolved by ascending token ID. As with MSE, we average over hidden positions within each chunk and then give chunks equal weight.
To compare these rankings with the same auxiliary unigram used for MSE, write as a fraction and define
The relative error reduction measures the fraction of the unigram's top- errors removed by .
Figure 5 reports the reconstructor's accuracy and relative error reduction at seven cutoffs and three corpus sizes. At , its accuracy exceeds the unigram's at every tested size and cutoff. Although accuracy is nondecreasing in , relative error reduction need not be, because both the reconstructor's and the unigram's error rates change with the cutoff. For CNN/DailyMail, relative error reduction peaks at for all three sizes. For WikiText-103, the values at and 64 are below the value at .

Figure 5. Top-k reconstruction quality at q = 0.5. The upper row compares the radius-two reconstructor at three corpus sizes with the auxiliary unigram. The lower row gives the relative reduction in top-k error against that same unigram. Colors and markers denote corpus size in both rows. Each reconstructor curve averages A and B within each pair, then averages the three pairs. Higher values indicate better performance in both rows.
E Calibration Checks and Smoothing
E.1 Controlled population and error decomposition
We use a population with known moments to separate reference estimation error from linearization error. The control fixes , , , , and ridge 0.01. Each of 32 topics selects 32 distinct tokens using weights proportional to . Its reset distribution assigns weight 0.55 to the uniform distribution on these tokens and 0.45 to the global Zipf distribution. Each source chooses a topic uniformly. Chunks begin with a draw from and then follow
where S maps each token to its cyclic successor. We compare independent tokens, dependent tokens in one-chunk sources, and four chunks sharing a topic within each source. The independent-token control sets both the topic weight and r to zero.
For each control, we evaluate 80 A/B pairs at each and four reference banks at each . Independent auxiliary samples provide 4,096 chunks for estimating p and two sets of 1,024 chunks for determining weights. Evaluation uses 32 separate chunks with fixed masks; empty masks contribute zero. Smoothing defaults to . For the four-chunk sources, we also test using the same source draws, auxiliary data, and masks, with weights recomputed for each smoothing value.
Let denote mean A/B disagreement for the nonlinear reconstructor and its counterpart after linearizing at the population mean counts. For a fixed reference bank, write the linearized output difference as , where U contains contributions from rows with zero reference totals and V contains those from observed rows. Define
Since , the error of a reference forecast decomposes exactly as
The cross term can have either sign, so the contribution of unseen rows cannot be described by alone.
For four chunks per source at , , and , the three terms divided by are -32.6%, -38.6%, and +3.2%, respectively. Missing rows therefore explain only part of the underprediction. Reference error on observed rows contributes substantially, while linearization error partly offsets the reference error.
E.2 Population forecasts and sensitivity to smoothing
The generator’s exact mean lag-count matrix per chunk is
For the source forecast, we evaluate the derivative at and use the exact joint covariance of the counts at size . This covariance includes overlapping pairs, cross-lag correlations, and dependence between chunks that share a topic. Products of pair counts involve at most four token positions, whose joint probabilities can be computed exactly from the Markov chains and averaged over topics. We check the moment calculation by enumeration in a population with three tokens and length-four chunks.
The multinomial forecast uses the same population mean row totals and the unsmoothed population conditional probabilities in its collision term. Both forecasts use the same fixed auxiliary quantities and evaluation inputs.
Table 9. Calibration using exact population moments. Entries are forecasts divided by mean nonlinear A/B disagreement; values closer to one indicate better agreement. Brackets give 95% intervals from 5,000 bootstrap resamples of the 80 A/B pairs, with forecasts, auxiliary quantities, and evaluation inputs fixed. The first six rows use . The smoothing comparisons use four chunks per source and the same source draws across values of .
| Control | Source | Multinomial | |
|---|---|---|---|
| Independent tokens | 256 | 1.073 [1.062, 1.085] | 1.069 [1.058, 1.081] |
| Independent tokens | 1,024 | 1.035 [1.024, 1.045] | 1.033 [1.022, 1.043] |
| Dependent tokens | 256 | 1.092 [1.076, 1.108] | 1.051 [1.036, 1.067] |
| Dependent tokens | 1,024 | 1.046 [1.032, 1.060] | 1.010 [0.997, 1.023] |
| Four chunks, | 256 | 1.117 [1.099, 1.135] | 1.065 [1.048, 1.082] |
| Four chunks, | 1,024 | 1.027 [1.015, 1.040] | 0.991 [0.979, 1.003] |
| Four chunks, | 256 | 1.201 [1.176, 1.225] | 1.162 [1.139, 1.185] |
| Four chunks, | 1,024 | 0.977 [0.960, 0.995] | 0.962 [0.945, 0.979] |
| Four chunks, | 256 | 1.047 [1.029, 1.065] | 0.995 [0.978, 1.012] |
| Four chunks, | 1,024 | 1.025 [1.013, 1.037] | 0.976 [0.965, 0.988] |
In all six settings, the multinomial forecast is closer to observed disagreement even after reference estimation error has been removed (Table 9). The source forecast overpredicts in these settings, and the smaller multinomial forecast partly offsets this positive linearization error. For four chunks per source at , however, the source forecast already underpredicts, so the smaller multinomial forecast increases the shortfall.
So in these simulations the multinomial law looks better partly because errors cancel. This does not show that the same happens on real text.
E.3 Smoothing and rare contexts on real text
Table 3 examines smoothing using the same 20 A/B pairs and six reference banks per corpus as Appendix B.1. We use a vocabulary of 50,257 tokens, 64-token chunks, , and . The 128 evaluation chunks, masks, and auxiliary unigram are fixed across smoothing values. Reconstruction weights are also fixed at their values, so the comparison isolates changes in the conditional rows. The full sweep uses ; the table reports . The data allocations and outcomes were already known. Forecasts for the other smoothing values were saved before scoring their corresponding A/B outcomes.
Both the source and multinomial forecasts use the source-split jackknife in (13), with each component recomputed at the chosen and target size. For each corpus, we average equally over six banks and the three conditions
Here, is the mean disagreement across the 20 pairs at the chosen . Lower error indicates better calibration. The numerical records include paired intervals from 5,000 bootstrap resamples of whole banks and A/B pairs. Each resampled bank or pair carries its measurements across methods, smoothing values, and nested sizes. These intervals condition on the auxiliary data and evaluation inputs.
After jackknife correction, the multinomial forecast has lower error at in all three corpora. At , the source forecast is more accurate on TinyStories and WikiText-103, while both CNN/DailyMail errors round to 0.024. So the multinomial law's advantage depends on . The simulations show that errors can cancel, but they do not explain why the ranking flips at on real text.
A row with context count N assigns weight to the shared unigram. Smoothing is therefore substantial when N is small relative to ; an unseen row returns p for every . In one 2,048-chunk WikiText-103 reference bank, 7.3% of evaluation queries address unseen rows, and 20.8% address rows with fewer than five observations. These frequencies count repeated queries and describe that single bank. Rare and unseen contexts connect this setting to species-frequency estimation (Good, 1953) and statistical inference for rare text events (Dunning, 1993).
Across n = 512, 1024, 2048, 4096, increasing from 1 to 20 produces a shallower decrease in observed disagreement in all three corpora. The paired 95% intervals for the change in log-log slope lie entirely above zero. Both the calibration pattern and the flatter size response persist when weights are re-estimated on the same auxiliary data for each . The numerical records include every smoothing value, reference size, and reconstruction-quality measurement.