Papers
Topics
Authors
Recent
Search
2000 character limit reached

Pro-KLShampoo: Enhancing KL-Shampoo Optimizers

Updated 4 July 2026
  • Pro-KLShampoo is a family of optimizers that reformulate KL-Shampoo by minimizing the KL divergence to achieve structured whitening using projection methods.
  • It reduces computational and memory overhead by employing low-rank approximations, QR-based orthogonalization, and BFloat16 storage reparameterization.
  • Empirical evaluations indicate that Pro-KLShampoo variants enhance training stability and efficiency in neural network pretraining compared to traditional methods.

Searching arXiv for the specified Pro-KLShampoo papers and closely related KL-Shampoo work. Pro-KLShampoo denotes a family of optimizer formulations built on KL-Shampoo, a Shampoo variant derived from minimizing the Kullback–Leibler divergence between a true gradient covariance and a Kronecker-structured approximation. In the literature supplied here, the term refers specifically to two 2026 developments: a projected, orthogonalization-based optimizer titled “Pro-KLShampoo: Projected KL-Shampoo with Whitening Recovered by Orthogonalization” (Sun et al., 7 May 2026), and a reparametrization framework for Shampoo-based methods titled “Reparametrizing Shampoo and SOAP for Subspace Basis Updates and BFloat16 Storage” (Milligan et al., 25 May 2026). Both works take KL-Shampoo as their point of departure, whose original formulation reframes Shampoo as covariance estimation under Gaussian assumptions and motivates a two-sided update through KL minimization rather than Frobenius-norm analysis (Lin et al., 3 Sep 2025). Across these papers, Pro-KLShampoo is characterized by attempts to preserve KL-Shampoo’s structured whitening behavior while reducing instability, memory cost, QR overhead, or precision sensitivity.

1. KL-Shampoo as the immediate precursor

KL-Shampoo begins from the observation that Shampoo maintains two Kronecker factors ARda×daA\in\mathbb R^{d_a\times d_a} and BRdb×dbB\in\mathbb R^{d_b\times d_b} to approximate the full second moment E[gg]E[g\,g^\top] of the flattened gradient gRdadbg\in\mathbb R^{d_a d_b}. Rather than analyzing these factors through Frobenius-norm bounds, the method treats gg as zero-mean Gaussian with covariance Σ=E[gg]+κI\Sigma = E[g\,g^\top]+\kappa I, and seeks a structured estimate C=ABC=A\otimes B by minimizing

DKL(N(0,Σ)N(0,C))=12[logdetC+Tr(ΣC1)]+const.D_{\mathrm{KL}}(\mathcal N(0,\Sigma)\,\|\,\mathcal N(0,C)) = \tfrac12[\log\det C + \mathrm{Tr}(\Sigma C^{-1})] + \mathrm{const}.

This viewpoint yields two central consequences. First, if one factor is fixed, the KL minimizer recovers a Shampoo-style update; specifically, under a one-sided restriction with C=(1/dbA)BC=(1/d_b\,A)\otimes B and B=IB=I, the minimizer satisfies

BRdb×dbB\in\mathbb R^{d_b\times d_b}0

which recovers Shampoo’s update with power BRdb×dbB\in\mathbb R^{d_b\times d_b}1. Second, the joint minimization produces coupled “ideal” equations,

BRdb×dbB\in\mathbb R^{d_b\times d_b}2

which motivate KL-Shampoo’s practical two-sided moving-average estimator (Lin et al., 3 Sep 2025).

The practical update uses the gradient matrix BRdb×dbB\in\mathbb R^{d_b\times d_b}3, forms

BRdb×dbB\in\mathbb R^{d_b\times d_b}4

updates

BRdb×dbB\in\mathbb R^{d_b\times d_b}5

and preconditions by

BRdb×dbB\in\mathbb R^{d_b\times d_b}6

The paper describes this as a principled proximal-gradient step on the KL objective. It further introduces a QR-based “fast” KL-Shampoo that maintains orthonormal bases BRdb×dbB\in\mathbb R^{d_b\times d_b}7 via QR every BRdb×dbB\in\mathbb R^{d_b\times d_b}8 steps and updates only diagonal eigenvalue vectors BRdb×dbB\in\mathbb R^{d_b\times d_b}9 between QR steps (Lin et al., 3 Sep 2025).

This KL perspective is the conceptual substrate from which later Pro-KLShampoo variants emerge. A plausible implication is that once Shampoo is interpreted as structured covariance estimation rather than merely matrix accumulation, low-rank restrictions, projected parametrizations, and orthogonalization-based approximations become natural design axes.

2. Core limitation identified in Shampoo and the role of KL minimization

The original KL-Shampoo analysis argues that prior Shampoo analyses obscured a limitation by centering the estimation problem around Frobenius-norm considerations. In empirical terms, the reported limitation appears as instability when Shampoo is used without Adam-style grafting. The paper states that across NanoGPT (123M), NanoRWKV7 (162M), Llama (134M), and NanoMoE (227M), Shampoo with E[gg]E[g\,g^\top]0 fails to train reliably when Adam-grafting is disabled, and that all 120 random-search runs diverged on RWKV7 under this condition. Under the same hyperparameter-search budget, KL-Shampoo trains stably without Adam (Lin et al., 3 Sep 2025).

The same work contrasts three optimizer families. Shampoo updates factors through E[gg]E[g\,g^\top]1 and its transpose and needs Adam grafting if QR is infrequent. SOAP augments Shampoo with an extra RMSProp-style diagonal update in the eigenbasis of E[gg]E[g\,g^\top]2, which incurs an additional E[gg]E[g\,g^\top]3 vector. KL-Shampoo removes this heuristic addition by using the KL-derived two-sided factor updates and requiring only the Kronecker eigenvalues E[gg]E[g\,g^\top]4 and E[gg]E[g\,g^\top]5, rather than an extra E[gg]E[g\,g^\top]6-sized moment vector (Lin et al., 3 Sep 2025).

The reported empirical outcomes position KL-Shampoo as both stabilizing and competitive. On validation loss and perplexity, it matches or outperforms SOAP while using the same QR frequency, and in NanoGPT pretraining it achieves approximately E[gg]E[g\,g^\top]7–E[gg]E[g\,g^\top]8 lower loss after E[gg]E[g\,g^\top]9 B tokens than SOAP, and approximately gRdadbg\in\mathbb R^{d_a d_b}0 better than Shampoo with grafting. The same summary also notes a tensor-valued extension on NanoMoE that outperforms baseline Shampoo variants (Lin et al., 3 Sep 2025).

Within the Pro-KLShampoo lineage, these claims are significant because later variants do not abandon KL-Shampoo’s two-sided covariance logic; instead, they attempt to compress or reparametrize it. This suggests that the primary object preserved across the family is not the exact state representation but the algebraic form of KL-derived whitening.

3. Projected KL-Shampoo with whitening recovered by orthogonalization

“Pro-KLShampoo: Projected KL-Shampoo with Whitening Recovered by Orthogonalization” (Sun et al., 7 May 2026) introduces a distinct optimizer under the Pro-KLShampoo name. Its central structural observation is that the eigenvalue spectra of KL-Shampoo’s Kronecker factors exhibit a “spike-and-flat” shape across layers, depths, and training stages in GPT-2 and LLaMA: a small number of dominant eigenvalues followed by an approximately uniform tail.

The paper provides an exact explanation under a rank-gRdadbg\in\mathbb R^{d_a d_b}1 signal-plus-noise model

gRdadbg\in\mathbb R^{d_a d_b}2

with gRdadbg\in\mathbb R^{d_a d_b}3, gRdadbg\in\mathbb R^{d_a d_b}4 deterministic and gRdadbg\in\mathbb R^{d_a d_b}5 i.i.d. zero-mean noise with variance gRdadbg\in\mathbb R^{d_a d_b}6. For stationary points gRdadbg\in\mathbb R^{d_a d_b}7 of

gRdadbg\in\mathbb R^{d_a d_b}8

the right factor satisfies

gRdadbg\in\mathbb R^{d_a d_b}9

so that gg0 has exactly gg1 identical bottom eigenvalues, yielding a perfect spike-and-flat spectrum (Sun et al., 7 May 2026).

To exploit this, the method restricts the larger Kronecker factor to the parametric family

gg2

Here gg3 tracks the top-gg4 eigenspace of the whitened second moment gg5, gg6 stores the full spectrum on that subspace, and gg7 collapses the remaining gg8 directions to a single scalar. The associated stationarity conditions are

gg9

with Σ=E[gg]+κI\Sigma = E[g\,g^\top]+\kappa I0. The paper also gives an upper bound on the approximation gap to full KL optimization, which vanishes when the tail eigenvalues are uniform (Sun et al., 7 May 2026).

The defining move of Pro-KLShampoo is then to recover per-direction whitening on the complement by orthogonalization rather than by explicitly estimating a full complement covariance. The preconditioned gradient decomposition is

Σ=E[gg]+κI\Sigma = E[g\,g^\top]+\kappa I1

The second term uses only scalar right-scaling on the complement. Pro-KLShampoo replaces it by its polar factor: Σ=E[gg]+κI\Sigma = E[g\,g^\top]+\kappa I2 The paper states that this algebraically exactly matches the full KL-Shampoo complement update in its eigenbasis, but without forming a large eigendecomposition (Sun et al., 7 May 2026).

Algorithmically, Pro-KLShampoo alternates over minibatches between projecting Σ=E[gg]+κI\Sigma = E[g\,g^\top]+\kappa I3 into the tracked subspace and its complement, updating exponential moving averages of Σ=E[gg]+κI\Sigma = E[g\,g^\top]+\kappa I4, Σ=E[gg]+κI\Sigma = E[g\,g^\top]+\kappa I5, and Σ=E[gg]+κI\Sigma = E[g\,g^\top]+\kappa I6, tracking the top-Σ=E[gg]+κI\Sigma = E[g\,g^\top]+\kappa I7 eigenspace of Σ=E[gg]+κI\Sigma = E[g\,g^\top]+\kappa I8 by a single QR step, and computing

Σ=E[gg]+κI\Sigma = E[g\,g^\top]+\kappa I9

The paper reports that for C=ABC=A\otimes B0 with C=ABC=A\otimes B1 and C=ABC=A\otimes B2, memory drops from C=ABC=A\otimes B3 floats in KL-Shampoo to C=ABC=A\otimes B4, while the second factor’s QR cost is reduced from C=ABC=A\otimes B5 to C=ABC=A\otimes B6 and the right-factor state from size C=ABC=A\otimes B7 to C=ABC=A\otimes B8 (Sun et al., 7 May 2026).

4. Reparametrization, subspace QR, and BFloat16 storage

A second 2026 line, “Reparametrizing Shampoo and SOAP for Subspace Basis Updates and BFloat16 Storage” (Milligan et al., 25 May 2026), also addresses KL-Shampoo and related methods, but under a different notion of Pro-KLShampoo. Here the key idea is not a spike-and-flat model with orthogonalization; instead, it is a reparametrization of the preconditioner that supports BFloat16 storage and subspace basis updates.

For a weight matrix C=ABC=A\otimes B9, the paper writes Shampoo’s factors as DKL(N(0,Σ)N(0,C))=12[logdetC+Tr(ΣC1)]+const.D_{\mathrm{KL}}(\mathcal N(0,\Sigma)\,\|\,\mathcal N(0,C)) = \tfrac12[\log\det C + \mathrm{Tr}(\Sigma C^{-1})] + \mathrm{const}.0 and DKL(N(0,Σ)N(0,C))=12[logdetC+Tr(ΣC1)]+const.D_{\mathrm{KL}}(\mathcal N(0,\Sigma)\,\|\,\mathcal N(0,C)) = \tfrac12[\log\det C + \mathrm{Tr}(\Sigma C^{-1})] + \mathrm{const}.1, and recalls that KL-Shampoo and related QR-based variants replace expensive eigendecomposition with QR updates every DKL(N(0,Σ)N(0,C))=12[logdetC+Tr(ΣC1)]+const.D_{\mathrm{KL}}(\mathcal N(0,\Sigma)\,\|\,\mathcal N(0,C)) = \tfrac12[\log\det C + \mathrm{Tr}(\Sigma C^{-1})] + \mathrm{const}.2 steps. The reparametrization introduces the projected factor

DKL(N(0,Σ)N(0,C))=12[logdetC+Tr(ΣC1)]+const.D_{\mathrm{KL}}(\mathcal N(0,\Sigma)\,\|\,\mathcal N(0,C)) = \tfrac12[\log\det C + \mathrm{Tr}(\Sigma C^{-1})] + \mathrm{const}.3

where DKL(N(0,Σ)N(0,C))=12[logdetC+Tr(ΣC1)]+const.D_{\mathrm{KL}}(\mathcal N(0,\Sigma)\,\|\,\mathcal N(0,C)) = \tfrac12[\log\det C + \mathrm{Tr}(\Sigma C^{-1})] + \mathrm{const}.4. Storing DKL(N(0,Σ)N(0,C))=12[logdetC+Tr(ΣC1)]+const.D_{\mathrm{KL}}(\mathcal N(0,\Sigma)\,\|\,\mathcal N(0,C)) = \tfrac12[\log\det C + \mathrm{Tr}(\Sigma C^{-1})] + \mathrm{const}.5 is therefore equivalent to storing DKL(N(0,Σ)N(0,C))=12[logdetC+Tr(ΣC1)]+const.D_{\mathrm{KL}}(\mathcal N(0,\Sigma)\,\|\,\mathcal N(0,C)) = \tfrac12[\log\det C + \mathrm{Tr}(\Sigma C^{-1})] + \mathrm{const}.6. The paper argues that under this parametrization one does not need to materialize DKL(N(0,Σ)N(0,C))=12[logdetC+Tr(ΣC1)]+const.D_{\mathrm{KL}}(\mathcal N(0,\Sigma)\,\|\,\mathcal N(0,C)) = \tfrac12[\log\det C + \mathrm{Tr}(\Sigma C^{-1})] + \mathrm{const}.7 or DKL(N(0,Σ)N(0,C))=12[logdetC+Tr(ΣC1)]+const.D_{\mathrm{KL}}(\mathcal N(0,\Sigma)\,\|\,\mathcal N(0,C)) = \tfrac12[\log\det C + \mathrm{Tr}(\Sigma C^{-1})] + \mathrm{const}.8 in full precision; instead, one updates DKL(N(0,Σ)N(0,C))=12[logdetC+Tr(ΣC1)]+const.D_{\mathrm{KL}}(\mathcal N(0,\Sigma)\,\|\,\mathcal N(0,C)) = \tfrac12[\log\det C + \mathrm{Tr}(\Sigma C^{-1})] + \mathrm{const}.9, described as remaining nearly diagonal, in BFloat16 and rotates it in low-rank subspaces (Milligan et al., 25 May 2026).

The work proves algebraic equivalence between updates in the original and reparametrized systems. Given

C=(1/dbA)BC=(1/d_b\,A)\otimes B0

one computes a QR factorization

C=(1/dbA)BC=(1/d_b\,A)\otimes B1

and deduces

C=(1/dbA)BC=(1/d_b\,A)\otimes B2

The rotated projected factor then becomes

C=(1/dbA)BC=(1/d_b\,A)\otimes B3

According to the paper, these identities establish that updating C=(1/dbA)BC=(1/d_b\,A)\otimes B4 is algebraically equivalent to the original C=(1/dbA)BC=(1/d_b\,A)\otimes B5 QR update (Milligan et al., 25 May 2026).

The method then introduces subspace QR decomposition. Instead of factorizing the full C=(1/dbA)BC=(1/d_b\,A)\otimes B6 matrix C=(1/dbA)BC=(1/d_b\,A)\otimes B7, it updates only a block of size C=(1/dbA)BC=(1/d_b\,A)\otimes B8, for example C=(1/dbA)BC=(1/d_b\,A)\otimes B9 or B=IB=I0. Writing

B=IB=I1

it performs

B=IB=I2

forms the block-diagonal rotation B=IB=I3, and applies the same rotation formulas to B=IB=I4 and B=IB=I5. The paper gives the resulting cost as B=IB=I6 plus two block matrix multiplications of cost B=IB=I7, rather than B=IB=I8 (Milligan et al., 25 May 2026).

This version of Pro-KLShampoo is therefore best understood as a systems-oriented refinement of QR-based KL-Shampoo and SOAP: it preserves the optimizer algebra while reducing precision and basis-update overhead.

5. Computational profile and memory characteristics

The three papers jointly provide a detailed picture of the computational trade space surrounding KL-Shampoo and Pro-KLShampoo variants.

The original KL-Shampoo paper describes each iteration as requiring two small matrix–matrix multiplications, B=IB=I9 and BRdb×dbB\in\mathbb R^{d_b\times d_b}00, plus BRdb×dbB\in\mathbb R^{d_b\times d_b}01 elementwise operations for preconditioning, while QR incurs BRdb×dbB\in\mathbb R^{d_b\times d_b}02 every BRdb×dbB\in\mathbb R^{d_b\times d_b}03 steps, with BRdb×dbB\in\mathbb R^{d_b\times d_b}04 reported as working well. Its state consists of BRdb×dbB\in\mathbb R^{d_b\times d_b}05, BRdb×dbB\in\mathbb R^{d_b\times d_b}06, orthogonal bases BRdb×dbB\in\mathbb R^{d_b\times d_b}07, and eigenvalues BRdb×dbB\in\mathbb R^{d_b\times d_b}08, and it avoids SOAP’s extra BRdb×dbB\in\mathbb R^{d_b\times d_b}09 vector (Lin et al., 3 Sep 2025).

The projected-orthogonalization Pro-KLShampoo of (Sun et al., 7 May 2026) reduces the second Kronecker factor from BRdb×dbB\in\mathbb R^{d_b\times d_b}10 parameters to BRdb×dbB\in\mathbb R^{d_b\times d_b}11 by restricting it to a rank-BRdb×dbB\in\mathbb R^{d_b\times d_b}12 subspace plus flat tail, and it changes the leading compute from KL-Shampoo’s BRdb×dbB\in\mathbb R^{d_b\times d_b}13 matrix multiplication with BRdb×dbB\in\mathbb R^{d_b\times d_b}14 amortized QR to BRdb×dbB\in\mathbb R^{d_b\times d_b}15 with BRdb×dbB\in\mathbb R^{d_b\times d_b}16 QR. The explicit memory comparison given is BRdb×dbB\in\mathbb R^{d_b\times d_b}17 floats for KL-Shampoo versus BRdb×dbB\in\mathbb R^{d_b\times d_b}18 for Pro-KLShampoo (Sun et al., 7 May 2026).

The reparametrized Pro-KLShampoo of (Milligan et al., 25 May 2026) instead compares “vanilla KL-Shampoo” with “Pro-KLShampoo” in terms of matrix-multiplication-equivalent cost. Vanilla KL-Shampoo with full-basis QR every BRdb×dbB\in\mathbb R^{d_b\times d_b}19 steps is summarized as approximately BRdb×dbB\in\mathbb R^{d_b\times d_b}20 matrix-multiplication units plus preconditioning, whereas Pro-KLShampoo with projected updates and subspace QR is summarized as approximately BRdb×dbB\in\mathbb R^{d_b\times d_b}21 units plus the same preconditioning term. On memory, vanilla KL-Shampoo stores two BRdb×dbB\in\mathbb R^{d_b\times d_b}22 factors in FP32, while Pro-KLShampoo stores two BRdb×dbB\in\mathbb R^{d_b\times d_b}23 projected factors in BFP16 (Milligan et al., 25 May 2026).

The following table organizes these reported state reductions.

Method State description Reported reduction
KL-Shampoo BRdb×dbB\in\mathbb R^{d_b\times d_b}24 Avoids SOAP’s extra BRdb×dbB\in\mathbb R^{d_b\times d_b}25 vector
Pro-KLShampoo (Sun et al., 7 May 2026) BRdb×dbB\in\mathbb R^{d_b\times d_b}26 Right factor from BRdb×dbB\in\mathbb R^{d_b\times d_b}27 to BRdb×dbB\in\mathbb R^{d_b\times d_b}28
Pro-KLShampoo (Milligan et al., 25 May 2026) Projected factors BRdb×dbB\in\mathbb R^{d_b\times d_b}29 in BFP16 FP32 factors replaced by BFP16 projected factors

A plausible implication is that “Pro-KLShampoo” has become a label for multiple optimization pathways that target different bottlenecks in KL-Shampoo: one targets statistical structure in the spectrum, while the other targets numerical representation and basis-update mechanics.

6. Empirical behavior in pretraining workloads

The empirical record reported in these sources is concentrated on neural network pretraining, especially LLMs.

KL-Shampoo is described as stable without Adam grafting on NanoGPT (123M), NanoRWKV7 (162M), Llama (134M), and NanoMoE (227M), under the same 120-run hyperparameter search in which Shampoo without grafting fails to train reliably. On NanoGPT pretraining, KL-Shampoo is reported to achieve approximately BRdb×dbB\in\mathbb R^{d_b\times d_b}30–BRdb×dbB\in\mathbb R^{d_b\times d_b}31 lower loss after BRdb×dbB\in\mathbb R^{d_b\times d_b}32 B tokens than SOAP, and approximately BRdb×dbB\in\mathbb R^{d_b\times d_b}33 better than Shampoo with grafting; on NanoMoE, its tensor-Kronecker extension outperforms baseline Shampoo variants (Lin et al., 3 Sep 2025).

The projected-orthogonalization Pro-KLShampoo reports extensive pretraining results at four scales: GPT-2 124M and 350M on FineWeb-10B, and LLaMA 134M and 450M on C4. The paper states that Pro-KLShampoo consistently outperforms KL-Shampoo at every tested subspace rank BRdb×dbB\in\mathbb R^{d_b\times d_b}34 in validation loss, peak per-GPU memory, and wallclock time to reach each loss level. Concrete examples include GPT-2 124M, where KL-Shampoo reaches BRdb×dbB\in\mathbb R^{d_b\times d_b}35 versus Pro-KLShampoo BRdb×dbB\in\mathbb R^{d_b\times d_b}36, and LLaMA 450M, where the gap is BRdb×dbB\in\mathbb R^{d_b\times d_b}37. Reported peak per-GPU memory examples include BRdb×dbB\in\mathbb R^{d_b\times d_b}38 GiB on GPT-2 350M and BRdb×dbB\in\mathbb R^{d_b\times d_b}39 GiB on LLaMA 450M. Reported time-to-loss improvements relative to KL-Shampoo at matched loss are approximately BRdb×dbB\in\mathbb R^{d_b\times d_b}40 for GPT-2 124M, BRdb×dbB\in\mathbb R^{d_b\times d_b}41 for GPT-2 350M, BRdb×dbB\in\mathbb R^{d_b\times d_b}42 for LLaMA 134M, and BRdb×dbB\in\mathbb R^{d_b\times d_b}43 for LLaMA 450M (Sun et al., 7 May 2026).

The reparametrized Pro-KLShampoo emphasizes BFloat16 robustness and time-cost trade-offs. On nanoGPT (123 M) and Llama3 (119 M), switching from FP32 to BFP16 storage causes the original KL-Shampoo to degrade by up to BRdb×dbB\in\mathbb R^{d_b\times d_b}44 in test loss, whereas Pro-KLShampoo remains within BRdb×dbB\in\mathbb R^{d_b\times d_b}45 and slightly improves in one setting. For BRdb×dbB\in\mathbb R^{d_b\times d_b}46, full-basis QR in FP32 is reported as approximately BRdb×dbB\in\mathbb R^{d_b\times d_b}47 runtime, subspace QR with BRdb×dbB\in\mathbb R^{d_b\times d_b}48 as approximately BRdb×dbB\in\mathbb R^{d_b\times d_b}49, and matrix-multiply only as approximately BRdb×dbB\in\mathbb R^{d_b\times d_b}50. Greedy block selection is reported to outperform random block selection; a single subspace update with BRdb×dbB\in\mathbb R^{d_b\times d_b}51 and BRdb×dbB\in\mathbb R^{d_b\times d_b}52 matches full-basis test loss while saving approximately BRdb×dbB\in\mathbb R^{d_b\times d_b}53–BRdb×dbB\in\mathbb R^{d_b\times d_b}54 runtime. On Llama3 (313 M), BRdb×dbB\in\mathbb R^{d_b\times d_b}55 loses only BRdb×dbB\in\mathbb R^{d_b\times d_b}56 in loss while reducing wall-clock by approximately BRdb×dbB\in\mathbb R^{d_b\times d_b}57, and more frequent small-block updates recover most accuracy at still BRdb×dbB\in\mathbb R^{d_b\times d_b}58 lower runtime versus full basis (Milligan et al., 25 May 2026).

Because these evaluations are reported in different experimental programs, direct cross-paper ranking is not warranted from the supplied evidence alone. What can be stated is that both variants report gains relative to KL-Shampoo under the workloads they test.

7. Relationship to SOAP, Muon, and open questions

The Pro-KLShampoo literature is notable for placing KL-Shampoo in relation to two different neighboring optimizer families.

First, KL-Shampoo is repeatedly compared with SOAP. In the original KL-Shampoo work, SOAP is described as running an extra RMSProp-style diagonal update in the eigenbasis of BRdb×dbB\in\mathbb R^{d_b\times d_b}59, which requires an additional BRdb×dbB\in\mathbb R^{d_b\times d_b}60 vector. KL-Shampoo removes this heuristic component through KL-derived factor estimation and no extra BRdb×dbB\in\mathbb R^{d_b\times d_b}61 memories (Lin et al., 3 Sep 2025). The reparametrization paper then generalizes its projected-factor and subspace-QR construction to Shampoo-based methods employing QR, including KL-Shampoo, SOAP, and KL-SOAP, and states that it improves SOAP and KL-SOAP under BFP16 storage, enabling KL-SOAP to match or exceed KL-Shampoo (Milligan et al., 25 May 2026).

Second, the projected-orthogonalization Pro-KLShampoo directly links KL-Shampoo to Muon-style orthogonalization. The paper describes explicit Kronecker-factored preconditioning and orthogonalization of the gradient momentum as “two distinct frontiers,” typically developed in isolation, and proposes a hybrid in which a low-rank spectral restriction handles the spiked subspace while orthogonalization recovers whitening on the flat complement (Sun et al., 7 May 2026). This positioning matters conceptually because it reframes orthogonalization not as a separate optimizer family but as an exact algebraic surrogate for full KL-Shampoo whitening on a restricted complement.

Several limitations and unresolved issues are explicitly recorded. The original KL-Shampoo paper describes its results as preliminary and limited to language-model pretraining; vision and RL benchmarks remain to be tried. It also raises adaptive selection of QR frequency BRdb×dbB\in\mathbb R^{d_b\times d_b}62, and possible trade-offs introduced by mixed-precision or distributed variants (Lin et al., 3 Sep 2025). The reparametrization paper addresses mixed precision in part through BFloat16 storage, but it still depends on QR decomposition in FP32, since existing QR implementations require single-precision arithmetic and remain computationally expensive when preconditioning matrices are large (Milligan et al., 25 May 2026).

A common misconception would be to treat Pro-KLShampoo as a single canonical algorithm. The supplied literature shows instead that the label covers at least two technically distinct developments: one based on projected low-rank-plus-flat structure with orthogonalization (Sun et al., 7 May 2026), and another based on projected-factor reparametrization, subspace QR, and BFloat16 storage (Milligan et al., 25 May 2026). What unifies them is their dependence on KL-Shampoo’s KL-minimization perspective and their effort to preserve whitening quality while reducing practical bottlenecks.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Pro-KLShampoo.