Phases of Muoncompanion
Section SJ · SignSGD: drift and volatility
Proved in Lean
Corollary SJ.2 (One step of the risk)
In the Haar model with \(k\ge k_*\), for every deterministic \(\lr\ge0\),
\[ \EE\,\cR(\Delta-\lr S)=\cR-\lr L_B\norm{\Lambda D}_\F^2+\frac{\lr^2}2\,\mathcal Q_{\rm print}+\mathcal E_\lr,\qquad \abs{\mathcal E_\lr}\le\lr Lf_+\sqrt{C_*}+\frac{\lr^2}2\,C_{\rm vol}\frac{\Nout\Nin}{\sqrt k}. \]
Proof.
Given \(U\), the data satisfy Definition SA.1 with covariance \(U\Lambda U^\T\), because the whitened batch is independent of \(U\). The identity (SJ.2) applied given \(U\) and averaged over \(U\) gives
\[ \EE\,\cR(\Delta-\lr S)=\cR-\lr\,\EE\langle\Delta,S\rangle_\Sigma+\frac{\lr^2}2\,\mathcal Q . \]
Corollary SJ.1 and Theorem SJ.3 give the two error terms.

Uses

Used by

Lean

Proved in Lean
Muon.SignSGD.cor_app_sgd_half_risk source
theorem cor_app_sgd_half_risk (P : HaarParams) :
    ∃ Cstar Cvol : ℝ, 0 ≤ Cstar ∧ 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 →
        haarKStar P ≤ kOf n m B →
        ∀ η : ℝ, 0 ≤ η →
          |(∫ p, riskTwo (haarSigmaOut p.1 μ)
                (def_app_sgd_update η (haarDelta p.1 D) (haarBatch μ p.1 p.2)) / 2
              ∂(ν.prod (batchLaw n m B)))
            - (twoR μ D / 2 - η * LB B μ D * frobNorm (Matrix.diagonal μ * D) ^ 2
                + η ^ 2 / 2 * haarQPrint n m μ)|
          ≤ η * (P.L * P.fMax) * Real.sqrt Cstar
            + η ^ 2 / 2 * (Cvol * ((n : ℝ) * m) / Real.sqrt (kOf n m B : ℝ)) := by