Phases of Muoncompanion
Chapter of the paper's appendix

Drift

The drift kernel \(\mathfrak d_{ij}\) of (6) is computed in the frozen-state model of Definition SA.3: the state \(\Dt\) is held fixed, the momentum buffer is replaced by \(\Mt=\sum_{j\ge0}\emaw j\,G_{t+1-j}\), with weights \(\emaw j=(1-\bmom)\bmom^j\), of independent minibatch gradients all recomputed at \(\Dt\) and divided by \(\sqrt{2\cR(t)}\), and the update is \(\Gtilde=\Qridge\ridge(\Mt)\). Its drift on the mode \((i,j)\) is \(\cD_{ij}(t)=(u_i^\T\Dt v_j)\,\EE[u_i^\T\Gtilde v_j]\) ((SA.19)). Assumption S3 is the proportional regime in this model, with a normalized ridge in a fixed interval \([\ridge_-,\ridge_+]\subset(0,\infty)\) and a diffuse normalized error, \(\norm{\Ahat}\to0\). For a nonnegative summable weight sequence \(w\), not all zero, and a standard Gaussian \(g\), put
\[ \Jfun(x)=\EE\frac{g^2}{1+xg^2},\qquad F_w(q)=\sum_{j\ge0}w_j^2\,\Jfun(w_j^2q),\qquad L_w(q)=\sum_{j\ge0}w_j\,\Jfun(w_j^2q), \]
written \(\Fw,\Lw\) for the EMA weights. The weighted fixed-point system and its unique solution give the deterministic equivalent of the Gram resolvent of the buffer (Section G.1), from which the expected update (Section G.2) and the drift kernel are read off.
In the next definition \(w\) is a weight sequence and \(F_w\) the function of the chapter introduction, and the spectral measures of the covariances are \(\nu_{\mathrm{out}}=\frac1B\sum_i\delta_{\mu_i}\) and \(\nu_{\mathrm{in}}=\frac1B\sum_j\delta_{\lambda_j}\) ((SA.41)). The spectral parameter \(z=-s\) is negative.
Definition SB.1 (Weighted fixed-point system)
Let \((\nu,\tilde\nu)\) be finite positive Borel measures on \([0,\infty)\) with compact support, let \(w\) be as above, and let \(z=-s\) with \(s>0\). The weighted fixed-point system at \(z\) is the system of equations in the four unknowns \((\sigma,\tilde\sigma,\tilde s_1,s_1)\in[0,\infty)^4\)
\begin{equation}\tag{SB.2} \begin{aligned} \sigma&=\int\frac{x}{\tilde s_1x-z}\,\nu(dx),\qquad& \tilde\sigma&=\int\frac{x}{s_1x-z}\,\tilde\nu(dx),\\ q&=-z\,\sigma\tilde\sigma,\qquad& \tilde s_1&=-z\,\tilde\sigma\,F_w(q),\qquad s_1=-z\,\sigma\,F_w(q). \end{aligned} \end{equation}
For the spectral measures of (SA.41) the first two equations read
\[ \sigma=\frac1B\Tr\big(\Sigmaout(\tilde s_1\Sigmaout-z\Id_{\Nout})^{-1}\big),\qquad \tilde\sigma=\frac1B\Tr\big(\Sigmain(s_1\Sigmain-z\Id_{\Nin})^{-1}\big), \]
and we define the deterministic equivalents
\begin{equation}\tag{SB.3} \Rbar(z)\defeq\big(\tilde s_1(z)\,\Sigmaout-z\,\Id_{\Nout}\big)^{-1},\qquad \Rtbar(z)\defeq\big(s_1(z)\,\Sigmain-z\,\Id_{\Nin}\big)^{-1}, \end{equation}
where \((\sigma,\tilde\sigma,\tilde s_1,s_1)(z)\) is the solution given by Theorem SB.1.
For the EMA weights and the spectral measures of the covariances this is the system of Figure 2; the definition allows any weight sequence and any pair of measures. The unknowns \(\sigma,\tilde\sigma\) are the deterministic values of the normalized traces \(\frac1B\Tr(\Sigmaout R(z))\) and \(\frac1B\Tr(\Sigmain\widetilde R(z))\) of the Gram resolvents of the normalized buffer, and \(\tilde s_1,s_1\) are the scalings with which \(\Sigmaout\) and \(\Sigmain\) enter their deterministic equivalents \(\Rbar,\Rtbar\). Multiplying the last two equations by \(\sigma\) and \(\tilde\sigma\) gives the coupling \(\tilde s_1\sigma=s_1\tilde\sigma=qF_w(q)\) of Figure 2. The system depends on the covariances only through their eigenvalues, and at \(\bmom=0\) the weight function is \(F_w=\Jfun\).
In the next theorem \(\sw2=\sum_jw_j^2\), and \(\mathcal K\) is the class of pairs \((\nu,\tilde\nu)\) of positive measures on \([0,C_\Sigma]\), each of total mass at most \(\gamma_\star\) ((SB.5)); it contains \((\nu_{\mathrm{out}},\nu_{\mathrm{in}})\) at every dimension under Assumption S3.
Theorem SB.1 (The weighted branch)
Let \(w\) be nonnegative, summable and not all zero, and let \(C_\Sigma,\gamma_\star>0\).
  1. (i)
    (Existence and uniqueness.) For every \((\nu,\tilde\nu)\in\mathcal K\) and every \(s>0\) the system (SB.2) at \(z=-s\) has exactly one solution in \([0,\infty)^4\). It satisfies
    \begin{equation}\tag{SB.6} \sigma,\tilde\sigma\le\frac{\gamma_\star C_\Sigma}{s},\qquad \tilde s_1,s_1\le\gamma_\star C_\Sigma\,\sw2,\qquad q\le\frac{(\gamma_\star C_\Sigma)^2}{s}. \end{equation}
  2. (ii)
    (Continuity.) Equip \(\mathcal K\) with the topology of weak convergence against \(C([0,C_\Sigma])\) in each coordinate. The solution map \((s,\nu,\tilde\nu)\mapsto(\sigma,\tilde\sigma,\tilde s_1,s_1)\) is continuous on \((0,\infty)\times\mathcal K\), and for every compact \(I\subset(0,\infty)\) it is uniformly continuous in \(s\in I\), uniformly over \((\nu,\tilde\nu)\in\mathcal K\).
  3. (iii)
    (Stability under approximate roots.) Let \(I\subset(0,\infty)\) be compact with \(s_-\defeq\min I\). For every \(\epsilon>0\) there is \(\delta>0\), depending only on \((\epsilon,I,C_\Sigma,\gamma_\star,w)\), with the following property. If \((\nu,\tilde\nu)\in\mathcal K\), \(s\in I\), and \((\sigma',\tilde\sigma',a',c')\in[0,\gamma_\star C_\Sigma/s_-]^2\times[0,\gamma_\star C_\Sigma\sw2]^2\) satisfy, with \(q'=s\sigma'\tilde\sigma'\),
    \[ \begin{gathered} \Big|\sigma'-\int\frac{x}{s+a'x}\,\nu(dx)\Big|\le\delta,\qquad \Big|\tilde\sigma'-\int\frac{x}{s+c'x}\,\tilde\nu(dx)\Big|\le\delta,\\ \abs{a'-s\tilde\sigma'F_w(q')}\le\delta,\qquad \abs{c'-s\sigma'F_w(q')}\le\delta, \end{gathered} \]
    then \(\abs{\sigma'-\sigma}+\abs{\tilde\sigma'-\tilde\sigma}+\abs{a'-\tilde s_1}+\abs{c'-s_1}\le\epsilon\), where \((\sigma,\tilde\sigma,\tilde s_1,s_1)\) is the solution of (SB.2) at \(z=-s\) for \((\nu,\tilde\nu)\).
  4. (iv)
    (Smoothness in \(s\).) Fix \((\nu,\tilde\nu)\in\mathcal K\) with \(\int x\,\nu(dx)>0\) and \(\int x\,\tilde\nu(dx)>0\). Then \(s\mapsto(\sigma,\tilde\sigma,\tilde s_1,s_1,q)(-s)\) is \(C^\infty\) on \((0,\infty)\), and \(\abs{q'(s)}\le q(s)/s\).
The fixed-point system of Figure 2 has exactly one nonnegative solution on the negative axis, for every momentum and every spectrum, so the kernels built from it are well defined. Since \(\mathcal K\) contains the spectral measures at every dimension, continuity uniform over \(\mathcal K\) makes the dimension dependence of the kernels harmless, and (iii) identifies the limit of the random traces in Section G.1.
Proof sketch.
The system reduces exactly to one equation in \(q\). If \(\nu\) or \(\tilde\nu\) has no mass on \((0,C_\Sigma]\) the solution is explicit, so assume both have. Put \(H(x)=\int x\lambda/(s+x\lambda)\,\nu(d\lambda)\), which increases from \(0\) to the mass \(p\) of \(\nu\) on \((0,C_\Sigma]\), and let \(X\) be its inverse; define \(\widetilde H,\widetilde X,\tilde p\) from \(\tilde\nu\) in the same way. The coupling reads \(H(\tilde s_1)=\widetilde H(s_1)=r(q)\) with \(r(q)=qF_w(q)\), which is strictly increasing from \(0\). Hence
\[ \tilde s_1=X(r(q)),\qquad s_1=\widetilde X(r(q)),\qquad \sigma=\frac{r(q)}{\tilde s_1},\qquad \tilde\sigma=\frac{r(q)}{s_1}, \]
and the equation \(q=s\sigma\tilde\sigma\) becomes ((SB.8))
\[ \Phi(q)\defeq\frac{X(r(q))}{r(q)}\cdot\frac{\widetilde X(r(q))}{r(q)}-\frac sq=0,\qquad r(q)<\min(p,\tilde p); \]
conversely every root of \(\Phi\) gives a solution. Since \(H(x)/x\) decreases, \(X(\rho)/\rho\) increases, so \(\Phi\) is strictly increasing. It tends to \(-\infty\) as \(q\downarrow0\), where the product stays bounded, and it becomes positive at the right end, where either one factor blows up or \(s/q\to0\). So \(\Phi\) has exactly one root. The bounds follow from \(x/(s+ax)\le C_\Sigma/s\) and \(F_w\le\sw2\).
Continuity and stability follow from uniqueness by compactness. The class \(\mathcal K\) is weakly compact (Lemma SB.2), so a sequence of approximate roots that stays away from the exact roots would have a limit solving the limit system and differing from its unique solution. This is why (iii) has no rate. The implicit function theorem, applied to the root equation written in logarithmic form, whose \(q\)-derivative is at least \(1/q\), gives (iv).
With the solution \((\sigma,\tilde\sigma,\tilde s_1,s_1,q)\) of the weighted system for the EMA weights and \(\EE\Gt=\Sigmaout\Dt\Sigmain/\sqrt{2\cR(t)}\), the candidate update and the kernel function are ((SC.2), (SC.3) and (SC.4))
\[ \begin{gathered} \Gtildebar_\ridge=\frac2\pi\int_0^\infty T(\ridge+u^2)\,du,\qquad T(s)=s\,\Lw\big(q(-s)\big)\,\Rbar(-s)\,\EE\Gt\,\Rtbar(-s),\\ \mathfrak d(\mu,\lambda)=\frac{\sqrt2}{\pi}\int_0^\infty \frac{z\,\Lw(q(-z))\,\mu\lambda}{\big(z+\tilde s_1(-z)\mu\big)\big(z+s_1(-z)\lambda\big)}\,du, \qquad z=\ridge+u^2 . \end{gathered} \]
Here, as in (7), the letter \(z\) changes sign: it is the positive number \(\ridge+u^2\), and the solution of the system is evaluated at the negative spectral parameter \(-z\).
Corollary SC.1 (The drift kernel)
Under Assumption S3, let \(\Gtilde=\Qridge\ridge(\Mt)\) be the frozen-state update and put \((E_\ridge)_{ij}\defeq u_i^\T\big(\EE\Gtilde-\Gtildebar_\ridge\big)v_j\).
  1. (i)
    For every pair \((i,j)\) and every \(\ridge\in[\ridge_-,\ridge_+]\),
    \begin{equation}\tag{SC.11} \EE\big[u_i^\T\Gtilde v_j\big]=\frac{\sqrt2\,\mathfrak d(\mu_i,\lambda_j)}{\sqrt{2\cR(t)}}\,(u_i^\T\Dt v_j)+(E_\ridge)_{ij} =\frac{\mathfrak d(\mu_i,\lambda_j)}{\sqrt{\cR(t)}}\,(u_i^\T\Dt v_j)+(E_\ridge)_{ij}, \end{equation}
    and \(\sup_{\ridge\in[\ridge_-,\ridge_+]}\big(\sum_{i,j}(E_\ridge)_{ij}^2\big)^{1/2}=\varepsilon_B\to0\). Consequently the frozen-state drift (SA.19) of the update \(\Gtilde\) is
    \begin{equation}\tag{SC.12} \cD_{ij}(t)=\frac{\mathfrak d_{ij}}{\sqrt{\cR(t)}}\,\CMscr Q_{ij}(t)+(u_i^\T\Dt v_j)(E_\ridge)_{ij}, \qquad \mathfrak d_{ij}\defeq\mathfrak d(\mu_i,\lambda_j), \end{equation}
    and for every bounded function \(\phi\) on \([0,\infty)^2\),
    \begin{equation}\tag{SC.13} \Big|\sum_{i,j}\phi(\mu_i,\lambda_j)\,(u_i^\T\Dt v_j)\,(E_\ridge)_{ij}\Big|\le\norm\phi_\infty\,\norm{\Dt}_\F\,\varepsilon_B . \end{equation}
  2. (ii)
    In the frozen-state model with \(\max(\Nout,\Nin)\le\gamma_\star B\) and \(\norm{\Sigmaout},\norm{\Sigmain}\le C_\Sigma\), at every finite dimension and for every \(\ridge>0\), the function \(\mathfrak d\) is continuous on \([0,\infty)^2\), vanishes when \(\mu=0\) or \(\lambda=0\), and satisfies
    \begin{equation}\tag{SC.14} 0\le\mathfrak d(\mu,\lambda)\le\frac{\mu\lambda}{\sqrt{2\ridge}},\qquad \abs{\partial_\mu\mathfrak d(\mu,\lambda)}\le\frac{\lambda}{\sqrt{2\ridge}},\qquad \abs{\partial_\lambda\mathfrak d(\mu,\lambda)}\le\frac{\mu}{\sqrt{2\ridge}}, \end{equation}
    with one-sided derivatives at \(0\); in particular, for \(\ridge\in[\ridge_-,\ridge_+]\), \(\mathfrak d\) is Lipschitz on \([0,C_\Sigma]^2\) with constant \(C_\Sigma/\sqrt{2\ridge_-}\) in each variable.
This corollary identifies the drift kernel of (6) and justifies (7) at a positive ridge. Under Assumption S3, that is, in the frozen-state model with a diffuse error, the expected update projected on the eigenpair \((u_i,v_j)\) is \(\mathfrak d_{ij}\,u_i^\T\Dt v_j/\sqrt{\cR(t)}\) up to an error \((E_\ridge)_{ij}\), so the drift of the mode is the projected risk times the kernel divided by the square root of the risk. The error matrix \(E_\ridge\) is small in Frobenius norm over all pairs together, not mode by mode; this is the form (SC.13) in which the dynamics uses it. Part (ii), valid at every dimension, gives the Lipschitz bound used by the deterministic equations. Nothing is claimed as \(\ridge\downarrow0\): the zero-ridge kernel of the main text is the formal specialization.
Proof sketch.
The expected update has the deterministic equivalent \(\Gtildebar_\ridge\) in Frobenius norm (Theorem SC.2, Section G.2). Writing the regularized polar map as the integral \(\frac2\pi\int_0^\infty(\Mt\Mt^\T+\ridge+u^2)^{-1}\Mt\,du\) of mixed resolvents, removing one sample at a time from the buffer and integrating it out by Stein’s identity gives a linear equation whose solution is \(T(s)\) up to \(o(1)\) in Frobenius norm (Theorem SC.1), and a bound of order \(1/s\) at large \(s\), valid at every dimension, controls the tail of the integral.
The candidate acts entrywise in the eigenbases, with the kernel as multiplier. Since \(\Rbar(-s)\) is a function of \(\Sigmaout\) and \(\Rtbar(-s)\) of \(\Sigmain\), and \(u_i^\T\Sigmaout\Dt\Sigmain v_j=\mu_i\lambda_j\,u_i^\T\Dt v_j\),
\[ u_i^\T T(s)v_j=\frac{s\,\Lw(q(-s))\,\mu_i\lambda_j}{\big(s+\tilde s_1(-s)\mu_i\big)\big(s+s_1(-s)\lambda_j\big)}\cdot\frac{u_i^\T\Dt v_j}{\sqrt{2\cR(t)}} . \]
Integrating at \(s=\ridge+u^2\) against \(\frac2\pi\,du=\sqrt2\cdot\frac{\sqrt2}{\pi}\,du\) gives exactly \(u_i^\T\Gtildebar_\ridge v_j=\mathfrak d_{ij}\,u_i^\T\Dt v_j/\sqrt{\cR(t)}\), which is (SC.11). Because the bases are orthonormal, \(\sum_{i,j}(E_\ridge)_{ij}^2=\norm{\EE\Gtilde-\Gtildebar_\ridge}_\F^2\le\varepsilon_B^2\). Multiplying by \(u_i^\T\Dt v_j\) gives (SC.12), and the Cauchy–Schwarz inequality over the pairs gives (SC.13).
The bounds of (ii) are read off the integrand. Since \(\tilde s_1,s_1\ge0\) and \(0\le\Lw\le1\), the integrand of (SC.4) lies between \(0\) and \(\mu\lambda/z\), and its \(\mu\)-derivative \(z^2\Lw\lambda/((z+\tilde s_1\mu)^2(z+s_1\lambda))\) lies between \(0\) and \(\lambda/z\). With
\[ \frac{\sqrt2}{\pi}\int_0^\infty\frac{du}{\ridge+u^2}=\frac{1}{\sqrt{2\ridge}}, \]
this gives (SC.14); the \(\lambda\)-derivative is symmetric.
In the next corollary \(\CMscr Q_i=\sum_j\CMscr Q_{ij}=\norm{\Dt^\T u_i}^2\) is the projected row risk, and its drift is the row sum \(\sum_j\cD_{ij}(t)\) ((SA.21)). The letter \(z=\ridge+u^2\) is positive, as in Corollary SC.1, and \(\rho_i\) in (iv) is a measure, not the ridge \(\ridge\).
Corollary SC.2 (Half-anisotropic input)
Under Assumption S3, assume \(\Sigmain=\Id_{\Nin}\), let \(\ridge\in[\ridge_-,\ridge_+]\), write \(z=\ridge+u^2\), and put \(\mathfrak d_i\defeq\mathfrak d(\mu_i,1)\).
  1. (i)
    For every pair \((i,j)\) the kernel is \(\mathfrak d_{ij}=\mathfrak d_i\), and
    \[ \mathfrak d_i=\frac{\sqrt2\,B}{\pi\,\Nin}\int_0^\infty\frac{z\,\Lw(q(-z))\,\tilde\sigma(-z)\,\mu_i}{z+\tilde s_1(-z)\mu_i}\,du . \]
  2. (ii)
    The row drift of (SA.21) is, with \(E_\ridge\) as in Corollary SC.1,
    \[ \sum_j\cD_{ij}(t)=\frac{\mathfrak d_i}{\sqrt{\cR(t)}}\,\CMscr Q_i(t)+\sum_j(u_i^\T\Dt v_j)(E_\ridge)_{ij}. \]
  3. (iii)
    At \(\bmom=0\),
    \[ \mathfrak d_i=\frac{\sqrt2\,B}{\pi\,\Nin}\int_0^\infty\frac{\tilde s_1(-z)\mu_i}{z+\tilde s_1(-z)\mu_i}\,du . \]
  4. (iv)
    At \(\bmom=0\), if \(\rho_i\) is a probability measure on \([0,\infty)\) with
    \[ \big(z+\tilde s_1(-z)\mu_i\big)^{-1}=\int\frac{\rho_i(dx)}{x+z}\qquad(z>0), \]
    then
    \[ \mathfrak d_i=\frac{B}{\sqrt2\,\Nin}\int_{[0,\infty)}\frac{x}{\sqrt{x+\ridge}}\,\rho_i(dx). \]
This is the drift of the half-anisotropic setting of Section 4. When \(\Sigmain=\Id\) every \(\lambda_j\) equals \(1\), so the kernel \(\mathfrak d_{ij}\) does not depend on \(j\), and the projected row risks \(\CMscr Q_i\) have the drift of (14) with \(\mathfrak d_i\) the common value of the \(\mathfrak d_{ij}\), not their sum. Part (i) writes \(\mathfrak d_i\) through the input trace \(\tilde\sigma\), and (iii) simplifies it at \(\bmom=0\). Part (iv) writes it as a moment of a row spectral measure \(\rho_i\); setting \(\ridge=0\) there formally gives the \(\sqrt x\)-moment \(\mathfrak d_i=\frac{B}{\sqrt2\,\Nin}\int\sqrt x\,\rho_i(dx)\), in the normalization of the main-text kernel (7). Neither the existence of \(\rho_i\) nor the limit \(\ridge\downarrow0\) is proved; the phase-comparison chapter adopts the zero-ridge kernels as assumptions.
Proof sketch.
With identity input covariance the input trace equation is algebraic. The second equation of (SB.2) becomes \(\tilde\sigma(-s)=(\Nin/B)/(s+s_1(-s))\), so the input factor of the kernel (SC.4) at \(\lambda=1\) is
\[ \frac{1}{z+s_1(-z)}=\frac{B\,\tilde\sigma(-z)}{\Nin}, \]
and substituting it gives (i). Part (ii) is the sum over \(j\) of (SC.12), since \(\mathfrak d_{ij}=\mathfrak d_i\) and \(\CMscr Q_i=\sum_j\CMscr Q_{ij}\); its error terms, summed over the rows against a bounded function \(\psi(\mu_i)\), are controlled by (SC.13) with \(\phi(\mu,\lambda)=\psi(\mu)\).
At \(\bmom=0\) the source factor equals the coupling. There is one weight, so \(\Lw=\Fw=\Jfun\), and with \(q(-z)=z\sigma\tilde\sigma\) and the coupling \(\tilde s_1\sigma=q\Jfun(q)\) of Figure 2,
\[ z\,\Jfun\big(q(-z)\big)\,\tilde\sigma(-z)=\frac{q\Jfun(q)}{\sigma}=\tilde s_1(-z), \]
which turns (i) into (iii).
Part (iv) integrates a Stieltjes representation in \(u\). If \((z+\tilde s_1(-z)\mu_i)^{-1}=\int\rho_i(dx)/(x+z)\) with \(\rho_i\) a probability measure, then the integrand of (iii) is \(\tilde s_1\mu_i/(z+\tilde s_1\mu_i)=\int x\,\rho_i(dx)/(x+z)\), and the scalar integral
\[ \frac2\pi\int_0^\infty\frac{du}{x+\ridge+u^2}=\frac{1}{\sqrt{x+\ridge}} \]
gives (iv) after exchanging the two integrals.