Summary of "Internal Data Repetition Destroys Language Models"
Summary (Overview)
- Core finding: At fixed compute and fixed repeated-token fraction (f = 0.1), language model eval loss is non-monotonic in the per-document repeat count R, peaking at an intermediate repeat count rather than at extremes.
- Quantified damage via compute-equivalent metrics: Using a fitted no-repetition Chinchilla scaling law, the most damaging repeat setting at 344M parameters and OT = 1 yields Compute-Equivalent Loss (CEL) ≈ 0.33, meaning the run reaches the loss of a no-repetition run using only ~67% of the FLOPs.
- Power-law scaling of peak location: The most damaging repeat count follows , meaning larger models peak at fewer repeats of larger repeated pools.
- Statistical universality: The same non-monotonic peak is reproduced in closed form in a misspecified linear regression with verbatim duplicates, suggesting the phenomenon is a generic statistical effect of sample duplication, not a transformer-specific artifact.
- Practical implication: Merely reporting the fraction of duplicated tokens is insufficient—the concentration structure of repetition (how many times each duplicate appears) substantially affects compute waste.
Introduction and Theoretical Foundation
Background and Motivation
Pretraining has entered a data-constrained regime: high-quality public text corpora are exhausted, forcing multi-epoch training. Even aggressively deduplicated corpora (FineWeb-Edu, DataComp-LM, Dolma, RedPajama-v2) retain near-duplicates, paraphrased templates, and semantically redundant content.
The key theoretical foundation is the Chinchilla budget identity:
where:
- = total compute (FLOPs)
- = model parameter count
- = total training tokens
- = overtraining multiplier (OT = 1 corresponds to 20 tokens per parameter)
This identity allows the authors to vary repetition structure inside an otherwise fixed training budget, separating repetition concentration effects from total compute.
Prior Work and Its Limitations
The closest prior study (Hernandez et al. [11]) established non-monotonic degradation from repetition but:
- Predated Chinchilla-style scaling laws
- Framed damage as "reduction in effective parameter count" (outdated)
- Trained all models on 300B tokens regardless of parameter count, leaving small models overtrained and large models undertrained
Key Definitions
Compute-Equivalent Gain (CEG) for a repeated-data run with loss and actual compute :
where is the compute a no-repetition run would need to reach loss .
Compute-Equivalent Loss:
- : matches no-repetition baseline
- : indicates compute-equivalent loss
Methodology
Experimental Setup
- Models: Qwen3-style decoder-only transformers with M parameters
- Data: FineWeb-Edu-Dedup
- Overtraining multipliers:
- Repeat counts: logarithmic grid from no repeats up to R = 20,000
- Repeated-token fraction: fixed at (10% of training tokens from repeated pool)
Repeated-Pool Construction
For each run, tokens come from non-repeated documents. The repeated-pool size and repeat count satisfy:
Increasing concentrates the same 10% repeated-token budget onto a smaller pool. Repeated documents are:
- Sampled at document granularity
- Disjoint from non-repeated training documents
- Randomly interleaved with the non-repeated stream
Evaluation
- Fixed held-out split of ~150M tokens, excluded from all training data and repeated pools
- No-repetition baselines trained for each (N, OT) sweep
- Six OT = 1 no-repetition baselines calibrate the Chinchilla scaling law
Scaling Law Fitting
Peak locations extracted via log-Gaussian fits:
Empirical Validation / Results
4.1 Non-Monotonic Eval Loss
- Raw maximum: 1.0–4.2% above no-repetition baseline (median 3.1%)
- Peak prominence (relative to endpoints): 0.7–2.7% (median 1.8%)
- The intermediate-repeat regime is most damaging; both extremes (few repeats of large pool, many repeats of tiny pool) produce smaller loss increases
4.2 Power-Law Scaling of Peak Location
Fitted power laws:
Observed trend: The 34M model peaks at with tokens; the 344M model peaks at with tokens. The peak location is approximately OT-independent.
4.3 Compute-Equivalent Loss
Fitted no-repetition Chinchilla scaling law:
Key results at OT = 1 (worst-case CEL by model size):
| Model Size (N) | 34M | 48M | 63M | 93M | 153M | 344M |
|---|---|---|---|---|---|---|
| CEL | 0.19 | 0.19 | 0.21 | 0.21 | 0.26 | 0.33 |
Critical insights:
- The 2–4% loss bump translates to CEL of 0.19–0.33 because the scaling law is shallow—small loss gaps map to large compute gaps
- Loss-space views systematically understate practical cost
- Varying OT shifts CEG levels but leaves peak location in R approximately unchanged
Sensitivity analysis: With , a 1% shift in produces ~3% relative shift in CEG. The 344M peak run sits at nats, making the headline 33% robust.
4.4–4.5 Statistical Model: Misspecified Linear Regression
Setup: High-dimensional linear model with isotropic Gaussian inputs , noiseless labels . The learner observes only the first coordinates (misspecification). Training set: unique examples plus examples each repeated times.
Key insight—block-diagonal noise covariance: The copies of each repeated example share a single unobserved-feature realization, giving:
This yields —the extra factor of makes duplication qualitatively different from adding independent samples.
Closed-form conditional risks:
Simulation results:
- Closed-form and simulation agree to numerical precision
- Excess loss is non-monotonic in repeated-pool size at fixed and
- Peak shifts to larger as (capacity) grows—consistent with empirical trend
- Sample-efficiency (SE) analogue of CEG falls sharply at intermediate and partially recovers at extremes, mirroring the language-model CEG curve
Mechanism: When is small, repeated examples carry little extra weight. When is too large, the repeated block saturates the rank of relative to , and test loss returns toward a "memorize-and-isolate" fixed point. The harmful middle regime appears when the repeated pool is both influential and too large to be harmlessly absorbed.
Theoretical and Practical Implications
Theoretical Contributions
-
Modernized measurement framework: Replaces "effective parameter count" with compute-equivalent metrics (CEG/CEL), enabling fair comparison across model sizes and training durations in the Chinchilla era.
-
Statistical universality: Demonstrates that repetition damage peaks are not transformer-specific but arise from a general statistical tradeoff between memorization and generalization in misspecified models with duplicated samples.
-
Scaling law for worst-case configuration: The power-law relationship makes the most damaging repetition structure predictable from model size alone.
Practical Implications
-
Corpus curation guidance: Aggressive deduplication is insufficient—the structure of residual repetition matters. A moderate number of repeats of a moderately sized pool is more damaging than extreme configurations.
-
Compute accounting: Practitioners should report repetition structure (repeat count and pool size), not just duplicated-token fractions, when documenting training runs.
-
Risk assessment: At 344M parameters, a 10% repeated-token budget at the worst repeat count wastes ~33% of training compute—a substantial cost that scales with model size.
-
Caveat for scaling extrapolation: The authors note that since peak repeated-token count grows faster than compute, the peak will eventually cross for very large models, implying the scaling law should be interpreted as evidence that "memorization capacity grows faster than compute" rather than an exact predictive tool.
Conclusion
This paper provides a precise, compute-based quantification of repetition damage in language model pretraining. Key takeaways:
-
Intermediate repeats are worst: Eval loss peaks at intermediate repeat counts, not at extremes—a moderately sized repeated pool replayed many times is more damaging than either a tiny pool replayed many times or a large pool replayed a few times.
-
Larger models are more sensitive: Peak damage occurs at fewer repeats of larger pools as model size grows, following .
-
Compute waste is substantial: The most damaging configuration at 344M parameters wastes ~33% of training compute (CEL ≈ 0.33).
-
The phenomenon is generic: A misspecified linear regression with verbatim duplicates reproduces the same qualitative peak, indicating a fundamental statistical tradeoff between memorization and generalization.
Future directions implied by this work include:
- Extending the analysis to near-duplicate and semantic duplication (beyond exact document replay)
- Studying repetition damage at frontier model scales
- Developing explicit overfitting penalties for data-constrained scaling regimes
- Investigating whether the power-law scaling of peak damage extends beyond the studied range
Related papers
- Priming: Hybrid State Space Models From Pre-trained Transformers
Priming initializes hybrid state-space models from pre-trained Transformers using less than 0.5% of the token budget, yielding faster, lighter models that outperform source Transformers on reasoning benchmarks.
- Auditing Reward Hackability in Code RL Training Environments
Docker-verified test-suite audits reveal 28.5% of SWE-bench Verified tasks accept incorrect patches, inflating Pass@1 by +14.14 percentage points across 134 frontier models.
- OasisKV: Scaling In-Decode KV Cache Beyond HBM with Lookahead Sparse Prefetching
OasisKV uses speculative decoding's draft tokens to predict future KV-cache access, enabling asynchronous prefetching that boosts LLM inference throughput up to 2.1x with negligible accuracy loss.