TL;DR
When large language models (LLMs) excel at popular benchmarks, we often credit them with deep abstract reasoning. This paper challenges that assumption by showing that zero-shot benchmark performance is heavily driven by simple word-level statistical overlap between the pre-training data and the evaluation sets. By measuring word-level unigram cross-entropy, the authors demonstrate that many standard benchmarks are only weakly out-of-distribution, meaning surface-level data affinity might be masquerading as genuine model intelligence.
What Problem Does This Paper Address?
A central goal in LLM development is selecting or curating "high-quality" pre-training data that translates into strong downstream performance. However, because language models are optimized via compression-based losses (minimizing next-token prediction error), their generalization capabilities are inherently tied to how closely an evaluation dataset mirrors their training distribution.
The authors investigate a fundamental question: Is benchmark performance primarily driven by true abstract generalization, or is it just a byproduct of statistical pattern overlap? If simple word frequency statistics can predict benchmark trends, it implies that widely used evaluation datasets are not truly "out-of-distribution" (OOD) and may fail to diagnose actual reasoning capabilities.
Methods
To cleanly capture dataset overlap without introducing common confounding factors, the authors introduce a simple, tokenizer-agnostic proxy metric: word-level unigram cross-entropy.
Unlike standard token-level cross-entropy, which suffers from tokenization bias (segmentation artifacts from subword tokenizers), the authors compute word frequencies using simple whitespace splitting without lowercasing or text normalization. They also avoid higher-order n-gram cross-entropy, proving mathematically that it conflates genuine dataset mismatch with Markov misspecification error.
To validate their proxy metrics, the authors conduct extensive, controlled pre-training experiments. They train LLaMA-style models of various sizes (400M, 1.33B, and 3.36B non-embedding parameters) across different data scales (8.5B, 26B, and 60B tokens).
Datasets
- Pre-training Corpora: FineWeb-Edu, DCLM, C4, and OpenWebText (ranging from highly curated, modern educational subsets to older, lower-quality web text).
- Evaluation Benchmarks (Zero-Shot): 10 representative datasets including ARC Easy, ARC Challenge, HellaSwag, MMLU, SciQ, OpenBookQA, PIQA, LAMBADA, SocialIQA, and SWAG.
- Structural/Reasoning Control Sets: BLiMP (linguistic grammar), MathQA (mathematics), Global PIQA, and LAMBADA Multilingual (multilingual evaluation).
Key Insights and Ideas
- Benchmarks are mostly In-Distribution: Across all tested pre-training corpora, the vocabulary coverage for standard benchmarks is nearly identical—hovering around 99.9%. Performance differences are not driven by whether a model has seen a word, but by how probability mass is allocated across those words.
- Cross-Entropy Predicts Performance Rankings: For any fixed benchmark, the ordering of pre-training datasets by unigram cross-entropy perfectly mirrors their downstream score rankings. The dataset with the lowest cross-entropy (closest marginal distribution to the benchmark) consistently wins.
- "Quality" depends on the Task: While FineWeb-Edu and DCLM are generally considered superior, higher-quality datasets, C4 actually achieves the lowest cross-entropy on HellaSwag and PIQA—and consequently yields the highest downstream scores on those specific tasks.
- Data Scaling Feeds the Long Tail: Increasing the pre-training token count (e.g., from 8.5B to 26B) leaves unigram cross-entropy invariant but consistently improves benchmark scores. More tokens mean more parameter updates for rare, long-tail words, strengthening the effective learning signal.
Key Results
The paper uncovers a remarkably robust inverse relationship between word-level unigram cross-entropy and zero-shot accuracy.
As illustrated in Figure 1, for a 3.36B parameter model trained on 60B tokens, the dataset whose unigram distribution is closest to the benchmark (lowest top bar) consistently yields the highest performance (highest bottom bar).
Furthermore, Figure 2 demonstrates that when data scale is controlled, benchmark performance is highly insensitive to random subset sampling noise. The performance gaps reflect stable, macro-level distributional properties of the pre-training data rather than stochastic noise.
Importantly, this predictive trend completely breaks down on tasks requiring structural syntax (BLiMP), multi-step numerical composition (MathQA), or multilingual zero-shot transfer (Figure 3). This confirms that while standard natural language benchmarks are highly sensitive to surface-level word overlap, math and grammar tasks genuinely force the model to rely on abstract, higher-order representations.
Limitations and Future Work
- Not a Scale for Benchmark Difficulty: Unigram cross-entropy measures distributional affinity, not intrinsic reasoning difficulty. For example, ARC Challenge is widely known to be harder than ARC Easy, but this gap is not reflected in their cross-entropy values. The metric must be used to compare different corpora on a fixed benchmark, not to compare benchmarks against each other.
- Risk of Benchmark Hacking: The strong correlation implies that pre-training data could be deliberately manipulated—such as synthetically inflating the frequency of rare benchmark vocabulary—to artificially boost downstream scores without actually improving core model capabilities.
- Designing Better Evaluations: This work highlights an open challenge for the AI community: we need to design future benchmarks that remain diagnostic and robust against superficial statistical alignment, truly testing abstract generalization in the era of web-scale pre-training.
Summary updated