Section SJ · SignSGD: drift and volatility
Proved in Lean
Lemma SJ.13 (Column norms)
In the Haar model put \(x_0\defeq2\cR\Tr\Lambda/B\). There are admissible constants \(C_{\rm good}\), \(C_{\rm bad}\) such that, for every column \(j\) and row \(i\),
\begin{equation}\tag{SJ.42}
\EE\Big|\frac{(h_j)_i^2}{\norm{h_j}^2}-\frac{(h_j)_i^2}{x_0}\Big|\le\frac{C_{\rm good}}{k^{3/2}}+\frac{C_{\rm bad}}{k^2}.
\end{equation}
Proof.
The centered norm. Write \(h_j=m_j+S_B/B\) with \(S_B\) as in Lemma SJ.12 for \(Z=X-m_j\). Then exactly
\[
\norm{h_j}^2-\EE\norm{h_j}^2=\frac{2m_j^\T S_B}B+\frac{\mathcal D_B}{B^2}+\frac{\mathcal W}{B^2}.
\]
The first term has fourth moment at most \(48A_4\norm{m_j}^4/B^2\le48A_4H_0^2/k^2\). Lemma SJ.12 and \(\Nout\le Kk\le KB\) bound the other two by \((16A_8+3A_4^2)K^4/k^2\) and \(144A_4^2K^2/k^2\). With \(\abs{x+y+z}^4\le27(x^4+y^4+z^4)\),
\[
\EE\big(\norm{h_j}^2-\EE\norm{h_j}^2\big)^4\le\frac{F_4}{k^2},\qquad F_4\defeq27\big[48A_4H_0^2+(16A_8+3A_4^2)K^4+144A_4^2K^2\big].
\]
The bias. Taking traces in (SJ.33),
\[
0\le\EE\norm{h_j}^2-x_0=\frac{2C_j\Tr\Lambda+2\Tr T_D}B+\Big(1+\frac3B\Big)\norm{m_j}^2\le\frac{b_0}k,
\]
with \(b_0\defeq2L^2KC_{\rm col}+2LP_++4L^2C_{\rm col}\). Hence, with \(Q_4\defeq8(F_4+b_0^4)\),
\[
\EE\big(\norm{h_j}^2-x_0\big)^4\le\frac{Q_4}{k^2},\qquad \EE\big(\norm{h_j}^2-x_0\big)^2\le\frac{\sqrt{Q_4}}k .
\]
The same decomposition and Lemma SJ.12 give \(\EE(h_j)_i^4\le H_4/k^2\) with \(H_4\defeq8(L^4C_{\rm col}^2+3A_4)\). Also \(x_0\ge a_0\defeq P_-c/K\).
The ratio. Put \(\delta\defeq\norm{h_j}^2-x_0\). On \(\{\norm{h_j}^2\ge x_0/2\}\),
\[
(h_j)_i^2\,\Big|\frac1{\norm{h_j}^2}-\frac1{x_0}\Big|\le\frac{2}{a_0^2}\,(h_j)_i^2\abs\delta ,
\]
whose mean is at most \(2a_0^{-2}(H_4/k^2)^{1/2}(\sqrt{Q_4}/k)^{1/2}=C_{\rm good}k^{-3/2}\) by Cauchy–Schwarz. Markov’s inequality gives \(\PP(\norm{h_j}^2<x_0/2)\le16Q_4/(a_0^4k^2)\defeq b_1/k^2\). On that event \((h_j)_i^2/\norm{h_j}^2\le1\), and Cauchy–Schwarz gives
\[
\frac1{x_0}\,\EE\big[(h_j)_i^2\,\mathbf 1_{\{\norm{h_j}^2<x_0/2\}}\big]\le\frac{\sqrt{H_4b_1}}{a_0k^2}.
\]
Adding the three contributions gives (SJ.42) with \(C_{\rm bad}\defeq b_1+\sqrt{H_4b_1}/a_0\).
Uses
- Lemma SJ.12 Fourth moments of sums
- Lemma SJ.10 Column moments
Used by
- Theorem SJ.4 Corrected row volatility
Lean
Proved in Lean
Muon.SignSGD.lem_app_sgd_column_norm source
theorem lem_app_sgd_column_norm (P : HaarParams) :
∃ Cgood Cbad : ℝ, 0 ≤ Cgood ∧ 0 ≤ Cbad ∧
∀ (n m B : ℕ) (μ : Fin n → ℝ) (D : Matrix (Fin n) (Fin m) ℝ),
def_app_sgd_state_law P n m B μ D → ∀ (j : Fin m) (i : Fin n),
(∀ᵐ β ∂(batchLaw n m B), hCol μ D β j ≠ 0) ∧
∫⁻ β, ENNReal.ofReal
|hCol μ D β j i ^ 2 / (hCol μ D β j ⬝ᵥ hCol μ D β j) - hCol μ D β j i ^ 2 / haarX0 B μ D|
∂(batchLaw n m B)
≤ ENNReal.ofReal (Cgood / ((kOf n m B : ℝ) * Real.sqrt (kOf n m B : ℝ))
+ Cbad / (kOf n m B : ℝ) ^ 2) := by