betaFeedback

WorksComputer Science

Does LLM Pre-Training Typically Occur at the Edge of Stability?

Abstract

Quadratic approximations provide a common lens for studying neural network optimization, but recent evidence challenges their predictive validity. In full-batch gradient descent with learning rate (LR) ηη, Cohen et al. (2021) observed the Edge of Stability (EoS), where the largest Hessian eigenvalue concentrates near 2/η2/η, seemingly at odds with classical stability conditions predicted by quadratic approximations. In this work, we revisit the fidelity of quadratic approximations as a model of neural network training dynamics, with a particular focus on their failure modes in LLM training. We first highlight a distinct failure mode of the quadratic approximation, where persistent negative curvature causes the quadratic dynamics to diverge regardless of the LR, even though the real dynamics remain stable. We term this phenomenon the Edge of Convexity (EoC). After removing the effect of this LR-independent instability, we then propose a generalized definition of Edge of Stability (EoS) for stochastic training with adaptive optimizers, based on whether increasing the LR induces significant divergence in the quadratic dynamics while leaving the real dynamics largely unchanged. Across different LLM pretraining runs with various model sizes up to 787M, we find that (1) EoC is always observed across LLM pretraining, and (2) EoS is also prevalent but not universal: it disappears when the LR becomes sufficiently small (e.g., after decay) or when the batch size falls below a critical threshold that has a positive correlation with the critical batch size. Together, these findings characterize when and how quadratic approximations fail and provide a foundation for future work on understanding training dynamics.

Introduction

In optimization theory, the dynamics of gradient-based methods are commonly analyzed through a local quadratic approximation of the loss function, given by the second-order Taylor expansion around the current iterate:

L(wt+1)≈L(wt)+(wt+1−wt)⊤∇L(wt)+12(wt+1−wt)⊤∇2L(wt)(wt+1−wt).(1)\mathcal{L}(w_{t+1}) \approx\mathcal{L}(w_t) + (w_{t+1} - w_t)^\top\nabla\mathcal{L}(w_t) + \frac{1}{2}(w_{t+1} - w_t)^\top\nabla^2 \mathcal{L}(w_t)(w_{t+1} - w_t). \tag*{(1)}

This approximation yields the well-known descent lemma for gradient descent, which guarantees a decrease in loss when the LR η\eta satisfies η<2/λmax⁡\eta< 2/\lambda_{\max}. Here, λmax⁡\lambda_{\max} is the maximum eigenvalue of the Hessian, which serves as a measure of the local curvature of the loss function. A standard analysis pipeline in optimization theory then proceeds by bounding quantities that appear in the lemma and deriving guarantees on the loss convergence.

However, in deep learning, the quadratic approximation often fails to accurately capture the true training dynamics. Notably, Cohen et al. [10] show that full-batch gradient descent (GD) typically operates at the Edge of Stability (EoS) when training neural networks. For a fixed LR η\eta, the maximum Hessian eigenvalue λmax⁡\lambda_{\max} tends to increase during training and eventually oscillates around 2/η2/\eta, thus η≈2/λmax⁡\eta\approx2/\lambda_{\max}. Under the quadratic approximation, this places the dynamics exactly at the stability boundary of gradient descent, since the quadratic model predicts loss divergence once η>2/λmax⁡\eta> 2/\lambda_{\max}. Consequently, the descent lemma can no longer guarantee a persistent decrease of the loss. Yet in practice, the loss continues to decrease over long time scales. Similar EoS behavior has also been observed for full-batch adaptive optimizers such as Adam and RMSProp ([11]), when curvature is measured using an appropriately preconditioned Hessian.

The EoS phenomenon therefore exposes a fundamental limitation of existing optimization analyses for deep learning, as many such analyses critically rely on the descent lemma and the underlying quadratic approximation. This discrepancy has motivated a line of work that seeks to develop tools to understand training dynamics without critically relying on the quadratic approximation ([4, 13, 12]).

Despite these advances, existing empirical observations and theoretical analyses remain limited in several important aspects: (i) Most theoretical definitions of EoS focus on full-batch training, whereas stochastic training is more common in practice; (ii) Most studies focus on failures of the quadratic approximation caused by large positive Hessian eigenvalues, even though negative Hessian eigenvalues can also induce a similar gap between theory and practice, as we will elaborate in this work; (iii) Due to the prohibitive computational cost of computing and analyzing the Hessian, direct measurements of EoS are largely limited to relatively small-scale settings such as CIFAR-10 and ImageNet, leaving open whether the same failure mode persists in large-scale training.

Our Contributions. We present a systematic study of the failure modes of the quadratic approximation in stochastic, adaptive, and large-scale training, with a particular focus on LLM pretraining.

  • We first highlight an LR-independent failure mode of the quadratic approximation, where persistent negative curvature during training causes the quadratic dynamics to diverge regardless of the LR, even though the real dynamics remain stable. We term this phenomenon the Edge of Convexity (EoC). See § 5.1.

  • We isolate and remove the effect of EoC, and then study the Edge of Stability (EoS) as an LR-dependent failure mode. We propose a generalized definition of EoS for stochastic training with adaptive optimizers, based on whether increasing the LR induces significant divergence in the quadratic dynamics while leaving the real dynamics largely unchanged. For full-batch GD, our definition recovers the original EoS definition. See § 5.2 and § 5.3.

  • We design efficient methods to detect both EoC and EoS at scale with theoretical guarantees (Appendices § 8.§ 2 and § 8.§ 3). Our results on LLM pretraining suggest that (1) EoC consistently arises; (2) EoS is prevalent but not universal, and disappears when the LR becomes sufficiently small (e.g., after decay) or when the batch size falls below a critical threshold that scales linearly with the critical batch size (§ 6.2 to § 6.4).

Related Work

Edge of Stability. Early studies connected sharpness and stability to optimizer behavior in neural network training: Wu et al. [48] analyzed SGD minima selection through dynamical stability using sharpness and non-uniformity, and Xing et al. [50] observed SGD “bouncing” between valley walls during training. Jastrzębski et al. [25] then showed that SGD visits increasingly sharp regions up to a maximum set by LR and batch size, and that the step is often too large along the sharpest directions. Cohen et al. [10] later demonstrated that full-batch gradient descent typically operates at an Edge of Stability (EoS), where the largest Hessian eigenvalue oscillates near 2/η2/\eta while loss decreases non-monotonically. Cohen et al. [11] extended this phenomenon to adaptive methods via saturation of a preconditioned stability threshold. Finally, [4, 31, 13, 33] provide theoretical explanations for EoS in different training regimes, but a unified understanding of this phenomenon is still lacking.

Training Stability of Neural Networks Series works studied the training stability of constant LR SGD in quadratic losses via a linear system analysis of the second moment of the parameters ([48, 34, 49] (Granziol et al. 2022; Mulyaloff & Michaeli 2024)). They obtained tight conditions in the form of ∥E[(I−ηHt)⊗2]∥≤1\lVert\mathbb{E}[(I-\eta H_t)^{\otimes2}]\rVert\le1, which are valid instability criteria for a particular Lyapunov function. However, in studying the training neural networks with (S)GD, the unstable convergence phenomenon was observed ([48, 50, 25]), formally identified and termed Edge of Stability (EoS) (Cohen et al. [10]). Subsequently, several studies sought to explain this unstable convergence ([35, 1, 47, 4, 13, 12]). Among them, Cohen et al. [12] gave a general characterization of the oscillatory dynamics of deep learning in the EoS regime via a time-averaged differential equation termed central flow. However, the effectiveness of the quadratic approximation was never carefully studied in the large-scale neural network training, hence it is not clear when and how the quadratic approximation fails or not in the realistic regime.

Hessian Spectrum of Neural Networks. Most studies on the Hessian spectrum of neural networks reported that the Hessian spectra of neural networks consist of a “bulk” together with a few large “outliers” in magnitude ([28, 14, 43, 44, 19, 9, 51]). Among them, Sagun et al. [43, 44] mentioned that there are still negative eigenvalues during training, but their magnitude is much smaller than the large outliers. More recent works reported and explained a near-block diagonal structure in the Hessian spectrum of CNNs and Transformers ([52, 15]). However, one thing that has long been overlooked is the characterization of the negative eigenvalues in the population Hessian during large-scale training. In this work, we present detailed empirical findings of the negative eigenvalues across different setups in large-scale neural network training.

Comparison with Andreyev & Beneventano [3]. The recent work [3] is among the most relevant to this work, which defines Edge of Stochastic Stability for SGD via the batch sharpness, where Batch Sharpness hovers around 2/η2/\eta. Compared to Andreyev & Beneventano [3], our work (1) In the full-batch setting, our definition for EoS can be reduced to the original definition of EoS by Cohen et al. [10, 11], while theirs cannot; (2) We also identify another failure mode of the quadratic approximation called Edge of Convexity (EoC); (3) We provide scalable EoS and EoC detection methods with theoretical guarantees; (4) We conduct experiments on large-scale LLM pretraining with AdamW, while most of their experiments are limited to ResNets on CIFAR-10 and SVHN with vanilla SGD.

Preliminary

Notation. Throughout, ∥⋅∥\lVert\cdot\rVert denotes the spectral norm for matrices and the ℓ2\ell_2 norm for vectors. We write λmax⁡(A)\lambda_{\max}(A) and λmin⁡(A)\lambda_{\min}(A) for the largest and smallest eigenvalues of a symmetric matrix AA, and ρ(A)\rho(A) for the spectral radius of a square matrix AA. We write vec⁡(⋅)\operatorname{vec}(\cdot) for vectorization and ⊗\otimes for the Kronecker product. We use Sd\mathcal{S}_d for the set of d×dd \times d symmetric matrices and Sd+\mathcal{S}_d^+ for the subset of positive semidefinite matrices. For S⪰0S \succeq0, we write ∥u∥S=u⊤Su\lVert u\rVert_S = \sqrt{u^\top S u}. We use [n][n] to denote {1,2,…,n}\{1, 2, \ldots, n\}. We write ∇f(w)\nabla f(w) and ∇2f(w)\nabla^2 f(w) for the gradient and Hessian of ff at ww.

Problem Setup. We study a neural network f(x;w):Rd+s→Rqf(x; w) : \mathbb{R}^{d+s} \to\mathbb{R}^q, where x∈Rdx \in\mathbb{R}^d is the input and w∈Rsw \in\mathbb{R}^s is the trainable parameter. Given a dataset {(xi,yi)}i=1n\{(x_i, y_i)\}_{i=1}^n and a per sample loss function ℓ\ell, define the population loss and batch loss as L(w):=1n∑i=1nℓ(f(xi;w),yi)\mathcal{L}(w) := \frac{1}{n}\sum_{i=1}^n \ell(f(x_i; w), y_i) and LB(w):=1B∑i∈Bℓ(f(xi;w),yi)\mathcal{L}_B(w) := \frac{1}{B}\sum_{i\in B}\ell(f(x_i; w), y_i), where B⊆[n]B \subseteq[n] is a batch of size BB.

Full-Batch Edge of Stability. We recall the full-batch Edge of Stability (EoS) introduced in Cohen et al. [10]. Consider full-batch gradient descent (GD) with LR η\eta as wt+1=wt−η∇L(wt)w_{t+1} = w_t - \eta\nabla\mathcal{L}(w_t). Let Ht:=∇2L(wt)H_t := \nabla^2\mathcal{L}(w_t), and write λmax⁡(Ht)\lambda_{\max}(H_t) for the maximal eigenvalue of HtH_t. Classical local analysis says that, if the loss around wtw_t is well described by a positive semidefinite quadratic function, then GD is stable only when ηλmax⁡(Ht)≤2\eta\lambda_{\max}(H_t) \leq2. Equivalently, the threshold 2/η2/\eta is the largest curvature without causing instability.

Cohen et al. [10] found that neural network training does not usually stay well below this threshold. During full batch training, λmax⁡(Ht)\lambda_{\max}(H_t) often increases until it reaches a value near 2/η2/\eta. It then remains near this value for a long part of training. The loss is not monotone at every step, but it continues to decrease over longer time scales. They call this regime the Edge of Stability (EoS).

To relate this observation to our discussion on the fidelity of quadratic approximation, we fix a checkpoint wt0w_{t_0} and consider

Qt0(w)=L(wt0)+(w−wt0)⊤∇L(wt0)+12(w−wt0)⊤Ht0(w−wt0).(2)Q_{t_0}(w) = \mathcal{L}(w_{t_0}) + (w-w_{t_0})^\top\nabla\mathcal{L}(w_{t_0}) + \frac{1}{2}(w-w_{t_0})^\top H_{t_0}(w-w_{t_0}). \tag*{(2)}

Suppose that this quadratic has a stationary point w⋆w_\star such that ∇L(wt0)+Ht0(w⋆−wt0)=0\nabla\mathcal{L}(w_{t_0}) + H_{t_0}(w_\star-w_{t_0}) = 0. Gradient descent on Qt0Q_{t_0} then satisfies

wt+1−w⋆=(I−ηHt0)(wt−w⋆).w_{t+1}-w_\star= (I-\eta H_{t_0})(w_t-w_\star).

If Ht0⪰0H_{t_0} \succeq0, this system is stable when ρ(I−ηHt0)≤1\rho(I-\eta H_{t_0}) \leq1, or equivalently, ηλmax⁡(Ht0)≤2\eta\lambda_{\max}(H_{t_0}) \leq2. Once ηλmax⁡(Ht0)>2\eta\lambda_{\max}(H_{t_0}) > 2, wtw_t oscillates with growing magnitude along a leading eigenvector of Ht0H_{t_0}.

Based on this perspective, the observation that λmax⁡\lambda_{\max} concentrates near 2/η2/\eta throughout training is striking. It places training dynamics precisely at the boundary of stability predicted by the quadratic model, rather than safely within it. The EoS phenomenon therefore exposes a fundamental mismatch between the predictions of quadratic approximation and the actual behavior of neural network training, which is the starting point for our study of EoS in stochastic training.

Stability of Stochastic Gradient Descent on Quadratics

The full-batch EoS reviewed above is insightful but incomplete for modern neural networks since it relies on two simplifying conditions. First, the Hessian is assumed to be positive semidefinite. If it has a negative eigenvalue, then the local quadratic dynamics contain an exploding direction for every positive LR, so the usual positive curvature stability threshold is no longer the only source of instability. Second, the analysis is deterministic and applies to full-batch gradient descent. It does not capture the additional randomness introduced by mini-batch sampling.

We then study these two effects on a stochastic quadratic objective. We consider a stochastic variant of Equation (2) to approximate the training loss. Specifically, at step tt, let ft(x)=12x⊤Atx+bt⊤x+ctf_t(x)=\frac{1}{2}x^\top A_t x+b_t^\top x+c_t, where AtA_t is symmetric, E[At]=A\mathbb{E}[A_t]=A, and E[bt]=b\mathbb{E}[b_t]=b. We assume that {(At,bt)}t≥0\{(A_t,b_t)\}_{t\geq0} are sampled independently from a fixed distribution, have finite second moments, and are independent of the initialization. SGD with LR η\eta gives

xt+1=xt−η∇ft(xt)=(I−ηAt)xt−ηbt.(3)x_{t+1}=x_t-\eta\nabla f_t(x_t)=(I-\eta A_t)x_t-\eta b_t. \tag*{(3)}

Let Mt:=I−ηAtM_t:=I-\eta A_t. Suppose that the population quadratic has a stationary point x⋆x_\star satisfying Ax⋆+b=0Ax_\star+b=0. And we define ϵt:=xt−x⋆\epsilon_t:=x_t-x_\star, rt:=Atx⋆+btr_t:=A_tx_\star+b_t. Then E[rt]=0\mathbb{E}[r_t]=0, the error ϵt\epsilon_t follows

References

  1. [1]Kwangjun Ahn, Jingzhao Zhang, and Suvrit Sra. Understanding the unstable convergence of gradient descent. In International conference on machine learning, pp. 247–257. PMLR, 2022.arxiv.org/abs/2204.01050
  2. [2]Guillaume Alain, Nicolas Le Roux, and Pierre-Antoine Manzagol. Negative eigenvalues of the hessian in deep neural networks. arXiv preprint arXiv:1902.02366, 2019.arxiv.org/abs/1902.02366
  3. [3]Arseniy Andreyev and Pierfrancesco Beneventano. Edge of stochastic stability: Revisiting the edge of stability for sgd. arXiv preprint arXiv:2412.20553, 2024.arxiv.org/abs/2412.20553
  4. [4]Sanjeev Arora, Zhiyuan Li, and Abhishek Panigrahi. Understanding gradient descent on the edge of stability in deep learning. In International Conference on Machine Learning, pp. 948–1024. PMLR, 2022.arxiv.org/abs/2205.09745
  5. [5]Kazuoki Azuma. Weighted sums of certain dependent random variables. Tôhoku Mathematical Journal, 19(3):357–367, 1967.DOI
  6. [6]Abraham Berman and Robert J. Plemmons. Nonnegative Matrices in the Mathematical Sciences, volume 9 of Classics in Applied Mathematics. Society for Industrial and Applied Mathematics, Philadelphia, 1994. doi: 10.1137/1.9781611971262. URL https://doi.org/10.1137/1.9781611971262.
  7. [7]Stéphane Boucheron, Gábor Lugosi, and Pascal Massart. Concentration Inequalities: A Nonasymptotic Theory of Independence. Oxford University Press, 2013.
  8. [8]Philippe Bougerol et al. Products of random matrices with applications to Schrödinger operators. Springer Science & Business Media, 2012.
  9. [9]Pratik Chaudhari, Anna Choromanska, Stefano Soatto, Yann LeCun, Carlo Baldassi, Christian Borgs, Jennifer Chayes, Levent Sagun, and Riccardo Zecchina. Entropy-sgd: Biasing gradient descent into wide valleys. Journal of Statistical Mechanics: Theory and Experiment, 2019(12):124018, 2019.arxiv.org/abs/1611.01838
  10. [10]Jeremy M Cohen, Simran Kaur, Yuanzhi Li, J Zico Kolter, and Ameet Talwalkar. Gradient descent on neural networks typically occurs at the edge of stability. arXiv preprint arXiv:2103.00065, 2021.arxiv.org/abs/2103.00065
  11. [11]Jeremy M Cohen, Behrooz Ghorbani, Shankar Krishnan, Naman Agarwal, Sourabh Medapati, Michal Badura, Daniel Suo, David Cardoze, Zachary Nado, George E Dahl, et al. Adaptive gradient methods at the edge of stability. arXiv preprint arXiv:2207.14484, 2022.arxiv.org/abs/2207.14484
  12. [12]Jeremy M Cohen, Alex Damian, Ameet Talwalkar, J Zico Kolter, and Jason D Lee. Understanding optimization in deep learning with central flows. arXiv preprint arXiv:2410.24206, 2024.arxiv.org/abs/2410.24206
  13. [13]Alex Damian, Eshaan Nichani, and Jason D Lee. Self-stabilization: The implicit bias of gradient descent at the edge of stability. arXiv preprint arXiv:2209.15594, 2022.arxiv.org/abs/2209.15594
  14. [14]Yann N Dauphin, Razvan Pascanu, Caglar Gulcehre, Kyunghyun Cho, Surya Ganguli, and Yoshua Bengio. Identifying and attacking the saddle point problem in high-dimensional non-convex optimization. Advances in neural information processing systems, 27, 2014.arxiv.org/abs/1406.2572
  15. [15]Zhaorui Dong, Yushun Zhang, Jianfeng Yao, and Ruoyu Sun. Towards quantifying the hessian structure of neural networks. arXiv preprint arXiv:2505.02809, 2025.arxiv.org/abs/2505.02809
  16. [16]John Duchi, Elad Hazan, and Yoram Singer. Adaptive subgradient methods for online learning and stochastic optimization. Journal of Machine Learning Research, 12:2121–2159, 2011.
  17. [17]Rick Durrett. Probability: Theory and Examples. Cambridge University Press, 5th edition, 2019.
  18. [18]Hillel Furstenberg and Harry Kesten. Products of random matrices. The Annals of Mathematical Statistics, 31(2):457–469, 1960. doi: 10.1214/aoms/1177705909. URL https://doi.org/10.1214/aoms/1177705909.
  19. [19]Behrooz Ghorbani, Shankar Krishnan, and Ying Xiao. An investigation into neural net optimization via hessian eigenvalue density. In International Conference on Machine Learning, pp. 2232–2241. PMLR, 2019.arxiv.org/abs/1901.10159
  20. [20]Aaron Gokaslan and Vanya Cohen. Openwebtext corpus. https://skylion007.github.io/OpenWebTextCorpus/, 2019. URL https://skylion007.github.io/OpenWebTextCorpus/.
  21. [22]Alex Henry, Prudhvi Raj Dachapally, Shubham Shantaram Pawar, and Yuxuan Chen. Query-key normalization for transformers. In Trevor Cohn, Yulan He, and Yang Liu (eds.), Findings of the Association for Computational Linguistics: EMNLP 2020, Online, November 2020. Association for Computational Linguistics.arxiv.org/abs/2010.04245
  22. [23]Wassily Hoeffding. Probability inequalities for sums of bounded random variables. Journal of the American Statistical Association, 58(301):13–30, 1963.
  23. [24]Shengding Hu, Yuge Tu, Xu Han, Chaoqun He, Ganqu Cui, Xiang Long, Zhi Zheng, Yewei Fang, Yuxiang Huang, Weilin Zhao, Xinrong Zhang, Zheng Leng Thai, Kaihuo Zhang, Chongyi Wang, Yuan Yao, Chenyang Zhao, Jie Zhou, Jie Cai, Zhongwu Zhai, Ning Ding, Chao Jia, Guoyang Zeng, Dahai Li, Zhiyuan Liu, and Maosong Sun. Minicpm: Unveiling the potential of small language models with scalable training strategies, 2024.arxiv.org/abs/2404.06395
  24. [25]Stanisław Jastrzębski, Zachary Kenton, Nicolas Ballas, Asja Fischer, Yoshua Bengio, and Amos Storkey. On the relation between the sharpest directions of dnn loss and the sgd step length. arXiv preprint arXiv:1807.05031, 2018.arxiv.org/abs/1807.05031
  25. [26]Eliahu Ibrahim Jury. Theory and Application of the z-Transform Method. John Wiley & Sons, New York, 1964.
  26. [27]Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations, 2015.arxiv.org/abs/1412.6980
  27. [28]Yann LeCun, Léon Bottou, Genevieve B Orr, and Klaus-Robert Müller. Efficient backprop. In Neural networks: Tricks of the trade, pp. 9–50. Springer, 2002.
  28. [29]Jeffrey Li, Alex Fang, Georgios Smyrnis, Maor Ivgi, Matt Jordan, Samir Yitzhak Gadre, et al. Datacomp-lm: In search of the next generation of training sets for language models. arXiv preprint arXiv:2406.11794, 2024. URL https://arxiv.org/abs/2406.11794.
  29. [30]Xinghan Li, Haodong Wen, and Kaifeng Lyu. Adam reduces a unique form of sharpness: Theoretical insights near the minimizer manifold. arXiv preprint arXiv:2511.02773, 2025.arxiv.org/abs/2511.02773
  30. [31]Zhouzi Li, Zixuan Wang, and Jian Li. Analyzing sharpness along gd trajectory: Progressive sharpening and edge of stability. arXiv preprint arXiv:2207.12678, 2022.arxiv.org/abs/2207.12678
  31. [32]Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017.arxiv.org/abs/1711.05101
  32. [33]Kaifeng Lyu, Zhiyuan Li, and Sanjeev Arora. Understanding the generalization benefit of normalization layers: Sharpness reduction. In S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh (eds.), Advances in Neural Information Processing Systems, volume 35, pp. 34689–34708. Curran Associates, Inc., 2022. doi: 10.52202/068431-2514. URL https://proceedings.neurips.cc/paper_files/paper/2022/file/dffdclc55251e557f4e75e830949213-paper-Conference.pdf.DOI
  33. [34]Chao Ma and Lexing Ying. On linear stability of sgd and input-smoothness of neural networks. Advances in Neural Information Processing Systems, 34:16805–16817, 2021.arxiv.org/abs/2105.13462
  34. [35]Chao Ma, Daniel Kunin, Lei Wu, and Lexing Ying. Beyond the quadratic approximation: The multiscale structure of neural network loss landscapes. arXiv preprint arXiv:2204.11326, 2022.arxiv.org/abs/2204.11326
  35. [36]Sadhika Malladi, Kaifeng Lyu, Abhishek Panigrahi, and Sanjeev Arora. On the sdes and scaling rules for adaptive gradient algorithms. Advances in Neural Information Processing Systems, 35:7697–7711, 2022.arxiv.org/abs/2205.10287
  36. [37]Martin Marek, Sanae Lotfi, Aditya Somsundaram, Andrew Gordon Wilson, and Micah Goldblum. Small batch size training for language models: When vanilla sgd works, and why gradient accumulation is wasteful, 2025. URL https://arxiv.org/abs/2507.07101.
  37. [38]Rotem Mulayoff and Tomer Michaeli. Exact mean square linear stability analysis for sgd. In The Thirty Seventh Annual Conference on Learning Theory, pp. 3915–3969. PMLR, 2024.arxiv.org/abs/2306.07850
  38. [39]Keiran Paster, Marco Dos Santos, Zhangir Azerbayev, and Jimmy Ba. Openwebmath: An open dataset of high-quality mathematical web text. In International Conference on Learning Representations, 2024. URL https://arxiv.org/abs/2310.06786.
  39. [40]Guilherme Penedo, Hynek Kydlíček, Loubna Ben Allal, Anton Lozhkov, Margaret Mitchell, Colin Raffel, Leandro Von Werra, and Thomas Wolf. The fineweb datasets: Decanting the web for the finest text data at scale. arXiv preprint arXiv:2406.17557, 2024. URL https://arxiv.org/abs/2406.17557.
  40. [41]Zihan Qiu, Zekun Wang, Bo Zheng, Zeyu Huang, Kaiyue Wen, Songlin Yang, Rui Men, Le Yu, Fei Huang, Suozhi Huang, Dayiheng Liu, Jingren Zhou, and Junyang Lin. Gated attention for large language models: Non-linearity, sparsity, and attention-sink-free. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025.arxiv.org/abs/2505.06708
  41. [42]Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of Machine Learning Research, 21(140):1–67, 2020. URL https://www.jmlr.org/papers/volume21/20-074.html.arxiv.org/abs/1910.10683
  42. [43]Levent Sagun, Leon Bottou, and Yann LeCun. Eigenvalues of the hessian in deep learning: Singularity and beyond. arXiv preprint arXiv:1611.07476, 2016.arxiv.org/abs/1611.07476
  43. [44]Levent Sagun, Utku Evci, V Ugur Guney, Yann Dauphin, and Leon Bottou. Empirical analysis of the hessian of over-parametrized neural networks. arXiv preprint arXiv:1706.04454, 2017.arxiv.org/abs/1706.04454
  44. [45]James S. VanderGraft. Spectral properties of matrices which have invariant cones. SIAM Journal on Applied Mathematics, 16(6):1208–1222, 1968. doi: 10.1137/0116101. URL https://doi.org/10.1137/0116101.
  45. [46]Jean Ville. Étude critique de la notion de collectif. Gauthier-Villars, Paris, 1939.
  46. [47]Jingfeng Wu, Vladimir Braverman, and Jason D Lee. Implicit bias of gradient descent for logistic regression at the edge of stability. Advances in Neural Information Processing Systems, 36:74229–74256, 2023.arxiv.org/abs/2305.11788
  47. [48]Lei Wu, Chao Ma, and Weinan E. How SGD selects the global minima in over-parameterized learning: A dynamical stability perspective. In Advances in Neural Information Processing Systems, 2018.
  48. [49]Lei Wu, Mingze Wang, and Weijie J. Su. The alignment property of SGD noise and how it helps select flat minima: A stability analysis. In Advances in Neural Information Processing Systems, 2022.arxiv.org/abs/2207.02628
  49. [50]Chen Xing, Devansh Arpit, Christos Tsirigotis, and Yoshua Bengio. A walk with sgd. arXiv preprint arXiv:1802.08770, 2018.arxiv.org/abs/1802.08770
  50. [51]Zhewei Yao, Amir Gholami, Kurt Keutzer, and Michael W Mahoney. Pyessian: Neural networks through the lens of the hessian. In 2020 IEEE international conference on big data (Big data), pp. 581–590. IEEE, 2020.arxiv.org/abs/1912.07145
  51. [52]Yushun Zhang, Congliang Chen, Tian Ding, Ziniu Li, Ruoyu Sun, and Zhiquan Luo. Why transformers need adam: A hessian perspective. Advances in neural information processing systems, 37:131786–131823, 2024.arxiv.org/abs/2402.16788

Paper details

vlnc:W_fdjmnrua
Version
v1 · latest
Published
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents