Summary of "Improving Data-Constrained Scaling with Hyperparameter Transfer and Ensembling"
Summary (Overview)
- Core problem: Existing data-constrained scaling prescriptions suffer from two critical limitations: (1) they hold hyperparameters (like weight decay) fixed across scales, despite optimal values varying wildly with model size and epochs; (2) they neglect ensembling as a scaling axis, leading to prescriptions where loss can increase with compute budget.
- Key contributions: The authors (1) fit empirical power laws for hyperparameter transfer across scale, and (2) propose a new scaling law that models ensembling as a third axis (alongside model size and epochs) for compute-optimal allocation under data constraints.
- Main result: Training on 100M tokens from FineWeb, their recipe reduces validation loss by over 0.15 nats compared to prior recipes (a 14% decrease in perplexity), achieving monotonic improvements with compute through ensembling.
- Validation: Gains are achieved using prescriptions fit to smaller runs and validated at up to 12× larger compute budgets, demonstrating robust extrapolation.
- Key insight: The compute-optimal allocation shifts from growing model size and epochs to growing ensemble size once model size and epochs reach overfitting-prone levels.
Introduction and Theoretical Foundation
Background
The paper situates itself across three training regimes:
- Traditional regime: Small datasets, where regularization and ensembling were essential (Lakshminarayanan et al., 2017; Loshchilov & Hutter, 2019).
- Current regime: Internet-scale data, where scaling laws (Kaplan et al., 2020; Hoffmann et al., 2022) prescribe compute-optimal configurations assuming single-epoch training and effectively infinite data.
- Emerging data-constrained regime: Compute budgets grow faster than high-quality data supply (Villalobos et al., 2024 predict exhaustion of public text by 2026), necessitating multi-epoch training and renewed attention to regularization and ensembling.
Theoretical Foundation: Scaling Laws
The Chinchilla scaling law (Hoffmann et al., 2022) forms the baseline:
where is validation loss, is model size (non-embedding parameters), is dataset size in tokens, and are free parameters. Compute is approximated as .
Data-constrained extension (Lovelace et al., 2026) explicitly models overfitting from multi-epoch training:
with four new parameters . When , the last term vanishes, recovering the Chinchilla law.
The Pathology
The authors identify a critical failure: existing recipes (e.g., Lovelace et al., 2026) predict that compute-optimal loss increases past mild compute budgets (~– FLOPs), rather than decreasing monotonically. This pathology arises from:
- Fixed hyperparameters across scales (suboptimal at larger scales)
- No consideration of ensembling as an alternative compute allocation
Methodology
Experimental Setup
- Models: Decoder-only transformers on FineWeb (Penedo et al., 2024) with GPT-2 tokenization.
- Grid: Unique tokens , model sizes – parameters, epochs – (some runs at 128 and 256 epochs).
- Optimizer: Muon (instead of AdamW), reflecting a more competitive data-constrained setup inspired by the Slowrun competition (Vegesna et al., 2026).
Hyperparameter Scaling Laws (Section 4)
Sweep strategy: Two-dimensional logarithmic grid over weight decay and effective learning rate (coupled weight decay), with -spaced lattice across 110 rungs spanning ~3 orders of magnitude of compute.
Localization: For each rung, fit a least-squares quadratic to estimate optimal hyperparameters. Key observations:
- is most sensitive at low ; is most sensitive at high .
- Optimal hyperparameters become more sensitive at lower or higher .
Fitted power laws (weighted least-squares, weighting by ):
These match prior observations that optimal weight decay grows with and (Kim et al., 2026; Qin et al., 2026).
Ensembling Scaling Law (Section 5)
The proposed scaling law extends Equation (2) with an ensemble term:
Motivation for the ensemble term: For i.i.d. random variables with variance , the mean's squared standard error is , so the reduction vs. is . This motivates , but allowing captures whether gains concentrate at small () or large ().
Fitting procedure:
- For : use minima of fit quadratics from hyperparameter sweeps.
- For : adjust loss by the gap between observed and predicted optimal loss at .
- Fit with Huber loss in log-loss space (), weighting rungs by compute .
Fit parameters:
| 2.18 | 165 | 0.298 | 1759 | 0.408 | 117 | 0.0791 | 0.162 | 3.04 | 192 | 1.12 | 0.224 | 0.137 | 0.263 |
Empirical Validation / Results
Hyperparameter Transfer Validation
- Extrapolation to 2× compute: Prescriptions consistently predict near-optimal hyperparameters, outperforming all heuristics (including P-based learning rate transfer and various weight decay scaling rules).
- Extrapolation to 16× compute: When refitting on rungs within a 16× lower budget and predicting for a target rung (, , ), the power law prescriptions significantly outperform heuristics (Figure 2, right). Critically, they dominate the "fixed hyperparameters" recipe used in prior work.
Ensembling Scaling Law Validation
- Extrapolation to unseen runs: The scaling law accurately tracks observed loss vs. for rungs where no data was seen (Figure 3, left).
- Fit quality: Measured via (a) leave-one-out cross-validation Huber loss withholding one rung, and (b) Huber loss fitting on or FLOPs and evaluating on held-out rungs.
- Baselines compared: Equation (2) (ignores ensembling) and a naive variant swapping (treating ensembling like overparameterization). The proposed form achieves much better fits on both the authors' runs and runs from Kim et al. (2026).
Large-Scale Prescription Testing (Section 6.1)
Four production budgets up to FLOPs (12× sweep budget) at :
- Baselines: (1) Prior recipe (fixed hyperparameters, no ensembling), (2) hyperparameter transfer only, (3) ensembling only.
- Key result (Figure 4): The prior recipe's observed loss increases with compute. Including either hyperparameter transfer or ensembling improves performance, but combining both yields the largest gains—over 0.15 nats improvement.
- Specific numbers: Prior recipe reaches lowest loss of 3.35 nats at FLOPs; the proposed recipe achieves 3.27 nats at FLOPs (8% perplexity decrease) and under 3.20 nats at FLOPs (14% decrease).
Caveat: The hyperparameter-transfer-only recipe's observed loss drifts from predicted loss at scale (increasing loss at higher compute), likely because it extrapolates to or much larger than seen in sweeps.
Compute-Optimal Allocation Analysis (Section 6.2)
- For recipes supporting ensembling, prescribed and grow initially but then plateau, with additional compute allocated to increasing ensemble size (Figure 5, left). This avoids overfitting.
- Rule-of-thumb for ensemble size: Ensembling () becomes compute-optimal for budgets exceeding approximately: and becomes optimal at approximately: Beyond this, grows roughly linearly: .
Theoretical and Practical Implications
Theoretical Implications
-
Scaling laws must account for the full resource allocation: The paper demonstrates that omitting ensembling as a scaling axis leads to qualitatively wrong prescriptions (non-monotonic loss with compute). This challenges the assumption that model size alone captures the benefits of increased parameters—ensembling behaves fundamentally differently from overparameterization.
-
Hyperparameters are scale-dependent: The finding that optimal weight decay scales as contradicts common heuristics (e.g., or ) and underscores that fixed hyperparameters across scale are a major source of suboptimality.
-
Variance-reduction motivates ensemble terms: The form is theoretically grounded in variance reduction of ensemble averaging, and the fitted is close to the theoretical , lending credibility to the functional form.
Practical Implications
-
Immediate recipe improvements: Practitioners training under data constraints can adopt the fitted power laws for hyperparameter transfer and the scaling law for ensemble allocation, achieving significant loss reductions without additional tuning.
-
Ensembling is compute-optimal: Contrary to some prior doubts (Abe et al., 2022), the paper shows ensembling is compute-optimal for data-constrained training, especially at higher compute budgets relative to dataset size.
-
A template for future extensions: The methodology provides a template for incorporating new primitives (e.g., synthetic data pre-training, model growth during training) into data-constrained scaling laws.
Conclusion
The paper addresses two critical limitations of existing data-constrained scaling recipes—fixed hyperparameters and neglect of ensembling—and demonstrates that both are essential for monotonic improvements with compute. Key takeaways:
- Hyperparameter transfer laws (power laws in , , ) significantly outperform fixed hyperparameters and existing heuristics, especially at larger scales.
- Ensembling as a third scaling axis enables compute-optimal allocation that avoids overfitting, with gains growing with compute.
- Combined contributions yield over 0.15 nats improvement (14% perplexity decrease) over prior recipes at FLOPs, validated at 12× the sweep budget.
Future directions: The authors emphasize that the data-constrained regime will continue to evolve, and new axes (synthetic data pre-training, dynamic model growth) may further improve the frontier. They advocate for systematic adaptation of scaling prescriptions to changing training conditions rather than assuming current regimes persist.
Related papers
- Accordion: Elastic-Depth Inference via Fixed-Prefix Layer Looping
Accordion enables one MoE model to serve five inference budgets via fixed-prefix layer looping, gaining 3.01 points across 37 tasks while retaining unlooped-path quality.
- Aptamers as a sandbox for lab-in-the-loop agentic molecular discovery
Closed-loop LLM agents iteratively improved DNA aptamer hit rates from 0% to 42% across three wet-lab rounds, outperforming all 12 zero-shot computational predictors.
- Masked Erosion: How Acceptance Gates Lose Redundant Safeguards in Self-Improving Agents
Acceptance gates in self-improving agents cannot detect loss of redundant safeguards because overlapping protections mask deletions, eroding safety margin until a model swap or failure exposes harm.