Revisiting the Adam-SGD Gap in LLM Pre-Training: The Role of Large Effective Learning Rates
Athanasios Glentis, Dawei Li, Chung-Yiu Yau, Mingyi Hong
NeurIPS 2026
Abstract. It is widely believed that stochastic gradient descent (SGD) performs significantly worse than adaptive optimizers such as Adam in pre-training Large Language Models (LLMs). Yet the underlying reason for this gap remains unclear. In this work, we attribute a large part of the discrepancy to SGD's inability to sustain learning rates comparable to Adam's much larger effective learning rates. Through empirical and theoretical analysis of LLM pre-training dynamics, we identify that training is characterized by small gradient norms and large weight-to-gradient ratios, an effect that becomes more pronounced with larger batch sizes typical in pre-training, necessitating such large effective learning rates. However, we find that output-layer gradient magnitudes become highly uneven across token classes, and that large gradient spikes frequently occur during training. Together, these effects severely restrict the admissible learning rate of SGD. Guided by this understanding, we show that simple clipping mechanisms that stabilize SGD at large learning rates enable it to recover most of Adam's performance. In our large-scale experiments, the validation loss gap between large-learning-rate SGD and Adam shrinks from more than 50% to only about 2.3% when pre-training a 7B-parameter LLaMA model with a 1M-token batch size.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:50 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper studies why SGD underperforms Adam in LLM pretraining. It argues that SGD needs a larger effective learning rate, identifies layer-level gradient spikes and output-token gradient imbalance as resulting instabilities, and proposes two clipping mechanisms to stabilize training.
The reviewers find the problem important and the study systematic. They view the clipping mechanisms as practical interventions that substantially narrow the SGD–Adam gap in the evaluated settings.
The following concerns should be addressed.
- The novelty and framing remain unclear. Several observations about rare-token gradients and adaptive optimizers are already established. Please clarify the new insight and consider centering the paper on the clipping method and the practical benefits of stabilized SGD.
- The theory and evidence for the two clipping components need strengthening. The reviewers question whether Theorems 3.2 and 4.1 provide nontrivial insight or connect directly to the Adam comparison. Theorem 3.2 should be tested against gradient norm directly, and quantitative ablations should show that each clipping component addresses its claimed instability.
- The scope and practical significance remain uncertain. The experiments use only C4, relatively small models, and at most 20B tokens. Please clarify whether the runs approach convergence rather than show only faster optimization, and whether pretraining-loss conclusions extend to downstream performance or representation quality.
Final justification
I have read the authors' response and the reviewer discussion. The rebuttal addressed the concerns from my initial meta review, including direct measurements showing the gradient norm decreasing with batch size, empirical estimates of the structural constant, and other quantitative ablations regarding the clipping. Additional runs of extended pretraining are also reported and align with the original results. The reviewers acknowledged these improvements from rebuttal.
The main open question in the discussion is whether the findings restate established results in LLM pretraining, in particular whether coordinate-wise curvature imbalances already accounts for the effective learning rate gap. Having weighed this, I find the paper's contributions still meaningful. Curvature heterogeneity governs the conditioning of the loss landscape rather than the absolute magnitude of the stochastic gradient, which is what the paper measures (weight-SG ratios), and it does not account for the batch-size dependence emphasized in the paper. The interplay between between curvature heterogeneity and gradient noise is not well understood yet, and the findings in the paper are valuable. Also, the demonstration that clipping only the two identified irregularities permits much larger learning rate for SGD and mitigates the Adam-SGD gap is a substantive contribution on its own. Therefore, I recommend acceptance.
The authors should incorporate all rebuttal experiments and the reviewers' suggestions into the revision.
Read meta-review
Meta-review
The paper studies why SGD underperforms Adam in LLM pretraining. It argues that SGD needs a larger effective learning rate, identifies layer-level gradient spikes and output-token gradient imbalance as resulting instabilities, and proposes two clipping mechanisms to stabilize training.
The reviewers find the problem important and the study systematic. They view the clipping mechanisms as practical interventions that substantially narrow the SGD–Adam gap in the evaluated settings.
The following concerns should be addressed.
- The novelty and framing remain unclear. Several observations about rare-token gradients and adaptive optimizers are already established. Please clarify the new insight and consider centering the paper on the clipping method and the practical benefits of stabilized SGD.
- The theory and evidence for the two clipping components need strengthening. The reviewers question whether Theorems 3.2 and 4.1 provide nontrivial insight or connect directly to the Adam comparison. Theorem 3.2 should be tested against gradient norm directly, and quantitative ablations should show that each clipping component addresses its claimed instability.
- The scope and practical significance remain uncertain. The experiments use only C4, relatively small models, and at most 20B tokens. Please clarify whether the runs approach convergence rather than show only faster optimization, and whether pretraining-loss conclusions extend to downstream performance or representation quality.
Final justification
I have read the authors' response and the reviewer discussion. The rebuttal addressed the concerns from my initial meta review, including direct measurements showing the gradient norm decreasing with batch size, empirical estimates of the structural constant, and other quantitative ablations regarding the clipping. Additional runs of extended pretraining are also reported and align with the original results. The reviewers acknowledged these improvements from rebuttal.
The main open question in the discussion is whether the findings restate established results in LLM pretraining, in particular whether coordinate-wise curvature imbalances already accounts for the effective learning rate gap. Having weighed this, I find the paper's contributions still meaningful. Curvature heterogeneity governs the conditioning of the loss landscape rather than the absolute magnitude of the stochastic gradient, which is what the paper measures (weight-SG ratios), and it does not account for the batch-size dependence emphasized in the paper. The interplay between between curvature heterogeneity and gradient noise is not well understood yet, and the findings in the paper are valuable. Also, the demonstration that clipping only the two identified irregularities permits much larger learning rate for SGD and mitigates the Adam-SGD gap is a substantive contribution on its own. Therefore, I recommend acceptance.
The authors should incorporate all rebuttal experiments and the reviewers' suggestions into the revision.
1 comment
- Rating
- 2/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies how the effective learning rate influences the trajectories explored by SGD during training. The main finding is that small effective learning rates restrict the optimizer's movement through parameter space, limiting its ability to discover high-quality solutions. While larger learning rates could potentially improve exploration and final performance, they typically introduce instability and optimization failures. To address this challenge, the authors propose using gradient clipping as a mechanism to stabilize training under larger learning rates. The resulting method enables SGD to traverse a wider region of the loss landscape and consistently achieves better performance across the evaluated benchmarks.
Strengths and weaknesses
Strengths
- The paper is generally well written and easy to follow. The empirical observations are clearly presented, and the proposed gradient clipping approach is simple, practical, and potentially useful for improving SGD-based pretraining.
- The study provides a systematic investigation of the relationship between effective learning rate, optimization dynamics, and token learning behavior. The proposed method is easy to implement and appears to consistently improve SGD performance across the evaluated settings.
Weaknesses
- In my view, the main empirical findings are not particularly surprising and are largely consistent with existing understanding in the optimization and language-model pretraining literature. The observation that SGD struggles to learn infrequent or underrepresented tokens, and that this contributes to the superior performance of adaptive optimizers such as Adam, is already well known and has been discussed extensively in prior work, including several papers cited by the authors. While the paper provides additional empirical evidence and a different perspective on these phenomena, it is less clear what fundamentally new insight is gained.
- Consequently, I believe the most valuable contribution of the paper is not its explanation of why Adam outperforms SGD, but rather the proposed gradient clipping strategy that allows SGD to operate with larger effective learning rates while maintaining stability. The current framing emphasizes explanatory findings that are, in my opinion, already largely understood by the community, which makes some of the novelty claims feel overstated.
- A stronger framing would be to start from the practical advantages of SGD relative to Adam, such as reduced memory requirements and potentially lower optimization overhead, identify the limitations imposed by conservative learning rates, and then introduce gradient clipping as a mechanism to overcome these limitations. Such a presentation would better highlight the genuinely novel and practically relevant contribution of the work.
- I am also not fully convinced by some of the theoretical results. For example, Theorem 4.1 shows that the output-layer gradient norm is approximately proportional to token frequency during the early stages of training. However, this behavior appears largely intuitive: at initialization, frequent tokens are encountered more often and therefore accumulate larger gradients. While the theorem formally characterizes this phenomenon, it is unclear whether it provides a fundamentally new insight or changes our understanding of optimization dynamics. Similar comments apply to some of the other theoretical results, such as Theorem 3.2. Although these analyses are mathematically sound and may help formalize the discussion, they do not appear essential for understanding or accepting the paper's main empirical conclusions.
Questions
-
Generality beyond the current experimental setting. The experiments are conducted on a single pretraining dataset (C4) and relatively small-scale language models. Why should we expect the reported findings to generalize to modern large-scale pretraining regimes? While I understand that conducting large-scale pretraining experiments is often prohibitively expensive in academic settings, I would like to see a more detailed discussion of the assumptions underlying this extrapolation. At a minimum, it would be helpful to evaluate the proposed method on additional datasets, even if model sizes remain small.
-
Training duration and convergence. Are the reported training runs sufficiently long to reach convergence? If not, some of the observed performance differences may reflect optimization speed rather than final model quality. The paper would benefit from stronger evidence that the reported comparisons correspond to converged or near-converged solutions; otherwise, it is difficult to assess the practical significance of the results.
Limitations
Sec 5 discusses some limitations, and as the authors mention there it'd be very beneficial to extend the analysis to additional model families such as OLMo. I don't think simply mentioning this limitation in Sec 5 is enough to alleviate the generality concern.
Final justification
I maintain my score as I do believe the findings are largely consistent with existing understanding of the superiority of Adam over SGD in the optimization and language-model pretraining literature. After the rebuttal, I do not believe the paper provides new valuable insights.
Formatting concerns
N/A
5 comments
Rebuttal
We appreciate the reviewer’s effort devoted to reviewing our paper. Below are our responses:
Weakness 1:
the main empirical findings are not particularly surprising (...) The observation that SGD struggles to learn infrequent or underrepresented tokens (...) is already well known and has been discussed extensively in prior work , including several papers cited by the authors (...)
Here we would like to address an important misunderstanding about our paper's main focus, observations and contributions. We apologize to the reviewer if we were not clear enough on those points, and we look forward to their feedback on this matter.
First, we fully agree with the reviewer that prior works already observe that SGD struggles to learn infrequent tokens. In fact, we explicitly mention this in our related works section: "Kunstner et al. [2024] studied the heavy-tailed class imbalanced data distribution in pre-training observing that SGD struggles to progress on infrequent targets".
However, other than mentioning this in the related works, we never write anything else about "SGD struggles to learn infrequent tokens" in the rest of our paper and thus we never claimed this to be our observation nor our contribution. We would be very grateful if the reviewer could point out which parts of our paper lead to this confusion, so that we can improve them in the final version.
Instead, we observe and analyze the following pre-training phenomena:
- Effective learning rate (LR) discrepancies between SGD and Adam, being small vs large, respectively.
- The need for large effective LR due to very high weight-to-gradient norm ratios and the effect of batch size.
- Two forms of gradient irregularities that restrict the LR of SGD, and thus keep it trapped near initialization.
- That those gradient irregularities can be "treated" with simple clipping mechanisms, and large LR SGD can close most of the gap to Adam, validating our previous conjecture for the need of large LR in pre-training.
To the best of our knowledge, the above observations and their theoretical analysis are presented for the first time in this paper, making our work both novel and significant, as it improves our understanding on the important open question about the SGD and Adam performance gap in pre-training.
Weaknesses 2 and 3:
"Consequently, I believe the most valuable contribution of the paper is not its explanation of why Adam outperforms SGD" (...) "The current framing emphasizes explanatory findings that are, in my opinion, already largely understood by the community, which makes some of the novelty claims feel overstated."
We respectfully disagree with this statement. As explained above, our findings are to the best of our knowledge presented for the first time in this paper. We again emphasize that our contribtuion is not about observing "SGD struggles to learn infrequent tokens", which is already known and we only mention in related works.
"A stronger framing would be to start from the practical advantages of SGD relative to Adam, such as reduced memory requirements and potentially lower optimization overhead, identify the limitations imposed by conservative learning rates, and then introduce gradient clipping as a mechanism to overcome these limitations."
Again, we have a different prespective. The goal and content of our paper is specifically about exploring further the SGD and Adam performance gap in pre-training, and we explicitly mention in our paper that we are not proposing a new optimizer:
"we emphasize the focus of this study is not to propose new optimization algorithms, but rather on gaining understanding (...)"
In short, we believe that not every paper needs to propose a new method. While the literature contains numerous new optimization methods, understanding of the behavior of fundamental optimizers such as SGD and Adam remains limited, and is an equally important research direction.
Weakness 4:
"I am also not fully convinced by some of the theoretical results. For example, Theorem 4.1 shows that" (...) "However, this behavior appears largely intuitive" (...)
We would like to clarify the role of the theorems in our work and why we conisder them important. Although the results may appear intuitive in light of the empirical observations, formalizing this intuition requires rigorous analysis. More importantly, the theorems identify mechanisms underlying the observed phenomena: Theorem 3.2 explains why a large effective learning rate is necessary, while Theorem 4.1 explains the imbalance in the gradients. These results therefore do more than confirm intuition: they provide rigorous explanations for the mechanisms behind the observations.
Question 1:
"The experiments are conducted on a single pretraining dataset (C4) and relatively small-scale language models (...)"
Our experiments are on par or larger in scale with related pre-training literature. In particular, the two most recent and widely accepted optimizer benchmark papers on pre-training [1] and [2] train on LLaMA models up to 720M and 1.2B total parameters, respectfully. Our largest model is also a LLaMA that, including the embedding layers, has about 1.339B trainable weights.
In addition, our pre-training experiments are on par or larger in scale compared to related works on explaining the Adam-SGD gap. For instance, [3] and [4] pre-train up to a model of 124M parameters, [5] up to 1B parameters and [6] up to 1.3B parameters. Most of those works also perform their main pre-training experiments on one model familly and dataset.
From the above it is clear that the research community considers this scale sufficient for studying pre-training optimization. Also, modern dense Transformer architectures differ only in small parts, and widely used large-scale pre-training datasets mainly vary in data curation and not in their underlying distribution. Therefore, evaluating a single representative architecture (up to 1B parameters) and dataset is standard practice in the pre-training literature.
At a minimum, it would be helpful to evaluate the proposed method on additional datasets, even if model sizes remain small.
We ephasize that we have experiments on an additional model and dataset (GPT2 on FineWeb ) in our Appendix C.3., where we observe a similar pattern as in our main experiments.
Finally we would like to remind the reviewer that we are not proposing a new method, as also stated in the paper, but provide new insights about the Adam-SGD gap in pre-training.
Question 2:
"Training duration and convergence. Are the reported training runs sufficiently long to reach convergence?"
We note that in LLM pre-training stettings, models almost never reach full convergence. Instead, they are typically trained to 1 or more multiples of what is known as the Chinchilla compute-optimal ratio [7], i.e., 20 tokens per model parameter. This is the rule that we use in our paper (stated in our Appendix) and it is the standard among modern pre-training literature (e.g., [1,2,5,6]).
"If not, some of the observed performance differences may reflect optimization speed rather than final model quality."
Comparing optimization speed is the goal when benchmarking optimizers in LLM pre-training (e.g., in popular benchmarks [1] and [2]), and the open question about the Adam-SGD gap in pre-training is directly related to the "speed" at which each optimizer is able to drive down the next-token prediction loss.
"The paper would benefit from stronger evidence that the reported comparisons correspond to converged or near-converged solutions".
To further address the reviewer's concern, we have performed new experiments with extended number of tokens (4 and 8 times more than the Chinchilla optimal ratio, i.e., overtraining regime) for the 130M model and we show the results below:
4x Chinchilla:
| Val. Loss | Relative Loss Increase from Adam | |
|---|---|---|
| Adam | 2.94 | 0% |
| SGD | 4.04 | 37.41% |
| SGD-LL | 3.03 | 3.06% |
8x Chinchilla:
| Val. Loss | Relative Loss Increase from Adam | |
|---|---|---|
| Adam | 2.89 | 0% |
| SGD | 3.70 | 28.03% |
| SGD-LL | 2.95 | 2.08% |
We observe the same pattern as in our main experiments, that, after addressing the gradient irregularities, running SGD with large LR (i.e., LR=100) is able to close most of the gap to Adam. Note that SGD (without the gradient clipping) diverges for LR greater than 0.5, similar to our main experiments.
Limitations:
Sec 5 discusses some limitations, and as the authors mention there it'd be very beneficial to extend the analysis to additional model families such as OLMo.
We would like to ask the reviewer to clarify this statement, because in our limitations section we do not write about extending to additional model families. We are a bit confused why the reviewer is claiming we mention something that is not actually written in the paper.
Furthermore, we remind the reviewer that we have experiments on an additional model and dataset (GPT2 on FineWeb) in our Appendix C.3., where we observe a similar pattern as in our main experiments.
References:
[1] Benchmarking Optimizers for Large Language Model Pretraining, Semenov et al., 2025.
[2] Fantastic Pretraining Optimizers and Where to Find Them, Wen et al., 2025.
[3] Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Models, Kunstner et al., 2024.
[4] Why Transformers Need Adam: A Hessian Perspective, Zhang et al., 2024.
[5] Is your batch size the problem? Revisiting the Adam-SGD gap in language modeling, Srećković et al., 2025
[6] Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation Is Wasteful, Marek et al., 2025.
[7] Training Compute-Optimal Large Language Models, Hoffmann et al., 2022.
Dear Reviewer 7fMa,
Thank you again for the comments and suggestions. As the discussion period is ending, we would greatly appreciate your feedback regarding our rebuttal.
We hope that our clarifications about the novelty, scope and contributions, as well as the new experimental results addressed your questions and concerns.
We would be happy to answer any additional questions,
Best,
The Authors
Thank you for your rebuttal.
I can assure you that I have carefully read both your paper and rebuttal, and I am familiar with the prior optimization literature. There was no misunderstanding of your results.
Here is my point:
1, 2 – Effective learning rate discrepancy. This is the primary motivation behind Adam. SGD uses a constant learning rate across all dimensions, but in large LLMs, different dimensions exhibit very different curvature. As a result, a constant learning rate that allows sufficient progress in most dimensions will be too large for high-curvature dimensions. Similarly, a lower learning rate prevents progress across the many low-curvature dimensions. This already explains your observation. You may arrive at this conclusion through a different line of reasoning, but regardless of how it is derived, the conclusion itself is well known.
The highly uneven output-layer gradient magnitudes across token classes can also be explained by the above observation. Due to the long-tailed nature of language data, many underrepresented tokens correspond to low-curvature dimensions, while a smaller number of frequent tokens correspond to high-curvature dimensions. Consequently, a uniform learning rate can lead to imbalanced optimization dynamics across token classes. Now, if you clip SGD gradient (across this high-curvature dimensions), you can use a larger learning rate and make more progress, which is presented at the last part of your paper.
3, 4 – As mentioned in my review, your method is what I believe can be presented as your main contribution. Points 1 and 2 are already well known in the optimization literature, at least to researchers familiar with the area. Currently, a substantial portion of the paper focuses on these points, and I do not think we should publish papers that simply rediscover well-established conclusions. I understand that you do not want to propose a method, and that is perfectly fine. However, I am not convinced by the novelty or significance of the findings presented in points 1 and 2.
Regarding the theoretical results, I do not believe the analysis demonstrates anything beyond what is already known in the optimization literature. Therefore, stating that these results are shown "for the first time" is, in my view, not accurate. Existing results can certainly be framed from a different perspective, but that does not mean they are being established for the first time. I also strongly disagree with the claim that the theorems are intuitive in light of the empirical results; in my opinion, they are intuitive even without the empirical evidence.
Regarding the speed of convergence, an optimizer may converge more quickly during the initial stages of training but fail to make further progress later. In contrast, another optimizer may progress more slowly at first but continue improving and ultimately reach a better solution. In many cases, the latter is preferable. Therefore, I do not believe this question is irrelevant, and I note that another reviewer raised the same question. Anyways, thanks for the additional experiment regarding this.
Based on the above, I'll keep my original score. Thanks again for your rebuttal.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper gives an insightful explanation for why SGD falls short compared to ADAM in LLM Pretraining. The authors observe that SGD yields smaller gradient norms and thus would require a larger learning rate to match the performance of ADAM, which in turn was prohibited due to training instability incurred by the learning rate increase. Building on these heuristics, the authors propose ameliorating gradient irregularities in SGD via clipping, which helps match SGD's performance to that of ADAM. Overall, this paper offers a refreshing understanding of SGD dynamics and the advantages provided by ADAM.
Strengths and weaknesses
Strengths
(1) The story is compelling and straightforward. The discrepancy between SGD and ADAM is a long-standing observation, and the paper provides an effective mechanistic account for it.
(2) The authors corroborate their claims with mathematical modeling and comprehensive experimental observations, lending much credence to their claim.
Weaknesses
(1) The presentation may be improved. Some sections should be refactored to improve readability.
(2) Certain experiments are a bit rushed and may not be convincing enough.
(3) Certain math derivations seem somewhat vacuous and insufficiently informative.
I will elaborate on these weaknesses in the question section. Overall, I acknowledge the novelty of the discoveries of this paper but am inclined to think that the delivery needs more refinement.
Questions
(1) The definition of equation (6) is confusing. I would suggest moving the closed-form for the output layer and intermediate layers to immediately below equation (6) to clarify the presentation.
(2) While Theorem 3.2 is quite an interesting result, I have the following questions about it:
(2.1) The main empirical validation of it is that the weight-to-SG ratio increases with batch size. But can't you make a plot just to show how the gradient norm changes with the batch size, since your theorem is about the gradient norm rather than the weight-to-SG ratio?
(2.2) I feel the mental image of [1] also helps explain the effect of batch size on the gradient norm: larger batch size results in smaller gradient noise and, keeping the same learning rate (or choosing the optimal one), you can get to the optimum quickly, resulting in a smaller gradient norm. I wonder if the authors agree with this.
(2.3) The proof of Theorem 3.2, at some point, relies on choosing , which makes the LHS small, and potentially renders the inequality quite uninformative.
(2.4) I think the central problem is that the paper relies on the comparison between SGD and ADAM, while Theorem 3.2 is discussing only SGD. However, I do think that the empirical evidence provided before Theorem 3.2 is quite interesting for comparing SGD and ADAM, but Theorem 3.2 fails to capture this, and thus appears a bit disconnected with the main theme of the paper.
(3) The proof sketch at the end of Section 3 does not say much. I would suggest removing it.
(4) The "(Adam)" in Figure 4b should be "(SGD)".
(5) The justification for the two types of clipping is not strong enough:
(5.1) Can you show Figure 4a also for Adam? In the current figure, you only show SGD. Even if the result is not ideal, I would think such a plot would make the presentation more comprehensive.
(5.2) The main justification for the two clippings should come from the ablation that you did in Appendix C. However, the ablation is actually quite weak. I would want to see more quantitative results like Table 1 for the ablation rather than just a few loss curves at the beginning of the training. It's acceptable to do it only for small models.
[1] McCandlish, Sam et al. “An Empirical Model of Large-Batch Training.” ArXiv abs/1812.06162 (2018): n. pag.
Limitations
The authors addressed
Final justification
The authors addressed my concerns adequately, among which I am particularly happy that they performed more extensive ablations, clarified the difference between their work and [1], and provided a strong response regarding the estimation of . Overall, I think it is an interesting discussion regarding the difference between SGD and Adam. I suggest Accept for this paper.
Formatting concerns
No
4 comments
Rebuttal
We thank the reviewer for the appreciation of the novelty of our discoveries and for the helpful suggestions. Below are our responses.
Questions
- The definition of equation (6) is confusing. I would suggest moving the closed-form for the output layer and intermediate layers to immediately below equation (6) to clarify the presentation.
We apologize for the confusion and sincerely thank the reviewer for the suggestion. We will add the two specialized examples of the output layer and intermediate layers immediately below equation (6) to better clarify .
- While Theorem 3.2 is quite an interesting result, I have the following questions about it:
2.1. The main empirical validation of it is that the weight-to-SG ratio increases with batch size. But can't you make a plot just to show how the gradient norm changes with the batch size, since your theorem is about the gradient norm rather than the weight-to-SG ratio?
We thank the reviewer for the suggestion, indeed such a plot would be very useful and we will include it in the final draft as it further validates our main observations. While we can't include figures in the rebuttal, we already recorded the average (Frobenius) norm for the full gradient vector during training of the 130M model for large and small token batch sizes (BS) and report it below:
| Token BS | Gradient Norm (Avg) |
|---|---|
| 524,288 | 0.09 |
| 16,384 | 0.35 |
We observe that the gradient norm decreases with the batch size, as expected. Note that for even smaller token BS we observe even larger norm (e.g., for token BS 2,048 the norm is around 2.5 in early training and has a stable trend), however those experiments take considerable longer time to finish due to the decreased parallelization, so we will include them when completed in the final draft.
2.2. I feel the mental image of [1] also helps explain the effect of batch size on the gradient norm: larger batch size results in smaller gradient noise and, keeping the same learning rate (or choosing the optimal one), you can get to the optimum quickly, resulting in a smaller gradient norm. I wonder if the authors agree with this.
Thank you for the question. We agree with the reviewer that [1] also provides an explanation for the effect of batch size on the gradient norm, however this explanation does not fully apply in LLM pre-training tasks, and our result provides a complementary explanation. We elaborate below.
The explanation in [1] suggests that the training trajectory with large batch size can progress faster toward a low-loss stationary region where the true gradient norm is smaller. Under this explanation, the smaller gradient norm is mainly a consequence of being further along the optimization trajectory, rather than a direct effect of batch size. However, in LLM training, where optimization typically consists of at most one epoch over the training data, and often much less, the iterates may remain far from a stationary point throughout the training process. Much of the relevant training dynamics therefore occurs in a far-from-stationary regime, which is not the main focus of [1].
This is also validated numerically from our experiments. As an example we provide a table below, where we recorded the total gradient norm and training loss at the 0.5B token checkpoint of the 130M model for two different batch sizes:
| Token BS | Gradient Norm | Training Loss |
|---|---|---|
| 524,288 | 0.14 | 3.99 |
| 16,384 | 0.33 | 3.46 |
We see from above that the smaller gradient norm when training with the large BS is not due to being closer to the optimum point, as the loss is actually higher compared to with the small BS.
Our mechanism explains how batch size can affect the gradient norm within this regime, and can therefore be viewed as complementary to [1]. We will make sure to cite [1] in our final version and make this distinction clear.
2.3. The proof of Theorem 3.2, at some point, relies on choosing , which makes the LHS small, and potentially renders the inequality quite uninformative.
Thank you for your comment. is a constant that is dependent on the problem structure and network architecture. We agree that when choosing as the largest possible value , the LHS is potentially small. Nevertheless, is a loose upper bound for , and the real may be much smaller in practice. For example, in the output layer case, , removing all -dependency.
2.4. I think the central problem is that the paper relies on the comparison between SGD and ADAM, while Theorem 3.2 is discussing only SGD. However, I do think that the empirical evidence provided before Theorem 3.2 is quite interesting for comparing SGD and ADAM, but Theorem 3.2 fails to capture this, and thus appears a bit disconnected with the main theme of the paper.
Thank you for your comment. We would like to kindly point out that Theorem 3.2 works for all algorithms and provides a mechanism in the difference between SGD and Adam. We elaborate below.
Theorem 3.2 studies the gradient norm during training. Specifically, we point out in Theorem 3.2 that the gradient norm is small due to the problem structure, data distribution and the network architecture in pre-training. These properties are not explicitly algorithm-specific, so the bound can be essentially applied to all algorithms.
The main point of Theorem 3.2 is to show that the gradient norm is small regardless of algorithm choice when the batch size is large. Therefore, for any first-order algorithm, we need a large effective learning rate to guarantee sufficient training. Adam enlarges the effective learning rate via the normalization operation, but SGD does not. This results in the large difference between the performance of SGD and Adam. The role of Theorem 3.2 is to justify the necessity of using large effective learning rate for pre-training tasks.
We apologize for the possible confusion and will further clarify this connection in the revision.
- The proof sketch at the end of Section 3 does not say much. I would suggest removing it.
Thank you for your suggestion. We will revise and shorten the proof sketch to highlight only the main idea of the proof, while providing a more detailed proof sketch in the appendix. We will also add more intuitions for the Theorem 3.2 and provide numerical examples of the small gradient norm described in the theorem.
- The "(Adam)" in Figure 4b should be "(SGD)".
Thanks a lot for pointing this out and apologize for the confusion, we will update it in the final draft.
- The justification for the two types of clipping is not strong enough:
5.1. Can you show Figure 4a also for Adam? In the current figure, you only show SGD. Even if the result is not ideal, I would think such a plot would make the presentation more comprehensive.
Thank you for your suggestion, we will make sure to include the figure in the final draft. While we are not allowed to include figures in the rebuttal, we observed the following: (i) The stochastic gradient (per-layer) norms when using Adam as the optimizer have similar spikes during the early training phase as when using SGD, i.e., the stochastic gradient behaves similarly for both optimizers. (ii) The (per-layer) norms of the Adam update are much more stable, without exhibiting large spikes. This is expected because Adam controls the update magnitude through element-wise normalization (which reduces to sign normalization if removing the two momentum states). Therefore, the magnitude of each update coordinate is controlled, and the norm of the update remains stable even if the unnormalized stochastic gradient norm has spikes.
5.2. The main justification for the two clippings should come from the ablation that you did in Appendix C. However, the ablation is actually quite weak. I would want to see more quantitative results like Table 1 for the ablation rather than just a few loss curves at the beginning of the training. It's acceptable to do it only for small models.
Thank you for your helpful suggestion. We present the final validation loss of the requested ablation for the two clippings on the 130M LLaMA model on Chinchilla optimal number of tokens (as in the main paper's Table 1).
| Learning Rate | Val. Loss | |
|---|---|---|
| Adam | 3e-3 | 3.11 |
| SGD + Layer-wise-RMS-clip | 0.5 | 5.06 |
| SGD + Layer-wise-RMS-clip | 1 | 7.29 (diverged) |
| SGD + Layer-wise-RMS-clip | 5 | 7.12 (diverged) |
| SGD + Per-token-class-clip | 0.5 | 5.00 |
| SGD + Per-token-class-clip | 1 | 4.52 |
| SGD + Per-token-class-clip | 5 | 6.35 (diverged) |
| SGD-LL (both clippings) | 100 | 3.24 |
These results justify why "treating" both types of gradient irregularities using the two types of clipping is essential in order to allow SGD to use high enough learning rate (LR=100 in this case) and achieve comparable final performance with Adam. In all other cases, where only one clipping type was applied, increasing the LR further quickly lead to training divergence due to the unstable gradient, and thus much worse final result.
Finally we note that the main goal of this paper is not to propose some new clipping types for SGD or a new optimizer, but to show that, after simply "treating" the observed gradient irregularities, it is possible to run SGD with such high LR and close most of the gap to Adam, providing a new understanding regarding the Adam-SGD gap.
Dear Reviewer 9RSa,
Thank you again for the valuable comments and suggestions, and for your positive evaluation of our paper. We have posted our responses to the raised concerns. As the discussion period is ending, we would greatly appreciate your feedback regarding our rebuttal.
Best,
The Authors
Follow-up
Q 2.3: I do not think this is completely resolved. "the real may be small" is a speculation. But I also do not see how to resolve it. I buy your story, but I think the math is not compelling enough. Perhaps some experimental estimation of will be good.
Q 2.4: I think this theorem is compromised because the inequality is not tight.
All other concerns have been well addressed.
Overall, I am in favor of acceptance, considering the novel empirical observations. However, the theoretical justification and the overall logical connection are not sufficiently tight. Thus, I will keep my score unchanged for now.
Thank you for your response.
Dear Reviewer 9RSa,
Thank you for being in favor of acceptance of our paper and for your appreciation of our novel empirical observations, which we agree are the main strength of our work. We are also very grateful for all your sharp suggestions which improved the quality of our paper.
Regarding Q2.3, we agree that our original response was not enough to justify the possible values of . Following your suggestion on Q2.3, we have now conducted an experimental estimation of for different layers.
In particular, we estimate by calculating the ratio of , where is the contribution of token class to the stochastic gradient . Since directly calculating each would result in back-propagations for one estimation (where is the vocabulary size), we previously thought it was computationally infeasible to perform. Nevertheless, now we have found a tractable approach to estimate .
Specifically, let be independent Rademacher variables, i.e., $r_j \in \{-1, +1\} $. Define , then . We therefore sample by times to obtain an unbiased estimation of the sum , which only requires times of back-propagation (we use in our experiments).
We tested on the LLaMA-130M model (with 12 total transformer layers, same setting as our main experiments) with both Adam and SGD. We tracked the gradient of the following four layers: the input embedding layer, Layer 1, Layer 6 and Layer 11. The observed ratios are presented in the following table:
Adam
| Iteration | 0 | 1000 | 2000 | 3000 | 4000 | 5000 |
|---|---|---|---|---|---|---|
| Embedding | 0.98 | 1.85 | 1.37 | 1.30 | 1.03 | 1.01 |
| Layer 1 | 1.00 | 2.75 | 1.81 | 1.58 | 1.16 | 1.08 |
| Layer 6 | 0.98 | 2.48 | 2.05 | 1.75 | 1.47 | 1.22 |
| Layer 11 | 1.00 | 1.82 | 1.44 | 1.18 | 0.97 | 0.88 |
SGD
| Iteration | 0 | 1000 | 2000 | 3000 | 4000 | 5000 |
|---|---|---|---|---|---|---|
| Embedding | 0.98 | 1.03 | 0.96 | 0.93 | 0.89 | 0.86 |
| Layer 1 | 1.00 | 1.90 | 1.33 | 1.24 | 1.02 | 0.94 |
| Layer 6 | 0.98 | 1.15 | 1.01 | 0.95 | 0.84 | 0.80 |
| Layer 11 | 1.00 | 0.82 | 0.80 | 0.79 | 0.72 | 0.72 |
Across all measured layers, optimizers, and checkpoints, the estimated ratio lies between 0.72 and 2.75, being considerably smaller than the worst case K. These results provide empirical evidence that the worst-case is indeed highly conservative in practical settings for the embedding and for the intermediate transformer layers. Also note that for the output layer, is exactly 1. So, for all layers we experimentally estimate to be small, and we believe that provides a better justification for the connection between our theoretical result and the experimental observations.
We hope this result also helps in regards with Q2.4. While we agree the bound in Theorem 2.3. is not tight, our new result experimentally supports that does not significantly compromise the bound. Overall, we believe the bound has a supportive role in showing a trend that the gradient norm tends to be small in LLM settings.
We will add a discussion paragraph and include these results when introducing in the revision. We sincerely thank the reviewer again for raising this important point, which led us to provide a substantially more informative empirical justification for the magnitude of .
We hope this additional result addresses your remaining concern and is helpful in your final evaluation.
Best regards,
The Authors
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The authors investigate the performance gap between Adam and SGD in LLM training. Specifically, they argue that in LLM pretraining the ratio of weight norm to gradient norm is very small, and that Adam, performing variance normalization, attains a higher effective learning rate than SGD; LLM training is therefore better suited to Adam. When the SGD learning rate is increased to match that of Adam, the training dynamics become unstable in two main ways: (1) gradient spikes occur at the layer level, and (2) a per-token gradient-norm imbalance arises in the output logit head. The authors apply carefully designed gradient-clipping methods to improve the stability of SGD, and show empirically that when the effective learning rate is raised to Adam's, the convergence also becomes comparable to that of Adam.
Strengths and weaknesses
Strengths
- The paper is well written, and the research question, together with the sequence of steps taken to address it, is exemplary.
- This work provides a theoretical explanation for the previously opaque gap between SGD and Adam in LLM training. This is fairly important, since Adam has not been strictly necessary in the vision domain. Moreover, recent LLM training sometimes employs optimizers such as Muon; analyzing the effect that the optimizer has on LLM training is therefore important.
- The paper addresses a problem that is particularly important in NLP. Unlike vision and speech, NLP deals with discrete tokens. The norm issues at high- and low-frequency tokens, the reduction in covariance as the batch size grows, and the very low tail-token probability induced by Zipf's law (which leads to small gradient norms) together provide a valuable analytical lens.
Weaknesses
- The improved SGD does not appear to fully match Adam. However, I do not regard this as a major weakness. Adam is clearly different from SGD, so the residual difference may stem from the optimizer itself. The real problem was that the SGD-Adam gap reported so far has been abnormally large.
- The scale is somewhat limited. Although the models are trained under the Chinchilla law, modern LLMs are trained with much larger size and with a number of tokens far beyond the Chinchilla-optimal regime. Muon, too, was effective for small-scale GPT training at first, but exhibited previously unseen problems when scaled up [1]. Even without reaching the trillion-token level, a token budget of 20B remains somewhat unsatisfying.
- The paper compares only loss throughout. [2] shows that the representations of LLMs trained with Muon and Adam differ, so that even at identical loss the downstream benchmark scores can differ. When the stability of SGD is improved and the learning rate is raised, what differences in representational property arise relative to an LLM trained with Adam? Such an analysis would, I believe, improve the quality of the paper.
[1] Team, Kimi, et al. "Kimi k2: Open agentic intelligence."
[2] Ruan, Tianyu, et al. "Muon Learns More Robust and Transferable Features than Adam."
Questions
Mentioned in the Weaknesses section above.
Limitations
Yes
Final justification
The authors responded to my questions and the answers are consistent to the main contribution. I maintain the score as my initial score already reflects the contribution.
Formatting concerns
N/A
2 comments
Rebuttal
We thank the reviewer for appreciating the importance of the problem and our results. Below are our responses.
Weakness 1
The improved SGD does not appear to fully match Adam. However, I do not regard this as a major weakness. Adam is clearly different from SGD, so the residual difference may stem from the optimizer itself. The real problem was that the SGD-Adam gap reported so far has been abnormally large.
Thank you for your comment. We agree that SGD does not fully match Adam, even after addressing the mentioned gradient irregularities and training with the large learning rates (LR). We also agree that exactly matching an adaptive algorithm such as Adam with plain SGD is not realistic, and this was indeed not the goal of our paper.
Our goal was to observe and analyze the training dynamics in pre-training (including small gradient norms, high weight-to-norm ratios and gradient irregularities), and how those necessitate large effective LR. While Adam naturally achieves those large LR through (adaptive) normalization, SGD cannot achieve them due to the gradient ireggularities that cause training divergence.
After addressing the gradient irregularities and running SGD with comparable effective LR to those of Adam, we show that the gap between the two algorithms actually is considerably lower to what was previously understood, thus validating our conjectures and analysis. On a broader note, we believe that our new understanding of LLM pre-training dynamics and SGD can inspire further innovations in optimization for pre-training.
Weakness 2
The scale is somewhat limited. Although the models are trained under the Chinchilla law, modern LLMs are trained with much larger size and with a number of tokens far beyond the Chinchilla-optimal regime. Muon, too, was effective for small-scale GPT training at first, but exhibited previously unseen problems when scaled up [1]. Even without reaching the trillion-token level, a token budget of 20B remains somewhat unsatisfying.
Thank you for the comment. First, we want to emphasize that our pre-training experiments (scaling up to a 1B model on 20B tokens) are on par or larger in scale compared to related works on studying the Adam-SGD gap.
For instance, [1] and [3] pre-train up to a model of 124M parameters, and [1] uses the small WikiText-103 dataset while [3] uses up to 25B tokens. Also, [4] pre-train a model up to 1B parameters and [5] up to 1.3B parameters. Similarly, [4] trains up to about 14B tokens and [5] up to 10B tokens.
While we agree that proposed state-of-the-art optimizers intended for production-level pre-training need to be stress-tested for extended training periods, this is not the goal of our paper. The Adam-SGD gap is already present at Chinchilla-level number of tokens, and this is what our paper as well as the related works such as [1, 2-5] are aiming to study.
Nevertheless, to further address the reviewer's concern, we have performed new experiments with extended number of tokens (4 and 8 times more than the Chinchilla optimal ratio, i.e., overtraining regime) for the 130M model using the same settings as in our main experiments and we show the results below:
4x Chinchilla:
| Val. Loss | Relative Loss Increase from Adam | |
|---|---|---|
| Adam | 2.94 | 0% |
| SGD | 4.04 | 37.41% |
| SGD-LL | 3.03 | 3.06% |
8x Chinchilla:
| Val. Loss | Relative Loss Increase from Adam | |
|---|---|---|
| Adam | 2.89 | 0% |
| SGD | 3.70 | 28.03% |
| SGD-LL | 2.95 | 2.08% |
We observe the same pattern as in our main experiments, that, after addressing the gradient irregularities, running SGD with large LR (i.e., LR=100) is able to close most of the gap to Adam. Note that SGD (without the gradient clipping) diverges for LR greater than 0.5, similar to our main experiments.
We also extend to 50B tokens (about 20x Chinchilla) for Adam and SGD-LL and show the results below, where the gap to Adam also is very small. Note that we did not observe any unseen problems (such as loss spikes or output activation issues) with SGD-LL at this scale.
20x Chinchilla:
| Val. Loss | Relative Loss Increase from Adam | |
|---|---|---|
| Adam | 2.85 | 0% |
| SGD-LL | 2.89 | 1.40% |
Weakness 3
The paper compares only loss throughout. [2] shows that the representations of LLMs trained with Muon and Adam differ, so that even at identical loss the downstream benchmark scores can differ. When the stability of SGD is improved and the learning rate is raised, what differences in representational property arise relative to an LLM trained with Adam? Such an analysis would, I believe, improve the quality of the paper.
We thank the reviewer for the suggestion. We agree that analyzing and comparing how the representational properties of LLMs differ with respect to the optimizer is indeed a very interesting research topic. However a comprehensive study is not trivial task (as also shown in [2] for Adam and Muon) and we consider it a bit out of scope of our paper. Our paper, as well as related works, focus more on comparing optimization speed, i.e., how fast each optimizer can reduce the next-token-prediction loss.
Nonetheless, to further address the reviewer's concern we performed a zeroshot downstream evaluation of the 1B models trained by Adam and SGD-LL and present the results below. Also note that because we evaluate the pre-trained models without any additional post-training to isolate the effect of the pre-training optimizer, we selected 4 relatively easy benchmarks. Otherwise for harder benchmarks the results are very close to random guesses for both optimizers.
| Benchmark | Adam | SGD-LL |
|---|---|---|
| SciQ | 79.5 | 76.6 |
| HellaSwag | 38.1 | 35.6 |
| PIQA | 71.1 | 69.6 |
| BoolQ | 59.3 | 56.1 |
| Avg. | 62.0 | 59.5 |
We observe that the downstram results follow a similar pattern to the pre-training ones, where Adam is only marginally better as expected (about 2.5% better in downstream accuracy while 3.5% better in pre-training loss). This further validates our cojecture that, when SGD is able to use large learning rates it performs much closer to Adam than commonly believed.
References:
[1] Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Models, Kunstner et al., 2024.
[2] Ruan, Tianyu, et al. "Muon Learns More Robust and Transferable Features than Adam."
[3] Why Transformers Need Adam: A Hessian Perspective, Zhang et al., 2024.
[4] Is your batch size the problem? Revisiting the Adam-SGD gap in language modeling, Srećković et al., 2025
[5] Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation Is Wasteful, Marek et al., 2025.
Dear Reviewer MUoT,
Thank you again for the valuable comments and suggestions, and for your positive evaluation of our paper. We have posted our responses to the raised concerns. As the discussion period is ending, we would greatly appreciate your feedback regarding our rebuttal.
Best,
The Authors
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Dear AC,
Thank you for handling the review and rebuttal process for our paper. Below is a summary of our rebuttals to the raised concerns:
We provided clarifications regarding the assessment of reviewer 7fMa on our novelty and framing. Specifically, we emphasized that in our paper we do not claim "SGD struggles to learn infrequent tokens" as our observation, which is only mentioned in our related works. Also, the scope of our work is to provide new insights and understanding about the gap between Adam and SGD in LLM pre-training, which is an important open question.
In particular, our observations and extensive empirical results on the training dynamics in (large-batch-size) LLM pre-training (including small gradient norms, high weight-to-norm ratios and gradient irregularities), and their connection to the need for large effective learning rates are novel and cannot be simply reduced to generic optimization principles. Moreover, our empirical demonstration that, after treating the gradient irregularities while leaving most of the gradients unchanged, SGD can train at such large learning rates and close most of the gap to Adam provides direct validation of our understanding. To our knowledge, these results have not previously been established.
Finally, we are encouraged that both reviewers 9RSa and MUoT understand our results and assessed the findings' novelty positively.
We provided the theory justification as well as evidence for the two clipping components in our response to Review 9RSa. In particular, we showed empirically that gradient norms decrease as batch size increases, consistent with Theorem 3.2. We further conducted experiments estimating κ based on reviewer's suggestions, and found that κ is generally much smaller than the worst case value in practical settings. This both tightens our bound and reveals nontrivial token-class-wise structure in the gradient decomposition. Finally, our quantitative ablation study confirms that both clipping components are essential for training stability at high learning rates.
We emphasized in our rebuttals that our pre-training experiments are on par or larger in scale compared to the related literature. In addition, as asked by reviewers MUoT and 7fMa, we provided new pre-training results on extended number of tokens, up to 20 times the Chinchilla compute-optimal ratio (i.e., 400 tokens per model parameter). The new results, which extend the training up to 50B tokens, show that in this highly overtrained regime, the gap between SGD-LL and Adam becomes even smaller, further supporting our thesis.
We further note that, as mentioned in our rebuttal to reviewer 7fMa, training on multiples of the Chinchilla ratio is standard, and convergence is almost never the goal in pre-training. In our rebuttal we include multiple recent references on optimzier benchmarking in LLM pre-training that also follow this standard practice. Finally, we included the requested downstream results to our rebuttal to reviewer MUoT, showing that our conclusions on the pre-training loss gap extends to downstream performance.