Section SJ · SignSGD: drift and volatility
Proved in Lean
Theorem SJ.3 (Half-anisotropic weighted volatility)
In the Haar model of Definition SJ.3 there is an admissible constant \(C_{\rm vol}\) such that
\begin{equation}\tag{SJ.41}
\abs{\mathcal Q-\mathcal Q_{\rm print}}\le C_{\rm vol}\,\frac{\Nout\Nin}{\sqrt k},
\end{equation}
and both \(\mathcal Q\) and \(\mathcal Q_{\rm print}\) lie in \([c\Nout\Nin,L\Nout\Nin]\). In particular \(\abs{\mathcal Q/\mathcal Q_{\rm print}-1}\le C_{\rm vol}/(c\sqrt k)\).
Proof.
The ratio \(R_j\) is compared with \(a_0\defeq\Tr\Lambda^2/\Tr\Lambda\in[c,L]\) through a deterministic denominator. Put
\[
x_0\defeq\frac{2\cR}B\Tr\Lambda,\qquad y_0\defeq\frac{2\cR}B\Tr\Lambda^2,\qquad x_-\defeq\frac{c^2f_-^2}K\le x_0 .
\]
On the almost sure event \(h_j\ne0\),
\[
R_j-a_0=\frac{h_j^\T\Lambda h_j-y_0}{x_0}+R_j\,\frac{x_0-\norm{h_j}^2}{x_0}.
\]
\[
\abs{\EE R_j-a_0}\le\frac{2L}{x_-}\Big(\sqrt{\frac{V_*}k}+\frac{D_*}k\Big).
\]
Inserting this in (SJ.40), summing over the \(\Nin\) columns and using \(k^{-1}\le k^{-1/2}\) gives (SJ.41) with \(C_{\rm vol}\defeq\frac{4L}{\pi x_-}(\sqrt{V_*}+D_*)\), since \(\mathcal Q_{\rm print}=\Nin(1-\frac2\pi)\Tr\Lambda+\frac2\pi\Nout\Nin a_0\).
For the range, \(\norm S_\F^2=\Nout\Nin\) and \(c\Id\preceq\Sigmaout\preceq L\Id\) give the bounds on \(\mathcal Q\). The quotient \(\mathcal Q_{\rm print}/(\Nout\Nin)=(1-\frac2\pi)\bar\mu+\frac2\pi a_0\) is a convex combination of two numbers in \([c,L]\).
Uses
- Proposition SJ.7 Quadratic forms of a column
- Lemma SJ.11 Haar reduction
- Definition SJ.3 Haar state law
Used by
- Corollary SJ.2 One step of the risk
Lean
Proved in Lean
Muon.SignSGD.thm_app_sgd_half_volatility source
theorem thm_app_sgd_half_volatility (P : HaarParams) :
∃ Cvol : ℝ, 0 ≤ Cvol ∧
∀ (n m B : ℕ) (μ : Fin n → ℝ) (D : Matrix (Fin n) (Fin m) ℝ)
(ν : Measure (Matrix.orthogonalGroup (Fin n) ℝ)),
Muon.Foundations.IsOrthHaar ν → def_app_sgd_state_law P n m B μ D →
|haarQ B ν μ D - haarQPrint n m μ| ≤ Cvol * ((n : ℝ) * m) / Real.sqrt (kOf n m B : ℝ) ∧
P.c * ((n : ℝ) * m) ≤ haarQ B ν μ D ∧ haarQ B ν μ D ≤ P.L * ((n : ℝ) * m) ∧
P.c * ((n : ℝ) * m) ≤ haarQPrint n m μ ∧ haarQPrint n m μ ≤ P.L * ((n : ℝ) * m) ∧
|haarQ B ν μ D / haarQPrint n m μ - 1| ≤ Cvol / (P.c * Real.sqrt (kOf n m B : ℝ)) := by