Proof engine
E1: Deterministic equivalent for the EMA Gram resolvent
SJ.11 Deterministic equivalent for the EMA Gram resolvent
Every kernel of the spectral family is a spectral integral against the resolvent of the Gram matrix of the momentum buffer, and this engine computes that resolvent (Section SB). It works in the frozen-state model of Definition SA.3, in which the state is held fixed and every gradient in the buffer is recomputed at it with its own independent batch. The normalized buffer is then
\[
\Mt=\sum_{j\ge0}\emaw j\,G_{t+1-j},\qquad \emaw j=(1-\bmom)\bmom^j,\qquad
G_{t+1-j}=\frac1B\sum_{a=1}^Bd_{ja}\,\Sigmaout^{1/2}(z_{ja}\tensor w_{ja})\Sigmain^{1/2},
\]
with independent standard Gaussian vectors \(z_{ja},w_{ja}\) and residuals \(d_{ja}=z_{ja}^\T\Ahat w_{ja}\), where \(\Ahat=\Sigmaout^{1/2}\Dt\Sigmain^{1/2}/\sqrt{2\cR(t)}\) is the normalized error, of Frobenius norm one. The engine assumes the proportional regime and that the error is diffuse, \(\norm{\Ahat}\to0\): no singular direction of the error carries a fixed fraction of the risk. Its output is that, uniformly for \(s\) in compact subsets of \((0,\infty)\) and in operator norm (Theorem SB.2),
\[
\EE\big(\Mt\Mt^\T+s\Id\big)^{-1}\longrightarrow\Rbar(-s)=\big(s\Id+\tilde s_1(-s)\,\Sigmaout\big)^{-1},
\]
with the same statement for \(\Mt^\T\Mt\) and the limit \(\Rtbar(-s)=\big(s\Id+s_1(-s)\Sigmain\big)^{-1}\), where \(\tilde s_1,s_1\) solve the weighted fixed-point system of Definition SB.1; normalized traces against bounded test matrices converge in mean square (Corollary SB.1).
The resolvent equation is first written exactly through one deleted sample. The buffer is a sum of rank-one terms, one per sample, \(\Mt=\sum_{j,a}\mathsf h_{ja}\,\mathsf u_{ja}\tensor\mathsf v_{ja}\) with \(\mathsf h_{ja}=\emaw jd_{ja}\), \(\mathsf u_{ja}=\Sigmaout^{1/2}z_{ja}/\sqrt B\) and \(\mathsf v_{ja}=\Sigmain^{1/2}w_{ja}/\sqrt B\), so the identity \(\Id-sR=R\Mt\Mt^\T\) for \(R=R(-s)\) is a sum over samples of \((\mathsf hR\Mt\mathsf v)\tensor\mathsf u\). Removing one sample changes \(\Mt\) by a rank-one matrix, and the Woodbury formula for a \(2\times2\) block computes the change exactly (Lemma SB.4). With \(M_0\) the buffer without the sample, \(R_0\) its resolvent and \(\mathsf X_0=R_0M_0\),
\[
\mathsf h\,R\Mt\mathsf v=-\alpha_3\,R_0\mathsf u+\alpha_1\,\mathsf X_0\mathsf v,\qquad
\alpha_1=\frac{\mathsf h(1+\mathsf h\mathsf C)}{\Lambda},\quad
\alpha_3=-\frac{s\mathsf h^2\mathsf V}{\Lambda},\quad
\Lambda=(1+\mathsf h\mathsf C)^2+s\mathsf h^2\mathsf U\mathsf V,
\]
where \(\mathsf U=\mathsf u^\T R_0\mathsf u\), \(\mathsf V=\mathsf v^\T\widetilde R_0\mathsf v\) and \(\mathsf C=\mathsf u^\T\mathsf X_0\mathsf v\). The deleted resolvents do not depend on the deleted sample, so after taking expectations each term is a Gaussian computation in one sample.
The coefficients then become functions of the residual of the deleted sample alone. The scalars \(\mathsf U\) and \(\mathsf V\) are quadratic forms of a Gaussian vector independent of \(R_0\), so they concentrate, with errors \(O(B^{-1/2})\), at the expected normalized traces \(\sigma_B=\frac1B\Tr(\Sigmaout\EE R)\) and \(\tilde\sigma_B\), and \(\mathsf C\) concentrates at \(0\) (Lemma SB.11); the traces themselves fluctuate by \(O(B^{-1/2})\), by the Efron–Stein inequality (Lemma SB.10). For a sample of age \(j\) this gives, in mean square (Lemma SB.12),
\[
\alpha_1\approx\frac{\emaw j\,d}{1+\emaw j^2q_B\,d^2},\qquad
\alpha_3\approx-\frac{s\,\emaw j^2\,\tilde\sigma_B\,d^2}{1+\emaw j^2q_B\,d^2},\qquad q_B=s\,\sigma_B\tilde\sigma_B ,
\]
and the age of a sample enters only through its squared weight in the denominator.
Gaussian integration produces the weight function, and diffuseness removes the cross term. In the term carrying \(\alpha_3\) one needs \(\EE[\psi(d)\,z\tensor z]\) with \(\psi(d)=d^2/(1+xd^2)\) and \(x=\emaw j^2q_B\). Stein’s identity gives the exact formula
\[
\EE\big[(z\tensor z-\Id)\psi(d)\big]=\Ahat\,\EE\big[(w\tensor w)\psi''(d)\big]\,\Ahat^\T,
\]
whose Frobenius norm is at most \(6\norm{\Ahat}\) (Lemma SB.8). The residual \(d\) is asymptotically standard Gaussian because \(\norm{\Ahat}\to0\) (Lemma SA.7), so \(\EE\psi(d)\) tends to \(\Jfun(x)\). In the term carrying \(\alpha_1\) the response is \(\EE[f(d)\,w\tensor z]=\Ahat^\T\EE f'(d)+O(\norm{\Ahat}^2)\), of Frobenius norm of order one but of operator norm at most \(\norm{\Ahat}\), which vanishes. Summing over ages gives, in operator norm ((SB.44)),
\[
\Id-s\,\EE R-a_B\,\EE R\,\Sigmaout\longrightarrow0,\qquad
a_B=s\,\tilde\sigma_B\,\Fw(q_B),\qquad \Fw(q)=\sum_{j\ge0}\emaw j^2\,\Jfun(\emaw j^2q),
\]
that is, \(\EE R\approx(s\Id+a_B\Sigmaout)^{-1}\). Taking the trace against \(\Sigmaout\) closes the loop: \((\sigma_B,\tilde\sigma_B,a_B,c_B)\), with \(c_B\) the input-side analogue of \(a_B\), solves the weighted system up to vanishing residuals.
An approximate root is close to the root. The weighted system has exactly one nonnegative solution, and it is stable under approximate roots uniformly over spectral measures of bounded mass and support (Theorem SB.1(iii)). Hence \(a_B\to\tilde s_1\), and the resolvent identity gives \(\EE R\to\Rbar\). The Gaussian limit of \(d\) and the replacement of the coefficients are qualitative, no rate is assumed for \(\norm{\Ahat}\to0\), and the stability is proved by compactness, so the engine gives no rate. The system depends on the whole weight sequence: with \(\sw p=\sum_j\emaw j^p\), the EMA weights with \(\bmom>0\) have \(\sw4/\sw2^{\,3}=(1+\bmom)^2/(1+\bmom^2)>1\), so no single effective batch size \(B/\sw2\) reproduces \(\Fw\) beyond its value at \(q=0\) (Remark SB.2).