betaFeedback

WorksMathematics

When and How SignSGD Outperforms SGD: A Functional Scaling Law Perspective

Abstract

We study how the sign operator interacts with gradient noise to shape the learning dynamics and scaling behavior of sign-based optimizers. In power-law kernel regression with diagonal features, we establish a functional scaling law (FSL) for SignSGD under general learning rate schedules. The FSL describes the learning dynamics through two processes: signal learning and noise forgetting. The key mechanism is noise-induced preconditioning: gradient noise smooths the sign operator, inducing an effective preconditioned SGD. Noise-curvature alignment enables this preconditioning to transform the effective Hessian from H\mathbf{H} to H1/2\mathbf{H}^{1/2}. The resulting dynamics exhibit faster signal learning but slower noise forgetting than SGD. This tradeoff yields a regime-dependent comparison with SGD: (i) SignSGD achieves improved data efficiency in the hard-task regime; (ii) both optimizers achieve the same data efficiency in the easy-task regime, but SignSGD maintains this efficiency at larger batch sizes, requiring fewer optimization steps for a fixed data budget. Power-law kernel regression experiments support the proposed mechanism and predicted scaling behavior. LLM pre-training experiments further suggest that the SignSGD FSL better captures the batch-size dependence of loss dynamics for sign-based optimizers than the original SGD FSL.

Introduction

Sign-based optimizers play an increasingly prominent role in modern large-scale training. SignSGD ([4]) and Lion ([8]) apply the sign operator coordinate-wise, while Muon ((Jordan et al., 2024; Liu et al., 2025)) uses the matrix sign operator. Related sign-like behavior also arises in RMSprop ((Hinton et al., 2012)) and Adam ((Kingma & Ba, 2015; Loshchilov & Hutter, 2019)) through coordinate-wise second-moment normalization ([3]). Together, these methods motivate understanding the sign operator as a basic mechanism in modern optimization.

Existing theoretical analyses of these sign-based optimizers have largely focused on deterministic full-batch dynamics ((Kunstner et al., 2023, 2024; Zhang et al., 2024; Kunstner & Bach, 2025; Li et al., 2026b)) or convergence guarantees for convex and nonconvex objectives under general smoothness assumptions ((Reddi et al., 2018; Chen et al., 2019; Défossez et al., 2022; Sun et al., 2023; Shen et al., 2025)). These analyses establish important optimization properties, but do not fully explain how the sign operator interacts with gradient noise or adequately quantify how this interaction shapes loss dynamics and scaling behavior.

In this work, we study SignSGD in power-law kernel (PLK) regression with diagonal features. We extend the functional scaling law (FSL) framework of Li et al. (2025) to characterize how sign operator reshapes signal learning and noise forgetting under general learning rate (LR) schedules. Our analysis shows that SignSGD acts as an effective preconditioned SGD method, with the preconditioner determined by the structure of gradient noise. Diagonal features and noise-curvature alignment are important in this square-root spectral preconditioning, accelerating signal learning in low-curvature directions. The accompanying change in update noise, however, leads to slower noise forgetting. The FSL captures these effects by expressing the risk at step kk as

E[E(θk)]≃S(tk)+∑j=0k−1K(tk−tj)ηj2.\mathbb{E}[\mathcal{E}(\theta_k)] \simeq S(t_k) + \sum_{j=0}^{k-1} K(t_k-t_j)\eta_j^2.

Here ηj\eta_j is the learning rate at step jj, and tk=B∑j=0k−1ηjt_k = \sqrt{B}\sum_{j=0}^{k-1}\eta_j is the intrinsic time of SignSGD with batch size BB. Signal-learning function S(tk)S(t_k) describes how the target signal is learned, and noise-forgetting kernel K(tk−tj)K(t_k-t_j) measures the remaining effect of noise injected at step jj. S(⋅)S(\cdot) and K(⋅)K(\cdot) follow the power laws: S(t)≃t−2sS(t) \simeq t^{-2s}, K(t)≃t−(2−2/q)K(t) \simeq t^{-(2-2/q)}, where s>0s > 0 and q>1q > 1 are task-dependent parameters. Figure 1 (left) shows that this FSL captures the risk dynamics of SignSGD. Leveraging this FSL framework, we furthermore identify two advantages of SignSGD over SGD:

  • Improved data efficiency (§ 4.1). In the hard-task regime, SignSGD achieves a faster data-scaling rate than SGD, as illustrated in Figure 1 (middle).

  • Improved step efficiency (§ 4.2). In the easy-task regime, SignSGD supports a larger critical batch size (CBS) than SGD while preserving optimal data efficiency, requiring fewer optimization steps for a fixed data budget, as illustrated in Figure 1 (right).

Empirical validation. PLK regression experiments (§ 5.1) corroborate this mechanism and the resulting scaling predictions. In large language model (LLM) pre-training (§ 6), the SignSGD FSL captures the dependence of sign-based optimizers’ loss trajectories on batch size more accurately than the original SGD FSL in Li et al. (2025).

Figure 1. SignSGD FSL accurately captures risk dynamics and predicts scaling behavior. (Left) FSL predictions track SignSGD risk trajectories under cosine, WSD, and cyclic LR schedules. (Middle) In the hard-task regime, SignSGD achieves a larger data-scaling exponent than SGD, γsgn>γsgd\gamma_{\mathrm{sgn}} > \gamma_{\mathrm{sgd}} in E(D)≃D−γ\mathcal{E}(D) \simeq D^{-\gamma}, indicating improved data efficiency. Dashed lines denote power-law fits. (Right) In the easy-task regime, SignSGD improves step efficiency through a larger CBS, requiring fewer optimization steps at a fixed data budget while preserving small-batch performance. Risk is normalized by each optimizer’s B=1B = 1 baseline. Marked CBS estimates use a 20% risk-increase tolerance.

Related work. Xiao et al. (2025) and Monzio Compagnoni et al. (2025) develop SDE descriptions of signSGD and analyze how the sign operator modifies the drift and noise, revealing effects on preconditioning, risk dynamics, and convergence. More directly related to scaling laws, Kim et al. (2026) study signSGD in PLK regression, primarily in the noiseless setting. Our work focuses on the label-noise-dominated regime, establishing an explicit FSL that characterizes signal learning and noise forgetting under general LR schedules, which makes the batch-size dependence explicit and enables comparisons of data and step efficiency between signSGD and SGD. Paquette et al. (2026) study Muon and SignSGD in matrix-valued least squares and show that these sign-based optimizers can provide square-root spectral preconditioning effects. Additional related work is discussed in Appendix § 11.

Preliminaries

Notation. We use ≃\simeq to denote equivalence up to a constant factor, and ≲\lesssim (resp. ≳\gtrsim) to indicate inequality up to a constant factor. For two non-negative functions f,gf,g, we write f(x)≲g(x)f(x) \lesssim g(x) (resp. f(x)≳g(x)f(x) \gtrsim g(x)) if there exists a constant C>0C > 0 such that f(x)≤Cg(x)f(x) \leq Cg(x) (resp. g(x)≤Cf(x)g(x) \leq Cf(x)) for all xx under consideration. We write f(x)≃g(x)f(x) \simeq g(x) if both f(x)≲g(x)f(x) \lesssim g(x) and f(x)≳g(x)f(x) \gtrsim g(x) hold.

Problem setup

Power-law kernel (PLK) regression with diagonalized features. Consider a kernel regression task in which labels are generated by y=⟨ϕ(x),θ∗⟩+ϵy = \langle\phi(x), \theta^* \rangle+ \epsilon, where data input x∼Dx \sim\mathcal{D} and label noise ϵ∼N(0,σ2)\epsilon\sim\mathcal{N}(0,\sigma^2) are independent. Here ϕ:X→Rd\phi: \mathcal{X} \to\mathbb{R}^d is the feature mapping and θ∗∈Rd\theta^* \in\mathbb{R}^d is the unknown target parameter. We consider the infinite-dimensional setting, i.e., d=∞d = \infty. We assume Gaussian features ϕ(x)∼N(0,H)\phi(x) \sim\mathcal{N}(0,\mathbf{H}), where H=Ex∼D[ϕ(x)ϕ(x)⊤]\mathbf{H} = \mathbb{E}_{x \sim\mathcal{D}}[\phi(x)\phi(x)^\top] is the feature covariance. The prediction model f(x;θ)=⟨ϕ(x),θ⟩f(x;\theta) = \langle\phi(x),\theta\rangle is trained by minimizing the population risk R(θ)=Ex,y[ℓ(θ;x,y)]\mathcal{R}(\theta) = \mathbb{E}_{x,y}[\ell(\theta;x,y)] under the squared loss ℓ(θ;x,y)=12(f(x;θ)−y)2\ell(\theta;x,y) = \frac{1}{2}(f(x;\theta)-y)^2. The population risk decomposes as R(θ)=E(θ)+σ2/2\mathcal{R}(\theta) = \mathcal{E}(\theta) + \sigma^2/2, where E(θ)=12(θ−θ∗)⊤H(θ−θ∗)\mathcal{E}(\theta) = \frac{1}{2}(\theta-\theta^*)^\top\mathbf{H}(\theta-\theta^*) is the excess risk.

Assumption 2.1 (Constant label noise). Assume σ≃1\sigma\simeq1.

Assumption 2.2 (Diagonal features). Assume H=diag⁡(λ1,⋯ ,λd)\mathbf{H} = \operatorname{diag}(\lambda_1,\cdots,\lambda_d).

Assumption 2.3 (Power-law structures). For some q>1q > 1 and s>0s > 0, λj≃j−q\lambda_j \simeq j^{-q}, λj∣θj∗∣2≃j−(1+sq)\lambda_j|\theta_j^*|^2 \simeq j^{-(1+sq)}.

Assumption 2.3 specifies the power-law source and capacity structure of the regression. Here qq is the spectral-decay exponent, which controls the decay rate of the feature spectrum, and ss is the source exponent, which describes how the target energy is distributed across spectral directions.

One-pass SignSGD. At each training step k=0,…,N−1k = 0,\ldots,N-1, we draw a fresh mini-batch Bk={(xk,i,yk,i)}i=1BB_k = \{(x_{k,i},y_{k,i})\}_{i=1}^{B} of size BB, with all samples drawn i.i.d. from the data distribution. Starting from θ0=0\theta_0 = 0, one-pass SignSGD performs the updates

gk=1B∑i=1B∇ℓ(θk;xk,i,yk,i),θk+1=θk−ηksgn⁡(gk),(1)\mathbf{g}_k = \frac{1}{B}\sum_{i=1}^{B}\nabla\ell(\theta_k;x_{k,i},y_{k,i}), \qquad\theta_{k+1} = \theta_k - \eta_k\operatorname{sgn}(\mathbf{g}_k), \tag*{(1)}

where sgn⁡(⋅)\operatorname{sgn}(\cdot) acts coordinate-wise and {ηk}k=0N−1\{\eta_k\}_{k=0}^{N-1} is the LR schedule.

An SDE modeling for SignSGD

We extend the intrinsic-time SDE developed for SGD by Li et al. (2025) to SignSGD.

Modeling gradient noise. Write gk=μk+ξkg_k = \mu_k + \xi_k, where μk:=∇R(θk)\mu_k := \nabla\mathcal{R}(\theta_k) is the population gradient and ξk\xi_k is the gradient noise satisfying E[ξk]=0\mathbb{E}[\xi_k] = 0. We model ξk∼N(0,σB2Σ)\xi_k \sim\mathcal{N}(0, \sigma_B^2\Sigma), where Σ\Sigma is a single-sample covariance and σB=1/B\sigma_B = 1/\sqrt{B} characterizes the dependence on batch size. An extension beyond Gaussian noise is discussed in Appendix § 11.2.§ 5.

Smoothed sign and update noise. For batch size BB, define the scaled smoothed sign operator

mB(x):=σBEξ∼N(0,Σ)[sgn⁡(x+σBξ)]\mathbf{m}_B(\mathbf{x}) := \sigma_B\mathbb{E}_{\boldsymbol{\xi}\sim\mathcal{N}(0,\Sigma)}[\operatorname{sgn}(\mathbf{x}+\sigma_B\boldsymbol{\xi})]

Since sgn⁡(ax)=sgn⁡(x)\operatorname{sgn}(a\mathbf{x}) = \operatorname{sgn}(\mathbf{x}) for a>0a > 0, the Gaussian noise model gives E[sgn⁡(gk)]=mB(μk)/σB\mathbb{E}[\operatorname{sgn}(\mathbf{g}_k)] = \mathbf{m}_B(\boldsymbol{\mu}_k)/\sigma_B. Define the centered sign noise nk:=sgn⁡(gk)−mB(μk)/σB\mathbf{n}_k := \operatorname{sgn}(\mathbf{g}_k) - \mathbf{m}_B(\boldsymbol{\mu}_k)/\sigma_B and its covariance QB(θk):=E[nknkT]\mathbf{Q}_B(\boldsymbol{\theta}_k) := \mathbb{E}[\mathbf{n}_k\mathbf{n}_k^{\mathsf{T}}]. The update then becomes θk+1−θk=−ηk[mB(μk)/σB+nk]\boldsymbol{\theta}_{k+1} - \boldsymbol{\theta}_k = -\eta_k[\mathbf{m}_B(\boldsymbol{\mu}_k)/\sigma_B + \mathbf{n}_k]. Its conditional mean and covariance are −ηkmB(μk)/σB-\eta_k\mathbf{m}_B(\boldsymbol{\mu}_k)/\sigma_B and ηk2QB(θk)\eta_k^2\mathbf{Q}_B(\boldsymbol{\theta}_k), respectively, which specify the drift and diffusion covariance of the effective continuum model.

Intrinsic-time dynamics. To analyze the effects of the LR schedule and batch size, we introduce two key quantities: intrinsic time and noise intensity. Let zz denote continuous training steps and η(z)\eta(z) a continuous LR schedule satisfying η(k)=ηk\eta(k) = \eta_k. We define the intrinsic time of SignSGD as t=ΓB(z):=∫0zη(u)σB dut = \Gamma_B(z) := \int_0^z \frac{\eta(u)}{\sigma_B}\,du, which is the continuous analogue of σB−1∑j=0k−1ηj\sigma_B^{-1}\sum_{j=0}^{k-1}\eta_j. The corresponding noise intensity is defined by nB(t):=σBη(ΓB−1(t))n_B(t) := \sigma_B\eta(\Gamma_B^{-1}(t)), which measures the noise strength injected per unit intrinsic time. With these two quantities, we show that SignSGD can be modeled by the SDE

References

  1. [3]Lukas Balles and Philipp Hennig. Dissecting Adam: The sign, magnitude and variance of stochastic gradients. In International Conference on Machine Learning, volume 80, pp. 404–413. PMLR, 2018. (cited on page 1)arxiv.org/abs/1705.07774
  2. [4]Jeremy Bernstein, Yu-Xiang Wang, Kamyar Azizzadenésheli, and Animashree Anandkumar. signSGD: Compressed optimisation for non-convex problems. In International Conference on Machine Learning, volume 80, pp. 560–569. PMLR, 2018. (cited on pages 1 and 19)arxiv.org/abs/1802.04434
  3. [7]Andrea Caponnetto and Ernesto De Vito. Optimal rates for the regularized least-squares algorithm. Foundations of Computational Mathematics, 7:331–368, 2007. (cited on page 6)DOI
  4. [8]Xiangning Chen, Chen Liang, Da Huang, Esteban Real, Kaiyuan Wang, Hieu Pham, Xuanyi Dong, Thang Luong, Cho-Jui Hsieh, Yifeng Lu, and Quoc V. Le. Symbolic discovery of optimization algorithms. Advances in Neural Information Processing Systems, 36:49205–49233, 2023. (cited on page 1)arxiv.org/abs/2302.06675

Paper details

vlnc:W_547p3p4t
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
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.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents