Section SJ · SignSGD: drift and volatility
Proved in Lean
Proposition SJ.6 (Coordinate errors in Frobenius norm)
In the Haar model with \(k\ge k_*\), let \(D_v\defeq\diag(v_1,\dots,v_{\Nout})\) and
\[
E\defeq M(U)-\sqrt{\frac2\pi}\,\frac{\mathcal N_B}{\sqrt{2\cR}}\,D_v^{-1/2}U\Lambda D .
\]
There is an admissible constant \(C_E\) such that \(\EE_U\norm E_\F^2\le C_E\).
Proof.
The entry \(E_{pj}\) is the error of Proposition SJ.3 for the whitened state of Lemma SJ.8. We square and sum the five terms of (SJ.14) before averaging over \(U\); this keeps the batch remainder at the scale of the whole matrix.
Good events. On \(\mathcal A_p\) the bound (SJ.14) applies, with \(F^2=2\cR\ge P_-\). Call its five terms \(t_1,\dots,t_5\), so that \(E_{pj}^2\mathbf 1_{\mathcal A_p}\le5\sum_lt_l^2\). Here \(s^3\ge(2\cR)^{3/2}\),
\[
m_3^2\le80000\,\mu_{pj}^2(2\cR)^2+5832\,(2\cR)R_pC_j,\qquad s^2-2\cR\le5(R_p+C_j),
\]
the last because \(\mu_{pj}^2\le R_p\). Summing over the \(\Nout\Nin\) entries with (SJ.26) and \(\Nout,\Nin,B\in[k,Kk]\) gives
\[
\begin{aligned}
\sum_{p,j}\EE t_1^2&\le\frac{KC_1^2}{kP_-^3}\big(80000P_+^2A_1+5832P_+A_2A_0\big),&
\sum_{p,j}t_2^2&\le\frac{\Nout\Nin C_2^2}{B^2}\le K^2C_2^2,\\
\sum_{p,j}\EE t_3^2&\le\frac{15K^4A_1^3}{18\pi P_-^3k},&
\sum_{p,j}\EE t_5^2&\le\frac{16\cdot\frac2\pi\,KA_1}{P_-k}.
\end{aligned}
\]
For \(t_4\) the correlated moment is bounded by Cauchy–Schwarz, \(\EE[\mu_{pj}^2R_p^2]\le(\EE\mu_{pj}^4\,\EE R_p^4)^{1/2}\le\sqrt{315}A_1A_0^2/(\Nout^3k)\), and \(C_j^2\EE\mu_{pj}^2\le A_2^2A_1/(\Nout k^3)\), so
\[
\sum_{p,j}\EE t_4^2\le\frac{25\cdot\frac2\pi\,K^2A_1}{2P_-^3k}\big(\sqrt{315}A_0^2+A_2^2\big).
\]
Only \(t_2\) contributes a term that does not decay; it is bounded.
Bad events. On every event \(\abs{M_{pj}}\le1\) and \(\mathcal N_B^2\le B\), so \(E_{pj}^2\le2+\frac4\pi B\mu_{pj}^2/P_-\). Cauchy–Schwarz gives \(\EE[\mu_{pj}^2\mathbf 1_{\mathcal A_p^c}]\le\sqrt{3Q_0}A_1/(\Nout^3k)\), and
\[
\sum_{p,j}\EE\big[E_{pj}^2\mathbf 1_{\mathcal A_p^c}\big]\le\frac{2KQ_0}{k^2}+\frac{\frac4\pi\sqrt{3Q_0}A_1K^2}{P_-k}.
\]
No independence between different rows of \(U\) is used. Adding five times the good-event sums to the bad-event sum gives the claim with an admissible \(C_E\), since \(k\ge1\).
Uses
- Proposition SJ.3 Drift of one coordinate
- Lemma SJ.8 Whitening a coordinate
- Lemma SJ.9 Deletion estimates
Used by
- Theorem SJ.2 Half-anisotropic drift
Lean
Proved in Lean
Muon.SignSGD.prop_app_sgd_coordinate_sum source
theorem prop_app_sgd_coordinate_sum (P : HaarParams) :
∃ CE : ℝ, 0 ≤ CE ∧ ∀ (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 (haarErr B μ D U) ^ 2) ∂ν ≤ ENNReal.ofReal CE := by