Section SA · Setup: model, momentum, regularized SignSVD, normalization
Proved in Lean
Lemma SA.7 (Residual law)
Let \(A\in\R^{\Nout\times\Nin}\) be deterministic with \(\norm{A}_\F=1\), let \(z\sim\mathcal N(0,\Id_{\Nout})\) and \(w\sim\mathcal N(0,\Id_{\Nin})\) be independent, and put \(d=z^\T Aw\). Let \(\alpha_1\ge\alpha_2\ge\dots\ge0\) be the singular values of \(A\) and \(g\sim\mathcal N(0,1)\).
- (i)\(d\) is symmetric, \(\EE d^2=1\), \(\EE d^4=3+6\sum_k\alpha_k^4\le3+6\norm{A}^2\), and \(\EE\abs{d}^{2p}\le\big((2p-1)!!\big)^2\) for every integer \(p\ge1\).
- (ii)\(\EE e^{i\theta d}=\prod_k(1+\theta^2\alpha_k^2)^{-1/2}\) for real \(\theta\), and \(0\le\log\EE e^{i\theta d}+\theta^2/2\le\theta^4\norm{A}^2/4\).
- (iii)Along any sequence of such \(A=A_B\) with \(\norm{A_B}\to0\), \(d\Rightarrow g\) in distribution, and \(\EE\,\psi(d)\to\EE\,\psi(g)\) for every continuous \(\psi\) with \(\abs{\psi(x)}\le1+x^2\).
Proof.
The residual reduces to a weighted sum of products of independent normals. Write \(A=U\diag(\alpha)V^\T\) with \(U,V\) orthogonal. Since \(U^\T z\) and \(V^\T w\) are again independent standard Gaussian vectors, \(d\) has the law of
\[
d\overset{\mathrm{law}}{=}\sum_k\alpha_kU_kV_k,\qquad U_k,V_k\ \text{independent standard normal}.
\]
Negating all \(U_k\) proves symmetry.
The second and fourth moments follow by expansion. Independence gives \(\EE d^2=\sum_k\alpha_k^2=1\). Each product \(U_kV_k\) has fourth moment \(9\), and expanding the fourth power of the sum leaves only the multiplicities \(4\) and \(2+2\), so
\[
\EE d^4=9\sum_k\alpha_k^4+6\sum_{k<l}\alpha_k^2\alpha_l^2=3\Big(\sum_k\alpha_k^2\Big)^2+6\sum_k\alpha_k^4=3+6\sum_k\alpha_k^4 .
\]
The bound \(\sum_k\alpha_k^4\le\alpha_1^2\sum_k\alpha_k^2=\norm A^2\) gives the fourth-moment bound.
The \(2p\)-th moment is bounded by conditioning on \(w\). Given \(w\), the variable \(d\) is centered Gaussian with variance \(\norm{Aw}^2\), so
\[
\EE\big[\abs d^{2p}\mid w\big]=(2p-1)!!\,\norm{Aw}^{2p}.
\]
In the coordinates above \(\norm{Aw}^2=\sum_k\alpha_k^2V_k^2\) is a convex combination of the \(V_k^2\), so Jensen’s inequality for \(x\mapsto x^p\) gives
\[
\EE\norm{Aw}^{2p}\le\sum_k\alpha_k^2\,\EE V_k^{2p}=(2p-1)!! ,
\]
and (i) follows.
The characteristic function is a product. Integrating first in \(V_k\) and then in \(U_k\),
\[
\EE e^{i\theta\alpha U_kV_k}=\EE e^{-\theta^2\alpha^2U_k^2/2}=(1+\theta^2\alpha^2)^{-1/2},
\]
and independence gives the product formula of (ii). For \(x\ge0\),
\[
0\le x-\log(1+x)=\int_0^x\frac{u}{1+u}\,du\le\frac{x^2}{2};
\]
summing at \(x=\theta^2\alpha_k^2\) and using \(\sum_k\alpha_k^2=1\) and \(\sum_k\alpha_k^4\le\norm A^2\) gives the bound of (ii).
Part (iii) is Lévy’s continuity theorem: by (ii) the characteristic functions converge pointwise to \(e^{-\theta^2/2}\), hence \(d\Rightarrow g\) [82, Theorem 26.3], and the convergence of \(\EE\psi(d)\) for \(\abs{\psi(x)}\le1+x^2\) follows from the bound \(\EE d^4\le9\) of (i).
Used by
- Lemma SB.6 Gaussian moment bounds
- Lemma SB.13 Uniform Gaussian limit of the residual functional
- Lemma SC.8 Uniform Gaussian limit of the derivative functional
- Lemma SC.9 Candidate-centered targets
- Lemma SD.5 Uniform scalar comparison
- Lemma SD.6 Replacement of the residuals
- Lemma SE.3 Moments of one batch
Lean
Proved in Lean
Muon.Setup.lem_app_setup_residual_i source
theorem lem_app_setup_residual_i {m n : ℕ} (A : Mat m n) (hA : fro A = 1) :
(gaussPair m n).map (resid A) = (gaussPair m n).map (fun x => -resid A x) ∧
∫ x, resid A x ^ 2 ∂(gaussPair m n) = 1 ∧
∫ x, resid A x ^ 4 ∂(gaussPair m n) = 3 + 6 * ∑ k ∈ Finset.range (min m n), svals A k ^ 4 ∧
∫ x, resid A x ^ 4 ∂(gaussPair m n) ≤ 3 + 6 * opNorm A ^ 2 ∧
∀ p : ℕ, 1 ≤ p →
∫ x, |resid A x| ^ (2 * p) ∂(gaussPair m n) ≤
((Nat.doubleFactorial (2 * p - 1) : ℕ) : ℝ) ^ 2 := byMuon.Setup.lem_app_setup_residual_ii source
theorem lem_app_setup_residual_ii {m n : ℕ} (A : Mat m n) (hA : fro A = 1) :
(∀ θ : ℝ, ∫ x, Complex.exp (((θ * resid A x : ℝ) : ℂ) * Complex.I) ∂(gaussPair m n)
= ((residCharProd A θ : ℝ) : ℂ)) ∧
∀ θ : ℝ, 0 ≤ Real.log (residCharProd A θ) + θ ^ 2 / 2 ∧
Real.log (residCharProd A θ) + θ ^ 2 / 2 ≤ θ ^ 4 * opNorm A ^ 2 / 4 := byMuon.Setup.lem_app_setup_residual_iii source
theorem lem_app_setup_residual_iii {m n : ℕ → ℕ} {Ω : ℕ → Type*} [∀ k, MeasurableSpace (Ω k)]
(P : ∀ k, Measure (Ω k)) [∀ k, IsProbabilityMeasure (P k)]
(A : ∀ k, Mat (m k) (n k)) (z : ∀ k, Ω k → Vec (m k)) (w : ∀ k, Ω k → Vec (n k))
(hlaw : ∀ k, (P k).map (fun ω => (z k ω, w k ω)) = gaussPair (m k) (n k))
(hA : ∀ k, fro (A k) = 1) (hAn : Tendsto (fun k => opNorm (A k)) atTop (𝓝 0)) :
TendstoInDistribution (fun k ω => resid (A k) (z k ω, w k ω)) atTop id P
(gaussianReal 0 1) ∧
∀ ψ : ℝ → ℝ, Continuous ψ → (∀ x, |ψ x| ≤ 1 + x ^ 2) →
Tendsto (fun k => ∫ ω, ψ (resid (A k) (z k ω, w k ω)) ∂(P k)) atTop
(𝓝 (∫ x, ψ x ∂(gaussianReal 0 1))) := by