Full text not available for this paper
Summary (Overview)
- Core finding: The optimal repetition count for a scarce target corpus in mixture pretraining changes with model size. A count preferred by a small model does not necessarily remain best at a larger scale.
- Key evidence: In Proof-Pile-2 experiments, reducing repetition from 16 to 8 at 520M parameters improved loss by ~0.5 nat while halving the training token budget (2B to 1B tokens). This was confirmed in two independent six-seed experiments with all 12 paired differences favoring the lower count.
- Method: A candidate-pruning rule uses loss curves from smaller models (35M, 50M, 80M) to retain a short list of 3 promising repetition counts for evaluation at larger scales. On PubMed and Caselaw corpora, these retained sets always contained the lowest-loss count at both 200M and 520M scales.
- Theoretical framework: The paper proposes an empirical two-effect model where a decreasing loss term and an increasing repetition-penalty term compete, with the balance shifting as model size grows. A first-order expansion in log model size yields an affine regression form that motivates the candidate-selection procedure.
- Empirical validation: The simple point-prediction model, fitted only on smaller models (35M–80M), selects repetition counts with excess losses of only 0.003–0.008 nats above the measured minima on refined 12-count grids at 200M.
Introduction and Theoretical Foundation
Background and Motivation
The paper addresses a critical practical question in large language model (LLM) pretraining: when valuable target data is scarce, how many times should it be repeated? This choice involves a tension:
- Repeating target tokens improves learning from that data
- But repeated exposure may cause overfitting or diminishing returns
- Each repetition also lengthens training and adds generic tokens (since the target fraction is fixed)
The key insight is that repetition preferences are model-size-dependent. A repetition count that works well for a small model may be suboptimal at larger scales, because the relative balance between learning from repetition and the penalty of over-exposure shifts with model capacity.
Theoretical Foundation
The paper builds on several lines of prior work:
- Scaling laws (Kaplan et al., 2020; Hoffmann et al., 2022) relate loss to model size and training tokens
- Repetition-aware scaling laws (Muennighoff et al., 2025; Sedova et al., 2026; Lovelace et al., 2026) account for finite data and repeated exposures
- Data selection methods use smaller proxy models to guide larger runs (Liu et al., 2025; Magnusson et al., 2025)
The central theoretical contribution is the two-effect model:
where:
- is the held-out target loss at model size with repetition count
- is a common offset independent of repetition
- is a decreasing term (benefit of repetition and generic data)
- is an increasing term (penalty from over-repetition) that grows relatively faster with scale
The model predicts that for any pair of counts , the ordering can reverse at most once as increases, since:
where and .
Key Definitions
- Target pool: M tokens of scarce data
- Target fraction: of training tokens
- Total training tokens:
- Observed minimum:
- Excess loss:
Methodology
Experimental Design
Each repetition count is trained independently to completion with its own cosine learning-rate schedule over its prescribed token count. This differs from checkpoint-based approaches. The losses are endpoints of separate runs, not intermediate states of one longer run.
Model sizes tested: 35M, 50M, 80M (smaller models); 200M, 520M (target models). All are decoder-only Transformers with varying layer counts and widths, using AdamW optimizer with learning rate , bf16 training, and a global batch of 524,288 tokens.
Corpora:
- Wikipedia-derived (initial)
- Proof-Pile-2 (initial + 520M confirmation)
- PubMed and Caselaw (main evaluation corpora)
The Candidate Selection Rule
The candidate-pruning rule (Section 5.2) uses the first-order expansion of the two-effect model. With :
This motivates a separate linear regression for each count of excess loss against log model size. The full rule:
- Resample whole seed curves (27 ordered resamples per size)
- Average them and subtract each curve's minimum
- Regress excess loss on for each count
- Predict at target size, clip negative predictions to zero
- Average across resamples, retain the 3 lowest-scoring counts
The selected sets were: PubMed , Caselaw .
Point Prediction Model
A simpler specialization sets , :
where are per-size offsets, , are shared coefficients fit by least squares to smaller-model means, and is the 50M model size.
Structural Model for Loss Curves
For completed curves, a richer model is fit:
with , . This yields the unique model minimum:
Empirical Validation / Results
Ranking Reversals
- Wikipedia-derived: At 35M, beats ; at 80M, the ordering reverses with 24 lower by 0.139 nat
- Proof-Pile-2: At 50M, beats ; at 80M, 8 is best (all 3 paired differences favor 8)
- 520M confirmation: Two independent 6-seed experiments show loss reductions of and nats when switching from 16 to 8 repetitions. All 12 paired differences favor 8.
The decomposition of the Proof-Pile-2 reversal (50M → 80M, 16 → 8): , , giving nats.
Candidate Retention Results
| Corpus | 520M Retained Set | Best Count | Loss vs. 80M Winner Reuse |
|---|---|---|---|
| PubMed | {4, 8, 12} | 8 | 0.854 nat lower |
| Caselaw | {8, 12, 16} | 12 | 2.492 nat lower |
At 200M, frozen sets {8, 12, 16} (PubMed) and {12, 16, 24} (Caselaw) both contained count 12, which had the lowest loss in all seeds. On the refined 12-count grid, the sets incurred 0.006 and 0 nats excess loss respectively.
Point Predictions at 200M
The simple model (Eq. 8), fitted only on 35M/50M/80M data, made predications frozen before 200M training:
| PubMed | Caselaw | |
|---|---|---|
| Continuous minimum | 9.659 | 11.431 |
| Original grid choice | r = 8 (0.038 nat excess) | r = 12 (0 excess) |
| Integer choice on 12-count grid | r = 10 (0.003 nat excess) | r = 11 (0.008 nat excess) |
Model Comparison on Held-out Counts
Table 2: Matched fits to seven counts at 35M/50M/80M/200M/520M
| Model | New-count RMSE (PubMed) | New-count RMSE (Caselaw) | Selection loss (PubMed) | Selection loss (Caselaw) |
|---|---|---|---|---|
| Adapted Lovelace | 0.238 | 0.224 | 0.003 | 0.008 |
| Same, free η | 0.159 | 0.184 | 0.003 | 0.008 |
| Saturated extension (Eq. 9) | 0.108 | 0.074 | 0.006 | 0.018 |
Cost Reduction
Evaluating only the retained counts at 520M (plus smaller-model scans) would reduce compute by 65.6% compared to running all seven counts at 520M, while achieving the same lowest loss.
Theoretical and Practical Implications
Theoretical Contributions
-
Scale-dependent repetition preferences: The paper provides systematic evidence that the optimal repetition count decreases with model size. The two-effect model explains this via the relative growth of the increasing penalty term ( was confirmed across all four corpora).
-
One-time reversal guarantee: For any pair of repetition counts, the ordering can reverse at most once as model size increases, provided the two-effect model holds.
-
Local affine approximation: The first-order expansion in provides a theoretical justification for linear regression-based candidate selection.
-
Comparison with prior scaling laws: The adapted Lovelace form (Eq. 19) is a special case () of the proposed model. Freeing to allow both terms to vary in overall amplitude improves held-out loss prediction by 33% (PubMed) and 18% (Caselaw).
Practical Implications
-
Candidate pruning is more reliable than point prediction: Retained sets consistently contained the best count across all validation scenarios (262 retrospective checks at 520M and 80M grids), while point predictions were sometimes off by 2+ counts with substantial loss penalties.
-
Cost-effective validation: The pruning rule reduces training cost by ~65% while achieving equivalent final loss, compared to exhaustive sweeps.
-
Practical guidance: When more unique target data is unavailable, the empirical models can estimate:
- A promising repetition count
- The loss associated with nearby choices
- Low-loss intervals for refinement
Conclusion
The paper demonstrates that repetition count selection cannot be naively transferred across model scales in data-constrained pretraining. Key takeaways:
-
Ranking reversals are real and consequential: Observed reversals ranged from 0.104 to 0.524 nats in loss penalty when reusing smaller-model choices.
-
Candidate pruning works: The simple rule of selecting 3 counts from smaller-model curves, validated via bootstrapping and local regression in , reliably retains the best count at larger scales.
-
Point prediction is possible but riskier: The simple additive model made good predictions at 200M (0–0.008 nat excess), but extrapolating to 520M from 35M/50M sometimes selected substantially suboptimal counts (1.435 nat penalty on PubMed).
-
The decreasing-then-increasing loss shape is consistent: All corpora show a minimum in the repetition valley, with the optimum shifting downward as model size increases.
Future directions: The paper notes limitations including:
- Fixed target-pool size and mixture fraction (h = 0.8)
- Single model family and training setup
- Remaining amplitude errors in shared cross-size fits
- The need to test broader data budgets, mixtures, and architectures
The practical recommendation is to use smaller-model curves for candidate retention (robust) rather than exact point prediction, and to use local loss estimates for guided refinement around the identified valley.
Related papers
- SWE-Trail: History-Guided Trajectory Collection for Coding Agent Training
SWE-Trail uses prior attempt history to guide where to collect coding trajectories, improving student model resolution by 2.33 points on SWE-bench Multilingual without exposing history to the agent.
- Extending Reasoning in Typed Decision Models via Adaptive Looping (RELOAD)
RELOAD retrofits damped loops into pretrained decision models, boosting accuracy up to 23 points on long reasoning chains with zero added parameters via joint training.
- SelfImprove-Bench: Evaluating Generalization in Self-Improving Agents
SelfImprove-Bench reveals that recursively self-improving agents show inconsistent generalization across difficulty levels and task types, with rankings reversing despite similar final scores.