Hyperparameter tuning is expensive, so practitioners routinely tune on a fraction of the training data and assume the winner will still win on the full set. Two recent large studies of language-model pretraining show this assumption is wrong in a predictable way. The best learning rate and batch size drift as the amount of training data grows. One study finds the optimal learning rate falls roughly as $D^{-0.32}$ in the number of training tokens $D$ (Scaling Optimal LR Across Token Horizon). Another finds that optimal batch size grows as $D^{0.571}$ (Predictable Scale: Part I). A tuner that ranks configurations on a small subset is therefore ranking them against the wrong target, and it will reliably favor settings that are too aggressive for the full run.
We propose a tuner that treats data size as a fidelity that moves the optimum, rather than only adding noise to it. The surrogate model learns, during the search itself, how far each hyperparameter's optimum shifts per doubling of data. It then uses cheap small-data runs to predict where the full-data optimum will be, and spends expensive large-data runs only to pin down that shift. Put in two sentences: today's multi-fidelity tuners assume the best configuration on 5% of the data is near the best on 100%. We learn the systematic displacement between the two from a handful of paired runs and correct for it inside the search.
Core Claim
Multi-fidelity hyperparameter optimization means using cheap, low-quality evaluations (fewer epochs, a data subset, a smaller model) to decide which configurations deserve full training. When data subsets serve as the cheap evaluation, these methods share a modeling assumption: the surrogate's similarity between fidelities lets the objective change in level and noise, but the optimum's location stays roughly fixed. This holds for trace-aware knowledge gradient (Practical Multi-fidelity Bayesian Optimization for Hyperparameter Tuning), which explicitly uses subsampling ratio as a fidelity. It holds for DyHPO (Supervising the Multi-Fidelity Race of Hyperparameter Configurations) and for Deep Power Laws (Scaling Laws for Hyperparameter Optimization), which model learning curves over epochs on a fixed dataset.
Our claim is that a single extra ingredient recovers most of the regret lost to data-scale drift. That ingredient is a learnable, per-hyperparameter shift of the input coordinates as a function of data size. Concretely, we model the validation loss at configuration $\lambda$ (with log-scaled numeric coordinates) and data size $D$ as
$$f(\lambda, D) \approx h\big(\log \lambda - \Theta \log(D / D_0),\ D\big),$$
where $D_0$ is a reference data size, $\Theta$ is a vector of drift exponents (one per hyperparameter, zero for those that do not drift), and $h$ is a Gaussian process (a probabilistic regression model that gives a mean and an uncertainty) over the shifted coordinates and data size. If $\Theta = 0$ we recover a standard multi-fidelity surrogate. If $\Theta$ is fixed to published values we recover a plug-in transfer rule. We instead place a prior on $\Theta$ and infer it jointly with $h$. The acquisition rule then values a query by how much it reduces uncertainty about the full-data optimum, divided by its compute cost.
A sharp observation in the file motivates learning $\Theta$ rather than plugging it in. The two pretraining studies report learning-rate exponents of opposite sign. One gives $-0.32$ with batch size held fixed. The other gives $+0.307$, while batch size is simultaneously scaled up with $D$. The drift of one hyperparameter depends on what the others are doing. So a fixed exponent copied from a paper is fragile, and the drift must be estimated jointly for the specific problem and search space.
Relation to Prior Work
The two pretraining studies motivate the proposal: they establish that the drift exists and is roughly power-law. They do not tune anything cheaply. Step Law needed nearly a million GPU hours. Its own authors list as open the question of other optimizers and other hyperparameters, and any setting beyond pretraining.
Power-Law Entropy Search, or PLES (Efficiently Estimating Optimal Hyperparameter Scaling Laws through Power-Law Entropy Search), is the closest method. It uses cost-aware Bayesian optimization to fit the law $\theta^* = c N^\alpha D^\beta$ across many scales, and it reports converging with under 10% of grid-search compute. We differ in goal and placement. PLES's product is the scaling law itself, estimated over a grid of model and data sizes, for at most two hyperparameters. Our product is a single good configuration at one fixed target data size, for an ordinary tuning job with five or more hyperparameters. The drift exponents are nuisance parameters inside the tuner's surrogate, learned from as few as two or three data fractions.
The neural configuration-to-performance predictor NCPL (Configuration-to-Performance Scaling Law with Neural Ansatz) is a learned regressor trained offline on more than 3,200 historical runs. It is accurate but cannot start cold on a new problem. Our tuner starts cold, and its surrogate keeps the explicit structure that NCPL's black-box regressor does not need.
The mechanistic account of width transfer (Understanding the Mechanisms of Fast Hyperparameter Transfer) constrains us. It shows transfer only pays off when the hyperparameter gap closes faster than the loss gap. It analyzes model width, not data size, so we treat that condition as an empirical test along $D$ rather than as an assumption.
Research Program
The work has three parts.
Measuring the drift. First, we measure how much optimum drift and rank reversal actually occur along data size outside language-model pretraining. The file asserts the risk for general multi-fidelity tuning but documents it only for pretraining. For each problem we evaluate a fixed configuration sample at several data fractions. We then record two things: how far the per-fraction optimum moves in each hyperparameter, and the rank correlation between each fraction and the full-data ranking. If drift is negligible on a problem, our method should match standard tuners there, and we will report that rather than hide it.
Building the tuner. Second, we build the drift-aware surrogate and its acquisition rule on top of the trace-aware knowledge-gradient machinery, keeping its treatment of partial training traces. Two components are added. The first is the coordinate shift with a sparse prior on $\Theta$, which shrinks toward zero so that hyperparameters that do not drift cost nothing. The second is a cost-aware term that rewards evaluating the same configuration at two data sizes, since such pairs are what identify $\Theta$.
Language-model checks. Third, we test on small language-model pretraining whether the learned exponents reproduce the published ones. Specifically, we check whether the learning-rate exponent comes out near $-0.32$ when batch size is fixed and turns positive when batch size is co-tuned. This is a falsifiable reconciliation of the two studies' apparently contradictory results.
Baselines
The naive reference point is to tune at the smallest data fraction with random search under the same total compute, then retrain the winner on full data. This is what the "tune on a subset" habit actually does, and it sets the floor.
The strongest existing tuner on this question is trace-aware knowledge gradient. It is the only method in the file that already uses data subsampling as a continuous fidelity. Its authors report about 12% test error on CIFAR-10 and about 5% on SVHN using a fraction of the resources of Hyperband and FaBOLAS (Practical Multi-fidelity Bayesian Optimization for Hyperparameter Tuning). We run it with identical search spaces, data fractions, seeds and total compute. Beating it means lower full-data regret at equal compute, or equal regret at clearly less compute, on the CNN benchmarks where it was reported.
DyHPO and Deep Power Laws are included as the strongest learning-curve tuners. They are adapted so that their budget axis is data fraction rather than epochs. DyHPO is reported to outperform all baselines on LCBench after half its search budget. On nanoGPT-Bench, Deep Power Laws are reported to transfer hyperparameters from 0.3M-parameter to 30M-parameter models. We found no reported regret number on Lacuna for nanoGPT-Bench, so we will measure it ourselves.
The plug-in transfer rule is a separate baseline: tune on short horizons, then rescale the learning rate by $(D_{\text{long}}/D_{\text{short}})^{-0.32}$ (Scaling Optimal LR Across Token Horizon).
PLES is run with its budget capped to ours and its fitted law evaluated at the target size. In the setting where it reported results, it converged with under 10% of grid-search compute.
The key ablation is our own tuner with $\Theta$ frozen at zero. Any gain over that ablation is attributable to drift modeling and nothing else.
Why not just…?
Why not just tune on a small subset and apply the published $D^{-0.32}$ rescaling? This is a real threat on dense-Transformer pretraining with Adam, a cosine schedule and fixed batch size, the exact regime where the rule was fitted. There we expect it to be close to our method. The rule fails by construction in three cases: when batch size is also tuned (Step Law reports a positive exponent under co-scaling), when other hyperparameters such as weight decay drift, or when the problem is not pretraining. Our language-model experiments run both conditions to settle this. If the plug-in rule matches us everywhere, our contribution shrinks to the measurement study.
Why not just run PLES? PLES spends its budget learning a law across scales and has been tested on at most two hyperparameters, at up to 600M parameters. For a practitioner with one target and a six-dimensional search space, that is the wrong objective. The equal-budget comparison will show whether learning the law first is a better route to the target optimum. If PLES wins at equal budget, we concede the point.
Why not just use DyHPO-style learning-curve modeling, which already rescues late bloomers? DyHPO rescues configurations whose curves cross within a fixed dataset. Drift along data size is a shift of the optimum's location, which a curve model indexed by budget can only absorb through generic correlations. The frozen-$\Theta$ ablation and the adapted DyHPO baseline together measure whether that implicit absorption already suffices.
Why not just random-search at full scale, since the loss bowl is broad? Step Law does find a broad, convex basin. But the character-level study shows sensitive architectures need many random evaluations to land in it (Quantifying the Hyperparameter Sensitivity of Neural Networks for Character-level Sequence-to-Sequence Tasks). Full-scale runs are also exactly the cost we are trying to avoid. We include full-scale random search at matched compute as an upper reference.
Proposed Experiments
On YAHPO Gym (YAHPO Gym), we use its surrogate scenarios that expose training-set fraction as a fidelity, which are reported to rank-correlate with real training at $\rho$ between 0.90 and 0.99. These give hundreds of cheap problems for measuring drift and comparing tuners by normalized full-data regret against cumulative cost.
Real training covers two settings. The first is CNNs on CIFAR-10 and SVHN, matching the trace-aware knowledge-gradient setup. The second is GPT-2-style models on OpenWebText from nanoGPT-Bench, with token horizon as the fidelity and with learning rate, batch size, weight decay and warmup tuned jointly.
The decisive checks are four. First, on problems where the measurement phase shows drift, the drift-aware tuner should beat its frozen-$\Theta$ ablation; on problems without drift it should tie. Second, its full-data regret at matched compute should be below trace-aware knowledge gradient on CIFAR-10 and SVHN. Third, on nanoGPT the learned learning-rate exponent should be negative with batch size fixed and should rise toward positive when batch size is co-tuned. Fourth, the advantage over the plug-in rule should appear precisely in the co-tuned and non-pretraining conditions. If the third check fails, the shift model is wrong for language models and we will say so.
References
- Scaling Optimal LR Across Token Horizons
- Predictable Scale: Part I - Optimal Hyperparameter Scaling Law in Large Language Model Pretraining
- Practical Multi-fidelity Bayesian Optimization for Hyperparameter Tuning
- Supervising the Multi-Fidelity Race of Hyperparameter Configurations
- Scaling Laws for Hyperparameter Optimization
- Efficiently Estimating Optimal Hyperparameter Scaling Laws through Power-Law Entropy Search
- Configuration-to-Performance Scaling Law with Neural Ansatz
- Understanding the Mechanisms of Fast Hyperparameter Transfer
- Quantifying the Hyperparameter Sensitivity of Neural Networks for Character-level Sequence-to-Sequence Tasks
- YAHPO Gym - An Efficient Multi-Objective Multi-Fidelity Benchmark for Hyperparameter Optimization