Section SC · Drift: the expected regularized update
Proved in Lean
Proposition SC.2 (One-step risk drift in the frozen state)
Under Assumption S3, let \(\lr\ge0\) be deterministic and put \(\Delta^+\defeq\Dt-\lr\,\Gtilde\) with \(\Gtilde=\Qridge\ridge(\Mt)\). Then
\begin{equation}\tag{SC.15}
\EE\big[\cR(\Delta^+)\big]-\cR(t)=-\lr\,\sqrt{2\cR(t)}\,\big\langle\EE\Gt,\EE\Gtilde\big\rangle+\frac{\lr^2}{2}\,\EE\norm{\Gtilde}_\Sigma^2 ,
\end{equation}
and the linear term satisfies
\begin{equation}\tag{SC.16}
\Big|\sqrt{2\cR(t)}\,\big\langle\EE\Gt,\EE\Gtilde\big\rangle-\frac{1}{\sqrt{\cR(t)}}\sum_{i,j}\mu_i\lambda_j\,\mathfrak d_{ij}\,\CMscr Q_{ij}(t)\Big|
\le\sqrt{2\cR(t)}\,C_\Sigma\,\varepsilon_B .
\end{equation}
Proof of Proposition SC.2.
The identity (SC.15) is the total-risk line of Proposition SA.4 in the frozen state. In the frozen-state model the state \(\Dt\) is deterministic, the update \({\mathsf S}=\Gtilde\) has \(\EE\norm{{\mathsf S}}_\F^2\le\min(\Nout,\Nin)\) by Lemma SA.2(i), and the conditional expectations of that proposition are plain expectations; its identity (SA.22) with the contractions (SA.23) and \(\cR=\tfrac12\norm\cdot_\Sigma^2\) reads
\[
\EE\big[\cR(\Delta^+)\big]-\cR(t)=-\lr\,\big\langle\Dt,\EE\Gtilde\big\rangle_\Sigma+\frac{\lr^2}{2}\,\EE\norm{\Gtilde}_\Sigma^2 .
\]
The pairing is rewritten through the mean gradient:
\[
\begin{aligned}
\big\langle\Dt,\EE\Gtilde\big\rangle_\Sigma&=\Tr\big(\Sigmaout\Dt\Sigmain\,(\EE\Gtilde)^\T\big)
=\big\langle\Sigmaout\Dt\Sigmain,\EE\Gtilde\big\rangle\\
&=\sqrt{2\cR(t)}\,\big\langle\EE\Gt,\EE\Gtilde\big\rangle ,
\end{aligned}
\]
The deterministic equivalent of the pairing is read in the eigenbases. By (SC.9) with \(V=\EE\Gt\) and \(\norm{\EE\Gt}_\F\le C_\Sigma\),
\[
\big|\big\langle\EE\Gt,\EE\Gtilde\big\rangle-\big\langle\EE\Gt,\Gtildebar_\ridge\big\rangle\big|\le C_\Sigma\varepsilon_B ,
\]
and, expanding both matrices in the bases \((u_i)\), \((v_j)\), with \(u_i^\T\EE\Gt v_j=\mu_i\lambda_j(u_i^\T\Dt v_j)/\sqrt{2\cR(t)}\) and (SC.11),
\[
\big\langle\EE\Gt,\Gtildebar_\ridge\big\rangle=\sum_{i,j}\frac{\mu_i\lambda_j(u_i^\T\Dt v_j)}{\sqrt{2\cR(t)}}\cdot\frac{\mathfrak d_{ij}(u_i^\T\Dt v_j)}{\sqrt{\cR(t)}}
=\frac{1}{\sqrt2\,\cR(t)}\sum_{i,j}\mu_i\lambda_j\,\mathfrak d_{ij}\,\CMscr Q_{ij}(t).
\]
Multiplying by \(\sqrt{2\cR(t)}\) gives (SC.16).
Uses
- Proposition SA.4 Conditional recursion of the projected risks
- Lemma SA.2 Filter bounds and Lipschitz estimate
- Proposition SA.2 Normalization
- Theorem SC.2 Regularized mean
- Corollary SC.1 The drift kernel
- Assumption S3 Spectrally diffuse proportional regime
Used by
- Proposition SF.4 Scalar reduction
Lean
Proved in Lean
Muon.Drift.prop_app_drift_onestep source
theorem prop_app_drift_onestep (R : Muon.Setup.SetupRegime) {Ω : ℕ → Type} [∀ k, MeasurableSpace (Ω k)]
(P : ∀ k, Measure (Ω k)) [∀ k, IsProbabilityMeasure (P k)]
(S : ∀ k, FrozenSamples (P k) (R.m k) (R.n k) (R.B k)) (t : ℤ)
(SD : ∀ k, SpectralData (R.F k).C) (Dt : ∀ k, Mat (R.m k) (R.n k))
(hDt : ∀ k, (R.F k).A = Ahat (R.F k).C (Dt k)) (hRt : ∀ k, 0 < riskSigma (R.F k).C (Dt k))
(lr : ℕ → ℝ) (hlr : ∀ k, 0 ≤ lr k) :
(∀ k, ∀ ϱ ∈ Icc R.ϱlo R.ϱhi,
Integrable (fun ω => riskSigma (R.F k).C (Dt k - lr k • Q ϱ (WeightedBuf (emaW R.β) (R.F k) (S k) t ω))) (P k) ∧
Integrable (fun ω => pairSigma (R.F k).C (Q ϱ (WeightedBuf (emaW R.β) (R.F k) (S k) t ω))
(Q ϱ (WeightedBuf (emaW R.β) (R.F k) (S k) t ω))) (P k) ∧
(∫ ω, riskSigma (R.F k).C (Dt k - lr k • Q ϱ (WeightedBuf (emaW R.β) (R.F k) (S k) t ω)) ∂(P k)) -
riskSigma (R.F k).C (Dt k) =
-(lr k * Real.sqrt (2 * riskSigma (R.F k).C (Dt k)) * (EG (R.F k) * (EQ (emaW R.β) (R.F k) (S k) t ϱ)ᵀ).trace) +
(lr k ^ 2 / 2) * (∫ ω, pairSigma (R.F k).C (Q ϱ (WeightedBuf (emaW R.β) (R.F k) (S k) t ω))
(Q ϱ (WeightedBuf (emaW R.β) (R.F k) (S k) t ω)) ∂(P k))) ∧
(∀ k, BddAbove ((fun ϱ => fro (EQ (emaW R.β) (R.F k) (S k) t ϱ -
Gbar (emaW R.β) (R.F k) (specOutFM (R.F k)) (specInFM (R.F k)) ϱ)) '' Icc R.ϱlo R.ϱhi)) ∧
(∀ k, ∀ ϱ ∈ Icc R.ϱlo R.ϱhi,
|Real.sqrt (2 * riskSigma (R.F k).C (Dt k)) * (EG (R.F k) * (EQ (emaW R.β) (R.F k) (S k) t ϱ)ᵀ).trace -
1 / Real.sqrt (riskSigma (R.F k).C (Dt k)) *
(∑ i : Fin (R.m k), ∑ j : Fin (R.n k), (SD k).μ i * (SD k).lam j *
kernel (emaW R.β) (specOutFM (R.F k)) (specInFM (R.F k)) ϱ ((SD k).μ i) ((SD k).lam j) *
modeQ (SD k) (Dt k) i j)| ≤
Real.sqrt (2 * riskSigma (R.F k).C (Dt k)) * R.CSig *
epsB (emaW R.β) (R.F k) (S k) t (specOutFM (R.F k)) (specInFM (R.F k)) R.ϱlo R.ϱhi) :=Muon.Drift.prop_app_drift_onestep_weights source
theorem prop_app_drift_onestep_weights (R : Muon.Setup.SetupRegime) {Ω : ℕ → Type} [∀ k, MeasurableSpace (Ω k)]
(P : ∀ k, Measure (Ω k)) [∀ k, IsProbabilityMeasure (P k)]
(S : ∀ k, FrozenSamples (P k) (R.m k) (R.n k) (R.B k)) (t : ℤ)
(w : ℕ → ℝ) (hw : WeightClass w)
(SD : ∀ k, SpectralData (R.F k).C) (Dt : ∀ k, Mat (R.m k) (R.n k))
(hDt : ∀ k, (R.F k).A = Ahat (R.F k).C (Dt k)) (hRt : ∀ k, 0 < riskSigma (R.F k).C (Dt k))
(lr : ℕ → ℝ) (hlr : ∀ k, 0 ≤ lr k) :
(∀ k, ∀ ϱ ∈ Icc R.ϱlo R.ϱhi,
Integrable (fun ω => riskSigma (R.F k).C (Dt k - lr k • Q ϱ (WeightedBuf w (R.F k) (S k) t ω))) (P k) ∧
Integrable (fun ω => pairSigma (R.F k).C (Q ϱ (WeightedBuf w (R.F k) (S k) t ω))
(Q ϱ (WeightedBuf w (R.F k) (S k) t ω))) (P k) ∧
(∫ ω, riskSigma (R.F k).C (Dt k - lr k • Q ϱ (WeightedBuf w (R.F k) (S k) t ω)) ∂(P k)) -
riskSigma (R.F k).C (Dt k) =
-(lr k * Real.sqrt (2 * riskSigma (R.F k).C (Dt k)) * (EG (R.F k) * (EQ w (R.F k) (S k) t ϱ)ᵀ).trace) +
(lr k ^ 2 / 2) * (∫ ω, pairSigma (R.F k).C (Q ϱ (WeightedBuf w (R.F k) (S k) t ω))
(Q ϱ (WeightedBuf w (R.F k) (S k) t ω)) ∂(P k))) ∧
(∀ k, BddAbove ((fun ϱ => fro (EQ w (R.F k) (S k) t ϱ -
Gbar w (R.F k) (specOutFM (R.F k)) (specInFM (R.F k)) ϱ)) '' Icc R.ϱlo R.ϱhi)) ∧
(∀ k, ∀ ϱ ∈ Icc R.ϱlo R.ϱhi,
|Real.sqrt (2 * riskSigma (R.F k).C (Dt k)) * (EG (R.F k) * (EQ w (R.F k) (S k) t ϱ)ᵀ).trace -
1 / Real.sqrt (riskSigma (R.F k).C (Dt k)) *
(∑ i : Fin (R.m k), ∑ j : Fin (R.n k), (SD k).μ i * (SD k).lam j *
kernel w (specOutFM (R.F k)) (specInFM (R.F k)) ϱ ((SD k).μ i) ((SD k).lam j) *
modeQ (SD k) (Dt k) i j)| ≤
Real.sqrt (2 * riskSigma (R.F k).C (Dt k)) * R.CSig *
epsB w (R.F k) (S k) t (specOutFM (R.F k)) (specInFM (R.F k)) R.ϱlo R.ϱhi) := by