betaFeedback

WorksComputer Science

How Bregman Divergences Shape Shampoo

Abstract

Understanding the principles behind Shampoo has recently guided the development of more effective neural network optimizers. These methods learn a preconditioner by optimizing the Frobenius or Kullback-Leibler (KL) divergence against the gradient second moment. In this work, we investigate how the choice of divergence shapes preconditioning, which remains unclear and blocks further improvements. To do so, we develop a unified Bregman divergence framework that connects all popular divergences, allowing us to study them jointly. Through empirical spectral analysis of gradient second moments, we examine how divergence choice shapes Kronecker approximation and interacts with finite-sample error in preconditioning. We find that some divergences can better compensate for finite-sample underestimation of the empirical second moment, helping explain the differing behavior of their corresponding Shampoo variants. We further validate this explanation through GPT-2 pretraining experiments. By connecting divergence choice to practical training behavior, we believe our framework provides principled guidance for understanding the foundations of, and further improving, Shampoo.

Introduction

Shampoo’s empirical success ([9, 23]) raises a fundamental question: what makes its preconditioner effective? This question has motivated a growing body of work ([37, 43, 4, 14, 15, 32]) with the goal of developing more effective neural network optimizers. A promising approach is to view Shampoo’s update scheme as a Kronecker-factored approximation of the full-matrix gradient second moment via Bregman divergence minimization ([32]). This approach recovers existing variants and produces new ones, including F-Shampoo with Frobenius divergence, VN-Shampoo with von Neumann divergence, and KL-Shampoo with Kullback-Leibler divergence. Recent studies have reported strong performance of KL-Shampoo in LLM pretraining ([15, 46]). However, the variants derived from different divergences perform very differently in practice (Figure 1, right). The framework of Lin et al. [32] does not explain this performance gap. Given that improvements to Shampoo have been driven by understanding its principles, we argue that explaining this gap is essential for guiding the design of better variants, since many other Bregman divergences remain to be explored and evaluated. For example, preconditioned stochastic gradient descent (PSGD, [29, 30]) is a related method that has shown promising results ([17]) but whose success remains poorly understood. Surprisingly, we show that PSGD’s strong performance can also be understood through its connection to a new Bregman divergence. Thus, our central question is:

Figure 1. Divergences shape preconditioning and training. Left and middle: A GPT-2 checkpoint (output_proj) at step 2,500, ordered by decreasing eigenvalue. Left: Empirical second-moment (C0C_0) eigenvalues become less reliable toward the tail, increasingly underestimating held-out scales (§ 4.1). Middle (smoothed curves, asinh y-axis for better resolution near zero): KL stays closest to the held-out target (dashed zero line), followed by SQ, compensating C0C_0’s scale errors (§ 5). Right: GPT-2 validation loss relative to KL with asinh y-axis; lower is better (§ 6).

How and why do different divergence objectives lead to differences in training performance?

To answer this question, we consider effects that are often conflated in practice. (1) The Kronecker factorization does not exactly capture the second moment. (2) Finite samples introduce errors both in the second moment and in the estimated Kronecker factors. (3) They also interact with each other. when used for preconditioning in practice. Divergence choice determines how these effects shape the resulting preconditioner. Thus, we decompose the question into the following sub-questions:

(Q1) How does divergence choice shape approximation errors?

(Q2) How does finite sampling affect Kronecker approximation?

(Q3) How do divergence choices and finite sampling jointly affect preconditioning?

By answering these questions, we make the following contributions:

(C1) A unified analysis of Kronecker approximation. We unify the three divergences from Lin et al. [32] into a trace-power Bregman family and introduce a fourth, the square-root (SQ) divergence, which recovers the gradient-whitening objective of PSGD and yields SQ-Shampoo. We show how the family exponent determines which parts of the spectrum are prioritized, and whether over- or underestimation is penalized more (Table 1).

PropertyFrobeniusvon NeumannSquare rootKL
Trace-power exponent qDq_{\mathrm{D}}21 (limit)1/2^{1}/_{2}0 (limit)
Weight on large eigenvaluesStrongModerateMildNone
Penalized moreOverestimationOverestimationSymmetricUnderestimation
Error with few samplesHighestHigherLowerLowest

Table 1. Overview of the divergence properties studied in this work. The exponent qDq_{\mathrm{D}} indexes the trace-power family; spectral weighting and error asymmetry determine how approximation error is allocated, while few-sample error measures the stability of Kronecker factor estimation.

(C2) Finite-sample effects on Kronecker approximation. Finite sampling enters in two places. On GPT-2, we show that empirical gradient second moments severely underestimate tail eigenvalues even when gradients outnumber dimensions (Figure 1, left). As for the Kronecker factor estimation, the same exponent qDq_{\mathrm{D}} also controls the finite-sample error, with KL achieving the lowest error (Table 1, last row).

(C3) Explaining differences in inverse-root preconditioning. Last, we study how divergence-dependent approximation (C1) interacts with the two finite-sample effects in (C2) during preconditioning. The divergence properties help explain why SQ and KL better compensate for underestimated empirical eigenvalues (Figure 1, middle) and more reliably recover their large-sample gains from short gradient histories (Table 3). Consistently, SQ and KL also achieve lower GPT-2 validation losses than F and VN, with KL’s advantage growing at larger widths.

Table 3: Recovery error (Equation (12), ↓). KL has the lowest mean error, followed by SQ. Each experiment contributes the median ∣γDrec∣\lvert\gamma_{D}^{\mathrm{rec}}\rvert over all reference directions and repeats; entries show mean ±\pm sample SD across nine checkpoint-projection pairs per training optimizer.

DivergenceAdamW Few-sampleAdamW EMADistributed Shampoo Few-sampleDistributed Shampoo EMA
F1.668 ±\pm 0.6010.173 ±\pm 0.0701.967 ±\pm 0.4300.154 ±\pm 0.017
VN0.259 ±\pm 0.1410.082 ±\pm 0.0320.339 ±\pm 0.1210.087 ±\pm 0.017
SQ0.089 ±\pm 0.0420.063 ±\pm 0.0200.077 ±\pm 0.0210.048 ±\pm 0.008
KL0.066 ±\pm 0.0200.044 ±\pm 0.0110.060 ±\pm 0.0150.040 ±\pm 0.009

Table 3.

Together, these results help explain how divergences affect preconditioning and training performance, and provide practical criteria for designing better Kronecker-factored optimizers.

Background

Notation. Let G∈Rm×nG \in\mathbb{R}^{m \times n} be the stochastic gradient of a matrix parameter Θ\Theta. We use row-wise vectorization g=vec⁡(G)g = \operatorname{vec}(G) and write C:=E[gg⊤]∈S++mnC := \mathbb{E}[gg^{\top}] \in\mathbb{S}_{++}^{mn} for its gradient second moment, where S++d\mathbb{S}_{++}^{d} denotes symmetric positive-definite (SPD) matrices. For simplicity, we omit momentum, as in prior work.

Kronecker Approximation and Preconditioning For factors L∈S++m,R∈S++nL \in\mathbb{S}_{++}^{m}, R \in\mathbb{S}_{++}^{n}, we consider methods that approximate CC by a Kronecker product S:=L⊗RS := L \otimes R, with inverse-root preconditioning:

S−1/2g=(L−1/2⊗R−1/2)g=vec⁡(L−1/2GR−1/2).S^{-1/2}g = (L^{-1/2} \otimes R^{-1/2})g = \operatorname{vec}(L^{-1/2}GR^{-1/2}).

Shampoo. Shampoo ([20, 5]) maintains averages Lt,RtL_t, R_t of GtGt⊤G_tG_t^{\top} and Gt⊤GtG_t^{\top}G_t. Its preconditioning step is Θt+1=Θt−ηtLt−pGtRt−p\Theta_{t+1} = \Theta_t - \eta_t L_t^{-p}G_tR_t^{-p}. Motivated by gradient second-moment approximation, modern Shampoo variants ([39, 37, 14]) use p=1/2p = 1/2, while original Shampoo ([20]) uses p=1/4p = 1/4.

PSGD. Preconditioned stochastic gradient descent (PSGD, [29, 30]) learns a preconditioner PP that acts on the stochastic gradient as PgPg. Its Fisher-type gradient-whitening objective is

min⁡P∈S++mnTr⁡(PC)+Tr⁡(P−1),(1)\min_{P \in\mathbb{S}_{++}^{mn}} \operatorname{Tr}(PC) + \operatorname{Tr}(P^{-1}), \tag*{(1)}

with unique dense solution P=C−1/2P = C^{-1/2}. PSGD-Kron restricts the preconditioner to a Kronecker product P=PL⊗PRP = P_L \otimes P_R and learns the factors through relative-gradient updates ([30]).

Although PSGD and Shampoo were developed independently, we will show in the next section that PSGD-Kron is closely related to a Shampoo variant under a new Bregman divergence. This allows us to understand them and explain their strong performance in a unified way.

Bregman matrix divergences. For a strictly convex, differentiable f:(0,∞)→Rf : (0, \infty) \to\mathbb{R}, we apply ff spectrally to SPD matrices. Given the eigendecomposition M=∑i=1dμiuiui⊤M = \sum_{i=1}^{d} \mu_i u_i u_i^{\top}, f(M)=∑i=1df(μi)uiui⊤f(M) = \sum_{i=1}^{d} f(\mu_i)u_i u_i^{\top} and Φ(M)=Tr⁡(f(M))\Phi(M) = \operatorname{Tr}(f(M)). Since Φ(M)=∑if(μi)\Phi(M) = \sum_i f(\mu_i), Φ\Phi is also strictly convex on SPD matrices, whenever ff is strictly convex. For X,Y∈S++dX, Y \in\mathbb{S}_{++}^{d}, the Bregman matrix divergence ([10]) is

BΦ(X,Y)=Φ(X)−Φ(Y)−⟨∇Φ(Y),X−Y⟩F.(2)B_{\Phi}(X,Y) = \Phi(X) - \Phi(Y) - \langle\nabla\Phi(Y), X - Y \rangle_{\mathrm{F}}. \tag*{(2)}

where ⟨A,B⟩F=Tr⁡(A⊤B)\langle A, B\rangle_{\mathrm{F}} = \operatorname{Tr}(A^{\top}B) is the Frobenius inner product. It is nonnegative and vanishes exactly when X=YX = Y. Choosing f(x)=x2/2f(x) = x^2/2, xlog⁡x−xx \log x - x, or −log⁡x-\log x gives Frobenius (F), von Neumann (VN), or Kullback-Leibler (KL) divergence, respectively. The KL divergence is also known as the LogDet divergence in the literature. Appendix § 7.2 gives matrix formulas for these divergences.

Deriving Shampoo methods via Bregman divergence minimization. Lin et al. [32] derive F-, VN-, and KL-Shampoo variants from the stationarity condition of the following Bregman objective:

min⁡L∈S++m, R∈S++nBΦ(C,L⊗R),(3)\min_{L \in\mathbb{S}_{++}^{m},\,R \in\mathbb{S}_{++}^{n}} B_{\Phi}(C, L \otimes R), \tag*{(3)}

with different generators Φ\Phi. However, these variants perform differently in practice (Figure 1, right) when training neural networks. The relationship between the choice of Φ\Phi and empirical training performance remains unknown, as the authors do not explain it. Understanding this connection helps guide the design of better Kronecker-factored optimizers. Appendix § 7.1 discusses related work in detail.

Kronecker Approximation Error Allocation

We first address Q1: How does divergence choice shape approximation errors? We use a trace-power Bregman family to unify Shampoo variants and connect the Kronecker-constrained PSGD objective in Equation (1) to the Bregman formulation in Equation (3). Then, within this family, we compare how the divergences allocate spectral approximation error.

A Trace-Power Family of Kronecker Preconditioners

Unified analysis of Bregman objectives. We formulate the objectives above through a trace-power Bregman family, obtained by extending scalar divergence generators ([8]) to SPD matrices via spectral functions ([3]). Our unification further clarifies the choice of the generators and lets us connect PSGD-Kron and study its related variant within the same framework.

Proposition 1 (Unification of Shampoo and PSGD-Kron via the Trace-Power Bregman Objective). The objectives of F-, VN-, and KL-Shampoo and the gradient-whitening objective of PSGD-Kron belong to the same trace-power Bregman family, generated by Φq(M)=Tr⁡(fq(M))\Phi_q(M) = \operatorname{Tr}(f_q(M)). Here, fqf_q is applied spectrally to the eigenvalues of MM as defined in § 2. The four scalar generators are shown in Figure 2:

fq(x):=xq−qx+q−1q(q−1)(q≠0,1),f1(x):=xlog⁡x−x+1,f0(x):=−log⁡x+x−1f_q(x) := \frac{x^q-qx+q-1}{q(q-1)}\quad(q\ne0,1),\quad f_1(x):=x\log x-x+1,\quad f_0(x):=-\log x+x-1

Let qDq_D denote the exponent for divergence DD. Frobenius has qF=2q_{\mathrm{F}}=2, while von Neumann and KL divergences arise as q→1q\to1 and q→0q\to0, respectively, for which we denote the exponents by qVN=1q_{\mathrm{VN}}=1 and qKL=0q_{\mathrm{KL}}=0. The square-root (SQ) member, qSQ=1/2q_{\mathrm{SQ}}=1/2, recovers PSGD-Kron’s gradient-whitening objective equation (1) under P=S−1/2P=S^{-1/2}, up to a positive scale and an additive constant.

Setting S=L⊗RS=L\otimes R gives the coupled stationarity equations:

Lq=E[GRq−1G⊤]Tr⁡(Rq),Rq=E[G⊤Lq−1G]Tr⁡(Lq).(4)L_q=\frac{\mathbb{E}[GR^{q-1}G^\top]}{\operatorname{Tr}(R^q)},\qquad R_q=\frac{\mathbb{E}[G^\top L^{q-1}G]}{\operatorname{Tr}(L^q)}. \tag*{(4)}

Every joint stationary point satisfies these coupled equations. See proof in Appendix § 7.2.§ 1.

Figure 2. The family of scalar generators fq(x)f_q(x) inducing trace-power Bregman divergences we study through one unifying lens. Shown with an asinh vertical scale.

Square-root (SQ) Shampoo. To better understand how the choice of Bregman divergence shapes optimization, we consider a new Shampoo variant—square-root (SQ)-Shampoo—that is induced by the Bregman family and recovers PSGD’s objective function by setting q=1/2q=1/2 in Equation (4). We consider this variant because the existing PSGD method does not employ a Shampoo-like scheme.

We consider four divergences in this work. For a fair comparison, we adopt the estimation technique suggested by Lin et al. [32] in our study of divergence-induced update schemes, which reduces cost and resembles Shampoo’s update scheme. Implementation details are given in Appendix § 7.3. We then examine how these divergences allocate approximation error under limited Kronecker capacity (§ 3.2).

Spectral Error Allocation under Limited Kronecker Capacity

As our theory (Appendix § 7.2.§ 2) and empirical results (Figure 5, left) show, a single Kronecker product generally cannot match CC exactly. The divergence therefore determines how the remaining approximation errors are penalized. These penalty properties are not specific to gradient second moments, so we first derive them for arbitrary SPD matrices to isolate the effect of the divergence itself.

Figure 5. Large-sample Kronecker fits. Left: empirical and fitted eigenvalues. Right: overlap of the leading subspaces. The fitted spectra and eigenspaces follow the divergence-dependent preferences predicted in § 3.2.

Proposition 2 (Spectral Error Decomposition and Scaling). Let A=UΛU⊤A=U\Lambda U^\top, B=VΩV⊤∈SdB=V\Omega V^\top\in\mathbb{S}^d have eigenpairs (λi,ui)(\lambda_i,u_i) and (ωi,vi)(\omega_i,v_i) ordered by decreasing eigenvalue, and set Pij=⟨ui,vj⟩2P_{ij}=\langle u_i,v_j\rangle^2. Writing dfd_f for the scalar Bregman divergence generated by ff, we have

BΦ(A,B)=∑i=1ddf(λi,ωi)+Δf(Λ,Ω;P),Δf(Λ,Ω;P)≥0,B_{\Phi}(A,B)=\sum_{i=1}^{d}d_f(\lambda_i,\omega_i)+\Delta_f(\Lambda,\Omega;P),\qquad\Delta_f(\Lambda,\Omega;P)\ge0,

For the trace-power scalar generator fqf_q, write dq:=dfqd_q:=d_{f_q} and Δq:=Δfq\Delta_q:=\Delta_{f_q}. Both mismatch costs behave similarly when eigenvalues are re-scaled: for any r>0r>0, they satisfy

dq(λ,rλ)=λqdq(1,r),Δq(rΛ,rΩ;P)=rqΔq(Λ,Ω;P).(5)d_q(\lambda,r\lambda)=\lambda^q d_q(1,r),\qquad\Delta_q(r\Lambda,r\Omega;P)=r^q\Delta_q(\Lambda,\Omega;P). \tag*{(5)}

Thus qq controls how strongly both mismatch costs depend on eigenvalue scale.

Eigenspace mismatch. Keeping the eigenvectors fixed (and hence PP unchanged), multiplying all eigenvalues of both matrices by r>1r>1 multiplies the eigenspace-mismatch cost by rqr^{q}. Thus larger qq places greater relative weight on the same eigenspace misalignment at larger eigenvalue scales.

Eigenvalue (spectral) mismatch. Writing dF=d2d_{\mathrm{F}}=d_{2}, dVN=d1d_{\mathrm{VN}}=d_{1}, dSQ=d1/2d_{\mathrm{SQ}}=d_{1/2}, and dKL=d0d_{\mathrm{KL}}=d_{0}, the scalar eigenvalue penalties are

dF(λ,rλ)=12λ2(r−1)2,dVN(λ,rλ)=λ(r−1−log⁡r),dSQ(λ,rλ)=2λ1/2(r+1r−2),dKL(λ,rλ)=log⁡r+1r−1.(6)\begin{aligned} d_{\mathrm{F}}(\lambda,r\lambda)&=\frac{1}{2}\lambda^{2}(r-1)^{2}, & d_{\mathrm{VN}}(\lambda,r\lambda)&=\lambda(r-1-\log r),\\ d_{\mathrm{SQ}}(\lambda,r\lambda)&=2\lambda^{1/2}\left(\sqrt{r}+\frac{1}{\sqrt{r}}-2\right), & d_{\mathrm{KL}}(\lambda,r\lambda)&=\log r+\frac{1}{r}-1. \tag*{(6)} \end{aligned}

For fixed relative mismatch rr, the weights λ2,λ,λ1/2,1\lambda^2,\lambda,\lambda^{1/2},1 show that larger qq puts more emphasis on large eigenvalues (Figure 3, left). We call their associated eigenvectors leading directions.

Figure 3. Left: Normalized penalties dD(λ,rλ)dD(1,r)=λqD\frac{d_D(\lambda,r\lambda)}{d_D(1,r)}=\lambda^{q_D} for r≠1r\ne1. Smaller qq places less emphasis on large eigenvalues; KL is scale-independent. Right: dD(1,r)d_D(1,r) versus rr, with a log horizontal scale and an asinh vertical scale. F and VN favor underestimation over reciprocal overestimation, KL shows the opposite preference, and SQ is symmetric.

Over- versus under-estimation and asymmetry. For r>1r>1, the fitted values rλr\lambda and λ/r\lambda/r over- and under-estimate λ\lambda by the same multiplicative factor. Their penalties satisfy (Figure 3, right)

dF(λ,rλ)>dF(λ,λ/r),(7)d_{\mathrm{F}}(\lambda,r\lambda)>d_{\mathrm{F}}(\lambda,\lambda/r), \tag*{(7)}
dVN(λ,rλ)>dVN(λ,λ/r),d_{\mathrm{VN}}(\lambda,r\lambda)>d_{\mathrm{VN}}(\lambda,\lambda/r),
dSQ(λ,rλ)=dSQ(λ,λ/r),d_{\mathrm{SQ}}(\lambda,r\lambda)=d_{\mathrm{SQ}}(\lambda,\lambda/r),
dKL(λ,rλ)<dKL(λ,λ/r).d_{\mathrm{KL}}(\lambda,r\lambda)<d_{\mathrm{KL}}(\lambda,\lambda/r).

Table 1 summarizes these properties together with the finite-sample results from § 4.2. Appendix § 7.2.3.4 gives the Kronecker decomposition and shows that the same penalty rules still hold.

Takeaway. Smaller qDq_D gives more weight to the tail spectrum and penalizes underestimation more strongly, encouraging larger fitted eigenvalues. These larger eigenvalues can help avoid excessive inverse-root amplification, motivating smaller qDq_D in preconditioner design.

Finite-Sample Effects on Kronecker Approximation

We now turn to Q2: How does finite sampling affect Kronecker approximation? Finite sampling enters in two places: the empirical second-moment target and the estimated Kronecker factors in Equation (4). We examine the reliability of the target before Kronecker fitting, and then study divergence-dependent factor estimation from limited samples.

Reliability of the Empirical Second-Moment Target

We test the reliability of the empirical gradient second moment by computing its eigenvectors on one data split and comparing second-moment values along the same directions on other independent data splits (Figure 1, left).

Shared experimental design (full details in Appendix § 7.5). Sections 4.1 and 5 use the same setup. First, we train a model (GPT-2 (Jordan et al., [22])) on FineWeb, 12 layers, hidden size 128) with AdamW and collect a large number of mini-batch gradients (batch size 64, sequence length 512) at selected checkpoints (100, 2,500, and 4,500) during training. We then split those gradients into four disjoint splits (each of size N=20,480N=20{,}480). Each split gives rise to an empirical gradient second moment Cs=1N∑n=1Ngs,ngs,nTC_s=\frac{1}{N}\sum_{n=1}^{N}g_{s,n}g_{s,n}^{\mathsf{T}}, with gs,ng_{s,n} the nnth mini-batch gradient in split ss. In what follows, we focus on the query, value, and output projection weights of the model’s 5th block, for which N>d=1282N>d=128^2. Thus, rank deficiency is not forced by the sample count. We repeated the analyses on checkpoints generated by training with Shampoo and find similar results (Appendix § 7.5.§ 6). This large-sample setting provides an offline reference for subsequent preconditioning comparisons.

Are empirical second-moments reliable? Following high-dimensional covariance estimation work (Ledoit & Wolf, [28]), we estimate eigenvectors on a source split ss and test their directional scales on a held-out split s′≠ss' \ne s. Let {(λs,i,us,i)}i=1d\{(\lambda_{s,i},u_{s,i})\}_{i=1}^{d} denote the eigenpairs of the empirical moment CsC_s on split ss. To assess the representativeness of the source eigenvalues, we keep the source directions us,iu_{s,i} fixed and compare their directional scales across splits. Along each direction, the source scale is λs,i\lambda_{s,i} and the held-out scale is us,iTCs′us,iu_{s,i}^{\mathsf{T}}C_{s'}u_{s,i}. These scales can agree even if us,iu_{s,i} is not an eigenvector of Cs′C_{s'}. We measure held-out scale error by comparing held-out and source scales:

ξs→s′,i:=log⁡10us,iTCs′us,ius,iTCsus,i=log⁡10us,iTCs′us,iλs,i.(8)\xi_{s\to s',i} := \log_{10}\frac{u_{s,i}^{\mathsf{T}}C_{s'}u_{s,i}}{u_{s,i}^{\mathsf{T}}C_su_{s,i}} = \log_{10}\frac{u_{s,i}^{\mathsf{T}}C_{s'}u_{s,i}}{\lambda_{s,i}}. \tag*{(8)}

Interpretation. Zero indicates cross-split agreement; positive values indicate underestimation and negative values indicate overestimation. Larger absolute values indicate greater mismatch. Thus, values close to zero across the spectrum indicate reliable empirical second moments.

Remark 3. We focus on eigenvalue (scale) reliability, without eigenvector stability. These directions need not remain eigenvectors across splits. What matters is whether the scales along these directions reproduce on independent data, supporting the scaling applied by the preconditioner is stable.

Empirical eigenvalues become less reliable toward the tail. In Figure 1 (left), using the AdamW step-2,500 output projection, held-out scale error is near zero for large eigenvalues and rises toward smaller eigenvalues, showing increasingly severe underestimation. Held-out scale error remains near zero in leading directions and strongly positive in the tail across checkpoints and projections from both AdamW and Distributed Shampoo (Table 9 and Figure 9). We also compare scales along directions selected from a third split s′′s'', independently of both splits above. The resulting cross-fit errors stay near zero across the spectrum, supporting sampling noise as the source of the scale differences (see Appendix § 7.5.1.1).

AdamW checkpoints
MetricTop (0–10%)Middle (10–40%)Lower (40–75%)Tail (75–100%)
∣ξ∣\lvert\xi\rvert (↓)0.027 ± 0.0160.124 ± 0.0370.431 ± 0.0301.009 ± 0.120
Signed ξ\xi0.010 ± 0.0300.124 ± 0.0370.431 ± 0.0301.009 ± 0.120
Cross-fit ξcf\xi^{\mathrm{cf}}−0.008 ± 0.004−0.006 ± 0.004−0.006 ± 0.005−0.007 ± 0.006
Distributed Shampoo checkpoints
MetricTop (0–10%)Middle (10–40%)Lower (40–75%)Tail (75–100%)
∣ξ∣\lvert\xi\rvert (↓)0.020 ± 0.0090.104 ± 0.0300.429 ± 0.0251.048 ± 0.017
Signed ξ\xi0.002 ± 0.0200.104 ± 0.0300.429 ± 0.0251.048 ± 0.017
Cross-fit ξcf\xi^{\mathrm{cf}}−0.009 ± 0.005−0.008 ± 0.004−0.007 ± 0.004−0.007 ± 0.004

Table 9. Held-out scale error across all four eigenvalue regions. Zero indicates agreement; positive ξ\xi indicates underestimation, and larger ∣ξ∣\lvert\xi\rvert indicates greater mismatch. Entries show mean ± sample SD across nine checkpoint-projection pairs per training optimizer, using each’s regional median.

Held-out scale error across query, value, and output projections at steps 100, 2500, and 4500

Figure 9. Held-out scale error. Rows: steps 100, 2500, 4500. Bands show split-comparison IQRs.

Held-out scale as the correction. Covariance estimation and mini-batch curvature debiasing consider a correction based on separate data: keep the estimated eigenvectors, but replace their sample eigenvalues with scales measured along those directions on an independent batch ([28, 41]). Here, the replacement for λs,i\lambda_{s,i} is precisely the held-out scale us,iTCs′us,iu_{s,i}^{\mathsf{T}}C_{s'}u_{s,i} in Equation (8). This motivates using it as the reference for preconditioner gains in § 5.2.

Takeaway. Even with many gradients, empirical second moments can underestimate the tail of the spectrum. Using one data split to estimate the eigenvectors and another to measure their scales reveals this finite-sample bias. Under inverse-root preconditioning, such underestimation can lead to overly large gains, and is even more pronounced in practice with short gradient histories.

Finite-Sample Stability of Kronecker Factors

The previous subsection shows finite-sample bias in the second moment. In practice, Kronecker factors are also estimated from shorter gradient histories, introducing another source of sampling error. We use a controlled model to isolate how divergence choice affects this factor estimation.

Model and isolated empirical factor estimation. To separate sampling error from approximation error in Kronecker approximation, we consider an exact Kronecker Gaussian model C=L⋆⊗R⋆C=L_{\star}\otimes R_{\star}:

G=L⋆1/2ZR⋆1/2,Zij∼i.i.d.N(0,1).(9)G=L_{\star}^{1/2}ZR_{\star}^{1/2},\qquad Z_{ij}\overset{\mathrm{i.i.d.}}{\sim}\mathcal{N}(0,1). \tag*{(9)}

Fixing R=R⋆R=R_{\star} and replacing the expectation in Equation (4) with the sample expectation over NN independent gradients {Gb=L⋆1/2ZbR⋆1/2}b=1N\{G_b=L_{\star}^{1/2}Z_bR_{\star}^{1/2}\}_{b=1}^{N} gives the empirical estimate

L^D=1NTr⁡(R⋆QD)∑b=1NGbR⋆QD−1GbT=L⋆1/2[1NTr⁡(R⋆QD)∑b=1NZbR⋆QDZbT]L⋆1/2.(10)\widehat{L}_{D}=\frac{1}{N\operatorname{Tr}(R_{\star}^{Q_D})}\sum_{b=1}^{N}G_bR_{\star}^{Q_D-1}G_b^{\mathsf{T}}=L_{\star}^{1/2}\left[\frac{1}{N\operatorname{Tr}(R_{\star}^{Q_D})}\sum_{b=1}^{N}Z_bR_{\star}^{Q_D}Z_b^{\mathsf{T}}\right]L_{\star}^{1/2}. \tag*{(10)}

Analogously, we define the right-side counterpart R^D\widehat{R}_D of L^D\widehat{L}_D to be the empirically estimated right factor on NN samples when fixing the left factor to L⋆L_{\star}.

Proposition 4 (Finite-Sample Factor Stability). Define the effective rank reff⁡(A):=Tr⁡(A)2/Tr⁡(A2)\operatorname{reff}(A):=\operatorname{Tr}(A)^2/\operatorname{Tr}(A^2) and the relative factors L~D:=L⋆−1/2L^DL⋆−1/2\widetilde{L}_D:=L_{\star}^{-1/2}\widehat{L}_DL_{\star}^{-1/2} and R~D:=R⋆−1/2R^DR⋆−1/2\widetilde{R}_D:=R_{\star}^{-1/2}\widehat{R}_DR_{\star}^{-1/2}, which in the case of perfect estimation simplify to the identity matrix. Under Equation (9), the estimator in Equation (10) and its right-factor counterpart, with the opposite factor fixed at its population value, satisfy

Err⁡DL:=1mE∥L~D−I∥F2=m+1Nr⁡eff(R⋆QD),Err⁡DR:=1nE∥R~D−I∥F2=n+1Nr⁡eff(L⋆QD).\operatorname{Err}_{D}^{L}:=\frac{1}{m}\mathbb{E}\lVert\widetilde{L}_D-I\rVert_{F}^{2}=\frac{m+1}{N\operatorname{r}_{\mathrm{eff}}(R_{\star}^{Q_D})},\qquad\operatorname{Err}_{D}^{R}:=\frac{1}{n}\mathbb{E}\lVert\widetilde{R}_D-I\rVert_{F}^{2}=\frac{n+1}{N\operatorname{r}_{\mathrm{eff}}(L_{\star}^{Q_D})}.

Since reff⁡(Aq)\operatorname{reff}(A^q) is non-increasing in q≥0q \ge0, as shown in Figure 4, left, these errors satisfy

Figure 4. Left: Effective rank reff⁡(R⋆q)\operatorname{reff}(R_{\star}^{q}) for eigenvalues ρj=j−1.8\rho_j = j^{-1.8}. Right: Mean squared relative Frobenius error of the jointly fitted S=L⊗RS = L \otimes R (Equation (19)) on non-Kronecker gradients over 20 repeats, relative to each method’s 4096-sample fit. Both results favor smaller qDq_D, consistent with the theoretical prediction in Proposition 4.

Err⁡KLs≤Err⁡SQs≤Err⁡VNs≤Err⁡Fs,s∈{L,R}.\operatorname{Err}^{s}_{\mathrm{KL}} \le\operatorname{Err}^{s}_{\mathrm{SQ}} \le\operatorname{Err}^{s}_{\mathrm{VN}} \le\operatorname{Err}^{s}_{\mathrm{F}}, \qquad s \in\{L,R\}.

with equality when the opposite factor has a flat spectrum. See proof in Appendix § 7.2.§ 4.

Why Frobenius fitting has larger estimation error. For a long-tailed R⋆R_{\star}, F (q=2q = 2) puts most of its weight on a few large eigenvalues, reducing the effective number of directions that average out sampling noise. Equivalently, R⋆2R_{\star}^{2} has a smaller effective rank, leading to larger estimation error. KL (q=0q = 0) weights all directions equally, giving the largest effective rank and the smallest error under the assumptions of Proposition 4.

Scope, limitations, and empirical evidence. Here, our aim is to compare finite-sample factor stability across F, VN, SQ, and KL using the common exponent qq introduced in § 3.1. Joint Kronecker Gaussian estimation has been extensively studied in statistics. In particular, McCormack & Hoff [36] characterize the asymptotic efficiency loss of VN relative to KL, while Franks et al. [16] give high-probability error bounds for KL. However, these results do not directly provide a finite-sample comparison across all four divergences in our setting.

Our analysis estimates one factor with the other fixed under an exact Kronecker Gaussian model. This removes the coupling between factors and isolates the effect of spectral weighting, yielding a unified exact error formula for all four divergences. To test whether the ordering persists under joint fitting beyond these assumptions, we fit both factors on synthetic long-tailed non-Kronecker Gaussian gradients. The mean errors follow the predicted ordering at every tested sample size (Figure 4, right). § 5.3 further examines the recovery of large-sample inverse-root gains on real gradients, without Gaussian or Kronecker assumptions.

Takeaway. With limited gradient samples, smaller qDq_D gives more accurate Kronecker factor estimates under our model, with KL achieving the lowest expected relative error. The same trend also holds empirically beyond these assumptions. This favors smaller qDq_D for preconditioners, where more stable factor estimates lead to reliable preconditioning from limited gradient histories.

From Kronecker Approximations to Preconditioning

Q1 characterizes divergence-dependent approximation error allocation, while Q2 shows how finite sampling affects both the empirical target and Kronecker factor estimation. We now address Q3: how do divergence choice and finite sampling jointly affect preconditioning? We first examine whether large-sample Kronecker fits on real gradients follow the spectral predictions from Q1. Then, we ask how these fits interact with the finite-sample bias identified in Q2 when converted into inverse-root gains, and whether these gains remain reliable with short gradient histories.

Large-Sample Kronecker Fits

We fit each Kronecker state SDrefS^{\mathrm{ref}}_D to the empirical second moment C0C_0, using all gradients in split 0. These large-sample fits show how different divergences allocate approximation error and whether the observed results, shown in Figure 5, match the predictions in § 3.2.

Eigenvalues. We compare empirical and fitted eigenvalues in decreasing order. F underestimates much of the empirical spectrum, while VN follows it; SQ and KL have larger fitted tail eigenvalues. The same pattern holds across the other checkpoints and projections; see Figure 13.

Figure 13. Large-sample spectra. Rows: steps 100, 2500, 4500.

Eigenspaces. Let UkU_k and VD,kV_{D,k} contain the leading kk eigenvectors of C0C_0 and SDrefS_D^{\mathrm{ref}}. Following Song et al. [40], we measure their subspace overlap by OD(k):=∥UkTVD,k∥F2/k∈[0,1]O_D(k) := \lVert U_k^{\mathsf{T}}V_{D,k}\rVert_{\mathrm{F}}^2/k \in[0,1], where 1 means identical subspaces and 0 means orthogonal subspaces. F best matches the leading eigenvector, while KL achieves higher overlap for most larger subspaces. Since inverse-root gains depend on both eigenspace overlap and fitted eigenvalues, we examine their joint effect in § 5.2.

Takeaway. The Kronecker fits reflect the spectral preferences predicted in § 3.2.

Preconditioning Gains of Large-Sample Fits

The previous subsection shows that divergence choice leads to different eigenvalues and eigenspaces in the Kronecker fits. To answer Q3, we now ask how these differences translate into preconditioning through SD−1/2S_D^{-1/2}. We compare the resulting preconditioning gains with held-out inverse-root scales to test whether each fit compensates for the finite-sample scale errors identified in § 4.1.

Following the held-out correction in § 4.1, we use scales measured on independent data along the fixed source eigenvectors as the reference for preconditioning. Let {(λ0,i,u0,i)}\{(\lambda_{0,i},u_{0,i})\} be the eigenpairs of the source second moment C0C_0. We average the three held-out directional scales, hi:=13∑s′=13u0,iTCs′u0,ih_i := \frac{1}{3}\sum_{s'=1}^{3}u_{0,i}^{\mathsf{T}}C_s^{\prime}u_{0,i}, and use hi−1/2h_i^{-1/2} as the reference gain along u0,iu_{0,i}. For a fitted state SDS_D, we define the held-out gain error as

eD,i:=log⁡10∥SD−1/2u0,i∥2hi−1/2=12log⁡10(hiu0,iTSD−1u0,i).(11)e_{D,i} := \log_{10}\frac{\lVert S_D^{-1/2}u_{0,i}\rVert_2}{h_i^{-1/2}} = \frac{1}{2}\log_{10}\left(h_i u_{0,i}^{\mathsf{T}}S_D^{-1}u_{0,i}\right). \tag*{(11)}

Interpretation. Zero means matching the scaling factor 1/hi1/\sqrt{h_i} estimated from held-out data; positive and negative values mean larger and smaller scales, respectively. Our goal is to keep this error close to zero across the whole spectrum.

Divergence choice shapes inverse-root gains. KL and SQ better compensate for empirical second-moment scaling error and stay closer to the held-out target across the whole spectrum, with KL achieving the lowest error (Figure 6, left, and Table 2). Results across the remaining checkpoints and projections show the same pattern (Appendix § 7.5.§ 3).

Figure 6. Smoothed log held-out gain error for the output projection at AdamW step 2,500. Closer to zero is better; with asinh vertical scale. Left: large-sample fit; middle: 40-sample fits (4 repeats); right: EMA (16 repeats). Black solid: large-sample C0−1/2C_0^{-1/2} in all panels; dashed: the held-out target.

Table 2: Absolute held-out gain error (Equation (11), ↓). KL has the lowest mean error, followed by SQ. Each experiment contributes the median ∣eD,i∣\lvert e_{D,i}\rvert over all directions and repeats; entries show mean ±\pm sample SD across nine checkpoint-projection pairs per training optimizer.

OptimizerMethodLarge-sample40-sampleEMA
AdamWF0.9759 ±\pm 0.46232.4945 ±\pm 0.82650.7645 ±\pm 0.3453
AdamWVN0.3328 ±\pm 0.17690.5549 ±\pm 0.29860.2897 ±\pm 0.1473
AdamWSQ0.1467 ±\pm 0.05730.2175 ±\pm 0.08930.1294 ±\pm 0.0412
AdamWKL0.1024 ±\pm 0.01820.1561 ±\pm 0.02970.1071 ±\pm 0.0203
Distributed ShampooF0.8801 ±\pm 0.32342.6922 ±\pm 0.56740.7008 ±\pm 0.2267
Distributed ShampooVN0.3353 ±\pm 0.11090.6207 ±\pm 0.19660.2806 ±\pm 0.0935
Distributed ShampooSQ0.1273 ±\pm 0.02850.1876 ±\pm 0.04070.1257 ±\pm 0.0300
Distributed ShampooKL0.1003 ±\pm 0.01770.1482 ±\pm 0.02490.1072 ±\pm 0.0204

Table 2.

Link to divergence properties. The behavior above follows the spectral preferences in § 3.2. F and VN emphasize the leading spectrum and tend to underestimate the remaining eigenvalues, whereas KL weights errors uniformly across the spectrum and tends to overestimate; SQ lies in between. This yields larger eigenvalues for SQ and KL, which can reduce excessive inverse-root amplification during preconditioning and brings the gains closer to the held-out targets (more details in Appendix § 7.5.§ 4).

Takeaway. KL, closely followed by SQ, best compensates for the finite-sample underestimation in the empirical second moment, keeping inverse-root gains closer to the desired scaling across the spectrum.

Few-Sample Fits and Online EMA

The large-sample behavior is useful in practice only if it can be recovered from short gradient histories. We therefore evaluate both few-sample fitting and online EMA using two metrics: recovery error, which measures how closely each method reproduces its own large-sample gains, and the held-out gain error from § 5.2, which measures agreement with the held-out target.

Configuration. All four methods follow the EMA scheme of Lin et al. [32], detailed in Appendix § 7.3.§ 5, with β2=0.95\beta_2 = 0.95 and eigendecomposition every five steps. Equal-weight fits use N=40N = 40 gradients, close to the nominal EMA effective sample size (1+β2)/(1−β2)=39(1 + \beta_2)/(1 - \beta_2) = 39.3 Each EMA repeat uses 512 gradients to reduce initialization effects. Table 8 summarizes these settings.

SettingSpecification
Gradient poolsFour splits per experiment; 20,480 FP32 mini-batch gradients per split, assigned by round-robin interleaving
Gradient collectionBatch size 64; sequence length 512
Large-sample fitAll 20,480 gradients in split 0
Few-sample fit40 gradients from split 0; four repeats
Fixed-point solverRelaxation α=0.3\alpha= 0.3; tolerance 10−810^{-8}; at most 1,000 steps
Online EMA16 disjoint chronological repeats from split 0, each with 512 gradients; β2=0.95\beta_2 = 0.95; eigendecomposition every five steps

Table 8. Shared settings for real-gradient diagnostics.

Recovery error. For this metric, the reference is each method’s large-sample fit SDrefS_D^{\mathrm{ref}}. Let S^D\hat{S}_D be the few-sample or EMA fit, and let {ωD,j,vD,j}j=1d\{\omega_{D,j}, v_{D,j}\}_{j=1}^{d} be the eigenpairs of SDrefS_D^{\mathrm{ref}}. We compare inverse-root amplification along the reference directions vD,jv_{D,j}:

γD,jrec:=log⁡10∥S^D−1/2vD,j∥2∥(SDref)−1/2vD,j∥2=12log⁡10(ωD,jvD,jTS^D−1vD,j).(12)\gamma_{D,j}^{\mathrm{rec}} := \log_{10} \frac{\lVert\hat{S}_D^{-1/2}v_{D,j}\rVert_2}{\lVert(S_D^{\mathrm{ref}})^{-1/2}v_{D,j}\rVert_2} = \frac{1}{2}\log_{10}\left(\omega_{D,j}v_{D,j}^{\mathsf{T}}\hat{S}_D^{-1}v_{D,j}\right). \tag*{(12)}

Interpretation. The gain mismatch γD,jrec\gamma_{D,j}^{\mathrm{rec}} is zero when the large-sample scaling is recovered; positive and negative values indicate stronger and weaker amplification, respectively. We also want to keep this error close to zero across the whole spectrum.

Finite-sample gain results. KL has the lowest recovery error, followed by SQ, VN, and F, across both 40-sample fits and EMA and both checkpoint sources (Table 3). The same ordering holds for aggregate held-out gain error (Table 2 and Figure 6, middle and right). Additional results in Appendix § 7.5.§ 5 show the same trend.

Connecting Q1 and Q2. Q1 shows that SQ and KL put more emphasis on the entire spectrum and produce larger fitted tail eigenvalues. Q2 reveals two finite-sample effects: the empirical second moment underestimates the tail, while lower-qDq_D factor estimates are more stable with limited gradients. Together, these effects explain why SQ and KL better compensate for the empirical second moment bias and recover their large-sample gains more reliably.

Takeaway. Divergence choice and finite sampling jointly shape preconditioning. KL, closely followed by SQ, best compensates for tail underestimation and yields more reliable gains from short gradient histories.

GPT-2 Training

We next test whether the gain differences observed above are reflected in GPT-2 training.

Prediction. More generally, we expect preconditioners whose inverse-root gains stay close to the held-out targets across the spectrum and remain reliable with short gradient histories to perform better in training. This suggests the held-out gain and recovery errors in § 5 as practical metrics for evaluating optimizer designs. For the methods studied here, we therefore expect KL and SQ to perform similarly and better than F and VN, with a slight advantage for KL.

We compare F-, VN-, SQ-, and KL-Shampoo by their final validation losses after training 12-layer GPT-2 models on FineWeb at several widths. Across widths 256–1,536, all methods use 5,100 updates and spectral EMA (β2=0.95\beta_2 = 0.95). Appendix § 7.7 gives the full settings and training curves.

SQ and KL achieve lower validation losses than F and VN at every width, consistent with this prediction (Figure 1, right, and Table 4). Their losses are similar at smaller widths, while KL achieves lower losses at the two largest widths.

Method / width25651276810241536
F3.82813.50823.39933.35283.3111
VN3.75733.43773.28763.19793.0972
SQ3.74503.41733.26613.18243.0817
KL3.74753.41803.26603.17693.0758

Table 4. Final GPT-2 validation loss on FineWeb after 5,100 updates (↓); one run per configuration. SQ and KL outperform F and VN at every width. Bold marks the lowest loss in each column.

Conclusion

We used a trace-power Bregman family to unify divergence-based Shampoo variants and connect SQ-Shampoo to PSGD-Kron, showing how divergence choice shapes Kronecker approximation error. We then identified two finite-sample effects: empirical second moments can underestimate tail eigenvalues, while divergence choice also affects the stability of Kronecker factor estimation. Together, these effects explain why SQ and KL better compensate for the underestimation of empirical second moments and recover their large-sample gains more reliably from short gradient histories. Consistently, SQ and KL achieve lower GPT-2 validation losses than F and VN. Our held-out gain and recovery errors provide practical metrics for evaluating new preconditioners.

Related Work

Natural gradients and structured curvature. Natural gradient descent uses the Fisher metric to account for parameter-space geometry [2]. Layered Fisher approximations [21] and K-FAC [34] make this approach tractable by exploiting network structure. Subsequent work extends Kronecker factorizations to convolutional layers [19], recurrent networks [35], and general linear layers with weight sharing [13]. Tensor Normal Training uses a tensor-normal model of sampled gradients to approximate the Fisher [38], TKFAC imposes trace constraints [18], and SINGD incorporates inverse-free updates to avoid explicit matrix inversion [31].

Shampoo and Kronecker approximation. AdaGrad preconditions gradients using their accumulated second moments [11], while Adam uses an exponential moving average of squared gradients for coordinate-wise scaling [25]. Shampoo exploits tensor structure to construct a Kronecker-factored bound on full-matrix AdaGrad [20]. Distributed computation, infrequent inverse-root updates, and learning-rate grafting make Shampoo practical at scale [5, 1, 39]. SOAP applies Adam in Shampoo’s eigenbasis to improve training performance and stability [43]. Morwani et al. [37] show that the Kronecker product of Shampoo’s statistics corresponds to one power-iteration step from identity initialization toward the Frobenius-optimal Kronecker approximation. In their experiments, its cosine similarity to the target closely tracks that of the optimal approximation. They also examine how batch gradients and label sampling affect the estimation.

Matrix divergences and Kronecker estimation. Bregman matrix divergences provide alternatives to Frobenius approximation [10], with applications to positive-semidefinite kernel learning [26]. For Kronecker approximation, the LogDet (KL divergence between two zero-mean multivariate Gaussian distributions) objective corresponds to matrix-normal maximum likelihood, which estimates row and column covariance factors alternately [12]. Franks et al. [16] establish nearly optimal finite-sample guarantees for joint maximum likelihood estimation without condition-number assumptions. McCormack & Hoff [36] study partial-trace estimation, corresponding to VN fitting, and relate its statistical error and asymptotic efficiency loss to the factor spectra. Lin et al. [32] formulate gradient second-moment estimation through matrix divergences, yielding F-, VN-, and KL-Shampoo. We study spectral error allocation and finite-sample stability across F, VN, SQ, and KL in a trace-power family. Our fixed-factor analysis is complemented by joint fits on synthetic non-Kronecker and real gradients.

Reliability of empirical second moments. Empirical gradient second moments can differ substantially from curvature matrices like the Fisher and Hessian [27, 42]. Furthermore, with finite samples, empirical eigenvalues systematically misestimate population scales along their eigenvectors. Prior work addresses this bias through nonlinear covariance shrinkage or cross-validation [28, 7] in high-dimensional covariance estimation. A similar selection bias occurs in deep-learning Hessian and GGN estimates: directions with extreme curvature on one mini-batch have less extreme scales on others [41]. We examine these estimation effects in mini-batch gradient second moments and their consequences for divergence-dependent Kronecker preconditioning.

Proofs

Throughout the theoretical analysis, following Eschenhagen et al. [14]; Lin et al. [32], we assume the gradient second moment CC to be positive definite.

Matrix notation and divergence formulas. For M=Udiag⁡(μ1,…,μd)U⊤∈S++dM = U \operatorname{diag}(\mu_1,\ldots,\mu_d)U^\top\in S_{++}^{d}, matrix functions act on its eigenvalues:

f(M)=Udiag⁡(f(μ1),…,f(μd))U⊤,Φ(M)=∑i=1df(μi),∇Φ(M)=f′(M).f(M) = U \operatorname{diag}(f(\mu_1),\ldots,f(\mu_d))U^\top,\qquad\Phi(M) = \sum_{i=1}^{d} f(\mu_i),\qquad\nabla\Phi(M) = f'(M).

We use ∥A∥F2=⟨A,A⟩F\lVert A\rVert_F^2 = \langle A,A\rangle_F and write ∇2Φ(S)[H]\nabla^2\Phi(S)[H] for the Hessian on a perturbation HH. Substituting the generators fF(x)=x2/2f_F(x) = x^2/2, fVN(x)=xlog⁡x−xf_{\mathrm{VN}}(x) = x\log x-x, and fKL(x)=−log⁡xf_{\mathrm{KL}}(x) = -\log x into Equation (2) gives

BF(X,Y)=12∥X−Y∥F2,BVN(X,Y)=Tr⁡(Xlog⁡X−Xlog⁡Y−X+Y),\mathcal{B}_F(X,Y) = \frac{1}{2}\lVert X-Y\rVert_F^2,\qquad\mathcal{B}_{\mathrm{VN}}(X,Y) = \operatorname{Tr}(X\log X-X\log Y-X+Y),
BKL(X,Y)=Tr⁡(Y−1X)−log⁡det⁡(Y−1X)−d.\mathcal{B}_{\mathrm{KL}}(X,Y) = \operatorname{Tr}(Y^{-1}X)-\log\det(Y^{-1}X)-d.

In particular, BKL(X,Y)=2DKL(N(0,X)∥N(0,Y))\mathcal{B}_{\mathrm{KL}}(X,Y) = 2D_{\mathrm{KL}}(\mathcal{N}(0,X)\Vert\mathcal{N}(0,Y)). For row-wise vectorization, vec⁡(AGB)=(A⊗B⊤)vec⁡(G)\operatorname{vec}(AGB) = (A\otimes B^\top)\operatorname{vec}(G).

Proof of Proposition 1

For q=2q=2, f2(x)=(x−1)2/2f_2(x)=(x-1)^2/2 and f2′(x)=x−1f'_2(x)=x-1. Substitution into Equation (2) gives

BΦ2(X,Y)=12Tr⁡(X2−Y2)−Tr⁡(Y(X−Y))=12∥X−Y∥F2=BF(X,Y).\mathcal{B}_{\Phi_2}(X,Y)=\frac{1}{2}\operatorname{Tr}(X^2-Y^2)-\operatorname{Tr}(Y(X-Y))=\frac{1}{2}\lVert X-Y\rVert_F^2=\mathcal{B}_F(X,Y).

L’Hôpital’s rule gives fq(x)→xlog⁡x−x+1f_q(x)\to x\log x-x+1 as q→1q\to1 and fq(x)→−log⁡x+x−1f_q(x)\to-\log x+x-1 as q→0q\to0. The derivative fq′(x)=(xq−1−1)/(q−1)f'_q(x)=(x^{q-1}-1)/(q-1) converges to log⁡x\log x and 1−x−11-x^{-1}, respectively. For fixed X,Y∈S++dX,Y\in S_{++}^{d}, we can obtain

lim⁡q→1BΦq(X,Y)=BΦ1(X,Y)=Tr⁡(Xlog⁡X−Xlog⁡Y−X+Y)=BVN(X,Y),\lim_{q\to1}\mathcal{B}_{\Phi_q}(X,Y)=\mathcal{B}_{\Phi_1}(X,Y)=\operatorname{Tr}(X\log X-X\log Y-X+Y)=\mathcal{B}_{\mathrm{VN}}(X,Y),
lim⁡q→0BΦq(X,Y)=BΦ0(X,Y)=Tr⁡(Y−1X)−log⁡det⁡(Y−1X)−d=BKL(X,Y).\lim_{q\to0}\mathcal{B}_{\Phi_q}(X,Y)=\mathcal{B}_{\Phi_0}(X,Y)=\operatorname{Tr}(Y^{-1}X)-\log\det(Y^{-1}X)-d=\mathcal{B}_{\mathrm{KL}}(X,Y).

For q=12q=\frac{1}{2}, which we call square root (SQ), f1/2(x)=−4x+2x+2f_{1/2}(x)=-4\sqrt{x}+2x+2 and f1/2′(x)=2−2x−1/2f'_{1/2}(x)=2-2x^{-1/2}. Substituting into Equation (2) yields

12BΦ1/2(C,S)=Tr⁡(S1/2)+Tr⁡(CS−1/2)−2Tr⁡(C1/2).(13)\frac{1}{2}\mathcal{B}_{\Phi_{1/2}}(C,S)=\operatorname{Tr}(S^{1/2})+\operatorname{Tr}(CS^{-1/2})-2\operatorname{Tr}(C^{1/2}). \tag*{(13)}

Under P=S−1/2P=S^{-1/2}, this becomes

12BΦ1/2(C,S)=Tr⁡(PC)+Tr⁡(P−1)−2Tr⁡(C1/2).\frac{1}{2}\mathcal{B}_{\Phi_{1/2}}(C,S)=\operatorname{Tr}(PC)+\operatorname{Tr}(P^{-1})-2\operatorname{Tr}(C^{1/2}).

The first two terms are exactly the PSGD objective in Equation (1); the last term is independent of PP. Thus SQ and PSGD have the same objective up to a positive scale and an additive constant. For S=L⊗RS=L\otimes R, the change of variables gives P=L−1/2⊗R−1/2P=L^{-1/2}\otimes R^{-1/2}, so the correspondence also holds under the Kronecker constraint.

We now derive the factor equation in Equation (4). For q≠0,1q\ne0,1,

∇Φq(S)=Sq−1−Iq−1.\nabla\Phi_q(S)=\frac{S^{q-1}-I}{q-1}.

By substituting this into the Bregman divergence and keeping only the terms that depend on SS, we can derive

BΦq(C,S)=1qTr⁡(Sq)−1q−1Tr⁡(CSq−1)+const.\mathcal{B}_{\Phi_q}(C,S)=\frac{1}{q}\operatorname{Tr}(S^q)-\frac{1}{q-1}\operatorname{Tr}(CS^{q-1})+\mathrm{const}.

For S=L⊗RS=L\otimes R,

Tr⁡(Sq)=Tr⁡(Lq)Tr⁡(Rq),\operatorname{Tr}(S^q)=\operatorname{Tr}(L^q)\operatorname{Tr}(R^q),

and the definition of C=E[ggT]C = \mathbb{E}[gg^{\mathsf{T}}] gives

Tr⁡(CSq−1)=E[Tr⁡(Lq−1GRq−1GT)].\operatorname{Tr}(CS^{q-1}) = \mathbb{E}\left[\operatorname{Tr}\left(L^{q-1}GR^{q-1}G^{\mathsf{T}}\right)\right].

Fix RR, and write

AR:=E[GRq−1GT],aR:=Tr⁡(Rq).A_R := \mathbb{E}\left[GR^{q-1}G^{\mathsf{T}}\right], \qquad a_R := \operatorname{Tr}(R^q).

Combining all the equations above, we can write the objective BΦqB_{\Phi_q} that depends on LL as

Jq(L;R)=aRqTr⁡(Lq)−1q−1Tr⁡(ARLq−1).J_q(L;R) = \frac{a_R}{q}\operatorname{Tr}(L^q) - \frac{1}{q-1}\operatorname{Tr}(A_RL^{q-1}).

For q≠0,1q \ne0,1, let X=Lq−1X = L^{q-1}. Then Lq=Xq/q−1L^q = X^{q/q-1}, and

∇XJq=1q−1(aRX1/q−1−AR)=1q−1(aRL−AR).\nabla_X J_q = \frac{1}{q-1}\left(a_RX^{1/q-1} - A_R\right) = \frac{1}{q-1}(a_RL - A_R).

Thus the stationary equation gives L=AR/aR=E[GRq−1GT]/Tr⁡(Rq)L = A_R/a_R = \mathbb{E}[GR^{q-1}G^{\mathsf{T}}]/\operatorname{Tr}(R^q). The objective is strictly convex in XX, so this stationary point is the unique minimizer.

For the VN defined by q→1q \to1, Φ1(S)=Tr⁡(Slog⁡S−S+I)\Phi_1(S) = \operatorname{Tr}(S\log S - S + I). The limit established above gives

BΦ1(C,S)=Tr⁡(S)−Tr⁡(Clog⁡S)+const.B_{\Phi_1}(C,S) = \operatorname{Tr}(S) - \operatorname{Tr}(C\log S) + \text{const.}

Using

Tr⁡(L⊗R)=Tr⁡(L)Tr⁡(R),log⁡(L⊗R)=log⁡L⊗In+Im⊗log⁡R,\operatorname{Tr}(L \otimes R) = \operatorname{Tr}(L)\operatorname{Tr}(R), \qquad\log(L \otimes R) = \log L \otimes I_n + I_m \otimes\log R,

and the row-wise vectorization identity

vec⁡(G)T(log⁡L⊗In)vec⁡(G)=Tr⁡(GGTlog⁡L),\operatorname{vec}(G)^{\mathsf{T}}(\log L \otimes I_n)\operatorname{vec}(G) = \operatorname{Tr}(GG^{\mathsf{T}}\log L),

the terms depending on LL reduce to

J1(L;R)=Tr⁡(R)Tr⁡(L)−Tr⁡(ARlog⁡L),AR:=E[GGT].J_1(L;R) = \operatorname{Tr}(R)\operatorname{Tr}(L) - \operatorname{Tr}(A_R\log L), \qquad A_R := \mathbb{E}[GG^{\mathsf{T}}].

Here RR is fixed, so the term involving Im⊗log⁡RI_m \otimes\log R is constant in LL. Set X=log⁡LX = \log L. Then

J1(eX;R)=Tr⁡(R)Tr⁡(eX)−Tr⁡(ARX),J_1(e^X;R) = \operatorname{Tr}(R)\operatorname{Tr}(e^X) - \operatorname{Tr}(A_RX),

whose gradient with respect to XX is

∇XJ1=Tr⁡(R)eX−AR.\nabla_XJ_1 = \operatorname{Tr}(R)e^X - A_R.

Setting this to zero gives L=eX=AR/Tr⁡(R)L = e^X = A_R/\operatorname{Tr}(R). Since Tr⁡(eX)\operatorname{Tr}(e^X) is strictly convex on symmetric matrices, this is the unique minimizer.

For the KL defined by q→0q \to0, Φ0(S)=−log⁡det⁡S+Tr⁡(S)−mn\Phi_0(S) = -\log\det S + \operatorname{Tr}(S) - mn. Its affine terms cancel in the divergence, giving

BΦ0(C,S)=Tr⁡(CS−1)+log⁡det⁡S+const.B_{\Phi_0}(C,S) = \operatorname{Tr}(CS^{-1}) + \log\det S + \text{const.}

Using S−1=L−1⊗R−1S^{-1} = L^{-1} \otimes R^{-1} and log⁡det⁡(L⊗R)=nlog⁡det⁡L+mlog⁡det⁡R\log\det(L \otimes R) = n\log\det L + m\log\det R, the terms that depend on LL are

J0(L;R)=Tr⁡(ARL−1)+nlog⁡det⁡L,AR:=E[GR−1GT].J_0(L;R) = \operatorname{Tr}(A_RL^{-1}) + n\log\det L, \qquad A_R := \mathbb{E}[GR^{-1}G^{\mathsf{T}}].

Setting X=L−1X = L^{-1}, we can derive:

J0(X−1;R)=Tr⁡(ARX)−nlog⁡det⁡X,∇XJ0=AR−nX−1.J_0(X^{-1};R) = \operatorname{Tr}(A_RX) - n\log\det X, \qquad\nabla_XJ_0 = A_R - nX^{-1}.

Setting the gradient to zero gives X−1=AR/nX^{-1} = A_R/n, hence

L=ARn=E[GR−1GT]Tr⁡(R0).L = \frac{A_R}{n} = \frac{\mathbb{E}[GR^{-1}G^{\mathsf{T}}]}{\operatorname{Tr}(R^0)}.

Since −log⁡det⁡X-\log\det X is strictly convex, this is the unique minimizer.

The cases q=1q = 1 and q=0q = 0 give the same formula, so all cases can be written as

Lq(R)=E[GRq−1GT]Tr⁡(Rq).L_q(R) = \frac{\mathbb{E}[GR^{q-1}G^{\mathsf{T}}]}{\operatorname{Tr}(R^q)}.

Exchanging LL and RR gives

Rq(L)=E[GTLq−1G]Tr⁡(Lq).R_q(L) = \frac{\mathbb{E}[G^{\mathsf{T}}L^{q-1}G]}{\operatorname{Tr}(L^q)}.

Limited Kronecker Capacity

A single Kronecker product generally cannot represent a gradient second moment exactly. The factors LL and RR have m(m+1)/2+n(n+1)/2−1m(m + 1)/2 + n(n + 1)/2 - 1 free parameters after accounting for reciprocal rescaling, fewer than the mn(mn+1)/2mn(mn + 1)/2 parameters of a general symmetric matrix when m,n≥2m, n \ge2. Exact matching is possible for second moments with Kronecker structure; otherwise, the choice of divergence determines how approximation errors are allocated.

Spectral Error Decomposition and Kronecker Approximations

Proof of Proposition 2

Notation and spectral costs. Write U=[u1,…,ud]U = [u_1, \ldots, u_d], V=[v1,…,vd]V = [v_1, \ldots, v_d], Λ=diag⁡(λ1,…,λd)\Lambda= \operatorname{diag}(\lambda_1, \ldots, \lambda_d), and Ω=diag⁡(ω1,…,ωd)\Omega= \operatorname{diag}(\omega_1, \ldots, \omega_d), with both spectra ordered decreasingly. The scalar divergence and cost on eigenspace misalignment are

df(λ,ω):=f(λ)−f(ω)−f′(ω)(λ−ω),d_f(\lambda,\omega) := f(\lambda) - f(\omega) - f'(\omega)(\lambda- \omega),
Δf(Λ,Ω;P):=−∑i,j=1dλif′(ωj)(Pij−δij),Pij=⟨ui,vj⟩2,\Delta_f(\Lambda,\Omega;P) := -\sum_{i,j=1}^{d} \lambda_i f'(\omega_j)(P_{ij} - \delta_{ij}), \qquad P_{ij} = \langle u_i,v_j\rangle^2,

where δij\delta_{ij} is the Kronecker delta.

Spectral decomposition. By the definition of the Bregman matrix divergence,

BΦ(A,B)=Φ(A)−Φ(B)−Tr⁡(∇Φ(B)(A−B)).(14)B_{\Phi}(A,B) = \Phi(A) - \Phi(B) - \operatorname{Tr}\left(\nabla\Phi(B)(A-B)\right). \tag*{(14)}

Since Φ(M)=Tr⁡(f(M))\Phi(M) = \operatorname{Tr}(f(M)) is a spectral function, its gradient is given by ∇Φ(M)=f′(M)\nabla\Phi(M) = f'(M). Therefore, for B=VΩVTB = V\Omega V^{\mathsf{T}},

∇Φ(B)=Vf′(Ω)VT.\nabla\Phi(B) = V f'(\Omega)V^{\mathsf{T}}.

Let Q=UTVQ = U^{\mathsf{T}}V. Then QQ is orthogonal and Qij=⟨ui,vj⟩Q_{ij} = \langle u_i,v_j\rangle, so that Pij=Qij2P_{ij} = Q_{ij}^2. Using the cyclic property of the trace,

Tr⁡(∇Φ(B)A)=Tr⁡(Vf′(Ω)VTUΛUT)=Tr⁡(f′(Ω)QTΛQ)=∑i=1d∑j=1dλif′(ωj)Pij.(15)\operatorname{Tr}\left(\nabla\Phi(B)A\right) = \operatorname{Tr}\left(Vf'(\Omega)V^{\mathsf{T}}U\Lambda U^{\mathsf{T}}\right) = \operatorname{Tr}\left(f'(\Omega)Q^{\mathsf{T}}\Lambda Q\right) = \sum_{i=1}^{d}\sum_{j=1}^{d}\lambda_i f'(\omega_j)P_{ij}. \tag*{(15)}

Similarly, using VTV=IV^{\mathsf{T}}V = I,

Tr⁡(∇Φ(B)B)=Tr⁡(Vf′(Ω)VTVΩVT)=Tr⁡(f′(Ω)VTVΩVTV)=∑j=1dωjf′(ωj).(16)\operatorname{Tr}\left(\nabla\Phi(B)B\right) = \operatorname{Tr}\left(Vf'(\Omega)V^{\mathsf{T}}V\Omega V^{\mathsf{T}}\right) = \operatorname{Tr}\left(f'(\Omega)V^{\mathsf{T}}V\Omega V^{\mathsf{T}}V\right) = \sum_{j=1}^{d}\omega_j f'(\omega_j). \tag*{(16)}

Substituting Equations (15) and (16) into Equation (14) gives

BΦ(A,B)=∑i=1df(λi)−∑j=1df(ωj)+∑j=1dωjf′(ωj)−∑i=1d∑j=1dλif′(ωj)Pij.B_{\Phi}(A,B) = \sum_{i=1}^{d}f(\lambda_i) - \sum_{j=1}^{d}f(\omega_j) + \sum_{j=1}^{d}\omega_j f'(\omega_j) - \sum_{i=1}^{d}\sum_{j=1}^{d}\lambda_i f'(\omega_j)P_{ij}.

Adding and subtracting ∑i=1dλif′(ωi)\sum_{i=1}^{d}\lambda_i f'(\omega_i) yields

BΦ(A,B)=∑i=1d[f(λi)−f(ωi)−f′(ωi)(λi−ωi)]+∑i=1dλif′(ωi)−∑i=1d∑j=1dλif′(ωj)Pij=∑i=1ddf(λi,ωi)+∑i=1d∑j=1d−λif′(ωj)(Pij−δij)=∑i=1ddf(λi,ωi)+Δf(Λ,Ω;P).\begin{aligned} B_{\Phi}(A,B) &= \sum_{i=1}^{d}\left[f(\lambda_i)-f(\omega_i)-f'(\omega_i)(\lambda_i-\omega_i)\right] + \sum_{i=1}^{d}\lambda_i f'(\omega_i) - \sum_{i=1}^{d}\sum_{j=1}^{d}\lambda_i f'(\omega_j)P_{ij} \\ &= \sum_{i=1}^{d}d_f(\lambda_i,\omega_i) + \sum_{i=1}^{d}\sum_{j=1}^{d}-\lambda_i f'(\omega_j)(P_{ij}-\delta_{ij}) \\ &= \sum_{i=1}^{d}d_f(\lambda_i,\omega_i) + \Delta_f(\Lambda,\Omega;P). \end{aligned}

The first term measures eigenvalue mismatch for aligned eigenspaces; Δf\Delta_f is the cost of eigenspace misalignment.

Nonnegativity of Δf(Λ,Ω;P)\Delta_f(\Lambda,\Omega;P). Since QQ is orthogonal, Pij=Qij2P_{ij}=Q_{ij}^{2} is doubly stochastic. The Birkhoff–von Neumann theorem therefore gives P=∑kαkΠkP=\sum_k\alpha_k\Pi_k, where Πk\Pi_k are permutation matrices, αk≥0\alpha_k\ge0, and ∑kαk=1\sum_k\alpha_k=1. Both λi\lambda_i and f′(ωi)f'(\omega_i) are decreasing, since the eigenvalues are ordered and ff is convex. The rearrangement inequality says that pairing them in this order maximizes their product sum. Thus, for each permutation σk\sigma_k associated with Πk\Pi_k,

∑iλif′(ωσk(i))≤∑iλif′(ωi).\sum_i \lambda_i f'(\omega_{\sigma_k(i)})\le\sum_i \lambda_i f'(\omega_i).

Taking the weighted average gives

∑i,jλif′(ωj)Pij≤∑iλif′(ωi),\sum_{i,j}\lambda_i f'(\omega_j)P_{ij}\le\sum_i\lambda_i f'(\omega_i),

which proves Δf(Λ,Ω;P)≥0\Delta_f(\Lambda,\Omega;P)\ge0.

Divergence-Specific Spectral Penalties

We overlook the affine terms. For Frobenius, fF(x)=12x2f_{\mathrm{F}}(x)=\frac{1}{2}x^2 and fF′(x)=xf'_{\mathrm{F}}(x)=x, which gives

dF(λ,ω)=12(λ−ω)2.d_{\mathrm{F}}(\lambda,\omega)=\frac{1}{2}(\lambda-\omega)^2.

For von Neumann, fVN(x)=xlog⁡x−xf_{\mathrm{VN}}(x)=x\log x-x and fVN′(x)=log⁡xf'_{\mathrm{VN}}(x)=\log x, and hence

dVN(λ,ω)=λlog⁡λω−λ+ω.d_{\mathrm{VN}}(\lambda,\omega)=\lambda\log\frac{\lambda}{\omega}-\lambda+\omega.

For the square-root member, fSQ(x)=−4xf_{\mathrm{SQ}}(x)=-4\sqrt{x} and fSQ′(x)=−2x−1/2f'_{\mathrm{SQ}}(x)=-2x^{-1/2}, giving

dSQ(λ,ω)=2(ω+λω−2λ).d_{\mathrm{SQ}}(\lambda,\omega)=2\left(\sqrt{\omega}+\frac{\lambda}{\sqrt{\omega}}-2\sqrt{\lambda}\right).

For LogDet, fKL(x)=−log⁡xf_{\mathrm{KL}}(x)=-\log x and fKL′(x)=−1/xf'_{\mathrm{KL}}(x)=-1/x, which yields

dKL(λ,ω)=log⁡ωλ+λω−1.d_{\mathrm{KL}}(\lambda,\omega)=\log\frac{\omega}{\lambda}+\frac{\lambda}{\omega}-1.

Setting ω=rλ\omega=r\lambda gives Equation (6), which establishes the scalar scale dependence in Equation (5). By using the exponents qDq_{\mathrm{D}} in Proposition 1, Frobenius and KL give

ΔF(rΛ,rΩ;P)=r2ΔF(Λ,Ω;P),ΔKL(rΛ,rΩ;P)=ΔKL(Λ,Ω;P).\Delta_{\mathrm{F}}(r\Lambda,r\Omega;P)=r^2\Delta_{\mathrm{F}}(\Lambda,\Omega;P),\qquad\Delta_{\mathrm{KL}}(r\Lambda,r\Omega;P)=\Delta_{\mathrm{KL}}(\Lambda,\Omega;P).

For von Neumann, using ∑j=1d(Pij−δij)=0\sum_{j=1}^{d}(P_{ij}-\delta_{ij})=0, we obtain

ΔVN(rΛ,rΩ;P)=−r∑i=1d∑j=1dλilog⁡(rωj)(Pij−δij)=−rlog⁡r∑i=1dλi∑j=1d(Pij−δij)+rΔVN(Λ,Ω;P)=rΔVN(Λ,Ω;P).\begin{aligned} \Delta_{\mathrm{VN}}(r\Lambda,r\Omega;P)&=-r\sum_{i=1}^{d}\sum_{j=1}^{d}\lambda_i\log(r\omega_j)(P_{ij}-\delta_{ij})\\ &=-r\log r\sum_{i=1}^{d}\lambda_i\sum_{j=1}^{d}(P_{ij}-\delta_{ij})+r\Delta_{\mathrm{VN}}(\Lambda,\Omega;P)\\ &=r\Delta_{\mathrm{VN}}(\Lambda,\Omega;P). \end{aligned}

For SQ, fSQ′(ω)=−2ω−1/2f'_{\mathrm{SQ}}(\omega)=-2\omega^{-1/2} gives ΔSQ(rΛ,rΩ;P)=r1/2ΔSQ(Λ,Ω;P)\Delta_{\mathrm{SQ}}(r\Lambda,r\Omega;P)=r^{1/2}\Delta_{\mathrm{SQ}}(\Lambda,\Omega;P) directly. Therefore, for D∈{F,VN,SQ,KL}\mathrm{D}\in\{\mathrm{F},\mathrm{VN},\mathrm{SQ},\mathrm{KL}\},

ΔD(rΛ,rΩ;P)=rqDΔD(Λ,Ω;P),r>0.\Delta_{\mathrm{D}}(r\Lambda,r\Omega;P)=r^{q_{\mathrm{D}}}\Delta_{\mathrm{D}}(\Lambda,\Omega;P),\qquad r>0.

Reciprocal Asymmetry

Substituting rr and r−1r^{-1} into Equation (6) proves Equation (7). For F, (r−1)2>(r−1−1)2(r-1)^2>(r^{-1}-1)^2 when r>1r>1; for SQ, the two penalties are equal. For VN and KL, the differences are λh(r)\lambda h(r) and −h(r)-h(r), respectively, where h(r):=r−r−1−2log⁡rh(r):=r-r^{-1}-2\log r. Since h(1)=0h(1)=0 and h′(r)=(r−1)2/r2>0h'(r)=(r-1)^2/r^2>0 for r>1r>1, VN penalizes overestimation more, while KL penalizes underestimation more.

Kronecker Approximations

Let C∈S++mnC \in\mathbb{S}_{++}^{mn} have eigenpairs (λi,ui)(\lambda_i, u_i) ordered by decreasing eigenvalue, and let LL and RR have eigenpairs (ℓa,vL,a)(\ell_a, v_{L,a}), a=1,…,ma = 1, \ldots, m, and (ρb,vR,b)(\rho_b, v_{R,b}), b=1,…,nb = 1, \ldots, n, respectively. Sort the mnmn eigenvalue products ℓaρb\ell_a\rho_b in decreasing order. If the jj-th product comes from the aa-th eigenvalue of LL and the bb-th eigenvalue of RR, write aj=aa_j = a and bj=bb_j = b. The corresponding eigenpair of S=L⊗RS = L \otimes R is

ωj=ℓajρbj,vj=vL,aj⊗vR,bj,j=1,…,mn.\omega_j = \ell_{a_j}\rho_{b_j}, \qquad v_j = v_{L,a_j} \otimes v_{R,b_j}, \qquad j = 1, \ldots, mn.

Set Λ=diag⁡(λi)\Lambda= \operatorname{diag}(\lambda_i), Ω=diag⁡(ωj)\Omega= \operatorname{diag}(\omega_j), and Pij=∣⟨ui,vj⟩∣2P_{ij} = \lvert\langle u_i, v_j\rangle\rvert^2 as in Proposition 2. We can obtain:

BΦq(C,L⊗R)=∑i=1mndq(λi,ℓaiρbi)⏟eigenvalue mismatch+Δq(Λ,Ω;P)⏟eigenspace misalignment,Δq(Λ,Ω;P)≥0.\mathcal{B}_{\Phi_q}(C, L \otimes R) = \underbrace{\sum_{i=1}^{mn} d_q(\lambda_i, \ell_{a_i}\rho_{b_i})}_{\text{eigenvalue mismatch}} + \underbrace{\Delta_q(\Lambda, \Omega; P)}_{\text{eigenspace misalignment}}, \qquad\Delta_q(\Lambda, \Omega; P) \ge0.

For Kronecker approximations, both mismatch terms retain the scaling relations in Equation (5), and the scalar penalties still satisfy the reciprocal-error comparisons in Equation (7).

Proof of Proposition 4

We only prove the result for the left factor; the right-factor result follows symmetrically. Let A:=R⋆ΦDA := R_{\star}^{\Phi_D}, L~D:=L⋆−1/2L^DL⋆−1/2\widetilde{L}_D := L_{\star}^{-1/2}\widehat{L}_D L_{\star}^{-1/2}. By Equation (10), we have

L~D=1N∑b=1NMb,Mb:=ZbAZbTTr⁡(A).\widetilde{L}_D = \frac{1}{N}\sum_{b=1}^{N} M_b, \qquad M_b := \frac{Z_b A Z_b^{\mathsf{T}}}{\operatorname{Tr}(A)}.

Let ziTz_i^{\mathsf{T}} denote the ii-th row of ZbZ_b, so zi∼N(0,In)z_i \sim\mathcal{N}(0, I_n). Then

E[(ZbAZbT)ij]=E[ziTAzj]={Tr⁡(A),i=j,0,i≠j,\mathbb{E}\left[(Z_b A Z_b^{\mathsf{T}})_{ij}\right] = \mathbb{E}[z_i^{\mathsf{T}} A z_j] = \begin{cases} \operatorname{Tr}(A), & i = j,\\ 0, & i \ne j, \end{cases}

where we use E[ziziT]=I\mathbb{E}[z_i z_i^{\mathsf{T}}] = I and the independence of different rows. Hence, E[ZbAZbT]=Tr⁡(A)I\mathbb{E}[Z_b A Z_b^{\mathsf{T}}] = \operatorname{Tr}(A)I and E[Mb]=I\mathbb{E}[M_b] = I. Using L~D−I=1/N∑b=1N(Mb−I)\widetilde{L}_D - I = 1/N \sum_{b=1}^{N}(M_b - I), we obtain

E[∥L~D−I∥F2]=1N2∑b,c=1NE[⟨Mb−I,Mc−I⟩F].\mathbb{E}\left[\left\|\widetilde{L}_D - I\right\|_F^2\right] = \frac{1}{N^2}\sum_{b,c=1}^{N}\mathbb{E}\left[\langle M_b - I, M_c - I\rangle_F\right].

For b≠cb \ne c, independence together with E[Mb−I]=0\mathbb{E}[M_b - I] = 0 gives

E[⟨Mb−I,Mc−I⟩F]=0.\mathbb{E}\left[\langle M_b - I, M_c - I\rangle_F\right] = 0.

Hence, only the NN diagonal terms remain, yielding

E[∥L~D−I∥F2]=1NE[∥M1−I∥F2].(17)\mathbb{E}\left[\left\|\widetilde{L}_D - I\right\|_F^2\right] = \frac{1}{N}\mathbb{E}\left[\left\|M_1 - I\right\|_F^2\right]. \tag*{(17)}

Let ziTz_i^{\mathsf{T}} denote the ii-th row of Z1Z_1. For the diagonal entries, (M1)ii=ziTAziTr⁡(A)(M_1)_{ii} = \frac{z_i^{\mathsf{T}} A z_i}{\operatorname{Tr}(A)}. Since zi∼N(0,In)z_i \sim\mathcal{N}(0, I_n) and AA is symmetric, the Gaussian quadratic-form identity Var⁡(ziTAzi)=2Tr⁡(A2)\operatorname{Var}(z_i^{\mathsf{T}} A z_i) = 2\operatorname{Tr}(A^2) gives

E[((M1)ii−1)2]=2Tr⁡(A2)Tr⁡(A)2.\mathbb{E}\left[((M_1)_{ii} - 1)^2\right] = \frac{2\operatorname{Tr}(A^2)}{\operatorname{Tr}(A)^2}.

For i≠ji \ne j, using the independence of ziz_i and zjz_j and E[zjzjT]=I\mathbb{E}[z_j z_j^{\mathsf{T}}] = I,

E[(ziTAzj)2]=E[ziTAE[zjzjT]Azi]=Tr⁡(A2),\mathbb{E}\left[(z_i^{\mathsf{T}} A z_j)^2\right] = \mathbb{E}\left[z_i^{\mathsf{T}} A\mathbb{E}[z_j z_j^{\mathsf{T}}] A z_i\right] = \operatorname{Tr}(A^2),

and therefore

E[(M1)ij2]=Tr⁡(A2)Tr⁡(A)2.\mathbb{E}\left[(M_1)_{ij}^2\right] = \frac{\operatorname{Tr}(A^2)}{\operatorname{Tr}(A)^2}.

Summing over the mm diagonal and m(m−1)m(m - 1) off-diagonal entries yields

E[∥M1−I∥F2]=m(m+1)Tr⁡(A2)Tr⁡(A)2=m(m+1)reff(A).\mathbb{E}\left[\left\|M_1 - I\right\|_F^2\right] = m(m + 1)\frac{\operatorname{Tr}(A^2)}{\operatorname{Tr}(A)^2} = \frac{m(m + 1)}{r_{\mathrm{eff}}(A)}.

Combining this with Equation (17) and dividing by mm gives

E[∥1mL⋆−1/2L^DL⋆−1/2−I∥F2]=m+1Nreff(R⋆qD).\mathbb{E}\left[\left\| \frac{1}{m}L_{\star}^{-1/2}\widehat{L}_{D}L_{\star}^{-1/2}-I\right\|_{F}^{2}\right]=\frac{m+1}{N r_{\mathrm{eff}}(R_{\star}^{q_D})}.

The right-factor identity follows by exchanging L⋆,mL_{\star},m with R⋆,nR_{\star},n.

It remains to compare the four exponents qDq_D. For positive eigenvalues {ρi}\{\rho_i\}, define h(q):=log⁡∑iρiqh(q):=\log\sum_i\rho_i^q and pi(q):=ρiq/∑jρjqp_i(q):=\rho_i^q/\sum_j\rho_j^q. Then

h′′(q)=∑ipi(q)(log⁡ρi)2−(∑ipi(q)log⁡ρi)2≥0.h^{\prime\prime}(q)=\sum_i p_i(q)(\log\rho_i)^2-\left(\sum_i p_i(q)\log\rho_i\right)^2\ge0.

so h′h^{\prime} is non-decreasing. Noting that the log effective rank is log⁡reff(R⋆q)=2h(q)−h(2q)\log r_{\mathrm{eff}}(R_{\star}^{q})=2h(q)-h(2q), we have

ddqlog⁡reff(R⋆q)=2h′(q)−2h′(2q)≤0,q≥0.\frac{d}{dq}\log r_{\mathrm{eff}}(R_{\star}^{q})=2h^{\prime}(q)-2h^{\prime}(2q)\le0,\qquad q\ge0.

Thus effective rank is decreasing in qDq_D. Evaluating at q=qDq=q_D gives

reff(R⋆qD)≤reff(R⋆)≤reff(R⋆1/2)≤reff(I)=n.r_{\mathrm{eff}}(R_{\star}^{q_D})\le r_{\mathrm{eff}}(R_{\star})\le r_{\mathrm{eff}}(R_{\star}^{1/2})\le r_{\mathrm{eff}}(I)=n.

Since the expected estimation error is proportional to the reciprocal of effective rank, we obtain

Err⁡KL≤Err⁡SQ≤Err⁡VN≤Err⁡F.\operatorname{Err}_{\mathrm{KL}}\le\operatorname{Err}_{\mathrm{SQ}}\le\operatorname{Err}_{\mathrm{VN}}\le\operatorname{Err}_{\mathrm{F}}.

The inequalities become equalities for an isotropic opposite-factor spectrum.

Local Geometry of SQ and KL

We compare the local penalties of SQ and KL through their Hessians. KL matches the Gaussian Fisher geometry up to a constant factor; SQ does not.

For S∈S++S\in\mathbb{S}_{++} and symmetric HH, Taylor expansion gives

BΦqD(S+εH,S)=ε22⟨H,∇2ΦqD(S)[H]⟩F+o(ε2).\mathcal{B}_{\Phi_{q_D}}(S+\varepsilon H,S)=\frac{\varepsilon^2}{2}\langle H,\nabla^2\Phi_{q_D}(S)[H]\rangle_F+o(\varepsilon^2).

Thus the Hessian determines the penalty for small perturbations. For eigenvalue perturbations, fqD′′(s)=sqD−2f_{q_D}^{\prime\prime}(s)=s^{q_D-2}, giving s−3/2s^{-3/2} for SQ and s−2s^{-2} for KL.

To compare this geometry with Gaussian Fisher information, consider the auxiliary model x∼N(0,S)x\sim\mathcal{N}(0,S) with density function pSp_S. The directional score for a symmetric perturbation HH is

sH(x):=DSlog⁡pS(x)[H]=12(xTS−1HS−1x−Tr⁡(S−1H)).s_H(x):=D_S\log p_S(x)[H]=\frac{1}{2}\left(x^{\mathsf{T}}S^{-1}HS^{-1}x-\operatorname{Tr}(S^{-1}H)\right).

Its second moment gives the Fisher quadratic form:

Ex∼pS[sH(x)2]=12Tr⁡(S−1HS−1H)=⟨H,IS[H]⟩F,IS[H]:=12S−1HS−1.\mathbb{E}_{x\sim p_S}[s_H(x)^2]=\frac{1}{2}\operatorname{Tr}(S^{-1}HS^{-1}H)=\langle H,\mathcal{I}_S[H]\rangle_F,\qquad\mathcal{I}_S[H]:=\frac{1}{2}S^{-1}HS^{-1}.

The KL generator satisfies

∇2Φ0(S)[H]=S−1HS−1=2IS[H].\nabla^2\Phi_0(S)[H]=S^{-1}HS^{-1}=2\mathcal{I}_S[H].

Hence its Hessian equals twice the Gaussian Fisher information operator [32]. SQ does not share the Gaussian Fisher geometry. At S=sIS=sI, its Hessian is s−3/2Hs^{-3/2}H, whereas the Gaussian Fisher operator is H/(2s2)H/(2s^2). Their ratio, 2s2\sqrt{s}, varies with ss, so they cannot agree. Among the four divergences, only KL has a Hessian proportional to the Gaussian Fisher operator for every S≻0S\succ0.

Preconditioner Update Details

We describe the factor updates of original Shampoo, PSGD-Kron, SQ-Shampoo, and KL-Shampoo, then specify the factor statistics, offline fitting procedure, and online EMA scheme used in our experiments.

Original Shampoo

In the EMA form of Shampoo (Gupta et al. [20]; Anil et al. [5]), the marginal statistics satisfy

Lt=β2Lt−1+(1−β2)GtGt⊤,Rt=β2Rt−1+(1−β2)Gt⊤Gt.L_t = \beta_2 L_{t-1} + (1-\beta_2)G_tG_t^\top,\qquad R_t = \beta_2 R_{t-1} + (1-\beta_2)G_t^\top G_t.

Ignoring momentum, the parameter update is Θt+1=Θt−ηtLt−pGtRt−p\Theta_{t+1} = \Theta_t - \eta_t L_t^{-p}G_tR_t^{-p}. This applies the inverse square root of St=Lt2p⊗Rt2pS_t = L_t^{2p} \otimes R_t^{2p}: p=1/4p = 1/4 for original Shampoo, while p=1/2p = 1/2 applies the inverse square root of Lt⊗RtL_t \otimes R_t.

PSGD-Kron, SQ-Shampoo, and KL-Shampoo

Under P=S−1/2P = S^{-1/2}, SQ-Shampoo shares PSGD’s population gradient-whitening objective (Equation (13)), but uses different factor updates.

Factor updates. PSGD parameterizes the preconditioner as P=Q⊤QP = Q^\top Q and optimizes QQ on a matrix Lie group (Li [30]). In the Kronecker form,

Q=QL⊗QR,P=PL⊗PR,PL:=QL⊤QL,PR:=QR⊤QR.Q = Q_L \otimes Q_R,\qquad P = P_L \otimes P_R,\qquad P_L := Q_L^\top Q_L,\qquad P_R := Q_R^\top Q_R.

With row-wise vectorization, the parameter update is Θt+1=Θt−ηtPL,tGtPR,t\Theta_{t+1} = \Theta_t - \eta_tP_{L,t}G_tP_{R,t}. For the original relative-gradient coordinates dQ=EQdQ = \mathcal{E}Q, the factors follow

QL,t+1=(I−μtRL,t)QL,t,QR,t+1=(I−μtRR,t)QR,t.Q_{L,t+1} = (I-\mu_t\mathcal{R}_{L,t})Q_{L,t},\qquad Q_{R,t+1} = (I-\mu_t\mathcal{R}_{R,t})Q_{R,t}.

where RL,t,RR,t\mathcal{R}_{L,t},\mathcal{R}_{R,t} are the factor-wise relative gradients of the whitening objective in Equation (1). The official implementation also provides other update geometries, including dQ=QEQdQ = Q\mathcal{E}Q.

Our SQ- and KL-Shampoo implementations follow the spectral EMA scheme of Lin et al. [32]. Both average the factor statistics over time, update eigenvalue estimates in the current eigenbases, and periodically refresh bases. The two methods differ in the statistics supplied to this scheme: SQ uses the square-root divergence statistics, while KL uses the KL statistics in Table 6. Algorithm 1 gives the full update.

MethodΨL(G;L,R)\Psi_L(G;L,R)ΨR(G;L,R)\Psi_R(G;L,R)
F-ShampooGRG⊤/Tr⁡(R2)GRG^\top/\operatorname{Tr}(R^2)G⊤LG/Tr⁡(L2)G^\top LG/\operatorname{Tr}(L^2)
VN-ShampooGG⊤/Tr⁡(R)GG^\top/\operatorname{Tr}(R)G⊤G/Tr⁡(L)G^\top G/\operatorname{Tr}(L)
SQ-ShampooGR−1/2G⊤/Tr⁡(R1/2)GR^{-1/2}G^\top/\operatorname{Tr}(R^{1/2})G⊤L−1/2G/Tr⁡(L1/2)G^\top L^{-1/2}G/\operatorname{Tr}(L^{1/2})
KL-ShampooGR−1G⊤/nGR^{-1}G^\top/nG⊤L−1G/mG^\top L^{-1}G/m

Table 6. Instantaneous factor statistics for the Shampoo variants.

MethodPopulation objectiveFactor updates discussed here
PSGD-KronSQ divergenceOriginal relative-gradient steps; other geometries are available
SQ-ShampooSQ divergenceSpectral EMA of SQ statistics
KL-ShampooKL divergenceSpectral EMA of KL statistics

Table 5. Objectives and update schemes discussed here. Objectives are expressed in SS, up to positive scale and additive constants; the PSGD row refers to gradient whitening.

Divergence-Based Factor Statistics

Table 6 gives the factor statistics for F-, VN-, SQ-, and KL-Shampoo, obtained by setting q=qDq = q_D in Equation (4). These statistics define both the offline and online updates that follow. For SQ-Shampoo, q=1/2q = 1/2 gives the bilateral fixed-point iteration

L(k+1)=E[G(R(k))−1/2G⊤]Tr⁡((R(k))1/2),R(k+1)=E[G⊤(L(k))−1/2G]Tr⁡((L(k))1/2).L^{(k+1)} = \frac{\mathbb{E}[G(R^{(k)})^{-1/2}G^\top]}{\operatorname{Tr}((R^{(k)})^{1/2})},\qquad R^{(k+1)} = \frac{\mathbb{E}[G^\top(L^{(k)})^{-1/2}G]}{\operatorname{Tr}((L^{(k)})^{1/2})}.

Offline Fixed-Point Fits

Given NN gradients, the offline bilateral rule for F-, VN-, SQ-, and KL-Shampoo is

L~D(k+1):=1N∑b=1NΨD,L(Gb;LD(k),RD(k)),R~D(k+1):=1N∑b=1NΨD,R(Gb;LD(k),RD(k)),\widetilde{L}_{\mathrm{D}}^{(k+1)} := \frac{1}{N}\sum_{b=1}^{N}\Psi_{\mathrm{D,L}}\left(G_b;L_{\mathrm{D}}^{(k)},R_{\mathrm{D}}^{(k)}\right),\qquad\widetilde{R}_{\mathrm{D}}^{(k+1)} := \frac{1}{N}\sum_{b=1}^{N}\Psi_{\mathrm{D,R}}\left(G_b;L_{\mathrm{D}}^{(k)},R_{\mathrm{D}}^{(k)}\right),

followed by under-relaxation,

LD(k+1)=(1−α)LD(k)+αL~D(k+1),RD(k+1)=(1−α)RD(k)+αR~D(k+1).L_{\mathrm{D}}^{(k+1)}=(1-\alpha)L_{\mathrm{D}}^{(k)}+\alpha\widetilde{L}_{\mathrm{D}}^{(k+1)},\qquad R_{\mathrm{D}}^{(k+1)}=(1-\alpha)R_{\mathrm{D}}^{(k)}+\alpha\widetilde{R}_{\mathrm{D}}^{(k+1)}.

We initialize L(0)=ImL^{(0)}=I_m and R(0)=InR^{(0)}=I_n, use α=0.3\alpha=0.3, and iterate to numerical convergence.

Remark on few-sample fitting. We later consider fits with N<mnN < mn, where the empirical second moment C^N:=N−1∑b=1NgbgbT\widehat{C}_N := N^{-1}\sum_{b=1}^{N}g_b g_b^{\mathsf{T}} is necessarily singular. This does not affect the iterations above: they require only positive-definite factors. For KL, the updates correspond to the criterion Tr⁡(C^NS−1)+log⁡det⁡S\operatorname{Tr}(\widehat{C}_N S^{-1})+\log\det S, with S=L⊗RS=L\otimes R, which remains finite for singular C^N\widehat{C}_N.

Online EMA Updates

Following the KL-Shampoo implementation of [32], the optimizer maintains factor accumulators (AL,AR)(A_L,A_R) for the eigenbases and separate eigenvalue estimates (λL,λR)(\lambda_L,\lambda_R). Writing L‾=QLDiag⁡(λL)QLT\overline{L}=Q_L\operatorname{Diag}(\lambda_L)Q_L^{\mathsf{T}} and R‾=QRDiag⁡(λR)QRT\overline{R}=Q_R\operatorname{Diag}(\lambda_R)Q_R^{\mathsf{T}}, Algorithm 1 applies to D∈{F,VN,SQ,KL}\mathrm{D}\in\{\mathrm{F},\mathrm{VN},\mathrm{SQ},\mathrm{KL}\}.

Algorithm 1 Online EMA update for a Shampoo variant

Require: Matrix gradients GtG_t, current momentum MtM_t, method D, second-moment EMA decay β2\beta_2, basis period TT, and initialized state (AL,AR,QL,QR,λL,λR)(A_L,A_R,Q_L,Q_R,\lambda_L,\lambda_R)

  1. for t=1,2,…t=1,2,\ldots do

  2. Form L‾=QLDiag⁡(λL)QLT\overline{L}=Q_L\operatorname{Diag}(\lambda_L)Q_L^{\mathsf{T}} and R‾=QRDiag⁡(λR)QRT\overline{R}=Q_R\operatorname{Diag}(\lambda_R)Q_R^{\mathsf{T}}

  3. Precondition MtM_t as M~t←QLDiag⁡(λL−1/2)QLTMtQRDiag⁡(λR−1/2)QRT\widetilde{M}_t\leftarrow Q_L\operatorname{Diag}(\lambda_L^{-1/2})Q_L^{\mathsf{T}}M_tQ_R\operatorname{Diag}(\lambda_R^{-1/2})Q_R^{\mathsf{T}}

  4. ΔL←ΨD,L(Gt;L‾,R‾)\Delta_L\leftarrow\Psi_{\mathrm{D,L}}(G_t;\overline{L},\overline{R}), ΔR←ΨD,R(Gt;L‾,R‾)\Delta_R\leftarrow\Psi_{\mathrm{D,R}}(G_t;\overline{L},\overline{R})

  5. AL←β2AL+(1−β2)ΔLA_L\leftarrow\beta_2A_L+(1-\beta_2)\Delta_L, AR←β2AR+(1−β2)ΔRA_R\leftarrow\beta_2A_R+(1-\beta_2)\Delta_R

  6. λL←β2λL+(1−β2)diag⁡(QLTΔLQL)\lambda_L\leftarrow\beta_2\lambda_L+(1-\beta_2)\operatorname{diag}(Q_L^{\mathsf{T}}\Delta_LQ_L)

  7. λR←β2λR+(1−β2)diag⁡(QRTΔRQR)\lambda_R\leftarrow\beta_2\lambda_R+(1-\beta_2)\operatorname{diag}(Q_R^{\mathsf{T}}\Delta_RQ_R)

  8. if t mod T=0t\bmod T=0 then

  9. Refresh QL,QRQ_L,Q_R from AL,ARA_L,A_R by eigendecomposition/QR, while preserving λL,λR\lambda_L,\lambda_R

  10. end if

  11. Return the preconditioned statistic M~t\widetilde{M}_t

  12. end for

The input Mt=β1Mt−1+(1−β1)GtM_t=\beta_1M_{t-1}+(1-\beta_1)G_t is the current momentum, with Mt=GtM_t=G_t when momentum is disabled. It is preconditioned before GtG_t is added into the preconditioner statistics. The coefficient β2\beta_2 controls the EMA of both the factor accumulators and eigenvalue estimates. In the EMA diagnostics, T=5T=5 for all four methods.

Synthetic Validation

We examine spectral error allocation and finite-sample stability using a smooth, long-tailed second moment that is not exactly Kronecker.

Experimental Setup

For matrix gradients Gb∈Rm×nG_b\in\mathbb{R}^{m\times n}, the empirical gradient second moment is

C^:=1N∑b=1NgbgbT,gb:=vecrow⁡(Gb).\widehat{C}:=\frac{1}{N}\sum_{b=1}^{N}g_b g_b^{\mathsf{T}},\qquad g_b:=\operatorname{vecrow}(G_b).

F-, VN-, SQ-, and KL-Shampoo share samples and use the offline updates in Appendix § 7.3. Table 7 shows the detailed settings.

Settingm×nm \times nNNAdditional parameters
Smooth long-tailed16×2416 \times244096scale =10−1=10^{-1}, σ=0.02\sigma=0.02

Table 7. Settings for the synthetic experiments.

Smooth long-tailed spectrum. We combine three matrix-normal components with different eigenvalue decay rates and orientations:

Gb:=10−1(∑k=13wkLkZbkRkT+σEb)(18)G_b := 10^{-1}\left(\sum_{k=1}^{3} w_k L_k Z_{bk} R_k^{\mathsf{T}} + \sigma E_b\right) \tag*{(18)}

where ZbkZ_{bk} and EbE_b have i.i.d. standard Gaussian terms. The weights (w1,w2,w3)=(1,0.3,0.15)(w_1,w_2,w_3)=(1,0.3,0.15) give the components different strengths. We control their eigenvalue decay through

Lk:=UkDiag⁡(i−pk/2)i=1m,Rk:=VkDiag⁡(j−pk/2)j=1n,L_k := U_k \operatorname{Diag}\left(i^{-p_k/2}\right)_{i=1}^{m}, \qquad R_k := V_k \operatorname{Diag}\left(j^{-p_k/2}\right)_{j=1}^{n},

where Uk,VkU_k,V_k are independently sampled orthogonal matrices and (p1,p2,p3)=(1.8,1.2,0.8)(p_1,p_2,p_3)=(1.8,1.2,0.8). The second-moment factors LkLkTL_kL_k^{\mathsf{T}} and RkRkTR_kR_k^{\mathsf{T}} have eigenvalues i−pki^{-p_k} and j−pkj^{-p_k}, respectively, so larger pkp_k gives faster decay. The resulting second moment is generally not a single Kronecker product. We also add isotropic noise with σ=0.02\sigma=0.02 and scale the gradients by 10−110^{-1}.

Fitting. We generate a fixed pool of 4096 gradients. All methods start from L=I16L=I_{16} and R=I24R=I_{24} and use a relaxation coefficient of 0.3. We stop when the sum of the two factors’ relative Frobenius changes falls below 10−1010^{-10}, or after 10,000 iterations.

Metrics and Results

For S:=L⊗RS := L \otimes R, let λi(M)\lambda_i(M) denote descending eigenvalues and UM,kU_{M,k} the leading kk eigenvectors. We measure cumulative eigenvalue error and leading-subspace overlap by

E(k):=1k∑i=1k∣log⁡10λi(S)λi(C^)∣,O(k):=1k∥U^C,kTUS,k∥F2.E(k) := \frac{1}{k}\sum_{i=1}^{k}\left|\log_{10}\frac{\lambda_i(S)}{\lambda_i(\widehat{C})}\right|, \qquad O(k) := \frac{1}{k}\left\|\widehat{U}_{C,k}^{\mathsf{T}}U_{S,k}\right\|_{F}^{2}.

Finite-sample stability. For each divergence DD, let SDrefS_D^{\mathrm{ref}} be its fit to the full 4096-sample pool and SN,rDS_{N,r}^{D} its fit to NN samples in repeat rr. We measure the squared relative Frobenius error

Erel,rD(N):=1mn∥(SDref)−1/2SN,rD(SDref)−1/2−Imn∥F2.(19)E_{\mathrm{rel},r}^{D}(N) := \frac{1}{mn}\left\|(S_D^{\mathrm{ref}})^{-1/2}S_{N,r}^{D}(S_D^{\mathrm{ref}})^{-1/2}-I_{mn}\right\|_{F}^{2}. \tag*{(19)}

This error is invariant to reciprocal factor rescaling. If SDref=L⋆⊗R⋆S_D^{\mathrm{ref}}=L_{\star}\otimes R_{\star} and SN,rD=L^D⊗R⋆S_{N,r}^{D}=\widehat{L}_{D}\otimes R_{\star}, it reduces to 1/m∥L^D−Im∥F21/m\|\widehat{L}_{D}-I_m\|_{F}^{2}, whose expectation is Err⁡DL\operatorname{Err}_{D}^{L} in Proposition 4. Here both factors are estimated jointly, and the reference is each method’s large-sample Kronecker fit.

We use 20 random permutations of the same pool and fit the first N∈{10,20,40,80,160,320,640}N\in\{10,20,40,80,160,320,640\} gradients. Figure 4 (right) plots 120∑r=120Erel,rD(N)\frac{1}{20}\sum_{r=1}^{20}E_{\mathrm{rel},r}^{D}(N).

Figure 7 shows that F prioritizes large eigenvalues but severely underestimates small ones; VN follows more mildly. SQ and KL have larger fitted tail eigenvalues. The mean stability errors follow KL << SQ << VN << F at every tested NN, consistent with the theoretical ordering despite jointly fitting the non-Kronecker second moment.

Figure 7. Smooth synthetic setting. From left to right: empirical and fitted spectra, cumulative spectral error, and leading-subspace overlap. Finite-sample stability is shown in Figure 4 (right).

Directional Gain Interventions on a Quadratic

We test whether gain differences explain the methods’ training performance by replacing KL’s leading or tail gains with those of F or SQ in a stochastic quadratic.

Setup. To model stochastic gradient noise, we use linear regression with squared loss ℓ(x;z,y)=12(zTx−y)2\ell(x; z, y) = \frac{1}{2}(z^{\mathsf{T}}x-y)^2, where z∼N(0,H)z \sim\mathcal{N}(0,H) and y∼N(0,1/6)y \sim\mathcal{N}(0,1/6) are independent. Its population loss is E[ℓ(x;z,y)]=12xTHx+1/12\mathbb{E}[\ell(x;z,y)] = \frac{1}{2}x^{\mathsf{T}}Hx + 1/12, so it is equivalent to the quadratic f(x)=12xTHxf(x) = \frac{1}{2}x^{\mathsf{T}}Hx. We set d=384d = 384 and H=dCtrue/Tr⁡(Ctrue)H = dC_{\mathrm{true}}/\operatorname{Tr}(C_{\mathrm{true}}), where CtrueC_{\mathrm{true}} is the population second moment of the generator in Equation (18). Each minibatch gradient averages B=64B = 64 sample gradients. Its population second moment is C(x)=E[gB(x)gB(x)T]C(x) = \mathbb{E}[g_B(x)g_B(x)^{\mathsf{T}}], with expectation over minibatch draws:

gB(x)=1B∑b=1Bzb(zbTx−yb),C(x)=(xTHx+1/6)HB+(1+1B)(Hx)(Hx)T.g_B(x) = \frac{1}{B}\sum_{b=1}^{B} z_b(z_b^{\mathsf{T}}x-y_b), \qquad C(x) = \frac{(x^{\mathsf{T}}Hx+1/6)H}{B}+\left(1+\frac{1}{B}\right)(Hx)(Hx)^{\mathsf{T}}.

At each step, we fit the Kronecker factors to 40 independent mini-batch gradients reshaped into 16×2416 \times24, then update with a separate mini-batch. We fit the factors using the offline updates in Appendix § 7.3, with no EMA.

We run F, VN, SQ, and KL for 1,000 steps at a shared learning rate η=2×10−3\eta= 2 \times10^{-3} (Figure 8). Within each seed, all methods share the same initialization and mini-batches. We initialize x0=H−1/2vx_0 = H^{-1/2}v, with a Gaussian vector vv normalized to norm 2, giving f(x0)=2f(x_0) = 2.

Figure 8. Quadratic training loss averaged over 3 seeds. Left: four methods. Middle and right: replacing KL gains from step 900. F gains raise loss in either region; SQ gains leave it close to KL.

Gain replacement. At the current xx, fit KL and the comparison method D∈{F,SQ}D \in\{F,\mathrm{SQ}\} to the same gradients. Write C(x)=UΛUTC(x) = U\Lambda U^{\mathsf{T}} in decreasing eigenvalue order and PD=(LD⊗RD)−1/2P_D = (L_D \otimes R_D)^{-1/2}. For selected directions I\mathcal{I}, set

ri={∥PDui∥/∥PKLui∥,i∈I,1,i∉I,P~=PKLUDiag⁡(ri)UT.r_i = \begin{cases} \lVert P_Du_i\rVert/\lVert P_{\mathrm{KL}}u_i\rVert, & i \in\mathcal{I},\\ 1, & i \notin\mathcal{I}, \end{cases} \qquad \widetilde{P} = P_{\mathrm{KL}}U\operatorname{Diag}(r_i)U^{\mathsf{T}}.

We replace KL’s gains in the first 39 (top 10%) or last 96 (bottom 25%) directions by rescaling each PKLuiP_{\mathrm{KL}}u_i to match ∥PDui∥\lVert P_Du_i\rVert. Starting from the same KL iterate at step 900, we continue to step 1,000 using the original training minibatches and learning rate, recomputing the factors and population eigenbasis at each step.

Results. F reaches the highest loss (Figure 8, left). Averaged over the last 20 updates and 3 seeds, KL achieves a loss of 0.00844. Replacing KL’s leading or tail gains with F’s raises the loss to 1.441 and 0.0333, respectively (middle and right). The corresponding SQ replacements yield 0.00857 and 0.00855, close to KL.

Real-Gradient Experimental Details

We analyze 128×128128 \times128 query, value, and attention-output gradients from block 5 of a 12-layer, four-head GPT-2 model trained with AdamW. We freeze the model at steps 100, 2500, and 4500, giving nine checkpoint-projection pairs. Table 8 summarizes the shared settings; Appendix § 7.5.§ 6 extends the diagnostics to Distributed Shampoo checkpoints.

All four methods retain their eigenvalue EMAs during each eigenbasis refresh. Reliability uses all splits. For gain calibration, split 0 supplies the fits and source eigenvectors; splits 1, 2, and 3 supply the held-out directional scales in § 5.2.

Numerical details. Second moments and eigendecompositions use FP64. We sort eigenvalues in decreasing order and retain those exceeding d×2−52d \times2^{-52} times the largest eigenvalue, where d=16,384d = 16{,}384 and 2−522^{-52} is FP64 machine precision. For reliability summaries, retained directions are grouped by rank into top 0–10%, middle 10–40%, lower 40–75%, and tail 75–100%.

Empirical Second Moments and Finite-Sample Effects

Finite-Sample Tail Selection

Cross-fit control. We take eigenvectors ub,iu_{b,i} of CbC_b from a third split bb and compare their scales on splits ss and tt:

ξb;s,t,icf:=log⁡10ub,iTCtub,iub,iTCsub,i,b∉{s,t}.\xi^{\mathrm{cf}}_{b;s,t,i} := \log_{10} \frac{u_{b,i}^{\mathsf{T}} C_t u_{b,i}}{u_{b,i}^{\mathsf{T}} C_s u_{b,i}}, \qquad b \notin\{s,t\}.

The direction ub,iu_{b,i} is therefore selected independently of both second-moment estimates being compared. We compare the six pairs with s<ts < t, using each remaining split to select directions. This gives 12 comparisons without reverse pairs that would cancel the signed log-ratios. Cross-fit scale errors have medians and IQRs near zero across the spectrum (Figure 9), supporting sampling-induced selection bias rather than distribution shift.

Selection bias. Another independent split estimates the population second moment along each source eigenvector. The identity below shows that underestimating the source eigenvalue raises the expected held-out ratio, with larger relative errors giving larger ratios. Let ρs→t,i:=10ξs→t,i\rho_{s\to t,i} := 10^{\xi_{s\to t,i}} denote the ratio before taking the logarithm in Equation (8).

Proposition 5 (Finite-Sample Tail Selection). Let Cs=C+EsC_s = C + E_s and Ct=C+EtC_t = C + E_t be independent empirical gradient second moments drawn from the same distribution, where EsE_s and EtE_t denote their zero-mean finite-sample estimation errors. For a source eigenpair Csus,i=λs,ius,iC_s u_{s,i} = \lambda_{s,i}u_{s,i} with λs,i>0\lambda_{s,i} > 0,

E[ρs→t,i∣Cs]=us,iTCus,iλs,i=1−us,iTEsus,iλs,i.(20)\mathbb{E}[\rho_{s\to t,i} \mid C_s] = \frac{u_{s,i}^{\mathsf{T}} C u_{s,i}}{\lambda_{s,i}} = 1 - \frac{u_{s,i}^{\mathsf{T}} E_s u_{s,i}}{\lambda_{s,i}}. \tag*{(20)}

Thus, if the source error along this direction is negative, us,iTEsus,i<0u_{s,i}^{\mathsf{T}}E_su_{s,i} < 0, its conditional expected held-out ratio is larger than one.

Proof. Conditional on CsC_s, the vector us,iu_{s,i} and the denominator λs,i\lambda_{s,i} are fixed. Independence and E[Ct]=C\mathbb{E}[C_t] = C give E[ρs→t,i∣Cs]=us,iTCus,i/λs,i\mathbb{E}[\rho_{s\to t,i} \mid C_s] = u_{s,i}^{\mathsf{T}} C u_{s,i}/\lambda_{s,i}. Substituting C=Cs−EsC = C_s - E_s yields Equation (20).

Why ratios rise toward the tail. Selecting directions with small sample eigenvalues can favor downward sampling fluctuations, so their scales may increase when evaluated on an independent split. In Equation (20), the downward estimation error is divided by the source eigenvalue λs,i\lambda_{s,i}. Small tail eigenvalues can therefore turn downward errors into large held-out ratios.

High-Dimensional Sampling and Tail Signals

Finite-sample spectral distortion is well documented in high-dimensional covariance estimation ([28, 7]), and similar selection bias has also been observed in minibatch Hessian and GGN estimates ([41]). With d/N=0.8d/N = 0.8, the spectral distortion observed here may partly be explained by Marčenko–Pastur-type spreading ([6]). However, this does not explain why the leading scales are much more consistent across splits than the tail. Prior work has reported alignment between the leading subspaces of the empirical second moment and the Hessian ([47, 33] (Wu et al. 2022)). This may help explain the stronger reproducibility of the leading scales, although the connection remains to be established.

Tail directions and learning signals. If class kk occurs with probability pkp_k and produces gradient g=akukg = a_k u_k, with orthonormal uku_k, then C=∑kpkak2ukukTC = \sum_k p_k a_k^2 u_k u_k^{\mathsf{T}}. For comparable ∣ak∣\lvert a_k\rvert, infrequent classes correspond to directions with small second-moment scales. This illustrates how tail directions can carry useful signals ([44, 24]). However, finite-sample noise can still severely underestimate their scales.

Reliability Across Checkpoints

Figure 9 shows held-out scale error for all 9 experiments. Table 9 reports all four regions, including absolute held-out scale error. We take the median over all directions in each region and all 12 comparisons within an experiment, then report the mean and sample standard deviation across the nine checkpoint-projection pairs per training optimizer.

Inverse-Root Gain Across Checkpoints

Figures 10–Figure 12 show the gains of large-sample fits, few-sample fits, and EMA states at all three checkpoints. Within each checkpoint-projection pair, all fits use the same split-0 directions and the same scales averaged over splits 1, 2, and 3 (Equation (11)). Evaluations use the numerically retained directions from split 0. The black solid curve shows the source preconditioner C0−1/2C_0^{-1/2}, with error 12log⁡10(hi/λ0,i)\frac{1}{2}\log_{10}(h_i/\lambda_{0,i}); the dashed line marks zero.

Figure 12. Held-out gain error on AdamW checkpoints at step 4500. Rows: large-sample fit, 40-sample fit, EMA with eigendecomposition every five steps.

Large-sample curves use one fit per method. Few-sample and EMA curves average held-out gain error over 4 repeats and 16 repeats, respectively. For Table 2, we take the median absolute held-out gain error over all retained directions and repeats within each experiment, then report the mean and sample standard deviation across nine experiments. This is median⁡(∣eD,i∣)\operatorname{median}(\lvert e_{D,i}\rvert), not ∣median⁡(eD,i)∣\lvert\operatorname{median}(e_{D,i})\rvert.

Figure 10. Held-out gain error on AdamW checkpoints at step 100. Rows: large-sample fit, 40-sample fit, EMA with eigendecomposition every five steps.

Few-Sample Fit ($N = 40$); legend F VN SQ KL $C_0$; y-axis Log Gain Error; x-axis Eigenvalue Index; ticks 0, 1, 3, 0.1, 0.2, 0.5, 4000, 8000, 12000, 16000

(a)

Few-Sample Fit ($N = 40$); legend F VN SQ KL $C_0$; y-axis Log Gain Error; x-axis Eigenvalue Index; ticks 0, 1, 3, 0.1, 0.2, 0.5, 4000, 8000, 12000

(b)

Few-Sample Fit ($N = 40$); legend F VN SQ KL $C_0$; y-axis Log Gain Error; x-axis Eigenvalue Index; ticks 0, 1, 3, 0.1, 0.2, 0.5, 4000, 8000, 12000, 16000

(c)

Online EMA ($\beta_2 = 0.95$); legend F VN SQ KL $C_0$; y-axis Log Gain Error; x-axis Eigenvalue Index; ticks 0, 1, 3, 0.1, 0.2, 0.5, 4000, 8000, 12000, 16000

(d)

Online EMA ($\beta_2 = 0.95$); legend F VN SQ KL $C_0$; y-axis Log Gain Error; x-axis Eigenvalue Index; ticks 0, 1, 3, 0.1, 0.2, 0.5, 4000, 8000, 12000

(e)

Online EMA ($\beta_2 = 0.95$); legend F VN SQ KL $C_0$; y-axis Log Gain Error; x-axis Eigenvalue Index; ticks 0, 1, 3, 0.1, 0.2, 0.5, 4000, 8000, 12000, 16000

(f) Held-out gain error on AdamW checkpoints at step 100 (continued).

Figure 10 (PDF p. 29).

Figure 11: Held-out gain error on AdamW checkpoints at step 2500. Rows: large-sample fit, 40-sample fit, EMA with eigendecomposition every five steps.

Query; Large-Sample Fit ($N = 20{,}480$); legend F VN SQ KL $C_0$; y-axis Log Gain Error; x-axis Eigenvalue Index

(a)

Value; Large-Sample Fit ($N = 20{,}480$); legend F VN SQ KL $C_0$; y-axis Log Gain Error; x-axis Eigenvalue Index

(b)

Output; Large-Sample Fit ($N = 20{,}480$); legend F VN SQ KL $C_0$; y-axis Log Gain Error; x-axis Eigenvalue Index

(c)

Query; Few-Sample Fit ($N = 40$); legend F VN SQ KL $C_0$; y-axis Log Gain Error; x-axis Eigenvalue Index

(d)

Value; Few-Sample Fit ($N = 40$); legend F VN SQ KL $C_0$; y-axis Log Gain Error; x-axis Eigenvalue Index

(e)

Output; Few-Sample Fit ($N = 40$); legend F VN SQ KL $C_0$; y-axis Log Gain Error; x-axis Eigenvalue Index

(f)

Query; Online EMA ($\beta_2 = 0.95$); legend F VN SQ KL $C_0$; y-axis Log Gain Error; x-axis Eigenvalue Index

(g)

Value; Online EMA ($\beta_2 = 0.95$); legend F VN SQ KL $C_0$; y-axis Log Gain Error; x-axis Eigenvalue Index

(h)

Output; Online EMA ($\beta_2 = 0.95$); legend F VN SQ KL $C_0$; y-axis Log Gain Error; x-axis Eigenvalue Index

(i)

Figure 11.

Kronecker Fits of Different Divergences

We compare fitted spectra across all nine checkpoint-projection pairs and show how fitted eigenvalues and eigenvectors determine gains. Each fit uses the same split-0 gradients as the empirical second moment (Figure 13).

Spectral preferences. F and VN put more weight on large eigenvalues and penalize overestimation more than reciprocal underestimation (Table 1). SQ gives large eigenvalues less weight and penalizes reciprocal errors equally. KL weights relative errors equally across scales and penalizes underestimation more strongly. These preferences help explain the larger fitted tail eigenvalues of SQ and KL in § 5.1.

How small eigenvalues increase gains. Let (ωD,j,vD,j)(\omega_{D,j}, v_{D,j}) be the eigenpairs of SDrefS_D^{\mathrm{ref}} in decreasing order, and write PD,ij:=⟨u0,i,vD,j⟩2P_{D,ij} := \langle u_{0,i}, v_{D,j} \rangle^2. Then

102eD,i=hi∑jPD,ijωD,j10^{2e_{D,i}} = h_i \sum_j \frac{P_{D,ij}}{\omega_{D,j}}

Each overlap is divided by a fitted eigenvalue, so even a small overlap can matter when that eigenvalue is tiny. Since ∑jPD,ij=1\sum_j P_{D,ij} = 1, we can also write

102eD,i=hiωD,i+hi∑j≠iPD,ij(1ωD,j−1ωD,i)10^{2e_{D,i}} = \frac{h_i}{\omega_{D,i}} + h_i \sum_{j \ne i} P_{D,ij} \left(\frac{1}{\omega_{D,j}} - \frac{1}{\omega_{D,i}}\right)

With aligned eigenvectors, only the first term remains. The second term shows how gains change when the fitted eigenvectors differ from the source eigenvectors.

Let ED,i\mathcal{E}_{D,i} be the total squared overlap with fitted eigenvectors whose eigenvalues satisfy ωD,j≤τ\omega_{D,j} \le\tau. Then

102eD,i≥hiED,iτ10^{2e_{D,i}} \ge\frac{h_i \mathcal{E}_{D,i}}{\tau}

If hi∈D,i>τh_i\in D,i > \tau, the gain exceeds the held-out target, even if the leading eigenvalues are fitted well.

Gain Recovery with Short Gradient Histories

Recovery is measured against each method’s own large-sample fit over all 16,384 reference directions (Equation (12)). For Figure 14, we first average the log gain ratios across 4 offline or 16 EMA repeats, and then average every 64 consecutive directions. For Table 3, we compute the median absolute log gain ratio over all directions and repeats without binning, and report the mean and sample SD across nine checkpoint-projection pairs.

Large-sample fit recovery on AdamW checkpoints at step 2500

Figure 14. Large-sample fit recovery on AdamW checkpoints at step 2500. Rows: F, VN, SQ, KL. Solid: 40-sample fits; dashed: EMA with eigendecomposition every five steps.

Figure 14 (PDF p. 32). Large-sample fit recovery on AdamW checkpoints at step 2500 (continued).

Diagnostics on Distributed Shampoo Checkpoints

We train the same GPT-2 model with Distributed Shampoo (Shi et al. [39]), using inverse-square-root factors and Adam grafting.

We use the same checkpoint steps, projections, gradient collection, fitting settings, and aggregation as for AdamW (Appendix § 7.5). All four divergences are fitted to the new gradients. Figure 15 shows step 2500; the main-text tables summarize all nine checkpoint-projection pairs.

Distributed Shampoo diagnostics at step 2500

Figure 15. Distributed Shampoo diagnostics at step 2500. Top: held-out scale error and cross-fit controls. Remaining rows: held-out gain error for large-sample fits, 40-sample fits (four repeats), and EMA (512 gradients, 16 repeats, eigendecomposition every five steps).

GPT-2 Training Details and Full Results

Models and data. The 12-layer models use the architecture from [22]. FineWeb provides 3B training tokens. Each run processes 2.67B tokens with sequence length 1024 and a global batch of 512 sequences.

Training settings. Grid searches at model widths up to 768 found nearly identical optimal learning rates across the tested optimizers. We therefore use a shared learning rate across optimizers at each larger width without further searches. Learning-rate tuning can absorb an overall gain offset, but cannot correct gain errors that vary across directions, layers, or checkpoints. Within each width, methods share initialization, data order, and learning rate (Table 10). We follow [32] for the other hyperparameters. The schedule uses 250 warmup steps, a constant-rate phase, and 1450 steps of linear decay. The embedding and other non-matrix valued parameters use AdamW with learning rate 0.0036, β=(0.9,0.95)\beta= (0.9, 0.95), and no weight decay.

WidthParams (M)LRFVNSQKL
25622.30.00243.82813.75733.74503.7475
51263.50.00243.50823.43773.41733.4180
768123.60.00183.39933.28763.26613.2660
1024202.50.00123.35283.19793.18243.1769
1536417.00.00083.31113.09723.08173.0758

Table 10. Final validation loss after 5, 100 steps; one run per configuration.

Training results. Table 10 supplements Table 4 with parameter counts and learning rates. Figure 16 shows the validation-loss trajectories from step 2,000 to the end of training.

Figure 16. Validation loss from step 2,000 at all five widths.

References

  1. [1]Naman Agarwal, Rohan Anil, Elad Hazan, Tomer Koren, and Cyril Zhang. Disentangling adaptive gradient methods from learning rates. arXiv preprint arXiv:2002.11803, 2020.arxiv.org/abs/2002.11803
  2. [2]Shun-Ichi Amari. Natural gradient works efficiently in learning. Neural Computation, 10(2):251– 276, 1998.
  3. [3]Shun-ichi Amari. Information geometry of positive measures and positive-definite matrices: De- composable dually flat structure. Entropy, 16(4):2131–2145, 2014.
  4. [4]Kang An, Yuxing Liu, Rui Pan, Yi Ren, Shiqian Ma, Donald Goldfarb, and Tong Zhang. ASGO: Adaptive structured gradient optimization. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025.
  5. [5]Rohan Anil, Vineet Gupta, Tomer Koren, Kevin Regan, and Yoram Singer. Scalable second order optimization for deep learning. arXiv preprint arXiv:2002.09018, 2020.arxiv.org/abs/2002.09018
  6. [6]Zhidong Bai and Jack W. Silverstein. Spectral analysis of large dimensional random matrices, volume 20. Springer, 2010.DOI
  7. [7]Daniel Bartz. Cross-validation based nonlinear shrinkage. arXiv preprint arXiv:1611.00798, 2016.arxiv.org/abs/1611.00798
  8. [8]Andrzej Cichocki and Shun-ichi Amari. Families of alpha-beta-and gamma-divergences: Flexible and robust measures of similarities. Entropy, 12(6):1532–1568, 2010.DOI
  9. [9]George E Dahl, Frank Schneider, Zachary Nado, Naman Agarwal, Chandramouli Shama Sastry, Philipp Henning, Sourabh Medapati, Runa Eschenhagen, Priya Kasimbeg, Daniel Suo, et al. Benchmarking neural network training algorithms. arXiv preprint arXiv:2306.07179, 2023.arxiv.org/abs/2306.07179
  10. [10]Inderjit S Dhillon and Joel A Tropp. Matrix nearness problems with bregman divergences. SIAM Journal on Matrix Analysis and Applications, 29(4):1120–1146, 2008.DOI
  11. [11]John Duchi, Elad Hazan, and Yoram Singer. Adaptive subgradient methods for online learning and stochastic optimization. Journal of Machine Learning Research, 12(61):2121–2159, 2011.
  12. [12]Pierre Dutilleul. The mle algorithm for the matrix normal distribution. Journal of Statistical Computation and Simulation, 64(2):105–123, 1999.DOI
  13. [13]Runa Eschenhagen, Alexander Immer, Richard Turner, Frank Schneider, and Philipp Hennig. Kronecker-factored approximate curvature for modern neural network architectures. Advances in Neural Information Processing Systems, 36:33624–33655, 2023.
  14. [14]Runa Eschenhagen, Aaron Defazio, Tsung-Hsien Lee, Richard E. Turner, and Hao-Jun Michael Shi. Purifying shampoo: Investigating shampoo’s heuristics by decomposing its preconditioner. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025.arxiv.org/abs/2506.03595
  15. [15]Runa Eschenhagen, Anna Cai, Tsung-Hsien Lee, and Hao-Jun Michael Shi. Clarifying shampoo: Adapting spectral descent to stochasticity and the parameter trajectory. arXiv preprint arXiv:2602.09314, 2026.arxiv.org/abs/2602.09314
  16. [16]Cole Franks, Rafael Oliveira, Akshay Ramachandran, and Michael Walter. Near optimal sample complexity for matrix and tensor normal models via geodesic convexity. The Annals of Statistics, 54(1):93–119, 2026.arxiv.org/abs/2110.07583
  17. [17]Kevin Frans, Sergey Levine, and Pieter Abbeel. A stable whitening optimizer for efficient neural network training. Advances in Neural Information Processing Systems, 38:174086–174110, 2025.
  18. [18]Kaixin Gao, Xiaolei Liu, Zhenghai Huang, Min Wang, Zidong Wang, Dachuan Xu, and Fan Yu. A trace-restricted kronecker-factored approximation to natural gradient. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 35, pp. 7519–7527, 2021.arxiv.org/abs/2011.10741
  19. [19]Roger Grosse and James Martens. A kronecker-factored approximate fisher matrix for convolution layers. In International Conference on Machine Learning, pp. 573–582. PMLR, 2016.arxiv.org/abs/1602.01407
  20. [20]Vineet Gupta, Tomer Koren, and Yoram Singer. Shampoo: Preconditioned stochastic tensor optimization. In International Conference on Machine Learning, pp. 1842–1850. PMLR, 2018.arxiv.org/abs/1802.09568
  21. [21]Tom Heskes. On “natural” learning and pruning in multilayered perceptrons. Neural Computation, 12(4):881–901, 2000.
  22. [22]Keller Jordan, Jeremy Bernstein, Brendan Rappazzo, @fern​bear.bsky.social, Boza Vlado, You Jiacheng, Franz Cesista, Braden Koszarsky, and @Grad62304977. modded-nanogpt: Speedrunning the nanogpt baseline, 2024. URL https://github.com/KellerJordan/modded-nanogpt.
  23. [23]Priya Kasimbeg, Frank Schneider, Runa Eschenhagen, Juhan Bae, Chandramouli Shama Sastry, Mark Saroufim, Boyuan Feng, Less Wright, Edward Z. Yang, Zachary Nado, Sourabh Medapati, Philipp Hennig, Michael Rabbat, and George E. Dahl. Accelerating neural network training: An analysis of the algoperf competition. In The Thirteenth International Conference on Learning Representations, 2025.arxiv.org/abs/2502.15015
  24. [24]Juno Kim, Eshaan Nichani, Denny Wu, Alberto Bietti, and Jason D Lee. Sharp capacity scaling of spectral optimizers in learning associative memory. arXiv preprint arXiv:2603.26554, 2026.arxiv.org/abs/2603.26554
  25. [25]Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations, 2015.arxiv.org/abs/1412.6980
  26. [26]Brian Kulis, Mátyás A Sustik, and Inderjit S Dhillon. Low-rank kernel learning with bregman matrix divergences. Journal of Machine Learning Research, 10(13):341–376, 2009.DOI
  27. [27]Frederik Kunstner, Lukas Balles, and Philipp Hennig. Limitations of the empirical fisher approximation for natural gradient descent. Advances in Neural Information Processing Systems, 32, 2019.arxiv.org/abs/1905.12558
  28. [28]Olivier Ledoit and Michael Wolf. Nonlinear shrinkage estimation of large-dimensional covariance matrices. The Annals of Statistics, 40(2):1024–1060, 2012. doi: 10.1214/12-AOS989.DOI
  29. [29]Xi-Lin Li. Preconditioned stochastic gradient descent. IEEE Transactions on Neural Networks and Learning Systems, 29(5):1454–1466, 2018.DOI
  30. [30]Xi-Lin Li. Preconditioner on matrix lie group for sgd. In International Conference on Learning Representations, 2019.arxiv.org/abs/1809.10232
  31. [31]Wu Lin, Felix Dangel, Runa Eschenhagen, Kirill Neklyudov, Augustinus Kristiadi, Richard E Turner, and Alireza Makhzani. Structured inverse-free natural gradient descent: Memory-efficient & numerically-stable kfac. In Forty-first International Conference on Machine Learning, 2024.
  32. [32]Wu Lin, Scott C. Lowe, Felix Dangel, Runa Eschenhagen, Zikun Xu, and Roger Baker Grosse. Understanding and improving shampoo and SOAP via kullback-leibler minimization. In The Fourteenth International Conference on Learning Representations, 2026.
  33. [33]Bing Liu, Wenjie Zhou, and Chengcheng Zhao. Rethinking Bregman divergences in Kronecker-factored optimizers. In ICML Workshop on High-dimensional Learning Dynamics, 2026.arxiv.org/abs/2606.00542
  34. [34]James Martens and Roger Grosse. Optimizing neural networks with kronecker-factored approximate curvature. In International Conference on Machine Learning, pp. 2408–2417. PMLR, 2015.arxiv.org/abs/1503.05671
  35. [35]James Martens, Jimmy Ba, and Matt Johnson. Kronecker-factored curvature approximations for recurrent neural networks. In International Conference on Learning Representations, 2018.
  36. [36]Andrew McCormack and Peter Hoff. Information geometry and asymptotics for kronecker covariances. Bernoulli, 31(4):3165–3186, 2025.arxiv.org/abs/2308.02260
  37. [37]Depen Morwani, Itai Shapira, Nikhil Vyas, Eran Malach, Sham M Kakade, and Lucas Janson. A new perspective on shampoo’s preconditioner. In The Thirteenth International Conference on Learning Representations, 2025.arxiv.org/abs/2406.17748
  38. [38]Yi Ren and Donald Goldfarb. Tensor normal training for deep learning models. Advances in Neural Information Processing Systems, 34:26040–26052, 2021.arxiv.org/abs/2106.02925
  39. [39]Hao-Jun Michael Shi, Tsung-Hsien Lee, Shintaro Iwasaki, Jose Gallego-Posada, Zhijing Li, Kaushik Rangadurai, Dheevatsa Mudigere, and Michael Rabbat. A distributed data-parallel pytorch implementation of the distributed shampoo optimizer for training neural networks at-scale. arXiv preprint arXiv:2309.06497, 2023.
  40. [40]Minhak Song, Kwangjun Ahn, and Chulhee Yun. Does sgd really happen in tiny subspaces? In 13th International Conference on Learning Representations. International Conference on Learning Representations (ICLR), 2025.arxiv.org/abs/2405.16002
  41. [41]Lukas Nicola Tatzel, Bálint Mucsányi, Osane Hackel, and Philipp Hennig. Debiasing mini-batch quadratics for applications in deep learning. In International Conference on Learning Representations, volume 2025, pp. 41298–41337, 2025.arxiv.org/abs/2410.14325
  42. [42]Valentin Thomas, Fabian Pedregosa, Bart Merriënboer, Pierre-Antoine Manzagol, Yoshua Bengio, and Nicolas Le Roux. On the interplay between noise and curvature and its effect on optimization and generalization. In International Conference on Artificial Intelligence and Statistics, pp. 3503–3513. PMLR, 2020.arxiv.org/abs/1906.07774
  43. [43]Nikhil Vyas, Depen Morwani, Rosie Zhao, Itai Shapira, David Brandfonbrener, Lucas Janson, and Sham Kakade. Soap: Improving and stabilizing shampoo using adam for language modeling. In International Conference on Learning Representations, volume 2025, pp. 93423–93444, 2025.arxiv.org/abs/2409.11321
  44. [44]Shuche Wang, Fengzhuo Zhang, Jiaxiang Li, Cunxiao Du, Chao Du, Tianyu Pang, Zhuoran Yang, Mingyi Hong, and Vincent Tan. Muon outperforms adam in tail-end associative memory learning. In International Conference on Learning Representations, volume 2026, pp. 37382–37419, 2026.arxiv.org/abs/2509.26030
  45. [46]Ashley Zhang, Ben Keigwin, Dhruv Pai, and Alec Dewulf. Online kl shampoo. 2026. URL https://tildesresearch.com/blog/online-kl-shampoo.
  46. [47]Zhanxing Zhu, Jingfeng Wu, Bing Yu, Lei Wu, and Jinwen Ma. The anisotropic noise in stochastic gradient descent: Its behavior of escaping from sharp minima and regularization effects. In International Conference on Machine Learning, pp. 7654–7663. PMLR, 2019.arxiv.org/abs/1803.00195

Paper details

vlnc:W_aqpm6cb6
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents