Chapter of the paper's appendix
SignSGD
SignSGD keeps no momentum buffer, so this chapter has no momentum version, and every statement concerns one step from a given state \(\Delta\) with one fresh batch; none is a statement about a trajectory. The step is \(\Delta^+=\Delta-\lr S\) with \(S=\sign(G^\circ)\), the entrywise sign of the minibatch gradient \(G^\circ=\frac1B\sum_{a}(\Xout^{(a)})^\T\Delta\Xin^{(a)}\,\Xout^{(a)}\tensor\Xin^{(a)}\), which is, when the risk is positive, also the sign of the normalized gradient \(\Gt\) of (5). Since \(\norm S_\F^2\le\Nout\Nin\), the exact one-step identities of the risk and of the row energy \(\CMscr Q_i(\Delta)=\norm{\Delta^\T u_i}^2\) apply to it ((SJ.2) and (SJ.3)), with \(\langle V,W\rangle_\Sigma=\Tr(\Sigmaout V\Sigmain W^\T)\) and \(\norm V_\Sigma^2=\langle V,V\rangle_\Sigma\):
\[
\begin{gathered}
\EE\,\cR(\Delta^+)=\cR(\Delta)-\lr\,\langle\Delta,\EE S\rangle_\Sigma+\frac{\lr^2}2\,\EE\norm S_\Sigma^2,\\
\EE\,\CMscr Q_i(\Delta^+)=\CMscr Q_i(\Delta)-2\lr\,\EE\langle\Delta^\T u_i,S^\T u_i\rangle+\lr^2\,\EE\norm{S^\T u_i}^2 .
\end{gathered}
\]
The drift constant of the main text is \(\mathcal N_B=\EE\big[(\sum_{b=1}^Bx_b^2y_b^2)^{1/2}\big]\) for independent standard Gaussians \(x_b,y_b\) ((SJ.4)). The chapter bounds \(\mathcal N_B\), evaluates the two expectations in the risk identity for isotropic data, and then, for a Haar eigenbasis, evaluates the row volatility and assembles the row recursion.
- Proposition SJ.1The batch constantProved in Lean
- Proposition SJ.4Isotropic SignSGD recursionProved in Lean
- Theorem SJ.4Corrected row volatilityProved in Lean
- Proposition SJ.8Half-anisotropic SignSGD recursionProved in Lean
Proposition SJ.1 (The batch constant)
\begin{equation}\tag{SJ.7}
\max\Big\{\frac2\pi\sqrt B,\ \sqrt B-\frac4{\sqrt B}\Big\}\le\mathcal N_B\le\sqrt B,\qquad
0\le1-\frac{\mathcal N_B}{\sqrt B}\le\frac4B .
\end{equation}
In particular \(\mathcal N_B/\sqrt B\to1\) as \(B\to\infty\).
The batch constant is the drift coefficient of SignSGD: the main text writes the isotropic drift as \(\mathfrak d=\mathcal N_B/\sqrt\pi\) and then uses \(\mathcal N_B\approx\sqrt B\) throughout, which gives the tabulated drift \(\mu_i\sqrt{B/(\pi\bar\mu)}\) of Table 1. The proposition justifies this replacement with an explicit error: \(\mathcal N_B\) differs from \(\sqrt B\) by a factor in \([1-4/B,1]\), and it is never smaller than \(\frac2\pi\sqrt B\), a bound attained at \(B=1\).
Proof sketch.
The constant is the mean of the square root of a sum \(T_B=\sum_bx_b^2y_b^2\) of \(B\) independent terms with mean \(1\) and second moment \((\EE x^4)(\EE y^4)=9\), so \(T_B/B\) has mean \(1\) and variance \(8/B\). At \(B=1\) independence gives \(\mathcal N_1=(\EE\abs g)^2=2/\pi\). Jensen’s inequality gives \(\mathcal N_B\le(\EE T_B)^{1/2}=\sqrt B\), and the Cauchy–Schwarz comparison \((\sum_bz_b^2)^{1/2}\ge B^{-1/2}\sum_b\abs{z_b}\) with \(z_b=x_by_b\) gives \(\mathcal N_B\ge\frac2\pi\sqrt B\).
The Jensen deficit is at most half the variance. Rationalizing \(\sqrt s-1\) gives the exact identity, for \(s\ge0\),
\[
\sqrt s=1+\frac{s-1}2-\frac{(s-1)^2}{2(\sqrt s+1)^2},
\]
whose last term lies between \(0\) and \((s-1)^2/2\). At \(s=T_B/B\) the linear term has mean zero, so \(0\le1-\EE\sqrt{T_B/B}\le\frac12\cdot\frac8B=\frac4B\), which is the second inequality of (SJ.7) and the bound \(\mathcal N_B\ge\sqrt B-4/\sqrt B\).
In the next proposition constants \(K\ge1\), \(0<f_-\le f_+\) and \(C_\Delta>0\) are fixed, and a state \(\Delta\) with batch size \(B\) is in the isotropic regime of Definition SJ.2 if, with \(k\defeq\min\{\Nout,\Nin,B\}\),
\[
\max\{\Nout,\Nin,B\}\le Kk,\qquad f_-\le\norm\Delta_\F\le f_+,\qquad \max_{i,j}\abs{\Delta_{ij}}\le\frac{C_\Delta}k .
\]
The threshold is \(k_0=\max\{4,8KC_\Delta^2/f_-^2\}\), \(C_2\) is the universal constant of the sign comparison Lemma SJ.5, and \(C_r\) depends only on \(K,f_-,C_\Delta\).
Proposition SJ.4 (Isotropic SignSGD recursion)
Let \(\Sigmain=\Idin\) and \(\Sigmaout=\Idout\), and let \(\Dt\) be the state at step \(t\). Suppose that, almost surely, \(\Dt\) with the batch size \(B\) is in the isotropic regime of Definition SJ.2 and \(k\ge k_0\). Then the SignSGD step satisfies
\begin{equation}\tag{SJ.18}
\EE_t\big[\cR(t+1)\big]=\cR(t)-\lr\,\mathcal N_B\sqrt{\frac{4\cR(t)}\pi}+\frac{\lr^2}2\,\Nin\Nout+E_t,\qquad
\abs{E_t}\le\lr\,K\sqrt{2\cR(t)}\,\Big(C_2+\frac{C_r}{\sqrt k}\Big),
\end{equation}
with \(C_2\) universal and \(C_r\) from Theorem SJ.1. The error is at most \(\pi K(C_2+C_r)/(2\sqrt{2/\pi}\sqrt k)\) times the drift term.
This is the SignSGD case of the scalar recursion (8), with drift \(\mathfrak d=\mathcal N_B/\sqrt\pi\) and volatility \(\mathfrak v=\Nin\Nout\) (\(N^2\) in the square case). It holds one step at a time, from any state in the isotropic regime, whose entries are all of order \(1/k\), with no hypothesis on its rank or operator norm. The volatility is exact, and the drift carries a relative error of order \(k^{-1/2}\).
Proof sketch.
The volatility is exact. With identity covariances \(\norm S_\Sigma=\norm S_\F\), and every entry of \(G^\circ\) is a polynomial in the Gaussian batch that is not identically zero, hence nonzero almost surely. So \(\norm S_\F^2=\Nin\Nout\) (Proposition SJ.2), and the risk identity reads \(\EE_t[\cR(t+1)]=\cR(t)-\lr\,\mathsf D+\frac{\lr^2}2\Nin\Nout\) with \(\mathsf D=\langle\Dt,\EE_tS\rangle_\F\).
Each expected sign is compared with that of a shifted Gaussian. With \(F=\norm\Delta_\F\), the entry \(BG^\circ_{ij}\) is a sum of \(B\) independent copies of \(X=(z^\T\Delta w)z_iw_j\), of mean \(\Delta_{ij}\) and variance \(s^2=F^2+O(1/k)\) (Lemma SJ.3). Writing the sign as a limit of \(\frac2\pi\int_0^\infty e^{-\varepsilon u}\sin(uv)\,\dif u/u\) compares expected signs through the characteristic function \(\phi_Y\) of the standardized coordinate \(Y\), uniformly in the shift \(x=\sqrt B\Delta_{ij}/s\) and with universal \(C_1,C_2\) (Lemma SJ.5):
\[
\Big|\EE\sign\Big(\frac1{\sqrt B}\sum_{a=1}^BY_a+x\Big)-\EE\sign(g+x)\Big|\le\frac{C_1\abs{\EE Y^3}}{\sqrt B}+\frac{C_2}B .
\]
This needs \(\abs{\phi_Y(t)}\) to decay like \(\abs t^{-1/2}\), and that is where small entries enter. Given the other coordinates, \(X\) is Gaussian in the coordinates of \(z\) other than \(z_i\), with a variance controlled by the block \(\bar\Delta\) of \(\Delta\) without row \(i\) and column \(j\); every row and column of \(\Delta\) has squared norm at most \(KC_\Delta^2/k\), so \(\norm{\bar\Delta}_\F^2\ge\frac34F^2\) for \(k\ge k_0\) (Theorem SJ.1), more than the \(\norm{\bar\Delta}_\F\ge F/2\) that Lemma SJ.4 needs. The third cumulant \(\EE Y^3\) is \(O(1/k)\) as well. With \(\EE\sign(g+x)=\sqrt{2/\pi}\,x+O(\abs x^3)\) and \(\abs{\sqrt B-\mathcal N_B}\le4/\sqrt B\) (Proposition SJ.1), every entry satisfies (Theorem SJ.1)
\[
\Big|\EE\sign(G^\circ_{ij})-\sqrt{\frac2\pi}\,\mathcal N_B\frac{\Delta_{ij}}F\Big|\le\frac{C_2}B+\frac{C_r}{k^{3/2}} .
\]
The sum over entries costs the \(\ell^1\) norm of the state, which is why the error is relative of order \(k^{-1/2}\). Since \(\sum_{ij}\Delta_{ij}^2/F=F\), the leading terms add up to \(\mathsf D_0=\sqrt{2/\pi}\,\mathcal N_BF=\mathcal N_B\sqrt{4\cR/\pi}\ge(2/\pi)^{3/2}\sqrt kF\), while \(\sum_{ij}\abs{\Delta_{ij}}\le\sqrt{\Nout\Nin}\,F\le KkF\) bounds the summed errors by \(KF(C_2+C_r/\sqrt k)\), which is of order one.
The Haar model of Definition SJ.3 fixes \(K\ge1\), \(0<c\le L\), \(0<f_-\le f_+\) and \(C_{\rm col}>0\), dimensions with \(k\defeq\min\{\Nout,\Nin,B\}\ge2\) and \(\max\{\Nout,\Nin,B\}\le Kk\), and deterministic \(\Lambda=\diag(\mu_1,\dots,\mu_{\Nout})\) and \(D\in\R^{\Nout\times\Nin}\) with
\[
c\,\Idout\preceq\Lambda\preceq L\,\Idout,\qquad f_-\le\norm D_\F\le f_+,\qquad \max_j\norm{D_{\cdot j}}^2\le\frac{C_{\rm col}}k .
\]
With \(U\) Haar distributed on \(O(\Nout)\) and independent of the whitened batch \((z_b,w_b)_{b\le B}\), it sets \(\Sigmaout=U\Lambda U^\T\), \(\Sigmain=\Idin\), \(\Delta=UD\), \(\Xout^{(b)}=U\Lambda^{1/2}z_b\) and \(\Xin^{(b)}=w_b\). Then \(u_i=Ue_i\), \(\CMscr Q_i(\Delta)=\norm{D_{i\cdot}}^2\), the risk \(2\cR=\Tr(\Lambda DD^\T)\) is deterministic, \(\bar\mu=\Tr\Lambda/\Nout\) and \(T_D=\Lambda DD^\T\Lambda\). Expectations integrate the batch and \(U\), a constant is admissible if it depends only on \(K,c,L,f_\pm,C_{\rm col}\), and the main text’s row volatility is \(\mathfrak v_i^{\text{s-SGD}}=\Nin\big[1+\frac2\pi\big(\frac{\mu_i}{\bar\mu}-1\big)\big]\).
Theorem SJ.4 (Corrected row volatility)
In the Haar model of Definition SJ.3, define the raw annealed row volatility of the update and the corrected array
\begin{align}
\volraw_i&\defeq\EE\norm{S^\T u_i}^2,\tag{SJ.43}\\
\mathfrak v_i^{\rm corr}&\defeq\Nin\Big(1-\frac2\pi\Big)+\frac2\pi\,\Nout\Big[\frac{(\Nin+2)\,\mu_i}{\Tr\Lambda}+\frac{(B+2\Nin+3)\,(T_D)_{ii}}{2\cR\,\Tr\Lambda}\Big].\tag{SJ.44}
\end{align}
There is an admissible constant \(C_{\rm row}\) such that, for every \(i\),
\begin{equation}\tag{SJ.45}
\abs{\volraw_i-\mathfrak v_i^{\rm corr}}\le C_{\rm row}\,\frac{\Nin}{\sqrt k},\qquad
\Big|\frac{\volraw_i}{\mathfrak v_i^{\rm corr}}-1\Big|\le\frac{C_{\rm row}}{(1-2/\pi)\sqrt k}.
\end{equation}
The actual total is exact, \(\sum_i\volraw_i=\Nout\Nin\), while
\begin{equation}\tag{SJ.46}
\sum_i\mathfrak v_i^{\rm corr}-\Nout\Nin=\frac2\pi\,\Nout\Big[2+\frac{(B+2\Nin+3)\Tr T_D}{2\cR\,\Tr\Lambda}\Big]\in\Big(0,\ \frac2\pi\Nout\big[2+(3K+3)L/c\big]\Big].
\end{equation}
The corrected array exceeds the main text’s array row by row:
\begin{equation}\tag{SJ.47}
\mathfrak v_i^{\rm corr}-\mathfrak v_i^{\text{s-SGD}}=\frac2\pi\,\Nout\Big[\frac{2\mu_i}{\Tr\Sigmaout}+\frac{(B+2\Nin+3)\,(\Lambda DD^\T\Lambda)_{ii}}{2\cR\,\Tr\Sigmaout}\Big]\ge0 .
\end{equation}
The theorem computes the SignSGD row volatility \(\mathfrak v_i\) of (14) on a Haar eigenbasis and is the source of the footnote of Section 4: the actual row volatility is the corrected array \(\mathfrak v_i^{\rm corr}\) up to a relative error of order \(k^{-1/2}\), and this array exceeds the main text’s \(\mathfrak v_i^{\text{s-SGD}}\) by a nonnegative term that depends on the state through \((T_D)_{ii}\). In total the excess is of order \(\Nout\) against \(\Nout\Nin\), but for a single row it can be of the same order as \(\mathfrak v_i^{\text{s-SGD}}\): for \(\Lambda=\Id\), \(B=N\) and \(D=e_1\tensor\mathbf 1/\sqrt N\) the first row has \(\mathfrak v_1^{\rm corr}=(1+\frac6\pi)N+\frac{10}\pi\), whereas \(\mathfrak v_1^{\text{s-SGD}}=N\).
Proof sketch.
Averaging over the eigenbasis reduces the row volatility exactly to the column directions of a matrix that does not involve \(U\). The residuals do not involve \(U\), so \(G^\circ=UH\) with \(H=\frac1B\sum_b(z_b^\T\Lambda^{1/2}Dw_b)\,\Lambda^{1/2}z_b\tensor w_b\) independent of \(U\), and the \(j\)th column of \(U^\T S\) is \(U^\T\sign(Uh_j)\). For a fixed nonzero \(a\in\R^n\) and \(Y=U^\T\sign(Ua)\), invariance under the rotations that fix \(a\) leaves two unknown numbers in \(\EE_U[Y\tensor Y]\); the trace is \(\norm Y^2=n\), and \(a^\T Y/\norm a\) is the \(\ell^1\) norm of a uniform unit vector, whose second moment is \(1+2(n-1)/\pi\). This gives (Lemma SJ.7 and Lemma SJ.11)
\[
\EE_U\big[Y\tensor Y\big]=\Big(1-\frac2\pi\Big)\Id+\frac{2n}\pi\,\frac{a\tensor a}{\norm a^2},\qquad
\volraw_i=\Nin\Big(1-\frac2\pi\Big)+\frac2\pi\,\Nout\sum_{j=1}^{\Nin}\EE\frac{(h_j)_i^2}{\norm{h_j}^2}.
\]
Every entry of \(UH\) is nonzero almost surely, so \(\norm S_\F^2=\Nout\Nin\) and the total \(\sum_i\volraw_i=\norm S_\F^2\) is exact.
The random column norm can be replaced by \(x_0=2\cR\Tr\Lambda/B\). The column \(h_j\) is the mean of \(B\) independent vectors of mean \(m_j=\Lambda D_{\cdot j}\), so \(\norm{h_j}^2\) differs from \(x_0\) by a bias of order \(1/k\) and a fluctuation whose fourth moment is of order \(k^{-2}\) (a fourth-moment count over the samples), so \(\EE\abs{(h_j)_i^2/\norm{h_j}^2-(h_j)_i^2/x_0}=O(k^{-3/2})\) (Lemma SJ.13), and summed over the \(\Nin\) columns with the factor \(\frac2\pi\Nout\le\frac2\pi Kk\) this is the error \(C_{\rm row}\Nin/\sqrt k\).
The replaced sum is an exact Gaussian moment, and the mean of the columns produces the state term. Gaussian pairings give ((SJ.34))
\[
\sum_j\EE\big[h_j\tensor h_j\big]=\EE\big[HH^\T\big]=\frac{2\cR\,(\Nin+2)}B\,\Lambda+\Big(1+\frac{2\Nin+3}B\Big)T_D,
\]
where \(T_D=\sum_jm_j\tensor m_j\) collects the squared column means. The \((i,i)\) entry of \(\EE[HH^\T]\) divided by \(x_0\) is the bracket of (SJ.44). Summing over \(i\) and subtracting the main text’s array give (SJ.46) and (SJ.47), with \(\Tr T_D\le2\cR L\) and \(\Tr\Lambda\ge c\Nout\) for the upper bound.
In the next proposition the Haar model and its notation are those set before Theorem SJ.4. The threshold is \(k_*=\max\{4,\lceil4LC_{\rm col}/(cf_-^2)\rceil\}\), \(C_*\) is the admissible constant of the half-anisotropic drift Theorem SJ.2, and \(C_{\rm row}\) is the constant of Theorem SJ.4.
Proposition SJ.8 (Half-anisotropic SignSGD recursion)
In the Haar model of Definition SJ.3 with \(k\ge k_*\), let \(\lr\ge0\) be deterministic and \(\Delta^+=\Delta-\lr S\). Then, with \(\mathfrak d_i\defeq\mu_i\mathcal N_B/\sqrt{\pi\bar\mu}\), there are real numbers \(E_1,\dots,E_{\Nout}\) such that
\begin{equation}\tag{SJ.48}
\EE\,\CMscr Q_i(\Delta^+)=\CMscr Q_i(\Delta)-\frac{2\lr\,\mathfrak d_i}{\sqrt\cR}\,\CMscr Q_i(\Delta)+\lr^2\,\mathfrak v_i^{\rm corr}+E_i,\qquad
\sum_i\abs{E_i}\le2\lr f_+\sqrt{C_*}+\lr^2C_{\rm row}\,\frac{\Nout\Nin}{\sqrt k}.
\end{equation}
The risk satisfies
\begin{equation}\tag{SJ.49}
\EE\,\cR(\Delta^+)=\cR-\lr\sum_i\frac{\mu_i\,\mathfrak d_i}{\sqrt\cR}\,\CMscr Q_i(\Delta)+\frac{\lr^2}2\sum_i\mu_i\,\mathfrak v_i^{\text{s-SGD}}+\mathcal E_\lr,
\end{equation}
with \(\mathcal E_\lr\) bounded as in Corollary SJ.2.
This is the one-step row recursion (14) for SignSGD on a Haar eigenbasis, which the main text cites for the claim that SignSGD admits the same row recursion as Muon. The drift \(\mathfrak d_i=\mu_i\mathcal N_B/\sqrt{\pi\bar\mu}\) is the tabulated \(\mu_i\sqrt{B/(\pi\bar\mu)}\) of Table 1 with \(\sqrt B\) replaced by \(\mathcal N_B\). The per-row volatility is the state-dependent \(\mathfrak v_i^{\rm corr}\) of Theorem SJ.4, and the main text’s array \(\mathfrak v_i^{\text{s-SGD}}\) is correct in the covariance-weighted total, the risk identity (SJ.49). The hypotheses of the Haar model, among them a covariance bounded below and a state independent of the eigenbasis, are not shown to persist after the step.
Proof sketch.
The whitened batch is independent of \(U\), so the row identity of the chapter introduction holds given \(U\); averaged over \(U\), its quadratic term is \(\lr^2\volraw_i\), which Theorem SJ.4 replaces by \(\lr^2\mathfrak v_i^{\rm corr}\). It remains to compute the mean update \(M(U)=\EE[S\mid U]\).
Each entry of \(M(U)\) is an isotropic coordinate drift for a whitened state with small entries. Rotating the output feature so that its \(p\)th coordinate becomes a multiple of the first shows that \(\sign(G^\circ_{pj})\) has the law of an entry of the isotropic gradient of a state of Frobenius norm \(\sqrt{2\cR}\) whose entry is \(\mu_{pj}=(\Sigmaout\Delta)_{pj}/\sqrt{v_p}\), with \(v_p=(\Sigmaout)_{pp}\) (Lemma SJ.8). The coordinate estimate of the isotropic case (Proposition SJ.3) then gives \(\sqrt{2/\pi}\,\mathcal N_B\mu_{pj}/\sqrt{2\cR}\). Its hypothesis, a row and a column that carry a small part of the risk, is supplied by the rotation: with \(\omega_p\) the \(p\)th row of \(U\), a uniform unit vector, \(\mu_{pj}=\omega_p^\T\Lambda D_{\cdot j}/\sqrt{v_p}\) has \(\EE\abs{\mu_{pj}}^{2q}=O((\Nout k)^{-q})\), and the row is heavy only with probability \(O(\Nout^{-4})\) (Lemma SJ.9). The coordinate errors are squared and summed before averaging over \(U\), and their total stays bounded (Proposition SJ.6).
The diagonal of the covariance concentrates, \(\EE(v_p-\bar\mu)^4\le60L^4/\Nout^2\) (Lemma SJ.6), and replacing \(v_p\) by \(\bar\mu\) gives (Theorem SJ.2)
\[
\EE_U\big\|U^\T M(U)-L_B\,\Lambda D\big\|_\F^2\le C_*,\qquad L_B=\frac{\mathcal N_B}{\sqrt{\pi\cR\,\bar\mu}},\qquad
\norm{L_B\Lambda D}_\F^2\asymp B .
\]
The row pairing given \(U\) is \(\langle D_{i\cdot},(U^\T M)_{i\cdot}\rangle\), so the Cauchy–Schwarz inequality bounds the summed row errors by \(\norm D_\F\sqrt{C_*}\le f_+\sqrt{C_*}\), against a total of order \(\sqrt B\) (Corollary SJ.1), and \(L_B\mu_i=\mathfrak d_i/\sqrt\cR\). For the risk, the Haar sign matrix (Lemma SJ.11) reduces the weighted volatility to \(\Nin(1-\frac2\pi)\Tr\Lambda+\frac2\pi\Nout\sum_j\EE[h_j^\T\Lambda h_j/\norm{h_j}^2]\), with \(h_j=U^\T G^\circ_{\cdot j}\), and the mean of each ratio is \(\Tr\Lambda^2/\Tr\Lambda\) up to \(O(k^{-1/2})\) by concentration of quadratic forms of a column, which gives \(\sum_i\mu_i\mathfrak v_i^{\text{s-SGD}}\) (Theorem SJ.3 and Corollary SJ.2).