REVIEW 4 minor 16 references
Zeroth-Order Optimization at the Edge of Stability
T0 review · 0 major / 4 minor · reviewed 2026-07-12 · grok-4.5
Pith's one-line read Zeroth-order optimizers train at a mean-square edge of stability set by the full Hessian spectrum, not just its top eigenvalue.
desk verdict Clean first exact mean-square stability theory for practical ZO methods, with matching full-batch EoS evidence that the governing quantity is the Hessian trace rather than λ_max. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
A cone-preserving linear covariance operator with a rank-one global coupling term that evolves the second-moment blocks of the ZO iterates; its spectral radius is characterized by the Krein–Rutman theorem and yields the exact mean-square stability condition.
What would settle it
Train full-batch ZO-GD on a neural net and track Hessian trace and top eigenvalue: if the fixed threshold 2/η systematically leaves the interval [Tr(Ht), Tr(Ht)+2λ max(Ht)] for a sustained portion of training, the mean-square edge-of-stability claim fails.
Extended reading notes
Core claim
For the standard Gaussian two-point estimator the mean-square critical step size of ZO-GD, ZO-GDM and frozen ZO-Adam is the unique positive root of an explicit equation that involves the entire spectrum of the (preconditioned) Hessian; the same methods empirically stabilize so that this threshold stays inside the computable interval built from the Hessian trace and top eigenvalue.
Load-bearing premise
The exact thresholds are derived for the local quadratic Taylor model of the loss, and for ZO-Adam the frozen preconditioner is assumed to commute with the Hessian.
Editorial extensions
If this is right
- Large ZO step sizes primarily regularize Hessian trace rather than top eigenvalue.
- Increasing momentum shrinks the ZO mean-square stable region, the opposite of its effect on first-order momentum methods.
- Practical ZO training can monitor only trace and top eigenvalue to stay near the stability boundary without computing the full spectrum.
- The same covariance-operator framework extends immediately to forward differences, non-Gaussian directions and multi-query averages.
Reading between the lines
- Mini-batch ZO-SGD should inherit a hybrid stability threshold that mixes estimator noise with sampling noise and may settle at still flatter trace values.
- A central-flow description of ZO training could be obtained by replacing the FO sharpness flow with the mean-square spectral equation derived here.
- Because ZO fine-tuning already reduces memory, the trace bias may offer a free generalization knob that FO memory-efficient methods do not share.
Signed reviews
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper derives exact mean-square linear stability conditions for ZO-GD, ZO-GDM, and frozen ZO-Adam under the standard two-point Gaussian estimator applied to the local quadratic model of the loss. Unlike FO methods, whose critical step size depends only on λ_max, the ZO mean-square critical step size is the unique positive root of an explicit spectral equation involving the full Hessian (or preconditioned Hessian) spectrum; tractable bounds depending only on Tr(H) and λ_max are also obtained. Empirically, full-batch ZO-GD, ZO-GDM, and ZO-Adam on CNN/ResNet/ViT (CIFAR-10 subset) and on LSTM/Mamba sorting tasks stabilize so that the predicted thresholds 2/η, 2(1-β)/η, and 2/η remain inside the corresponding [Tr, Tr+2λ_max]-type intervals throughout training, indicating a mean-square edge-of-stability regime that primarily regularizes the Hessian trace.
Significance. The work supplies a clean, FO-contrasting stability theory for the ZO estimators used in MeZO-style LLM fine-tuning, together with complete second-moment recursions, a cone-preserving covariance operator analyzed via Krein–Rutman (Theorem 4 / Appendix A), and matching tractable bounds that are directly plotted against independently estimated curvature. The empirical mean-square EoS observation across architectures, the opposite momentum dependence relative to FO-GDM, and the explicit link to trace regularization are new and practically relevant. Strengths include machine-checkable spectral characterizations, falsifiable threshold predictions with no free fit parameters, and supporting commutator measurements (Appendix D.3).
minor comments (4)
- [§4.2, Remark 2] In §4.2 / Remark 2 the commutativity assumption PH=HP is load-bearing for the exact spectral formula of frozen ZO-Adam; while Appendix D.3 shows the relative commutator drops below 0.05, a short forward pointer in the main text would help readers who skip the appendix.
- [Figure 1, §1] Figure 1 caption and the surrounding text state that the ZO-GD trace stabilizes 'slightly below 2/η'; the later theory (Eq. (5)) places the threshold inside [Tr, Tr+2λ_max]. Aligning the early narrative with the precise interval would avoid a minor inconsistency of language.
- [Appendix B] Appendix B sketches extensions to forward differences, non-Gaussian directions, and multi-query averages; a one-sentence pointer in the main text (e.g., after Theorem 1) would make these results more discoverable.
- [§5.2] The squared-loss / one-hot CIFAR-10 subset protocol is standard for EoS studies but should be flagged more prominently when claiming relevance to cross-entropy LLM fine-tuning.
Circularity Check
No significant circularity: mean-square thresholds are derived from the covariance operator spectral radius under the linearized quadratic model, and empirical EoS plots overlay those fixed theoretical constants on independently estimated curvature.
full rationale
The central claims are obtained by constructing the second-moment recursion for the two-point ZO updates on the local quadratic (Definition 1), reducing it to a cone-preserving linear covariance operator T (Lemma 1 / Theorems 4–5), and characterizing ρ(T)<1 via Krein–Rutman, which yields the exact spectral equations of Theorems 1–3 and the tractable [Tr, Tr+2λ_max]-style bounds. Those bounds are then used only as fixed horizontal thresholds (2/η, 2(1−β)/η, etc.) against Hutchinson/power-iteration estimates of Tr(H_t) and λ_max(H_t) that are not fitted to the thresholds. FO baselines are taken from external literature (Cohen et al.). The commutativity assumption for frozen ZO-Adam is stated and empirically checked (Appendix D.3) rather than smuggled in as a uniqueness theorem. No free parameter is fitted to data and then re-presented as a prediction; no load-bearing uniqueness result is imported from overlapping authors; the derivation is self-contained under the stated linearized full-batch setting. Score 0 is therefore appropriate.
Assumptions & free parameters
free parameters (2)
- smoothing parameter μ
- step-size and momentum schedules used in figures
assumptions (4)
- domain assumption Local quadratic Taylor approximation of the loss about a minimizer is sufficient to characterize short-term linear stability (Definition 1).
- domain assumption Search directions are i.i.d. standard Gaussian (or, more generally, isotropic with finite fourth moments).
- ad hoc to paper For frozen ZO-Adam, the preconditioner P and Hessian H commute (P H = H P).
- standard math Krein–Rutman theorem applies to the cone-preserving covariance operator on the finite-dimensional product of positive-semidefinite 2×2 blocks.
Cite this review
Pith. "Pith review of Zeroth-Order Optimization at the Edge of Stability." pith.science (2026). https://pith.science/paper/ZS2SKAOO
@misc{pith2026260414669,
author = {Pith},
title = {Pith review of: Zeroth-Order Optimization at the Edge of Stability},
year = {2026},
howpublished = {\url{https://pith.science/paper/ZS2SKAOO}},
note = {Machine review of arXiv:2604.14669}
}
read the original abstract
Zeroth-order (ZO) methods are widely used when gradients are unavailable or prohibitively expensive, including black-box learning and memory-efficient fine-tuning of large models, yet their optimization dynamics in deep learning remain underexplored. In this work, we provide an explicit step size condition that exactly captures the (mean-square) linear stability of a family of ZO methods based on the standard two-point estimator. Our characterization reveals a sharp contrast with first-order (FO) methods: whereas FO stability is governed solely by the largest Hessian eigenvalue, mean-square stability of ZO methods depends on the entire Hessian spectrum. Since computing the full Hessian spectrum is infeasible in practical neural network training, we further derive tractable stability bounds that depend only on the largest eigenvalue and the Hessian trace. Empirically, we find that full-batch ZO methods operate at the edge of stability: ZO-GD, ZO-GDM, and ZO-Adam consistently stabilize near the predicted stability boundary across a range of deep learning training problems. Our results highlight an implicit regularization effect specific to ZO methods, where large step sizes primarily regularize the Hessian trace, whereas in FO methods they regularize the top eigenvalue.
Figures
Figures from the paper (10 more)
Reference graph
Works this paper leans on
-
[1]
Andreyev, A. and Beneventano, P. Edge of stochastic sta- bility: Revisiting the edge of stability for SGD.arXiv preprint arXiv:2412.20553,
- [2]
-
[3]
Lewkowycz, A., Bahri, Y ., Dyer, E., Sohl-Dickstein, J., and Gur-Ari, G. The large learning rate phase of deep learning: the catapult mechanism.arXiv preprint arXiv:2003.02218,
arXiv 2003
-
[4]
Salimans, T., Ho, J., Chen, X., Sidor, S., and Sutskever, I. Evolution strategies as a scalable alternative to rein- forcement learning.arXiv preprint arXiv:1703.03864,
-
[5]
Type-ii saddles and probabilistic stability of stochastic gradient descent
Ziyin, L., Li, B., Galanti, T., and Ueda, M. Type-ii saddles and probabilistic stability of stochastic gradient descent. arXiv preprint arXiv:2303.13093,
-
[6]
Applyings Σp¨qand cancellings ‹ ą0gives r“˜η 2 sΣ ˆ´ Id´ 1 r M ¯´1 sQΣ ˙
The bounds ρp 1 r Miq ă1 imply ρp 1 r Mq ă1 , so Id´ 1 r M is invertible by the Neumann series and W ‹ “ ˜η2s‹ r ´ Id´ 1 r M ¯´1 sQΣ. Applyings Σp¨qand cancellings ‹ ą0gives r“˜η 2 sΣ ˆ´ Id´ 1 r M ¯´1 sQΣ ˙ . Using the Neumann series andră1, ˜η2 sΣ ˆ´ Id´ 1 r M ¯´1 sQΣ ˙ ě˜η2 sΣ ` pId´Mq ´1 sQΣ ˘ “˜η2 dÿ i“1 ˜λ2 i γi “S adampη, β1q. HenceS adampη, β1q ďră...
1948
-
[7]
Experimental details In this section, we provide additional experimental details
33 Zeroth-Order Optimization at the Edge of Stability C. Experimental details In this section, we provide additional experimental details. Our dataset construction, preprocessing, and model architectures follow the setup of Cohen et al. (2025). Dataset.We train on a subset of CIFAR-10 consisting of 1,000 training examples drawn from the first four CIFAR-1...
2025
-
[8]
• Vision Transformer (ViT).A Vision Transformer (Dosovitskiy et al.,
with GeLU activations and GroupNorm (Wu & He, 2018). • Vision Transformer (ViT).A Vision Transformer (Dosovitskiy et al.,
2018
Show all 16 references
-
[9]
Top eigenvalue and trace estimation.During training, we log curvature statistics every 1,000 iterations
with depth 3, embedding dimension 64, 8 attention heads, MLP dimension256, and patch size4. Top eigenvalue and trace estimation.During training, we log curvature statistics every 1,000 iterations. Specifically, we compute the largest eigenvalue and trace of the Hessian (or the...
2020
-
[10]
34 Zeroth-Order Optimization at the Edge of Stability 0 100000 200000 300000 400000 500000 Iteration 0 1000 2000 3000 4000 5000Hessian Trace 2/ = 3000 2/ = 2000 2/ = 1000 ZO-GD (varying ) = 2/3000 : Tr(Ht) = 2/2000 : Tr(Ht) = 2/1000 : Tr(Ht) = 2/3000 : Tr(Ht) + 2 max(Ht) = 2/2...
2000
-
[11]
= 2/2000 : Tr( ) + 2 max( )/(1 +
2000
-
[12]
(2025, Appendix B.3), we train full-batch ZO-GD, ZO-GDM, and ZO-Adam and track the corresponding mean-square stability quantities
Figure 8.Mean-square EoS on a synthetic sorting task with an LSTM.On the synthetic sorting task described in Karpathy (2020), using the setup adopted by Cohen et al. (2025, Appendix B.3), we train full-batch ZO-GD, ZO-GDM, and ZO-Adam and track the corresponding mean-square st...
2020
-
[13]
(2025, Appendix B.3), we train full-batch ZO-GD, ZO-GDM, and ZO-Adam and track the corresponding mean-square stability quantities
Figure 9.Mean-square EoS on a synthetic sorting task with Mamba.On the synthetic sorting task described in Karpathy (2020), using the setup adopted by Cohen et al. (2025, Appendix B.3), we train full-batch ZO-GD, ZO-GDM, and ZO-Adam and track the corresponding mean-square stab...
2020
-
[14]
Appendix D.3)
0 100000 200000 300000 400000 500000 Iteration 0.00 0.20 0.40 0.60 0.80 1.00 0.05Relative Commutator Ratio = 2/40000 = 2/20000 = 2/10000 0 100000 200000 300000 400000 500000 Iteration 0.00 0.20 0.40 0.60 0.80 1.00 0.05Relative Commutator Ratio = 2/40000 = 2/20000 = 2/10000 0 1...
-
[15]
Figure 11.CNN: same experiments as Figure 2, with training loss.Top:training loss.Bottom:the stability-band plots from Figure 2 for ZO-GD (left), ZO-GDM (middle), and ZO-Adam (right). 0.0 0.1 0.2 0.3 0.4 0.5Training Loss ZO-GD (varying ) = 2/5000 = 2/4000 = 2/3000 0.0 0.1 0.2 ...
2000
-
[16]
Figure 12.ResNet: same experiments as Figure 6, with training loss.Top:training loss.Bottom:the stability-band plots from Figure 6 for ZO-GD (left), ZO-GDM (middle), and ZO-Adam (right). 37 Zeroth-Order Optimization at the Edge of Stability 0.0 0.1 0.2 0.3 0.4 0.5Training Loss...
2000
Reviewed July 12, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.