Section SA · Setup: model, momentum, regularized SignSVD, normalization
Proved in Lean
Definition SA.1 (Regression model)
Let \(\Nout,\Nin,B\) be positive integers. The features \(\Xin\in\R^{\Nin}\) and \(\Xout\in\R^{\Nout}\) are independent random vectors with finite second moments, centered in every coordinate, with covariances
\[
\Sigmain\defeq\EE[\Xin\tensor\Xin],\qquad\Sigmaout\defeq\EE[\Xout\tensor\Xout],
\]
and with eigendecompositions \(\Sigmaout=\sum_{i=1}^{\Nout}\mu_i\,u_i\tensor u_i\) and \(\Sigmain=\sum_{j=1}^{\Nin}\lambda_j\,v_j\tensor v_j\) in orthonormal eigenbases, all eigenvalues included. For a parameter \(W\in\R^{\Nout\times\Nin}\) and a fixed teacher \(\Wstar\in\R^{\Nout\times\Nin}\), the single-sample loss and the population risk are
\begin{equation}\tag{SA.1}
\cL(W;(\Xin,\Xout))\defeq\tfrac12\big\langle\Xout\tensor\Xin,\ W-\Wstar\big\rangle^2,\qquad
\cR(W)\defeq\EE\big[\cL(W;(\Xin,\Xout))\big].
\end{equation}
For \(\Delta\in\R^{\Nout\times\Nin}\) we write
\begin{equation}\tag{SA.2}
\begin{gathered}
\langle V,W\rangle_\Sigma\defeq\Tr\big(\Sigmaout V\Sigmain W^\T\big),\qquad
\norm{V}_\Sigma^2\defeq\langle V,V\rangle_\Sigma,\\
\CMscr Q_{ij}(\Delta)\defeq(u_i^\T\Delta v_j)^2,\qquad
\CMscr Q_i(\Delta)\defeq\norm{\Delta^\T u_i}^2 .
\end{gathered}
\end{equation}
The past at step \(t\) is denoted \(\cF_t\): it contains the parameter \(\Wt\) and everything used to compute it, but not the minibatch of step \(t\), which is a family \((\Xin^{(a)},\Xout^{(a)})_{a=1}^B\) of independent copies of \((\Xin,\Xout)\) independent of the past. We write
\begin{equation}\tag{SA.3}
\begin{gathered}
\Dt\defeq\Wt-\Wstar,\qquad \cR(t)\defeq\cR(\Wt),\qquad
d_a^\circ\defeq(\Xout^{(a)})^\T\Dt\Xin^{(a)},\\
\Gt^\circ\defeq\frac1B\sum_{a=1}^Bd_a^\circ\,\Xout^{(a)}\tensor\Xin^{(a)} ,
\end{gathered}
\end{equation}
so that \(\Gt^\circ\) is the minibatch gradient (2) at \(\Dt\); as in the main text we write \(\CMscr Q_{ij}(t)\defeq\CMscr Q_{ij}(\Dt)\) and \(\CMscr Q_i(t)\defeq\CMscr Q_i(\Dt)\). The data matrices and the residual diagonal of the batch are \(X\defeq[\Xin^{(1)}\cdots\Xin^{(B)}]\in\R^{\Nin\times B}\), \(Y\defeq[\Xout^{(1)}\cdots\Xout^{(B)}]\in\R^{\Nout\times B}\) and \(\vec D^\circ\defeq\diag(d_1^\circ,\dots,d_B^\circ)\). The superscript \(^\circ\) marks physical objects, as opposed to the normalized objects of (SA.10).
Used by
- Proposition SA.1 Residual and gradient moments
- Proposition SA.4 Conditional recursion of the projected risks
- Proposition SA.5 Support event and zero risk
- Proposition SJ.2 Isotropic volatility
- Corollary SJ.2 One step of the risk
Lean
Proved in Lean
Muon.Setup.def_app_setup_model source
def def_app_setup_model {m n : ℕ} {C : Covariances m n} (_S : SpectralData C)
(ν : Measure (Vec m × Vec n)) : Prop :=Muon.Setup.IsFeatureLaw source
structure IsFeatureLaw {m n : ℕ} (C : Covariances m n) (ν : Measure (Vec m × Vec n)) : Prop whereMuon.Setup.ModelLaw source
structure ModelLaw {Ω : Type*} [mΩ : MeasurableSpace Ω] (P : Measure Ω)
{m n : ℕ} (ν : Measure (Vec m × Vec n)) [IsProbabilityMeasure ν] (B : ℕ) whereMuon.Setup.IIDBatch source
structure IIDBatch {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) {m n B : ℕ}
(ν : Measure (Vec m × Vec n)) (x : Fin B → Ω → Vec m × Vec n) : Prop whereMuon.Setup.Batch source
abbrev Batch (m n B : ℕ) := Fin B → Vec m × Vec n
Muon.Setup.resid source
def resid {m n : ℕ} (Δ : Mat m n) (x : Vec m × Vec n) : ℝ :=Muon.Setup.lossSingle source
def lossSingle {m n : ℕ} (Wstar W : Mat m n) (x : Vec m × Vec n) : ℝ :=Muon.Setup.popRisk source
def popRisk {m n : ℕ} (ν : Measure (Vec m × Vec n)) (Wstar W : Mat m n) : ℝ :=Muon.Setup.grad source
def grad {m n B : ℕ} (Δ : Mat m n) (b : Batch m n B) : Mat m n :=