The phase map and time to accuracy · cited in the main text
Proved in LeanTheorem numbering in the paper: Theorem M.2
Let \(\mathcal N_B=\EE\big[(\sum_{b\le B}x_b^2y_b^2)^{1/2}\big]\) for independent standard Gaussian \(x_b,y_b\). The isotropic arrays (SI.15) have \(N\) rows with \(\mu_i=1\), a common initial energy, and
\[
\mathfrak d_i^{\text{s-SVD}}=C(\gamma),\quad \sum_i\mathfrak v_i^{\text{s-SVD}}=m;\qquad
\mathfrak d_i^{\text{s-SGD}}=\mathcal N_B/\sqrt\pi,\quad \sum_i\mathfrak v_i^{\text{s-SGD}}=N^2,
\]
where \(C(\gamma)=C_0(\gamma)\) is the zero-ridge drift constant without momentum of Section K. Put \(\rho(\gamma)=\pi\,C(\gamma)^2\,\gamma\max(1,\gamma)\).
Theorem SI.6 (Isotropic comparison)
Let \(N,B\ge1\), \(\gamma=N/B\), \(m=\min(B,N)\), and take the isotropic arrays (SI.15) with a common initial risk \(F_0=\fRisk^{\text{s-SVD}}(0)=\fRisk^{\text{s-SGD}}(0)\). Choose \(\lr^\star_{\text{s-SVD}}\) and \(\lr^\star_{\text{s-SGD}}\) by (16), so that both models have floor \(\epsilon\), and fix \(T>1\) with \(F_0>T\epsilon\).
- (i)For every such \(\epsilon\), \(t^{\text{s-SGD}}_{T\epsilon}/t^{\text{s-SVD}}_{T\epsilon}=\rho(\gamma)\,B/\mathcal N_B^2\). As \(\epsilon/F_0\to0\), uniformly in \(N\), \(B\) and \(C(\gamma)\),\[ t^{\text{s-SVD}}_{T\epsilon}\sim\frac m{4C(\gamma)^2}\sqrt{\frac{F_0}\epsilon},\qquad t^{\text{s-SGD}}_{T\epsilon}\sim\frac{\pi N^2}{4\mathcal N_B^2}\sqrt{\frac{F_0}\epsilon} . \]
- (ii)If in addition \(B\to\infty\), with \(N\) and \(\gamma\) allowed to vary, then\[ t^{\text{s-SGD}}_{T\epsilon}\sim\frac{\pi N^2}{4B}\sqrt{\frac{F_0}\epsilon},\qquad \frac{t^{\text{s-SGD}}_{T\epsilon}}{t^{\text{s-SVD}}_{T\epsilon}}\Big/\rho(\gamma)\longrightarrow1 , \]and the ratio tends to \(\rho(\gamma_0)\) if \(\gamma\to\gamma_0\in(0,\infty)\).
- (iii)For every \(\gamma>0\),\[ \rho(1)\le\rho(\gamma)<\frac{32}{9\pi},\qquad \rho(1)\le\frac{t^{\text{s-SGD}}_{T\epsilon}}{t^{\text{s-SVD}}_{T\epsilon}}\le\frac{\pi^2}4\cdot\frac{32}{9\pi}, \]with \(\rho(\gamma)=\rho(1)\) only at \(\gamma=1\); and \(\rho(\gamma)\to\frac{32}{9\pi}\) as \(\gamma\downarrow0\) and \(\rho(\gamma)\to1\) as \(\gamma\to\infty\).
At \(\bmom=0\) this is the precise form of the statement, after (12), that the Muon speedup is the ratio of the times to a common floor. The identity in (i) is exact: the ratio is \(\rho(\gamma)\) times \(B/\mathcal N_B^2\in[1,\pi^2/4]\), which tends to one at large batch. By (iii), \(\rho\) has its minimum \(\rho(1)=\frac14(1+\log(1+\sqrt2)/\sqrt2)^2\approx0.6587\) at the square aspect ratio, where SignSGD is faster, tends to \(1\) at small batch (\(\gamma\to\infty\)), and has supremum \(32/(9\pi)\approx1.13\) at large batch (\(\gamma\downarrow0\)), the values of (12) at \(\bmom=0\). With momentum the same algebra applies to the pair \((C_\bmom(\gamma),\mathfrak v_{\mathrm{iso},\bmom})\).
Proof sketch.
Each isotropic array has a common drift, so by Theorem SI.4 and \(N^2/(mB)=\gamma\max(1,\gamma)\) (Proposition SI.3),
\[
\frac{t^{\text{s-SGD}}_{T\epsilon}}{t^{\text{s-SVD}}_{T\epsilon}}
=\frac{N^2/(\mathcal N_B^2/\pi)}{m/C(\gamma)^2}=\rho(\gamma)\,\frac B{\mathcal N_B^2}.
\]
The Gaussian bounds \(\max\{\frac2\pi\sqrt B,\sqrt B-4/\sqrt B\}\le\mathcal N_B\le\sqrt B\) (Proposition SJ.1) give \(1\le B/\mathcal N_B^2\le\pi^2/4\), and \(B/\mathcal N_B^2\le(1-4/B)^{-2}\) for \(B>4\). The relative error in Theorem SI.4 depends only on \(\epsilon/F_0\) and \(T\), which gives (i) and (ii).
The shape of \(\rho\) comes from an integral for \(C(\gamma)\) over the participation level. Let \(\Phi(v)=\EE[vZ^2/(1+vZ^2)]\) with \(Z\) standard Gaussian, and \(V\) its inverse. The square-case scalar equation of the isotropic analysis gives the spectral parameter as a function of the level \(y\), \(t=(\gamma-y)^2/V(y)\). Changing variables from \(t\) to \(y\) in the half moment that defines \(C(\gamma)\) and integrating by parts gives (Lemma SI.4)
\[
C(\gamma)=\frac{\sqrt2\,I(\gamma)}{\pi\gamma^2},\qquad
I(\gamma)=\int_0^{\min(\gamma,1)}(\gamma-y)\,w(y)\,\dif y,\qquad w=V^{-1/2},
\]
where \(w_\circ(y)=\sqrt y\,w(y)\) decreases strictly from \(1\). For \(\gamma\ge1\), \(I(\gamma)=\gamma\mathcal A-\mathcal D\) with \(\mathcal A=\int_0^1w=\sqrt{\pi/2}\) and \(\mathcal D=\int_0^1yw\), so \(\rho(\gamma)=(1-\mathcal D/(\mathcal A\gamma))^2\) increases to \(1\). For \(\gamma<1\), \(\rho=\frac2\pi\gamma^{-3}I^2\), whose derivative has the sign of \(2\gamma I'-3I\); this is negative, because the constant \(w_\circ(\gamma/3)\) integrates to zero against \((3y-\gamma)y^{-1/2}\) and \(w_\circ\) is decreasing:
\[
2\gamma I'(\gamma)-3I(\gamma)=\int_0^\gamma(3y-\gamma)\,y^{-1/2}\big(w_\circ(y)-w_\circ(\gamma/3)\big)\,\dif y<0 .
\]
As \(\gamma\downarrow0\), \(\gamma^{-3/2}I(\gamma)\to\int_0^1(1-y)y^{-1/2}\dif y=\frac43\), so \(\rho\to\frac{32}{9\pi}\) (Theorem SI.5); the closed form of \(C(1)\) (Theorem SF.6) gives \(\rho(1)\).
Read the full proofOpens over this page; close it to come back here.
Lean
Proved in Lean
Muon.Phase.thm_app_phase_iso source
theorem thm_app_phase_iso (T : ℝ) (hT : 1 < T) :
-- (i) the exact ratio
(∀ (N B : ℕ) (NB ε : ℝ) (mS mN : RowModel (Fin N)), IsIsoSetting N B NB ε T mS mN →
∀ Qs Qn : Fin N → ℝ → ℝ, IsGlobalRowSolution mS Qs → IsGlobalRowSolution mN Qn →
(firstHit (mN.risk Qn) (T * ε)).toReal / (firstHit (mS.risk Qs) (T * ε)).toReal
= isoRho ((N : ℝ) / B) * (B : ℝ) / NB ^ 2) ∧
-- (i) asymptotics, uniform in N, B, C(γ)
(∀ δ : ℝ, 0 < δ → ∃ θ : ℝ, 0 < θ ∧
∀ (N B : ℕ) (NB ε : ℝ) (mS mN : RowModel (Fin N)), IsIsoSetting N B NB ε T mS mN →
ε / mS.F0 < θ →
∀ Qs Qn : Fin N → ℝ → ℝ, IsGlobalRowSolution mS Qs → IsGlobalRowSolution mN Qn →
|(firstHit (mS.risk Qs) (T * ε)).toReal
/ (min (B : ℝ) (N : ℝ) / (4 * isoDriftConst ((N : ℝ) / B) ^ 2)
* Real.sqrt (mS.F0 / ε)) - 1| ≤ δ ∧
|(firstHit (mN.risk Qn) (T * ε)).toReal
/ ((N : ℝ) ^ 2 * Real.pi / (4 * NB ^ 2) * Real.sqrt (mS.F0 / ε)) - 1| ≤ δ) ∧
-- (ii) B → ∞ with ε/F₀ → 0 jointly, for the s-SGD time
(∀ δ : ℝ, 0 < δ → ∃ B₀ : ℕ, ∃ θ : ℝ, 0 < θ ∧
∀ (N B : ℕ) (NB ε : ℝ) (mS mN : RowModel (Fin N)), IsIsoSetting N B NB ε T mS mN →
B₀ ≤ B → ε / mS.F0 < θ →
∀ Qn : Fin N → ℝ → ℝ, IsGlobalRowSolution mN Qn →
|(firstHit (mN.risk Qn) (T * ε)).toReal
/ ((N : ℝ) ^ 2 * Real.pi / (4 * B) * Real.sqrt (mS.F0 / ε)) - 1| ≤ δ) ∧
-- (ii) B → ∞ alone, for the ratio divided by ρ(γ)
(∀ δ : ℝ, 0 < δ → ∃ B₀ : ℕ,
∀ (N B : ℕ) (NB ε : ℝ) (mS mN : RowModel (Fin N)), IsIsoSetting N B NB ε T mS mN →
B₀ ≤ B →
∀ Qs Qn : Fin N → ℝ → ℝ, IsGlobalRowSolution mS Qs → IsGlobalRowSolution mN Qn →
|((firstHit (mN.risk Qn) (T * ε)).toReal / (firstHit (mS.risk Qs) (T * ε)).toReal)
/ isoRho ((N : ℝ) / B) - 1| ≤ δ) ∧
-- (ii) the limit γ → γ₀
(∀ γ₀ : ℝ, 0 < γ₀ → ∀ δ : ℝ, 0 < δ → ∃ η : ℝ, 0 < η ∧ ∃ B₀ : ℕ,
∀ (N B : ℕ) (NB ε : ℝ) (mS mN : RowModel (Fin N)), IsIsoSetting N B NB ε T mS mN →
B₀ ≤ B → |(N : ℝ) / B - γ₀| < η →
∀ Qs Qn : Fin N → ℝ → ℝ, IsGlobalRowSolution mS Qs → IsGlobalRowSolution mN Qn →
|(firstHit (mN.risk Qn) (T * ε)).toReal / (firstHit (mS.risk Qs) (T * ε)).toReal
- isoRho γ₀| ≤ δ) ∧
-- (iii) bounds on ρ and on the ratio
(∀ γ : ℝ, 0 < γ → isoRho 1 ≤ isoRho γ ∧ isoRho γ < 32 / (9 * Real.pi)) ∧
(∀ γ : ℝ, 0 < γ → isoRho γ = isoRho 1 → γ = 1) ∧
(∀ (N B : ℕ) (NB ε : ℝ) (mS mN : RowModel (Fin N)), IsIsoSetting N B NB ε T mS mN →