- Rating
- 5
- Clarity
- 2
- Confidence
- 4
- Originality
- 4
- Quality
- 4
- Significance
- 3
Read review
Summary
The paper presents an empirical study specifically on the scaling laws of learning rate with over the GPT2 family of models with various parameter and dataset token sizes. Scaling laws are important as it allows the appropriate learning rate to be found for significantly smaller models and datasets and applying the scaling law on this learning rate so that it can be used for larger models and datasets. This allows for compute efficiency as trying to find optimal hyperparameters at larger model and dataset sizes is very expensive. The effective learning rate is presented and studied along with the learning rate due to modern architectures having normalization layers which emphasizes that it is not mainly the magnitude of the optimization behavior which is of concern but the direction. The study takes into account practical applications of the scaling laws through the notion of compute budget ratio beta where the extra compute ratio (ECR) for a specific beta denotes the extra computation in trying to use an extrapolated learning rate rather than an optimal learning rate. It is noted that the additional compute is the number of additional dataset tokens needed to recover the optimal loss which is estimated from the loss trajectories of both the predicted learning rate and optimal learning rate.
The main contributions are:
-
It tries to explain why only locally the optimal learning rate follows a power law relationship with respect to dataset and number of parameters. This is observed by plotting the optimal learning rate at increasing parameter size and dataset size have curvature when plotted in a Log-log graph (log(optimal learning rate) vs log(parameter size) and (log(optimal learning rate) vs log(dataset size)). In contrast, it is presented that optimal effective learning rate more closely follows a linear Log-log relationship.
-
It is shown both theoretically and empirically that the curvature at larger sizes is explained through modelling the effective learning rate through variants of the Adam optimizer. It is shown that in the case of AdamW there are two regimes for the effective learning rate dependent on the relationship between the time step, weight decay, and learning rate. From this, it is claimed that the transition between both regimes causes the curvature. Thus, an optimizer that controls effective learning rate like AdamH is preferrable as it reduces the extrapolation error as it matches the expected scaling laws.
-
Studying the effect of scaling with respect to dataset size and model size is studied by evaluating the out of distribution coefficient of determination R_{OOD}^2 between the extrapolated learning rate and optimal learning rate across different beta. The study is performed by considering both learning rate and effective learning rate where for each, beta is used to vary either the dataset size or model size. This results in four separate experiments which can be compared directly. It is expected that increasing beta reduces R_{OOD}^2 for all four experiments, but it is seen that scaling with respect to dataset size outperforms scaling with respect to number of parameters and effective learning rate outperforms learning rate. This means that to extract near optimal effective learning rate with less compute, the same exact model is used with a reduced subset of the dataset.
Strengths and weaknesses
Section 3 provides strong contextualization (for example, the power law relationships and Eq. 4 in particular highlighting the importance of weight direction in lines 39-40) and would benefit from being used earlier to clarify the introduction.
Lines 181–184 (and Figure 4) are a good demonstration regarding the importance of effective learning rate, especially since direction dominates magnitude under normalization, and as well as the role of data in deep models. Similarly, lines 185–190 and 203 onwards support the construction and importance of ECR. It is also worth noting that lines 222–223 align with expected theory (smaller updates lead up to weaker convergence), which further reinforces the results.
However, there are few issues in terms of clarity and presentation present. A few examples would be, lines 158–163 are difficult to read, and line 231 introduces a conceptual jump that would benefit from clarification. Figure 6 Left lacks clarity in the spacing between adjacent curves (especially in the two regimes, it is hard to see spacing between adjacent curves being approximately 0.5 and 1 respectively), and Figure 7 should explicitly state its dependence on the effective learning rate (e.g., via AdamH) as this is not made clear.
There are also some minor issues with consistency and completeness: missing references for transformers (line 92), inconsistent reference to appendix (line 224), and a typo in line 211. Additionally, though Eq. (15) is referenced, it should be explicitly noted that its derivation is in the appendix.
Some theoretical claims would benefit from stronger justification, in particular, the asymmetry attributed to the x^3 term (lines 493–494), and a short discussion on whether if the compute budget is generalized (currently coefficient 6) would affect the validity of the theory.
Questions
In Eq. (5), is the learning rate randomly initialized, or is the effective learning rate a refined/dynamic version of the initial learning rate?
How does nonlinearity arise (line 179), given that the behavior is described as linear due to proportionality? Similarly, can the asymmetry due to the x^3 term be more clearly justified?
Could the authors provide an interpretation of the results in terms of N_{extra} (e.g. additional parameters required to recover optimal loss)?
How sensitive are the results to the compute budget assumption (coefficient 6)? Would generalizing this affect the theory?
What is the computational complexity of estimating ECR, given its potential practical applications?
Limitations
yes
Paper formatting concerns
No major issue has been found as the paper properly follows the Formatting Instructions.
We thank the reviewer for the careful reading and for recognizing the quality, originality, and practical significance of our work. We especially appreciate the comments on clarity. We agree that several definitions and transitions can be presented more directly, and we will revise the introduction, theoretical explanation, figure captions, and appendix references accordingly.
Q1: In Eq. (5), is the learning rate randomly initialized, or is the effective learning rate a refined/dynamic version of the initial learning rate?
The effective learning rate is measured from each training run using Eq 5, rather than randomly initialized. For each raw learning rate η in our sweep, AdamW produces a time-varying effective learning-rate trajectory. This trajectory is determined dynamically by η in the optimization process. Eq 5 simply summarizes this trajectory by averaging it over training: T1∑t=0T−1ηeff(t;η,D,N).
Thus, ηeff is neither independently initialized nor separately optimized under AdamW. It is a measured quantity induced by the selected η. AdamH differs in that it directly controls this effective step size. We will clarify this distinction immediately after Eq 5.
Q2: How does nonlinearity arise (line 179), given that the behavior is described as linear due to proportionality? Similarly, can the asymmetry due to the x3 term be more clearly justified?
We thank the reviewer for pointing out our unclear statements.
We previously suggested that the improvement in ROOD2 with a larger fitting budget β indicates nonlinearity. However, this is much less obvious than directly claiming from earlier sections. Therefore, we will remove this claim from the revision.
For the x3 term, we agree that the current wording is unclear. The cubic term does not explain the asymmetry in theory. It is only used because the measured loss curve is asymmetric around the optimum, while a quadratic fit must be symmetric. We will revise the text to present the cubic fit as an empirical interpolation choice rather than a theoretical explanation.
Q3: Could the authors provide an interpretation of the results in terms of Nextra (e.g. additional parameters required to recover optimal loss)?
It is possible in theory but hard to estimate from experiments. In our definition, Dextra is the additional number of tokens needed for the same model, trained with the predicted learning rate, to reach the loss obtained with the optimal learning rate. This definition has a clear operational meaning: after training the target model for D tokens, one can simply continue training it for another Dextra tokens.
An analogous Nextra is much harder to define. Model size cannot usually be increased continuously. More importantly, one cannot simply add parameters to the trained model and continue training. Therefore, although Nextra could be introduced as a rough compute-equivalent quantity, it would not have the same practical meaning as Dextra.
We will clarify that ECR is intentionally defined through extra training tokens because it measures a realistic recovery cost: continue training the same model, rather than train a new, larger model from scratch.
Q4: How sensitive are the results to the compute budget assumption (coefficient 6)? Would generalizing this affect the theory?
The results are invariant to replacing 6 by any global constant κ. Under C(D,N)=κND, the data-axis and model-axis fitting costs are both κNtestDtest∑kαk (see line 155). Therefore, the budget constraint remains ∑kαk=β, independently of κ. Similarly, the common factor cancels in ECR: Dextra/D.
Consequently, changing the coefficient 6 does not affect the selected training sets, ROOD2, ECR, or any conclusion comparing the four transfer strategies. It also does not enter the AdamW analysis in Eq 15, so it has no effect on the theoretical explanation.
We will clarify that 6ND is a conventional compute proxy and that its global coefficient cancels.
Q5: What is the computational complexity of estimating ECR, given its potential practical applications?
ECR is actually an offline evaluation metric. The computational complexity of it directly comes from building a dataset. Such cost is potentially very expensive so we don't recommend using it as an online metric.
Suppose a given learning rate scaling law predicts η^ at (N,D), and we want to estimate the ECR. We sweep M learning rates and fit a quadratic model of L(logη) to estimate the true optimal loss L∗(D,N).
We then fit the loss trajectory under η^ as Lη^(d)=L0+Ad−γ, and solve Lη^(D+Dextra)=L∗(D,N).
Finally, ECR=Dextra/D.
The numerical fitting cost is negligible. The main cost is the M target-scale runs for the learning-rate sweep, plus one run using η^, giving total training compute of approximately 6(M+1)ND. Moreover, because these runs provide full loss trajectories up to D, they can be reused to evaluate the scaling law and obtain ECR at all intermediate scales (N,D′) with D′<D, without repeating the full sweep.