acceptodds
Published as a conference paper at NeurIPS 2026

SGD at the Edge of Stability: The Stochastic Sharpness Gap

Fangshuo Liao, Afroditi Kolomvaki, Anastasios Kyrillidis

Abstract

Edge of Stability (EoS) refers to the phenomenon where full-batch gradient descent (GD) training of neural networks with step size pushes the largest eigenvalue of the Hessian, i.e. the sharpness, to and hovers there. damian2023selfstab explains the hovering behavior of the sharpness by *self-stabilization*, a mechanism driven by third-order structure of the loss, and shows that GD implicitly follows projected gradient descent (PGD) on the set where the sharpness is below . For mini-batch stochastic gradient descent (SGD), the sharpness stabilizes *below* , with the gap widening as the batch size decreases. However, no theoretical explanation exists for this suppression. In this paper, we introduce *stochastic self-stabilization* that extends the self-stabilization framework to SGD. Our key insight is that gradient noise injects variance into the oscillatory dynamics along the top Hessian eigenvector, strengthening the sharpness-reducing force and shifting the equilibrium below . Following the approach of damian2023selfstab, we define *stochastic predicted dynamics* that tracks the deviation of SGD from the PGD trajectory, and prove a stochastic coupling theorem that relates the SGD sharpness and loss to those of PGD. Based on our predicted dynamic, we derive a closed-form equilibrium sharpness gap that scales with the variance of the gradient noise projected onto the top eigenvector of the Hessian. This formula predicts that smaller batch sizes yield flatter solutions, and recovers GD when the batch equals the full dataset.

Keywords:
Atlanta, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_TmBvOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
2
Quality
3
Significance
2
Read review
Summary

This work studies the Edge of Stability phenomenon for mini-batch stochastic gradient descent, following the methodology of Damian et al. [2023]. The paper introduces a stochastic self-stabilization mechanism and argues that gradient noise projected onto the top Hessian eigenvector suppresses the equilibrium sharpness below 2/η2/\eta. Under assumptions on eigengap, regularity, progressive sharpening, noise non-degeneracy, and suitable scaling, the authors derive an explicit sharpness-gap formula depending on the variance of the projected SGD noise. The paper also conducts neural-network experiments, including experiments on CIFAR, and the empirical results appear broadly consistent with the theoretical prediction.

Strengths and weaknesses

Strengths

The notation and assumptions are clearly defined, with useful explanations and interpretations. The experiments are organized and presented in a meaningful way. The proposed mechanism gives a plausible explanation for why the sharpness under mini-batch SGD stabilizes below 2/η2/\eta, and the sharpness-gap formula provides a concrete prediction relating batch size, projected noise variance, and equilibrium sharpness.

Weakness

This work is very closely tied to Damian et al. [2023], both technically and in presentation. The paper repeatedly invokes Damian et al. [2023] to frame the methodology, notation, proof strategy, and interpretation. While this helps clarify which parts are inherited and which parts are new, the amount of reliance is substantial. As a result, the present paper often reads more like a stochastic extension of Damian et al. [2023] than as a fully standalone contribution. This concern is reinforced by the similarity in paragraph structure and organization. The main new contribution appears to be the stochastic correction to the self-stabilization mechanism and the resulting batch-size-dependent sharpness gap, but the exposition spends so much effort following and explaining the framework of Damian et al. [2023] that the novelty of the present work feels somewhat diluted.

A more substantial technical concern is the strength and empirical validity of the assumptions. The assumptions in Damian et al. [2023] are already quite strong, and the present work introduces additional assumptions for the stochastic setting, including conditions on eigengap, regularity, progressive sharpening, noise non-degeneracy, and scaling. It is unclear how realistic it is for all these assumptions to hold simultaneously in practical neural-network training. Moreover, moving from GD to SGD may make some assumptions less stable, since gradient noise can perturb the top eigendirection, the eigengap, the projected dynamics, and the third-order coefficient α\alpha.

In particular, the theory requires α>0\alpha>0, but the appendix reportedly observes that α\alpha is frequently negative. This raises a serious question about the scope of the main theorem. If α<0\alpha<0, then the proposed sharpness-gap formula changes sign if applied naively, and it no longer directly supports the claim that SGD suppresses sharpness below 2/η2/\eta. This case may simply fall outside the theory, but since negative α\alpha appears to occur in experiments, the paper should explain how often this happens and how such regimes should be interpreted.

Questions
  1. Can the authors empirically evaluate whether the main assumptions, or at least the key quantities appearing in them, are satisfied in the reported experiments?
  2. Which assumptions become harder or easier to satisfy when moving from GD to SGD? In particular, how does gradient noise affect the eigengap, the top Hessian eigendirection, and the coefficient α\alpha?
  3. Assumption 5 only imposes conditions on the noise projected onto the top Hessian eigenvector, and the main results depend only on this projected component. Does the orthogonal noise component affect the trajectory, Hessian evolution, eigengap, or top eigendirection? If so, what control on the orthogonal component is needed?
  4. Since the theory requires α>0\alpha>0, but the appendix reports that α\alpha is frequently negative, how should one interpret regimes with α<0\alpha<0? If the sharpness-gap formula were applied naively, the sign of the gap would change and could suggest sharpness above 2/η2/\eta. Is such behavior observed in practice, or are these regimes outside the scope of the theory?
Limitations

yes

Paper formatting concerns

No formatting concerns.

Final justification

My questions are mostly addressed. I will keep the original score because I think the scope of this work is limited, though the results are non-trivial.

1 comment

Thank you for the careful reading and the concrete questions. We address the weaknesses and questions you raised first below.

Technical novelty beyond Damian et al. (2023) (W1). We thank the reviewer for the advice to better highlight our technical contributions beyond Damian et al. (2023). We agree that our paper's structure resembles Damian et al. (2023), and this is because we believe the understanding of the four-stage dynamic of Damian et al. (2023) is essential to understand our work. However, we should note that although the organization is similar, our Section 3 highlights the effect of noise in the dynamic, and our Section 4.1 provides the predicted dynamic in a different form from Damian et al. (2023). Therefore, although looking similar, these two parts carries different essence from Damian et al. (2023). Moreover, our paper resolves specific technical points that are not present in Damian et al. (2023). First, showing that SGD tracks the reference trajectory under noise is inherently a more difficult task than GD. The coupling theorem (Thm 1). becomes a mean-square, high-probability statement, proved via supermartingale constructions and Doob's maximal inequality (Lemmas E.2--E.5) in place of the deterministic trajectory bound. To enable this analysis, we deviate from the two-step analysis (Damian et al. (2023), Lemma 15), and instead utilized a step-wise Lipschitzness analysis (Lemma E4 of our paper). This resulted in difference in the predicted dynamic (Lemma 4) that needs to be analyzed specifically in the sharpness gap theorem. Second, our sharpness gap theorem (Thm 2) is completely independent of Damian et al. (2023). Starting from our specific form of predicted dynamic, we utilized second-order stationary condition to derive E[x^t2]\mathbb{E}[\hat{x}_t^2] and E[y^t]\mathbb{E}[\hat{y}_t] in equilibrium that showcase how the noise variance influence E[y^t]\mathbb{E}[\hat{y}_t] instead of simply upper bounding the noise magnitude. From a high-level perspective, we argue that a carefully chosen predicted dynamic in Definition 4.4 is especially important in the SGD setting as it need to provide a close-enough tracking of the SGD trajectory and at the same time give rise to effective analysis of the sharpness at equilibrium. We will make these discussions explicit in the revised version of the paper instead of merging them implicitly in the recap of the deterministic mechanism.

Plausibility of the assumption stack (W2 and Q1). It should be noticed that Assumption 1-4 and the condition that T≤cT/ε\mathcal{T} \leq c_{\mathcal{T}} / \varepsilon and ρ4≤O(ηρ32)\rho_4 \leq O(\eta\rho_3^2) in our paper are the same condition as in Damian et al. (2023), Assumptions 1-5. Although we study the SGD trajectory, these conditions are defined over the reference trajectory which is deterministic and the same as Damian et al. (2023). Therefore, the conditions above are no stronger than Damian et al. (2023). The additional assumptions we use for our main result Theorem 1 are that σu>0\sigma_{\mathbf{u}} > 0 and that the noise variance are bounded. There has been prior work showing that the noise covariance aligns with the Hessian during training [1]. Therefore, it is a plausible assumption that the noise is non-degenerate along the top direction. For the upper bound on the noise variance, since the focus of the paper is the dynamic of λmax⁡\lambda_{\max}, we choose to limit the scale of the noise so that the eigengap can be roughly preserved.

Regarding Assumption 7 and 8, we first note that they are only required for Theorem 2. In particular, the condition of Assumption 7 is verified in Appendix H7. Assumption 8 is made so that the dynamic can be well understood. From a practical stand-point, the dynamic of E[x^t2]\mathbb{E}[\hat{x}_t^2], as indicated by our theory, depends heavily on the magnitue of δs\delta_s for s≤ts\leq t. Without the assumption on δs\delta_s, one could not possibly obtain meaningful predictions on E[x^t2]\mathbb{E}[\hat{x}_t^2] and consequently the sharpness gap. We choose to assume the conditions of frozen α,β\alpha, \beta, and H\mathbf{H} to make the statement of the result meaningful. Regarding the condition that κ\kappa is upper bounded and ∇S⊥∈ker(H∣u⊥)\nabla S^\perp \in \text{ker}(\mathbf{H}\mid_{\mathbf{u}^\perp}), we verify the condition in Appendix H9 that the cosine angle between ∇S\nabla S and u\mathbf{u} is small, and that the alignment between ∇S⊥\nabla S^\perp and the dominating direction of H\mathbf{H} where the eigenvalues are large is small.

Scope of α>0\alpha>0 vs. observed negative values (W3 and Q4). The theory requires αt>0\alpha_t>0 along the PGD reference trajectory θt†\theta_t^\dagger, not at the SGD iterate. The frequently negative instantaneous α\alpha (Fig.~7D) is measured at the oscillating iterate (SGD trajectory), which overshoots 2/η2/\eta during EoS oscillation; the sign flips are therefore a signature of the oscillation the reference trajectory is constructed to factor out, and we interpret them as a measurement-location artifact rather than a failure mode of the mechanism. We consider the measurement of αt\alpha_t along the SGD trajectory as a complementary observation for αt\alpha_t along the reference trajectory, which is provided in Damian et al. (2023), Appendix E. We note again that the reference trajectory in our paper is the same as Damian et al. (2023), so their experimental result directly verifies our condition.

*Which assumptions become harder or easier under SGD (Q2). Since Assumption 1-4 and the condition that T≤cT/ε\mathcal{T} \leq c_{\mathcal{T}} / \varepsilon and ρ4≤O(ηρ32)\rho_4 \leq O(\eta\rho_3^2) are defined over the PGD reference trajectory, they are not influenced by the gradient noise, so the strength stays the same across SGD and GD. Assumption 5,7 and the rest of the conditions in Assumption 6 are specific to SGD (for the noise variance upper bound, GD trivially obtains an upper bound of 0, so it is harder for SGD in the sense that additional noise are added). Assumption 8 might be harder to hold for the SGD case, as the gradient noise introduces additional instability. However, we should clarify that (as in the answer to W2 and Q1) these conditions are assumed to make the result more interpretable and meaningful.

Role of the orthogonal noise component (Q3). We indeed require an upper bound on the overall noise variance as in Assumption 6 (so in some sense the orthogonal components enters the analysis in this condition). With this upper bound and the eigengap condition, intuitively the orthogonal noise component does not affect the evolution of the top eigenvalue of the Hessian. However, we should notice that the story might be different if one choose to study eigenvalues beyond the top one, as illustrated in [2]. We believe that this might be an interesting future work.

[1] Zhanxing Zhu, Jingfeng Wu, Bing Yu, Lei Wu, and Jinwen Ma. The Anisotropic Noise in Stochastic Gradient Descent: Its Behavior of Escaping from Sharp Minima and Regularization Effects. ICML 2019.

[2] Jeremy M. Cohen, Alex Damian, Ameet Talwalkar, J. Zico Kolter, Jason D. Lee. Understanding Optimization in Deep Learning with Central Flows. ICLR 2025.

Reviewer_S4UUOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
2
Quality
3
Significance
3
Read review
Summary

This work studies the mechanism for the edge of stability (EoS) of SGD (specifically, why for SGD, the sharpness stabilizes at a lower value than for full-batch GD with step-size η\eta, where it’s 2/η2/\eta). For full-batch GD, prior work has shown a self-stabilization mechanism, where the third-order structure in the loss introduces a sharpness-reducing component in the gradient that helps stabilize sharpness. Extending this framework to SGD, this paper shows that the gradient noise along the top Hessian eigenvector inflates the variance of the unstable-direction oscillation, amplifying the sharpness-reducing force and shifting the equilibrium sharpness to a lower value. Since mini-batch noise variance grows as batch size shrinks, this predicts a batch-size-dependent flattening, consistent with the observation that smaller-batch SGD finds flatter minima.

Strengths and weaknesses

Strengths:

Overall, the paper is well written and easy to follow. It discusses relevant related work on EoS, gives appropriate background for the self-stabilization mechanism from prior work (Damian et al., 2023), presents their analysis under simplified assumptions first to help the reader understand the mechanism (Section 3), followed by the rigorous proofs (Section 4).

The assumptions for Section 4 mostly seem reasonable and are justified, other than perhaps Assumption 6. Specifically, Theorem 1 (the stochastic coupling mechanism) uses Assumptions 1-6. The first four are inherited from prior work: curvature gap between the top direction and the rest, the loss being smooth enough (four derivatives) and well-behaved, and sharpness progressively increasing during training. Assumption 5 requires that the noise has a nonzero component along the top direction (which is reasonable; otherwise, it reduces to full-batch GD). Assumption 6 requires bounded noise variance to prevent the dynamics from entering a chaotic regime, but this seems to restrict the batch size from being very small. Theorem 2 (attaining a closed-form for the sharpness stability) additionally requires Assumptions 7-8: the system reaches a steady state, the oscillation along the top Hessian eigenvector and the projection onto the sharpness-gradient direction are approximately decorrelated, and the local loss landscape geometry is fixed. The authors present experimental evidence to support these two assumptions.

The authors present experimental results to verify the theoretical predictions. What they show: the theory makes two quantitative predictions: both the sharpness gap and the noise along the top direction should scale as (batch-size)−1^{-1}. They measure the exponents to be -1.27 and -1.21, respectively. The authors attribute the gap to a mild batch-size-dependence in some quantities that they treated as constant in the analyses, which seems reasonable.

Weaknesses:

In terms of novelty, while the paper identifies an interesting mechanism for how the projection of mini-batch noise on the top Hessian eigenvector further reduces sharpness, the actual analysis and proof techniques don’t seem very novel. The paper uses the framing of Damian et al., 2023, while additionally tracking the gradient noise from mini-batching.

The paper can be strengthened by adding some more experiments or discussing the ones in the appendix in more detail. Specifically, the paper includes results on one network (two-layer tanh, MSE loss), with other architectures and cross-entropy loss in the appendix. The limitations section states that these dynamics don't always appear, depending on loss and architecture. Can the authors clarify and explain why they think this is the case?

Other than this, I did not find any major weaknesses, but there are some suggestions related to the presentation.

  • The notation for expectation is non-standard with boldface E[⋅]\mathbf{E[\cdot]} and should be updated to E[⋅]\mathbb{E}[\cdot].
  • In line 161, the assumptions that vtv_t is small and gradients for θt\theta_t and θ∗\theta_* are similar should be stated properly.
  • In line 297, the authors should include references to the relevant parts of the appendix.
  • The space after Fig. 3 is too little.
  • In the final version with more space, it would be good to include some discussion on the additional experiments in App. H.
Questions

Please see the above section.

Limitations

Yes.

Paper formatting concerns

N/A

Final justification

The rebuttal addressed my concerns and I maintain my positive score.

1 comment

Thank you for the supportive and constructive review. We respond to the weaknesses you raised below.

Technical novelty beyond Damian et al. (2023) (W1). We thank the reviewer for the advice to better highlight our technical contributions beyond Damian et al. (2023). While our work relies on a similar third-order Taylor expansion and the four stage dynamics, our paper resolves specific technical points that are not present in Damian et al. (2023). First, showing that SGD tracks the reference trajectory under noise is inherently a more difficult task than GD. The coupling theorem (Thm 1). becomes a mean-square, high-probability statement, proved via supermartingale constructions and Doob's maximal inequality (Lemmas E.2--E.5) in place of the deterministic trajectory bound. To enable this analysis, we deviate from the two-step analysis (Damian et al. (2023), Lemma 15), and instead utilized a step-wise Lipschitzness analysis (Lemma E4 of our paper). This resulted in difference in the predicted dynamic (Lemma 4) that needs to be analyzed specifically in the sharpness gap theorem. Second, our sharpness gap theorem (Thm 2) is completely independent of Damian et al. (2023). Starting from our specific form of predicted dynamic, we utilized second-order stationary condition to derive E[x^t2]\mathbb{E}[\hat{x}_t^2] and E[y^t]\mathbb{E}[\hat{y}_t] in equilibrium that showcase how the noise variance influence E[y^t]\mathbb{E}[\hat{y}_t] instead of simply upper bounding the noise magnitude. From a high-level perspective, we argue that a carefully chosen predicted dynamic in Definition 4.4 is especially important in the SGD setting as it need to provide a close-enough tracking of the SGD trajectory and at the same time give rise to effective analysis of the sharpness at equilibrium. We will make these discussions explicit in the revised version of the paper instead of merging them implicitly in the recap of the deterministic mechanism.

Adding experiments to the main text (W2). We thank the reviewer's suggestion of moving some experimental results and discussion from the appendix to the main text. In the updated version we plan to move Section H.9.3 to the main text to account better for the deviation of the fitted exponent −1.27-1.27 from −1-1 in Figure 1.

Presentation Issue (W3). We thank the reviewer for the suggestion. We will make sure to revise the expectation notation, and add more clarification for the step in line 161 and 297. We will also add more space to Figure 3 in the updated version of the paper.

Reviewer_b7VsOpenReview ↗
Rating
4
Clarity
3
Confidence
5
Originality
2
Quality
3
Significance
2
Read review
Summary

This paper generalizes the previous self-stabilization analysis of GD at the edge-of-stability to the SGD regime, where stochastic noise influences the cubic dynamics and makes the critical learning rate in the full-batch setting 2/λmax⁡2/\lambda_{\max} shift to some threshold below it, which is correlated with the batch size under a small-noise regime (though the paper does not explicitly mention this, Assumption 6 for ξt\xi_t implies this regime). This paper stands out for its theoretical value in generalizing EoS to the more practical regime: stochastic training, as it provides a solvable example and mechanism analysis for the critical-learning-rate threshold for SGD.

Strengths and weaknesses

strength

  • Writing is clear, the definitions in the theory are clearly introduced sequentially, and Section 3 gives a clear physical picture for this training dynamics, so the theory parts are not heavy to understand.
  • The mechanism is clean, and the central result is sound. It is worked through both the heuristic (Stages 1–4) and the rigorous derivation (Theorem 2 / Appendix F). The two routes agree on Seq=2/η−ηβσu2/(4α)S_{\mathrm{eq}} = 2/\eta - \eta\beta\sigma_u^2/(4\alpha), the b=nb = n limit correctly recovers GD, and the second-moment balance E[x^2]=δ2=2α/β\mathbb{E}[\hat{x}^2] = \delta^2 = 2\alpha/\beta is consistent throughout. This is a genuinely interpretable closed form for a phenomenon (smaller batch → flatter solution) that has mostly been discussed qualitatively.

weakness

  • Technically, the dynamics analyzed in the paper may be naive or narrow for a thorough understanding of EoS under stochasticity. The derived critical learning rate for EoS is only correlated with the maximal eigenvalue of the Hessian in the paper's analysis. This stems from Assumption 6 that E[∥ξt∥2]≤ϵδ2/η\mathbb{E}[\|\xi_t\|^2] \le \epsilon\delta^2/\eta. Since the SGD update involves the multiplicative random operator (I−ηH+ηξ)(I - \eta H + \eta\xi), whose mean-square stability is governed by ∥E[(I−ηH+ηξ)⊗2]∥\|\mathbb{E}[(I - \eta H + \eta\xi)^{\otimes 2}]\| and is in general not determined by λmax⁡\lambda_{\max} alone — the noise covariance shifts the threshold across the whole spectrum, as made explicit in exact SGD stability analyses [1,2]. The present work avoids this by linearizing the dynamics into a deterministic multiplier (1+ηyt)(1 + \eta y_t) plus an additive scalar noise −ηζt-\eta\zeta_t (Lemma D.1), pushing the multiplicative/cross terms η2ζζ⊤\eta^2\zeta\zeta^\top and ζ\zeta–HH couplings into the O(Et)O(E_t) remainder. This is legitimate only under Assumption 6's bound η2E∥ξ∥2≤O(ϵδ2)\eta^2\mathbb{E}\|\xi\|^2 \le O(\epsilon\delta^2), i.e., per-step injected noise energy ≪\ll the oscillation scale δ2\delta^2.
  • I appreciate this paper for its theoretical attempt at generalizing the definition of EoS from full-batch GD to SGD. I also appreciate the idea of deriving the closed form for a critical learning rate, but the title "SGD at the Edge of Stability" might be an overclaim for the current submission and a little bit beyond the scope of this paper, since the discussion of the rigorous definition of EoS in stochastic training or large-scale observation of the EoS phenomenon is heavily lacking in this paper, which makes the paper less self-consistent and self-supportive. However, I value it as a good theoretical justification for the EoS phenomenon in stochastic training. Actually, concurrent work [1] has established a clear definition of EoS in large-scale training for SGD or other adaptive optimizers, and they introduce detection methods for EoS and observe EoS in LLM pretraining under their definition. It would be interesting and more consistent to see a discussion of this paper in relation to it. Also, as I said above, this paper considers a small-noise regime, while [1] reported that when the training batch is smaller than some threshold, EoS would not happen at all.
  • The closed-form gap can't really be verified quantitatively, because α\alpha isn't measurable at the right point. The authors acknowledge (H.6, Table 2) that at the oscillating SGD iterate α=−⟨∇L,∇S⟩\alpha = -\langle\nabla L, \nabla S\rangle is frequently negative (Fig. 7D, CoV ≈1.5\approx 1.5), whereas the theory needs α>0\alpha > 0 on the PGD reference trajectory. So the denominator of ΔS=ηβσu2/(4α)\Delta S = \eta\beta\sigma_u^2/(4\alpha) is neither "frozen" nor cleanly measurable in practice, and the authors sensibly retreat to verifying scaling only. That's a reasonable fallback, but it means the quantitative prediction is essentially untested. The honesty is appreciated; the limitation is real and should be foregrounded rather than left in the appendix.
  • Also, empirically, the exponents reported for the same setup are inconsistent and never reconciled. For the same FC-Tanh + MSE, η=0.01\eta = 0.01 setting, ΔS∝b−1.27\Delta S \propto b^{-1.27} (Fig. 1, R2=0.98R^2 = 0.98), Fig. 6A caption says −1.24-1.24, and H.9.3 / Table 3 / Fig. 13 report −1.51-1.51. These differ substantially — likely because the batch range and number of points differ, since the tiny ΔS\Delta S at large bb steepens the fit, but the paper never explains it. This directly undercuts the "good agreement with −1-1" framing: if the fuller 11-point fit is −1.51-1.51, that is not close to −1-1. Please unify the reported number and explain the discrepancy.

minor errors

  • Appendix F, L607–608: the y^t+1\hat{y}_{t+1} update is written with "(δ−E[x^t2])(\delta - \mathbb{E}[\hat{x}_t^2])"; per Lemma 4.6 Eq. (17) and Eq. (34) it should be "(δ2−E[x^t2])(\delta^2 - \mathbb{E}[\hat{x}_t^2])". The missing square doesn't affect the final result but is wrong as written.
  • Appendix F, L608: "E[x^t+1]=E[((1+ηy^t)x^t−(η/2)κx^t2−ηζt)2]\mathbb{E}[\hat{x}_{t+1}] = \mathbb{E}[((1 + \eta\hat{y}_t)\hat{x}_t - (\eta/2)\kappa\hat{x}_t^2 - \eta\zeta_t)^2]" — the x^\hat{x} update (Eq. 16) carries no outer square; the squaring looks like a typo.
  • Appendix E, L567: "E[G0(1)]\mathbb{E}[G^{(1)}_0]" appears twice; the second should be G0(2)G^{(2)}_0.
  • Appendix C, L463: "=Put+1∏Atv^0⊥= P_{u_{t+1}} \prod A_t \hat{v}^\perp_0" is missing the orthogonal-projection superscript P⊥P^\perp, and AtA_t should be AkA_k.
  • L571–572: the exponent of MM in the C3C_3 term is inconsistent between lines (M3ϵδ2M^3\epsilon\delta^2 vs. Mϵδ2M\epsilon\delta^2).

[1] https://openreview.net/pdf?id=QSb05IuPsy

[2] https://arxiv.org/abs/2306.07850

Questions

typos

  • L155–156: "here we use a fixed reference θ⋆\theta^\star and ignores" → subject is we, should be ignore.
  • L245: "an oscillation cased by the instability term" → caused.
  • L250: "we need make certain simplification" → "need to make certain simplifications".
  • L284: "The sharpness gap in Theorem 2 can shown to scale as 1/b1/b" → "can be shown".
  • L339 and Fig. 3 caption: "a difference σu2\sigma_u^2 value" / "for difference choice of σu\sigma_u" → different choices.
Limitations
  • A thorough theoretical understanding of EoS is still lacking, for example, how to rigorously track the trajectory for both the progressive-sharpening phase and the EoS phase; how to explain that when using a small batch size, the typical EoS phenomenon would not appear as reported in [1], and the neural network training might be in a stable regime.
  • The current analysis might be hard to generalize to adaptive gradient methods with momentum such as Adam, which is more practically used in current LLM training.
Paper formatting concerns

N/A

1 comment

Thank you for the detailed and technically precise review. We respond to each point you raised below.

Small noise regime (W1). We agree with the reviewer that the mean-square stability of SGD is governed by how the noise perturbs the whole eigenvalue spectrum of the Hessian. While there has been several works that studies the more broad stability condition of SGD, we treat our work as a zoomed-in study of why SGD somehow suppressed the sharpness at EoS in a training dynamic perspective. We admit that our analysis is confined to the behavior of λmax⁡\lambda_{\max} and thus requires the assumption that the noise is small enough to maintain the eigengap. Yet it should be noted that the dynamic of the eigenvalues will get significantly more complicated once different eigenvalues are mixed together, and we respectfully leave this analysis as a future step. We will make sure to state the limitation, discuss the our work's relationship with the paper that the reviewer point to, and clarify that our work does not explain all behaviors of SGD at EoS (see next paragraph).

Scope of the paper and the title (W2). We thank the reviewer for pointing out the naming problem of our paper. We agree that our analysis does not capture all the behaviors of SGD, but rather focus specifically on the training dynamic perspective of how SGD suppress the sharpness at EoS. While our analysis is restricted to the regime where the noise is small enough to roughly preserve the eigengap, it is actually compatible with the argument that when the noise is large, the EoS dynamic will be disturbed and does not occur. We will narrow the title and claims to the small-noise / self-stabilization regime and add a discussion of the papers studying the more general behaviors of SGD.

Measurability of α\alpha and quantitative testability of the closed form (W3). We agree the instantaneous α\alpha at the SGD iterate is not the theory's α\alpha, and we will move this caveat from Appendix H.6 and footnote 2 into the main text. However, we would like to note that the landscape quantities in Theorems 1-4 are defined along the PGD reference trajectory (including the condition that αt>0\alpha_t > 0), so these quantities should be independent of the batch size. Moreover, in Appendix H.9.1 we tests the closed form directly in a setting where the reference trajectory is full-batch GD, explicitly free of the oscillation-induced sign flips, and we inject controlled noise ζt u(θt)\zeta_t\,u(\theta_t) into full-batch GD. We observe that the predicted and measured gaps agree with ratio. We will promote H.9.1 to the main text as the quantitative validation and present the batch-size sweep as validating scaling only. Of course, directly measuring the causal relationship between a group of coupled quantities is hard. However, we believe that the combination of this additional experiment and the fitted scaling curve helps to support better the quantitative prediction given by our theory.

Unifying the fitted exponents (W4). We agree with the current writing's ambiguity on explanation of inconsistent the fitted exponent in the log-log plot. Indeed we believe that the deviation of Figure 2 is due to the significant contribution of the inaccurate small ΔS\Delta S and large batch size point in the log-log plot (the relationship between batch size and the gradient variance has been widely agreed by previous literature). For the −1.27-1.27 slope in Figure 1, we conducted a more comprehensive of the discrepancy in Appendix H.9.3, where Figure 13 refits over all 11 batch sizes with a robust seed-median, time-averaged protocol, giving −1.51-1.51. Appendix H.9.3 provides an accounting of the deviation from −1-1: −1-1 is only the frozen-coefficient leading order; propagating the measured batch dependence of the landscape quantities through Eq.(48) predicts a slope of −1.460-1.460 versus the measured −1.510-1.510 (residual −0.05-0.05. The defensible claim, which we will make explicitly, is that the theory matches once the bb-dependence of its own coefficients is accounted for, while the leading-order slope alone under-predicts the steepness. We do agree that −1.51-1.51 is not close to −1-1, and we will remove the "good agreement with the theoretical prediction slope of −1-1" framing from Section 5.1.

Corrections and revisions. We thank the reviewer for pointing out the typos. We will make sure to have these fixed in the updated version.

Comments on the paper

1 comment
Meta-review

Summary: This paper extends the self-stabilization account of full-batch gradient descent at the edge of stability to mini-batch SGD. The central claim is that stochastic gradient noise projected onto the top Hessian eigendirection increases the variance of the unstable oscillation and thereby strengthens the sharpness-reducing force. The analysis gives a stochastic coupling result and a closed-form equilibrium sharpness gap, predicting that smaller batches lead to lower sharpness and recovering the full-batch case as a limit.

Strengths:

  • Understanding edge-of-stability behavior for SGD is important, and the proposed stochastic self-stabilization mechanism provides an intuitive explanation for an observed batch-size effect.
  • The paper is generally well written. It first presents the mechanism in a simplified setting and then gives the rigorous analysis.
  • The sharpness-gap formula is concrete and interpretable, and the experiments support the predicted inverse dependence on batch size.

Weaknesses:

  • The theory applies in a small-noise regime and inherits several strong assumptions from the full-batch analysis while adding eigengap, noise, scaling, decorrelation, and locally fixed-geometry conditions. Their simultaneous validity in realistic training is not established.
  • The full closed-form prediction is not directly validated; the experiments mainly verify scaling.
  • The analysis and proof strategy closely follow the deterministic framework of Damian et al, and the technical novelty is unclear.

Overall, this paper is borderline, and an author response addressing the reviewer's concerns is important. In particular, it would be essential to address the following.

Required Changes and Clarifications:

  • Clarify the novelty relative to Damian et al. and recent work on stochastic edge-of-stability behavior. In particular, state which technical steps are new beyond tracking the additional mini-batch noise (Rev. b7Vs, Rev. S4UU, Rev. TmBv).
  • Reconcile the different fitted batch-size exponents reported for the same or similar experimental settings (Rev. b7Vs)
  • Explain the scope of the positive coupling assumption and reconcile it with the observed negative values (Rev. TmBv).

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.