Section SJ · SignSGD: drift and volatility
Proved in Lean
Theorem SJ.2 (Half-anisotropic drift)
In the Haar model of Definition SJ.3 with \(k\ge k_*\), there is an admissible constant \(C_*\) such that
\begin{equation}\tag{SJ.27}
\EE_U\big\|U^\T M(U)-L_B\,\Lambda D\big\|_\F^2\le C_* ,
\end{equation}
while the leading term satisfies
\begin{equation}\tag{SJ.28}
b_-B\le\norm{L_B\Lambda D}_\F^2\le b_+B,\qquad b_-\defeq\frac{8c^2f_-^2}{\pi^3L^2f_+^2},\quad b_+\defeq\frac{2L^2f_+^2}{\pi c^2f_-^2}.
\end{equation}
In particular the relative error of the mean update in \(L^2(U)\) Frobenius norm is at most \(\sqrt{C_*/(b_-B)}\).
Proof.
The diagonal normalization of Proposition SJ.6 is replaced by the constant \(\bar\mu\). Since \(U^\T U\Lambda D=\Lambda D\) and \(\sqrt{2/\pi}\,\mathcal N_B/\sqrt{2\cR\bar\mu}=L_B\),
\[
U^\T M-L_B\Lambda D=U^\T E+U^\T N,\qquad N\defeq\sqrt{\frac2\pi}\,\frac{\mathcal N_B}{\sqrt{2\cR}}\big(D_v^{-1/2}-\bar\mu^{-1/2}\Id\big)U\Lambda D .
\]
The correction \(N\) is controlled by the fluctuation of the diagonal of \(\Sigmaout\). On \([c,L]\) the derivative of \(x^{-1/2}\) is at most \(\frac12c^{-3/2}\) in absolute value, and the \(p\)th row of \(U\Lambda D\) has squared norm \(e_p\defeq\omega_p^\T T_D\omega_p\). Hence
\[
\EE_U\norm N_\F^2\le\frac{\frac2\pi B}{4P_-c^3}\sum_p\EE_U\big[(v_p-\bar\mu)^2e_p\big].
\]
The two factors are dependent, and Cauchy–Schwarz with Lemma SJ.6 gives
\[
\EE_U\big[(v_p-\bar\mu)^2e_p\big]\le\big(\EE_U(v_p-\bar\mu)^4\,\EE_Ue_p^2\big)^{1/2}\le\Big(\frac{60L^4}{\Nout^2}\cdot\frac{3H_0^2}{\Nout^2}\Big)^{1/2}=\frac{\sqrt{180}\,L^2H_0}{\Nout^2}.
\]
Summing over \(\Nout\) rows and using \(B\le K\Nout\) gives
\[
\EE_U\norm N_\F^2\le C_N\defeq\frac2\pi K\sqrt{180}L^2H_0/(4P_-c^3).
\]
Orthogonal invariance of the Frobenius norm, \(\norm{X+Y}_\F^2\le2\norm X_\F^2+2\norm Y_\F^2\) and Proposition SJ.6 give (SJ.27) with \(C_*\defeq2C_E+2C_N\).
For (SJ.28), write
\[
\norm{L_B\Lambda D}_\F^2=\frac2\pi\,\frac{\mathcal N_B^2\,\norm{\Lambda D}_\F^2}{2\cR\,\bar\mu},
\]
and use \(c^2f_-^2\le\norm{\Lambda D}_\F^2\le L^2f_+^2\), \(c^2f_-^2\le2\cR\bar\mu\le L^2f_+^2\), and \(4B/\pi^2\le\mathcal N_B^2\le B\) from Proposition SJ.1.
Uses
- Proposition SJ.6 Coordinate errors in Frobenius norm
- Lemma SJ.6 Spherical moments
- Proposition SJ.1 The batch constant
- Definition SJ.3 Haar state law
Used by
- Corollary SJ.1 Row and risk drift
Lean
Proved in Lean
Muon.SignSGD.thm_app_sgd_half_drift_i source
theorem thm_app_sgd_half_drift_i (P : HaarParams) :
∃ C : ℝ, 0 ≤ C ∧ ∀ (n m B : ℕ) (μ : Fin n → ℝ) (D : Matrix (Fin n) (Fin m) ℝ)
(ν : Measure (Matrix.orthogonalGroup (Fin n) ℝ)), IsOrthHaar ν →
def_app_sgd_state_law P n m B μ D → haarKStar P ≤ kOf n m B →
(∫⁻ U, ENNReal.ofReal (frobNorm (haarDriftErr B μ D U) ^ 2) ∂ν ≤ ENNReal.ofReal C) ∧
(∫⁻ U, ENNReal.ofReal (frobNorm (haarDriftErr B μ D U) ^ 2) ∂ν
≤ ENNReal.ofReal (C / (haarBminus P * (B : ℝ))
* frobNorm (LB B μ D • (Matrix.diagonal μ * D)) ^ 2)) := byMuon.SignSGD.thm_app_sgd_half_drift_ii source
theorem thm_app_sgd_half_drift_ii (P : HaarParams) (n m B : ℕ) (μ : Fin n → ℝ)
(D : Matrix (Fin n) (Fin m) ℝ) (hstate : def_app_sgd_state_law P n m B μ D)
(hk : haarKStar P ≤ kOf n m B) :
haarBminus P * (B : ℝ) ≤ frobNorm (LB B μ D • (Matrix.diagonal μ * D)) ^ 2 ∧
frobNorm (LB B μ D • (Matrix.diagonal μ * D)) ^ 2 ≤ haarBplus P * (B : ℝ) := by