Summary (Overview)
- Core Question: This paper empirically tests whether Step Law [Li et al., 2025] — a power-law formula for optimal learning rate and batch size calibrated on models between 59M and 1B parameters — transfers to small language models with parameters.
- Main Finding (H2 Accepted): The power-law functional form holds at small scale, but the coefficients differ significantly from the original Step Law. Direct transfer systematically overestimates the optimal learning rate by a median factor of ~4.0× (range 2.4–6.6×).
- Recalibrated Laws: The authors fit new coefficients: () and ().
- Structural Claim Reproduced: Step Law's claim that is independent of holds at small scale (), but the growth of with data budget is nearly twice as steep ( vs. 0.571).
- Practical Recommendation: For small LLMs, divide the Step Law-predicted learning rate by approximately four, or use the recalibrated formula directly.
Introduction and Theoretical Foundation
Background and Motivation
Pre-training large language models is among the most expensive procedures in modern machine learning. Scaling laws [Kaplan et al., 2020; Hoffmann et al., 2022] characterize how loss depends on parameter count and data budget , but are silent on optimization hyperparameters. Step Law [Li et al., 2025] fills this gap by providing:
Calibrated on ~3,700 runs at seven values of , the region was never tested empirically by the authors, who explicitly defer generalization beyond the calibrated range to future work.
Why the Small-Scale Regime Matters
The region is practically significant for:
- Edge inference and mobile devices with tight memory and energy budgets
- Interpretability research, where small models are far easier to analyze mechanistically
- Single-GPU training, typical of educational and early-stage projects
There is also a principled reason to distrust naive extrapolation: power laws in machine learning routinely break down at the edges of their calibrated range, and reduced model capacity can change the geometry of the hyperparameter landscape.
Theoretical Foundation
The paper builds on:
- Gradient noise scale theory [McCandlish et al., 2018]: critical batch size is set by the ratio of gradient noise to gradient norm, which changes primarily with training duration rather than model width .
- Maximal update parameterization (μP) [Yang et al., 2022]: an alternative theory-driven approach where optimal learning rate is invariant to model width, but requiring architectural modifications.
- Small language models [Eldan and Li, 2023]: models with 1–30M parameters trained on narrow, high-quality corpora produce coherent text and display rudimentary reasoning.
Research Gap
No prior work covers the region on a standard parameterization with a joint dependence of hyperparameters on both and — this is the gap addressed by the paper.
Table 1: Comparison with existing work
| Work | Range of N | Target | Dependence on D |
|---|---|---|---|
| Kaplan et al. [2020] | Loss | Yes | |
| Chinchilla [2022] | Loss | Yes | |
| McCandlish et al. [2018] | Indirect | ||
| μP [Yang et al., 2022] | No | ||
| DeepSeek [2024] | Via C | ||
| Step Law [Li et al., 2025] | Explicit | ||
| This work | Explicit |
Methodology
Problem Setup
For fixed architecture , data distribution , parameter count , and data budget , the optimal hyperparameters are:
Empirically, in log–log coordinates, the optima are described by the power-law family:
Hypotheses
Three pairwise mutually exclusive and exhaustive hypotheses are tested:
- H1: Original Step Law coefficients hold directly for small models
- H2: Power-law form holds but with different coefficients
- H3: No power law describes the optima in this regime
Experimental Protocol
Models and data: nanoGPT-style architecture in standard (non-μP) parameterization, trained on roneneldan/TinyStories with a single in-domain BPE tokenizer (2,048-token vocabulary). Main scale range: , with two diagnostic anchor cells at .
Final grid: 29 unique cells and 935 analysis-ready runs. Main regression uses 25 cells (815 runs) in the working range .
Table 2: Summary of the final grid
| Data group | (N,D) cells | Usable runs |
|---|---|---|
| All unique cells | 29 | 935 |
| Iteration 1 | 12 | 405 |
| Iteration 2 (excl. N=5M) | 15 | 480 |
| N=5M anchor | 2 | 50 |
| Main refit | 25 | 815 |
Training setup: Grid search over per cell; AdamW (, , weight decay 0.1, gradient clipping 1.0), bf16, warmup–cosine scheduler with warmup = 5% of budget and . Single seed (1337) used throughout.
Optimum Extraction
The main metric is smoothed training loss:
Optima are extracted via a robust 2D-quadratic fit in log–log coordinates: within the window , fit:
If the Hessian is positive definite and the vertex lies inside the explored box, the vertex is taken as ; otherwise, the observed grid minimum is used.
Regression Fitting
Power-law coefficients are estimated via OLS in log–log coordinates:
Empirical Validation / Results
Direct Transfer of Step Law (H1 Rejected)
Step Law's original formula predicts a peak learning rate that is far too large. Across the 25 main-refit cells, the median ratio , with a range of 2.4–6.6×.
Table 3: Overestimation of optimal learning rate by Step Law formula
| Scale N | Geometric mean η_SL/η̂ | Per-cell range |
|---|---|---|
| 0.25M | 4.97× | 3.9–6.6× |
| 0.52M | 3.83× | 2.8–4.2× |
| 1.0M | 3.69× | 2.4–6.2× |
| 2.0M | 3.28× | 2.8–4.1× |
The overshoot decreases with growing N, consistent with a weaker N-dependence for than the original.
Recalibrated Coefficients (H2 Accepted)
On the 25 main cells, the final refit gives:
Table 4: Final power-law exponents compared with Step Law's coefficients
| Exponent | Our estimate | 95% bootstrap CI | Step Law | p (difference) |
|---|---|---|---|---|
| in | 0.508 | [0.410, 0.606] | 0.713 | |
| in | 0.238 | [0.159, 0.300] | 0.307 | 0.051 |
| in | 0.931 | [0.860, 0.994] | 0.571 |
Key observations:
- The N-exponent is significantly shallower than the original 0.713
- The D-exponent for () is statistically compatible with the original 0.307 at the margin of significance
- The strongest discrepancy is in batch size: vs. 0.571
Batch Size Independence from N (Structural Claim Reproduced)
Testing the extended model :
The coefficient on is statistically indistinguishable from zero: . A hierarchical F-test finds no improvement from adding (, ). The structural part of Step Law therefore reproduces, even though the exponent on D differs substantially.
Stability Across Iterations
Table 5: Stability of coefficients across subsamples
| Subsample | n | α (on N) | β (on D) | γ | ||
|---|---|---|---|---|---|---|
| Iteration 1 only | 12 | 0.548 | 0.350 | 0.954 | 1.018 | 0.938 |
| Iteration 2 only (excl. N=5M) | 15 | 0.529 | 0.198 | 0.791 | 0.935 | 0.967 |
| Merged main | 25 | 0.508 | 0.238 | 0.834 | 0.931 | 0.950 |
| All non-N=5M | 27 | 0.550 | 0.274 | 0.871 | - | - |
| Step Law | - | 0.713 | 0.307 | - | 0.571 | - |
The first and second iterations give a consistent picture: stays around 0.51–0.55, around 0.93–1.02, and the independence of from N is preserved. The most sensitive quantity is the D-exponent for the learning rate, ranging from 0.20 to 0.35 across subsamples.
Verdict Summary
Table 6: Final verdict on the three hypotheses
| Hyp. | What is tested | Final result | Verdict |
|---|---|---|---|
| H1 | Original Step Law coefficients hold at | overestimates the optimum by a median of ≈4.0×; α and γ differ significantly | Rejected |
| H2 | Power-law form holds, coefficients differ | well described by power law in N, D (); by power law in D (); for not significant () | Accepted |
| H3 | Power law does not describe small scale | High , consistent iterations, reproducible structure of | Not accepted |
Theoretical and Practical Implications
Theoretical Implications
-
Power-law structure is fundamental: The fact that the power-law form holds at scales 30–250× smaller than the original calibration range suggests that the power-law relationship between optimal hyperparameters and is a structural property of language-model optimization, not an artifact of a particular scale regime.
-
Coefficients are scale-dependent: The significant differences in exponents (particularly and ) indicate that while the functional form transfers, the specific calibration does not. This has implications for any theory attempting to derive these exponents from first principles.
-
Gradient noise scale interpretation: The reproduction of 's independence from is consistent with the gradient noise scale framework [McCandlish et al., 2018], where critical batch size is set by the ratio of gradient noise to gradient norm, which changes primarily with training duration rather than model width.
-
Comparison with μP: The shallower N-exponent ( vs. 0.713) suggests that at small scale, the optimal learning rate is less sensitive to model width than at large scale, which has implications for hyperparameter transfer approaches.
Practical Implications
-
Direct heuristic: For small LLMs, divide the Step Law-predicted learning rate by approximately four, or use the recalibrated formula .
-
Batch size guidance: The structural conclusion that is primarily set by the data budget , not model scale , holds — but the slope with respect to is substantially steeper in the small-scale regime ( vs. 0.571), meaning batch size grows nearly linearly with data budget.
-
Reproducible benchmark: The paper releases code, configurations, run logs, tables of optima, and refit scripts as an open benchmark at https://github.com/kunikrubika05/step-law-small-scale.
Hardware Cost Analysis
The paper includes a cost analysis comparing GPUs for the experimental sweep. The cost of processing one million training tokens:
where is the hourly GPU price, is wall-clock run time, and is the number of training tokens.
Table 7: Cost comparison of identical run on A10 vs T4 GPU
| GPU | π, RUB/h | t, s | , RUB | Val. loss | |
|---|---|---|---|---|---|
| A10 | 36.55 | 221.97 | 40,960,000 | 0.055019 | 2.471797 |
| T4 | 21.75 | 1769.49 | 40,960,000 | 0.261002 | 2.470558 |
The A10 is ~7.97× faster than the T4 at a 1.68× difference in hourly price, making it ~4.74× cheaper per token processed, with essentially identical validation loss.
Conclusion
Main Takeaways
-
Step Law does not transfer directly to small models: Direct application of the original coefficients systematically overestimates the optimal learning rate by a median factor of ~4× (range 2.4–6.6×). The N-exponent and batch-size exponent differ significantly from the original values.
-
The power-law form is preserved: Small scale does not break the power-law structure. is well described by a power law in and (), and by a power law in alone ().
-
Structural claim reproduced: Step Law's key structural claim that is independent of holds at small scale (), though the growth of with is nearly twice as steep.
-
Final verdict is H2: At small scale, Step Law needs recalibration, but not a different functional class.
Limitations
- Single seed: The experiments use a single seed (1337), so statistical intervals reflect variation across cells rather than initialization noise. Bootstrap CIs should be read as variation across cells, not full confidence intervals over seeds.
- Limited range: The main refit covers 0.25–2.03M parameters, well below Step Law's lower bound of 59M. The two cells serve only as diagnostic anchors.
- The D-exponent for the learning rate deserves particular caution: it is statistically compatible with the original value but sits at the margin of significance.
Future Directions
- Testing intermediate scales (e.g., 5M–59M) to map the transition between the small-scale and large-scale regimes
- Multi-seed experiments to establish genuine confidence intervals
- Exploring whether the recalibrated coefficients hold for other architectures, tokenizers, and data distributions
- Investigating the theoretical mechanisms behind the scale-dependent exponents
Related papers
- CompKV: Compensation-Aware KV Selection for Long-Context LLM Inference
CompKV is the first sparse attention framework that selects KV blocks based on downstream compensation error, achieving near-full-attention accuracy with up to 6.85x speedup.
- On the Design of Qwen3.8-Next Architecture: Evaluation, Efficiency, and Training Stability
Qwen3.8-Flash-Next matches its 397B predecessor's quality using one-third activated parameters and one-ninth training FLOPs via GDN, QSA, GR, and n-gram embeddings.
- DeltaS: Reading the Gated Linear Attention State for KV Cache Eviction in Streaming Video
DeltaS uses the normalized change in gated-delta linear attention's recurrent state as a query-agnostic retention signal, outperforming all bounded-memory baselines on six long-video benchmarks with minimal overhead.