Phases of Muoncompanion
Section SA · Setup: model, momentum, regularized SignSVD, normalization
Proved in Lean
Proposition SA.3 (Scaling, physical ridge and heavy ball)
Let \(K\in\R^{\Nout\times\Nin}\), \(\ridge\ge0\) and \(a>0\).
  1. (i)
    \(\Qridge{\ridge}(aK)=\Qridge{\ridge/a^2}(K)\).
  2. (ii)
    If \(\cR>0\) and \(\ridgephys\defeq2\cR\,\ridge\), then \(\Qridge{\ridgephys}\big(\sqrt{2\cR}\,K\big)=\Qridge{\ridge}(K)\).
  3. (iii)
    Let \((G_{t+1})_{t\ge0}\) be any sequence of matrices, \(\bmom\in[0,1)\), and let \(M_t=\bmom M_{t-1}+(1-\bmom)G_{t+1}\) and \(H_t=\bmom H_{t-1}+G_{t+1}\) for \(t\ge0\) with \(H_{-1}=M_{-1}/(1-\bmom)\). Then \(H_t=M_t/(1-\bmom)\) for all \(t\ge-1\), and \(\Qridge{\ridge}(H_t)=\Qridge{(1-\bmom)^2\ridge}(M_t)\).
Proof.
The singular values of \(aK\) are \(as_k\), with the same singular vectors as \(K\), so the singular-value filter of \(\Qridge{\ridge}(aK)\) is
\[ \frac{as_k}{\sqrt{a^2s_k^2+\ridge}}=\frac{s_k}{\sqrt{s_k^2+\ridge/a^2}}, \]
which is the filter of \(\Qridge{\ridge/a^2}(K)\); this proves (i). Part (ii) is (i) with \(a=\sqrt{2\cR}\) and \(\ridgephys\) in place of \(\ridge\), since \(\ridgephys/a^2=\ridge\).
Part (iii) is an induction. If \(H_{t-1}=M_{t-1}/(1-\bmom)\) then
\[ H_t=\bmom\frac{M_{t-1}}{1-\bmom}+G_{t+1}=\frac{\bmom M_{t-1}+(1-\bmom)G_{t+1}}{1-\bmom}=\frac{M_t}{1-\bmom}, \]
and the ridge conversion is (i) with \(a=(1-\bmom)^{-1}\).

Used by

Lean

Proved in Lean
Muon.Setup.prop_app_setup_scaling_i source
theorem prop_app_setup_scaling_i {m n : ℕ} (ϱ : ℝ) (hϱ : 0 ≤ ϱ) (K : Mat m n) (a : ℝ)
    (ha : 0 < a) :
    Q ϱ (a • K) = Q (ϱ / a ^ 2) K := by
Muon.Setup.prop_app_setup_scaling_ii source
theorem prop_app_setup_scaling_ii {m n : ℕ} (ϱ : ℝ) (hϱ : 0 ≤ ϱ) (K : Mat m n) (R : ℝ)
    (hR : 0 < R) :
    Q (2 * R * ϱ) (Real.sqrt (2 * R) • K) = Q ϱ K := by
Muon.Setup.prop_app_setup_scaling_iii source
theorem prop_app_setup_scaling_iii {m n : ℕ} (β : ℝ) (hβ0 : 0 ≤ β) (hβ1 : β < 1) (ϱ : ℝ)
    (hϱ : 0 ≤ ϱ) (G : ℕ → Mat m n) (M H : ℕ → Mat m n)
    (hM : ∀ t, M (t + 1) = β • M t + (1 - β) • G t)
    (hH0 : H 0 = (1 - β)⁻¹ • M 0)
    (hH : ∀ t, H (t + 1) = β • H t + G t) :
    (∀ t, H t = (1 - β)⁻¹ • M t) ∧
      ∀ t, Q ϱ (H t) = Q ((1 - β) ^ 2 * ϱ) (M t) := by