betaFeedback

WorksComputer Science

How Inner Optimizers Shape Replica Scaling

Abstract

Training large language models (LLMs) across geographically distributed and poorly interconnected compute pools or data centers has become a topic of significant interest. This has led to increased study of local optimization methods such as DiLoco for LLMs, especially those that use local (or inner) adaptive or preconditioned optimizers, which are critical for high-performance LLM training. However, a central challenge remains: it is well known that increasing the number of model replicas (replica scaling) while fixing the total training budget leads to monotonically decreasing performance. Existing work has empirically demonstrated that the choice of inner optimizer (Muon v.s. AdamW) can significantly improve this trend, but offers only limited explanation of the performance difference. In this work, we consider a range of inner-optimizers and identify two important factors that impact replica scaling: (1) the covariance structure of the pseudo-gradients and (2) the impact of batch size on the pseudogradient's noise scale. Based on these insights, we theoretically and empirically demonstrate that whitening-based pre-conditioning is a powerful inner-optimizer desideratum. Our empirical evaluation extends the results to reveal that whitening-based inner-optimizers achieve strong replica scaling (for 8-96 replicas), with performance relative to DP improving as parameters and data are scaled.

Introduction

The computational scale of language-model training increasingly exceeds the capacity of a single site. Training across geographically separated clusters can pool otherwise fragmented resources, but the connectivity between these clusters is poor, leading to significant communication bottlenecks. Local optimization methods address this constraint by allowing replicas to optimize independently for several steps between parameter or pseudo-gradient averages [5, 6, 17] often drastically reducing the frequency of communication.

A central difficulty in practical local optimization is replica scaling: at a fixed token budget, increasing the number of replicas often degrades the final model performance [3] relative to its non-local data-parallel (DP) counterpart. This can limit the broad applicability of these methods. It has been shown that the replica scaling can improve with increasing model size [3]. Recent empirical results show that modifying either the inner optimizer [27] or the outer aggregation rule [9] can further improve the scalability and efficiency of distributed training. However, the impact of inner optimizers on scaling is not well understood. More broadly, the primary sources of divergence from standard non-local training are not well understood.

Classical analyses of local SGD and federated averaging study the discrepancy accumulated over multiple local steps, often with heterogeneous client data. The primary source of performance degradation is often attributed to client drift or other notions of divergence of model replicas along their trajectory [11]. Much of this work and theory [26, 11, 32] focuses on SGD and momentum SGD as the inner optimizer, a single local step from common parameters and optimizer states that commute with averaging: averaging the updates gives the same result as updating with the averaged gradient. Nonlinear adaptive inner optimizers need not satisfy this property and are much less well understood in the context of this literature. Notably, a discrepancy can arise on the first step, even with identical starting states and identically distributed data, because transforming each local gradient before averaging differs from transforming the averaged gradient. Understanding replica scaling therefore requires examining how the inner optimizer transforms gradient noise, in addition to how parameters drift over successive local steps.

In this work, we focus on a broad range of popular adaptive or preconditioner based optimizers and identify two critical properties that can greatly impact scaling: (a) the covariance structure of the pseudo-gradient induced by the local optimization (b) how the optimizers deal with statistical estimation of second moments in the low batch size setting.

Our contributions can be summarized as follows:

  • We demonstrate, both empirically and theoretically, the importance of the pseudogradient covariance structure induced by the choice of inner optimizer. Specifically, we link the choice of inner optimizer to the maximum discrepancy with respect to the DP update direction.

  • We identify the importance of appropriately scaling β2\beta_{2} when using second-moment optimizer states, validating our findings through theoretical analysis and experiments. This reveals that the recently introduced IsoLoCo method [9], using an Adam inner optimizer, can outperform the much more computationally expensive MuLoCo [27].

  • Our results demonstrate that using a SOAP [29] or SPlus [7] inner optimizer can lead to very effective replica scaling, obtaining significantly improved performance relative to existing methods from the literature (as much as 6% less degradation relative to DP at 96 replicas).

Related Work

Local-step methods and DiLoCo. Local SGD [26] and federated averaging [22] reduce communication by taking several local steps between averaging events. DiLoCo [5] adapts this to LLM pretraining by utilizing a large number of inner steps, AdamW [18] as the inner optimizer, and SGD with Nesterov momentum on the aggregated pseudo-gradients as the outer optimizer. Follow-ups relax synchrony [17] and overlap or shard the exchange of information between replicas [6]. Charles et al. (2025) establish scaling laws for DiLoCo and document the central difficulty we study: adding replicas at a fixed token budget degrades quality, with the optimal hyperparameters shifting as RR grows. Our analysis complements these scaling laws by tracing the degradation back to local state estimation and to the nonlinear optimizer transforms applied before aggregation. Local methods can also be complemented with local optimization by using Sparse parameter averaging [24] or Top-kk sparsification SparseLoCo [25]. IsoLoCo Horoi et al. [9] views DiLoCo’s outer step as task-arithmetic model merging and replaces plain pseudo-gradient averaging with Iso-C merging [20]. For each weight matrix, it takes the SVD of the averaged pseudo-gradient and replaces all singular values with their mean, giving UˉVˉT\bar{U}\bar{V}^{\mathsf{T}}. It then applies the usual Nesterov momentum outer step. This was shown to improve worker scaling over DiLoCo [9].

Small-batch training and adaptive-optimizer scaling rules. Scaling rules relate optimizer hyperparameters to batch size [19]; most directly, Marek et al. (2025) show that Adam trains stably at very small batches provided β2\beta_{2} is set so that the second moment’s half-life is fixed in tokens rather than in steps. Replica scaling in DiLoCo induces exactly this small-batch regime. each individual replica. § 4.4 transfers the β2\beta_2 scaling rule to replica scaling; to our knowledge this hasn’t been studied has not been studied in the local-step setting previously.

Spectral and second-order optimizers. Shampoo [8] preconditions with Kronecker-factored curvature estimates; SOAP [29] runs Adam in Shampoo’s eigenbasis; Muon [10] orthogonalizes matrix updates with no accumulated second-moment statistics. SPlus [7] retains Shampoo’s historical eigenbasis but signs momentum in that basis, avoiding cached eigenvalue magnitudes and SOAP’s additional coordinate-wise second moment. SPlus uses this instant-sign transformation independently in local DiLoCo replica bases; our focus is its distributed covariance and replica-scaling behavior. Controlled single-stream comparisons find the ranking horizon-dependent [31], while a recent multi-billion-parameter study reports a slight edge for a stabilized SOAP over Muon at very large batch, at the price of memory and numerical-stability engineering [13]. In the DiLoCo setting, MuLoCo [27] uses Muon as the inner optimizer and reports more directionally consistent pseudo-gradients as RR grows, while IsoLoCo [9] treats outer aggregation as model merging and isotropizes the aggregated pseudo-gradient. § 4 develops a complementary criterion: whether the stochastic update geometry emitted by each replica remains well conditioned under averaging.

Background: the DiLoCo Framework

The methods in this paper can be seen as an instance of Algorithm 1 which is a generalization of local optimization from Reddi et al. [23]; Douillard et al. [5] that utilizes both inner (on the local gradients) and outer optimization (on the pseudo-gradients). RR replicas start each round from the shared parameters, each runs HH steps of an inner optimizer on its own data stream. The resulting displacements Δr\Delta_r are uniformly averaged, and an outer optimizer applies the aggregate Δˉ\bar{\Delta} to the shared parameters from the start of the round. DiLoCo [5] instantiates the inner optimizer as AdamW and the outer as Nesterov momentum. For example MuLoCo [27] replaces the inner optimizer with Muon. IsoLoCo [9] isotropizes Δˉ\bar{\Delta} before the outer step. The inner optimizer states srs_r are never communicated: each is estimated locally from its replica’s data stream.

Algorithm 1 The DiLoCo framework. All methods studied here are instances of this algorithm.

Require: initial parameters θ(0)\theta^{(0)}; replicas r∈{1,…,R}r \in\{1,\ldots,R\}; inner steps HH; inner optimizer INNER with per-replica state srs_r; outer optimizer OUTER with state SS; global batch size BB;

  1. for outer round t=0,…,T−1t = 0,\ldots,T-1 do

  2.     for all replicas rr in parallel do

  3.         θr←θ(t)\theta_r \leftarrow\theta^{(t)}

  4.         for h=1,…,Hh = 1,\ldots,H do

  5.             g←∇L(θr;xr,h)g \leftarrow\nabla\mathcal{L}(\theta_r;x_{r,h})     ▹ local minibatch: B/RB/R tokens

  6.             (θr,sr)←INNER⁡(θr,g,sr)(\theta_r,s_r) \leftarrow\operatorname{INNER}(\theta_r,g,s_r)     ▹ srs_r is never synchronized

  7.         end for

  8.         Δr←θ(t)−θr\Delta_r \leftarrow\theta^{(t)}-\theta_r

  9.     end for

  10.     Δˉ←1R∑rΔr\bar{\Delta} \leftarrow\frac{1}{R}\sum_r \Delta_r     ▹ uniform average

  11.     (θ(t+1),S)←OUTER⁡(θ(t),Δˉ,S)(\theta^{(t+1)},S) \leftarrow\operatorname{OUTER}(\theta^{(t)},\bar{\Delta},S)     ▹ Nesterov momentum in DiLoCo

  12. end for

Inner Optimizers Impact on Replica Scaling

The transformations applied to local updates by local optimizers can have a significant impact on the final aggregated pseudo-gradient. We investigate how the choice of inner optimizer shapes the distribution of the resulting pseudo-gradients and their deviation from the corresponding non-local updates. § 4.1 introduces the optimizers considered in this work. § 4.2 separates the update error (relative to non-local steps with the same base optimizer) into a mean mismatch term and a stochastic error term. It shows how whitening controls the largest directional variance, and how matching covariance structures across replicas makes uniform averaging optimal. § 4.4 specializes this framework to one step from common state: under the stated Gaussian model, SPlus admits a scalar calibration that matches the DP mean to first order in the global proposal’s signal-to-noise ratio. Finally, Section 4.4 bounds the Adam mean mismatch caused by fresh-gradient second moments and explains how appropriately adjusting β2\beta_2 limits that bound as local batches shrink. It then isolates a complementary advantage of SPlus: retaining the estimated basis without relying on coordinatewise scale estimates to control the covariance term.

Background on Popular Optimizers

In this section we present a number of popular optimizers using a unified notation to facilitate their common analysis and comparison. In particular, we include recent matrix-based optimizers such as Muon and those in the Shampoo family. The optimizers differ in how they retain or remove the magnitudes of a momentum proposal before averaging across replicas. We write these transformations explicitly so their mean and covariance can be studied in the same framework.

Consider a matrix parameter with stochastic gradient G∈Rm×nG \in\mathbb{R}^{m \times n}. An optimizer returns a direction UU and an updated state after observing GG; its parameter displacement is Δ=ηvec⁡(U)\Delta= \eta\operatorname{vec}(U). We use subscripts t−1t-1 and tt for the incoming and updated optimizer states, respectively, and suppress the step index on the gradient and returned direction. The first-moment proposal is

Mt=β1Mt−1+(1−β1)G.(1)M_t = \beta_1 M_{t-1} + (1-\beta_1)G. \tag*{(1)}

We compare the following matrix-update cores, using standard EMA momentum to isolate their normalizations. For simplicity we omit standard deterministic bias corrections and weight decay from the presentation. The matrix-size scale γ\gamma of Muon is shown explicitly. All decay coefficients lie in [0,1)[0,1); numerical damping is denoted by ϵ>0\epsilon> 0.

Adam and Shampoo. Adam uses an entrywise second moment in parameter coordinates [14, 18]:

VA,t=β2VA,t−1+(1−β2)G⊙2,UAdam=Mt⊘(VA,t+ϵ).(2)V_{A,t} = \beta_2 V_{A,t-1} + (1-\beta_2)G^{\odot2}, \qquad U_{\mathrm{Adam}} = M_t \oslash\left(\sqrt{V_{A,t}}+\epsilon\right). \tag*{(2)}

Where UU is the update. Here, ⊙\odot and ⊘\oslash denote elementwise multiplication and division, respectively, with G⊙2G^{\odot2} representing the elementwise square. Shampoo instead maintains left and right Gram factors [8]:

Lt=β3Lt−1+(1−β3)GGT,Rt=β3Rt−1+(1−β3)GTG,L_t = \beta_3 L_{t-1} + (1-\beta_3)GG^{\mathsf{T}}, \qquad R_t = \beta_3 R_{t-1} + (1-\beta_3)G^{\mathsf{T}}G,
UShampoo=(Lt+ϵI)−1/4Mt(Rt+ϵI)−1/4.(3)U_{\mathrm{Shampoo}} = (L_t+\epsilon I)^{-1/4}M_t(R_t+\epsilon I)^{-1/4}. \tag*{(3)}

The above formulation is the canonical version of Shampoo. We note that some variants consider half-power instead of quarter [29]. We also note variants with grafting or additional normalizations are often used, which can impact the interpretation of the underlying preconditioner [16].

SOAP and SPlus. Let QL,QRQ_L,Q_R be orthogonal eigenvector matrices obtained from the historical Gram factors above. Their action is the matrix rotation

G~=QLTGQR,M~t=QLTMtQR.(4)\widetilde{G} = Q_L^{\mathsf{T}}GQ_R, \qquad\widetilde{M}_t = Q_L^{\mathsf{T}}M_tQ_R. \tag*{(4)}

SOAP (ShampO O with Adam in the Preconditioner’s eigenbasis) performs Adam-style normalization in this product basis [29]:

VS,t=β2VS,t−1+(1−β2)G~⊙2,V_{S,t} = \beta_2 V_{S,t-1} + (1-\beta_2)\widetilde{G}^{\odot2},
USOAP=QL[M~t⊘(VS,t+ϵ)]QRT.(5)U_{\mathrm{SOAP}} = Q_L\left[\widetilde{M}_t \oslash\left(\sqrt{V_{S,t}}+\epsilon\right)\right]Q_R^{\mathsf{T}}. \tag*{(5)}

In this work, we consider a signed update in a Shampoo basis, a variant of the recently introduced SPlus [7] optimizer, which does not utilize iterate averaging. This optimizer retains the momentum and historical basis but signs each projected entry:

USPlus=QLsign⁡(M~t)QRT,sign⁡(0)=0.(6)U_{\mathrm{SPlus}} = Q_L\operatorname{sign}(\widetilde{M}_t)Q_R^{\mathsf{T}}, \qquad\operatorname{sign}(0)=0. \tag*{(6)}

This approach can be seen as a simplified version of SOAP that removes the dependence on the second moment. In the following sections, we will further illustrate how this optimizer naturally arises in the context of local optimization with replica scaling. SOAP’s rotated normalization and SPlus sign transform have a whitening interpretation [29, 7, 16]. Section 4.2 gives the corresponding covariance identities under explicit assumptions and explains their impact on pseudo-gradient aggregation.

Muon. For a singular value decomposition Mt=UMΣMVMTM_t = U_M \Sigma_M V_M^{\mathsf{T}} on the nonzero singular subspace, ideal Muon returns

UMuon=γpolar⁡(Mt)=γUMVMT.(7)U_{\mathrm{Muon}} = \gamma\operatorname{polar}(M_t) = \gamma U_M V_M^{\mathsf{T}}. \tag*{(7)}

It replaces nonzero singular values by a common value [10]. In matched singular-vector coordinates, UMTMtVM=ΣMU_M^{\mathsf{T}}M_tV_M = \Sigma_M, so at its core Muon also has the form “rotate, remove magnitudes, rotate back.” Unlike SPlus, its basis is determined by the current proposal, not by historical covariance statistics. In practice, Newton-Schulz is used to approximate the polar map.

Impact of Covariance Structure on Local Optimization

We consider the general local optimization setting (under any local optimizer) and separate the error relative to the expected DP update with the same optimizer into two terms: (1) mean mismatch and (2) stochastic error. The covariance analysis in this subsection addresses the stochastic term; § 4.4 then addresses the mean mismatch. Following the pseudo-gradient interpretation of client displacements in Reddi et al. [23] and Wang et al. [30], we treat each replica’s complete local update as a random vector. All expectations and covariances below are conditional on the start-of-round parameters and the incoming optimizer states. Let Δr∈Rd\Delta_r \in\mathbb{R}^d be the complete HH-step displacement returned by replica rr. We decompose each local displacement into its conditional mean and a zero-mean stochastic component:

Δr=μr+εr,μr=E[Δr],E[εr]=0,Cr=Cov⁡(Δr).(8)\Delta_r = \mu_r + \varepsilon_r,\qquad\mu_r = \mathbb{E}[\Delta_r],\qquad\mathbb{E}[\varepsilon_r] = 0,\qquad C_r = \operatorname{Cov}(\Delta_r). \tag*{(8)}

Assume finite second moments, E[∥Δr∥22]<∞\mathbb{E}[\lVert\Delta_r\rVert_2^2] < \infty for all rr, and zero cross-replica noise covariances, Cov⁡(εr,εs)=0\operatorname{Cov}(\varepsilon_r,\varepsilon_s) = 0 for all r≠sr \ne s. Independent local data streams, conditional on the start-of-round parameters and optimizer states, are sufficient to ensure zero cross-replica noise covariances. Set Δˉ=R−1∑rΔr\bar{\Delta} = R^{-1}\sum_r \Delta_r and μˉ=R−1∑rμr\bar{\mu} = R^{-1}\sum_r \mu_r. Note that for the typical setting studied in Douillard et al. [5]; Thérien et al. [27] with i.i.d. data and identical incoming optimizer states, μr\mu_r is the same for all replicas.

We now consider dHDPd_H^{\mathrm{DP}}: the displacement of the same inner optimizer run for HH synchronized steps and same global batch size, in expectation. We allow a deterministic scalar calibration factor αR\alpha_R, and define

bR=αRμˉ−dHDP,Cagg=Cov⁡(Δˉ)=1R2∑rCr.(9)b_R = \alpha_R\bar{\mu} - d_H^{\mathrm{DP}},\qquad C_{\mathrm{agg}} = \operatorname{Cov}(\bar{\Delta}) = \frac{1}{R^2}\sum_r C_r. \tag*{(9)}

For H=1H = 1, αR\alpha_R can represent a step-size change, for example. We now consider the following decomposition of the error in any direction and the corresponding bound:

Proposition 1 (Directional error decomposition). The conditional bias–variance decomposition gives, for every unit vector qq,

E[(qT(αRΔˉ−dHDP))2]=(qTbR)2+αR2qTCaggq.(10)\mathbb{E}\left[\left(q^{\mathsf{T}}\left(\alpha_R\bar{\Delta} - d_H^{\mathrm{DP}}\right)\right)^2\right] = \left(q^{\mathsf{T}}b_R\right)^2 + \alpha_R^2 q^{\mathsf{T}}C_{\mathrm{agg}}q. \tag*{(10)}

Consequently, the largest directional error is

λmax⁡(bRbRT+αR2Cagg)≤∥bR∥22+αR2λmax⁡(Cagg).(11)\lambda_{\max}\left(b_Rb_R^{\mathsf{T}} + \alpha_R^2 C_{\mathrm{agg}}\right) \le\lVert b_R\rVert_2^2 + \alpha_R^2\lambda_{\max}(C_{\mathrm{agg}}). \tag*{(11)}

Proof. Subtract and add αRμˉ\alpha_R\bar{\mu}. Using the Rayleigh quotient gives (11).

The second term allows us to analyze the effect of inner optimizers that induce whitened updates. As we show below, whitening helps control the stochastic error by bounding the largest directional variance of the aggregated pseudo-gradient, while also promoting covariance matching across replicas. The mean mismatch term is more challenging to analyze; however in § 4.4 we derive explicit expressions and bounds for several inner optimizers under a single-local-step setting. Moreover we will show in the empirical results that this term is generally dominated in the largest noise direction.

Whitening and directional variance. A linear map PP whitens a covariance Σ\Sigma if PΣP⊤=IP\Sigma P^{\top}=I [12]; a prescribed scalar multiple gives a spherical covariance at another scale. For any covariance CC of dimension dd and trace τ\tau (fixed total variance), the following inequality holds:

λmax⁡(C)≥τ/d,with equality precisely when C=(τ/d)I.(12)\lambda_{\max}(C) \ge\tau/d,\qquad\text{with equality precisely when } C=(\tau/d)I. \tag*{(12)}

Thus, isotropy minimizes the largest directional variance at fixed total variance, precisely the covariance quantity appearing in (11). Moreover, a bound on the maximum directional variance of each replica carries over to the aggregate:

λmax⁡(Cagg)≤1R2∑rλmax⁡(Cr).\lambda_{\max}(C_{\mathrm{agg}}) \le\frac{1}{R^2}\sum_r \lambda_{\max}(C_r).

Consequently, whitening local pseudo-gradients toward a common isotropic covariance controls the stochastic error.

Whitening and optimality of uniform averaging. Local update whitening has an additional, pre-aggregation benefit when inner optimizer trajectories produce different update distributions. For the stochastic term alone, a weighted aggregate has directional variance

∑r=1Rwr2 q⊤Crq,∑rwr=1.\sum_{r=1}^{R} w_r^2\,\mathbf{q}^{\top}C_r\mathbf{q},\qquad\sum_r w_r=1.

Uniform weights, which are used by default in standard DiLoCo settings, minimize this quantity when the replicas have equal directional variances [1]; they do so in every direction when C1=⋯=CRC_1=\cdots=C_R. Whitening each replica toward the same spherical target νI\nu I promotes precisely this agreement, since ∥Ci−Cj∥≤∥Ci−νI∥+∥Cj−νI∥\lVert C_i-C_j\rVert\le\lVert C_i-\nu I\rVert+\lVert C_j-\nu I\rVert.

Thus, local whitening both controls the worst-direction aggregate noise and makes the default uniform averaging well suited to the individual replica noise geometries. However, it does not control the mean mismatch bRb_R, which is analyzed separately in § 4.4.

Impact of Optimizer Transformations on Update Covariance

In this subsection, we analyze how the transformations induced by different inner optimizers affect the covariance structure of their updates under idealized assumptions, with particular emphasis on their whitening properties. This comparison is motivated by the eigenbasis interpretation of SOAP [29], the whitening motivation of Frans et al. [7], and the covariance-estimation analysis of Lin et al. [16].

For this comparison, consider a random matrix proposal M=Mt∈Rm×nM=M_t\in\mathbb{R}^{m\times n}, with Σ=Cov⁡(vec⁡(M))≻0\Sigma=\operatorname{Cov}(\operatorname{vec}(M))\succ0. Let UU denote the resulting update matrix, and define d=mnd=mn and C=Cov⁡(vec⁡(U))C=\operatorname{Cov}(\operatorname{vec}(U)). We treat optimizer bases and linear preconditioners as fixed independently of the sampled proposal, and define ideal normalization using the proposal’s centered covariance. Write

Q=QR⊗QL,vec⁡(QL⊤MQR)=Q⊤vec⁡(M).Q=Q_R\otimes Q_L,\qquad\operatorname{vec}(Q_L^{\top}MQ_R)=Q^{\top}\operatorname{vec}(M).

We now examine how each optimizer transforms the covariance of the stochastic proposal and under which conditions the resulting update covariance is isotropic.

Adam. Suppose each entry of MM is divided by its true standard deviation. Writing D=diag⁡(Σ11,…,Σdd)D=\operatorname{diag}(\Sigma_{11},\ldots,\Sigma_{dd}), this gives

vec⁡(U)=D−1/2vec⁡(M),C=D−1/2ΣD−1/2.\operatorname{vec}(U)=D^{-1/2}\operatorname{vec}(M),\qquad C=D^{-1/2}\Sigma D^{-1/2}.

Every diagonal entry of CC is one, but Cij=Σij/ΣiiΣjjC_{ij}=\Sigma_{ij}/\sqrt{\Sigma_{ii}\Sigma_{jj}}. Thus, even with access to the true coordinate variances, Adam’s normalization preserves the correlations present in MM.

Shampoo. Consider the idealized case where the factors equal the population Gram matrices of a zero-mean input. L=E[MM⊤]L=\mathbb{E}[MM^{\top}] and R=E[M⊤M]R=\mathbb{E}[M^{\top}M]. Assume the covariance is separable, Σ=(R⊗L)/tr⁡(L)\Sigma=(R\otimes L)/\operatorname{tr}(L), with positive-definite factors. The canonical Shampoo transformation then gives:

U=L−1/4MR−1/4,C=R1/2⊗L1/2tr⁡(L).U=L^{-1/4}MR^{-1/4},\qquad C=\frac{R^{1/2}\otimes L^{1/2}}{\operatorname{tr}(L)}.

The condition number of the resulting covariance, i.e., the ratio of its largest to smallest eigenvalues, is the square root of that of the input covariance. Thus, canonical Shampoo does not generally whiten the updates, as also discussed in Lin et al. [16].

SOAP. Suppose the fixed rotation M~t=QLTMtQR\widetilde{M}_t = Q_L^{\mathsf{T}}M_tQ_R gives uncorrelated coordinates, and let VS,tV_{S,t} denote their true variances: (VS,t)ij=Var⁡((M~t)ij)(V_{S,t})_{ij} = \operatorname{Var}((\widetilde{M}_t)_{ij}). Dividing each rotated entry by its true standard deviation and rotating back gives

U=QL[M~t⊘VS,t]QRT,C=I.U = Q_L[\widetilde{M}_t \oslash\sqrt{V_{S,t}}]Q_R^{\mathsf{T}}, \qquad C = I.

The resulting variance is one in every unit direction, not only along the original coordinates. Thus, SOAP can whiten the update covariance when the input covariance has the assumed Kronecker structure, the rotation QQ decorrelates the proposal coordinates, and their variances VS,tV_{S,t} are known exactly.

SPlus. Suppose vec⁡(M)\operatorname{vec}(M) is zero-mean Gaussian and the fixed rotation above gives uncorrelated entries. These entries are then independent, and their signs are independent, equally likely +1+1 and −1-1 values. Therefore

U=QLsign⁡(M~t)QRT,C=I.U = Q_L\operatorname{sign}(\widetilde{M}_t)Q_R^{\mathsf{T}}, \qquad C = I.

Unlike SOAP, this transformation does not require estimating the coordinate standard deviations.

SPlus vs. SOAP Under Imperfect Decorrelation. The preceding analyses of SOAP and SPlus assume that the rotation decorrelates the entries of MtM_t, with SOAP additionally having access to the true coordinate standard deviations. We can get further insight by considering an imperfect rotation: fix the estimated QL,QRQ_L,Q_R before sampling vec⁡(Mt)∼N(0,Σ)\operatorname{vec}(M_t) \sim\mathcal{N}(0,\Sigma), and let CC be the correlation matrix of the entries of M~t=QLTMtQR\widetilde{M}_t = Q_L^{\mathsf{T}}M_tQ_R. To characterize how SPlus transforms these correlations, we apply the Gaussian arcsine law [4], which gives the covariance after taking signs. Rotating back yields

CSPlus=Q[2πarcsin⁡(C)]QT,∣2πarcsin⁡(ρ)∣≤∣ρ∣.(13)C_{\mathrm{SPlus}} = Q\left[\frac{2}{\pi}\arcsin(C)\right]Q^{\mathsf{T}}, \qquad\left|\frac{2}{\pi}\arcsin(\rho)\right| \leq|\rho|. \tag*{(13)}

Here arcsin⁡\arcsin acts entrywise: the signs have unit variance in the rotated basis, and residual correlations contract, but need not vanish.

With the same rotation and exact coordinate standard deviations, SOAP instead gives CSOAP=QCQTC_{\mathrm{SOAP}} = QCQ^{\mathsf{T}}: coordinate normalization leaves these correlations unchanged. For both methods, the covariance in the rotated basis has unit diagonal. Its squared Frobenius distance to identity is therefore just the sum of the squared off-diagonal entries. Rotating back preserves this distance, yielding

∥CSPlus−I∥F2=∑i≠j[2πarcsin⁡(Cij)]2≤∑i≠jCij2=∥CSOAP−I∥F2.\begin{aligned} \lVert C_{\mathrm{SPlus}} - I\rVert_F^2 = \sum_{i\ne j}\left[\frac{2}{\pi}\arcsin(C_{ij})\right]^2 \\ &\leq\sum_{i\ne j} C_{ij}^2 = \lVert C_{\mathrm{SOAP}} - I\rVert_F^2. \end{aligned}

Under these assumptions, SPlus produces an update covariance at least as close to the identity in Frobenius norm as SOAP, even when the rotation does not perfectly decorrelate the proposal: its sign transformation contracts residual correlations without requiring coordinatewise variance estimates.

Muon. Suppose MM is full rank almost surely, and its distribution is unchanged by any orthogonal transformation M↦OMM \mapsto OM when m≥nm \geq n (or M↦MOM \mapsto MO when m<nm < n). For the exact polar transformation with a fixed scale γ>0\gamma> 0,

U=γpolar⁡(M),C=γ2max⁡(m,n)I.U = \gamma\operatorname{polar}(M), \qquad C = \frac{\gamma^2}{\max(m,n)}I.

Thus, Muon produces an isotropic update covariance under strong distributional symmetry assumptions, but its polar transformation does not generally guarantee isotropy.

Relation to MuLoCo. MuLoCo studies how Muon’s normalized matrix updates affect pseudogradient aggregation [27]. It argues that large singular values in individual update matrices contribute to misalignment during aggregation, an issue mitigated by using Muon as the inner optimizer. In contrast, our work examines the covariance structure of Muon’s updates, a distribution-level property that provides a complementary perspective and highlights potential limitations of Muon’s normalization. Furthermore, our error decomposition directly connects this covariance structure to the stochastic component of the error relative to the expected DP update.

Beyond one local step. Equations (10) and (11) apply to the complete displacement after any number of inner optimization steps HH. However, if Δr,h\Delta_{r,h} denotes the displacement at the hh-th local step, the covariance of replica rr’s complete displacement is given by

Cr=∑h=1HCov⁡(Δr,h)+∑h≠kCov⁡(Δr,h,Δr,k).C_r = \sum_{h=1}^{H} \operatorname{Cov}(\Delta_{r,h}) + \sum_{h\ne k} \operatorname{Cov}(\Delta_{r,h},\Delta_{r,k}).

Consequently, whitening individual (one-step) local updates does not by itself whiten the complete pseudo-gradient, as temporal covariances between successive updates can introduce anisotropy. Approximate isotropy of the complete pseudo-gradient can nevertheless be maintained when the aggregate contribution of these temporal covariances is sufficiently small.

Single-Step Mean Mismatch and Second-Moment Estimation

We now consider the single-step setting (H=1H = 1), where all replicas share the same initial parameters and optimizer states, and analyze the mean mismatch term of the decomposition introduced in § 4.2. This eliminates multi-step local drift, allowing us to study the remaining mean mismatch bRb_R more easily. At fixed global batch size BB, let g^r:=vec⁡(Gr)\hat{g}_r := \operatorname{vec}(G_r) denote the independent and identically distributed replica gradients, and define

g:=E[g^r],gˉ:=1R∑rg^r,Σg:=Cov⁡(gˉ).(14)g := \mathbb{E}[\hat{g}_r], \qquad\bar{g} := \frac{1}{R}\sum_r \hat{g}_r, \qquad\Sigma_g := \operatorname{Cov}(\bar{g}). \tag*{(14)}

Then Cov⁡(g^r)=RΣg\operatorname{Cov}(\hat{g}_r) = R\Sigma_g. For IID examples, Σg=Ω/B\Sigma_g = \Omega/B, where Ω\Omega is the per-example covariance. Let T(g^;s)T(\hat{g};s) denote the parameter-update map that takes a gradient g^\hat{g} and incoming optimizer state ss and returns the corresponding parameter displacement. Then

Δˉ=1R∑rT(g^r;s),d1DP=E[T(gˉ;s)],bR=αRE[Δˉ]−d1DP.(15)\bar{\Delta} = \frac{1}{R}\sum_r T(\hat{g}_r;s), \qquad d_1^{\mathrm{DP}} = \mathbb{E}[T(\bar{g};s)], \qquad b_R = \alpha_R\mathbb{E}[\bar{\Delta}] - d_1^{\mathrm{DP}}. \tag*{(15)}

In this single-step setting, DP applies the optimizer transformation TT to the averaged gradient gˉ\bar{g}, whereas DiLoCo applies TT independently to each replica’s gradient before averaging the resulting updates. While an affine TT commutes with averaging sample-by-sample, sharing the incoming optimizer states does not generally make an adaptive optimizer’s update transformation affine.

We first analyze SPlus, whose sign-based transformation permits explicit expressions for the mean and covariance of its updates.

SPlus: a direct bound on the mean term. Fix the shared SOAP basis before the step; this covers a step between refreshes or a lagged-basis implementation. Momentum is still updated by (1). The average of the replica momenta is exactly the DP momentum from the same incoming state. Let m~r,t,j\tilde{m}_{r,t,j} denote entry jj of vec⁡(Mr,t)\operatorname{vec}(M_{r,t}), for j=1,…,d=mnj = 1,\ldots,d = mn, and assume

m~r,t,j=σj(aj+RZr,j),Zr,j∼iidN(0,1),σj>0.(16)\tilde{m}_{r,t,j} = \sigma_j(a_j + \sqrt{R}Z_{r,j}), \qquad Z_{r,j} \mathrel{\overset{\mathrm{iid}}{\sim}} \mathcal{N}(0,1), \qquad\sigma_j > 0. \tag*{(16)}

Thus aja_j is the mean divided by the standard deviation of the DP momentum coordinate, not its replica-local SNR. We use unit step scale in the following proposition and rescale other deterministic scales multiplicatively.

Proposition 2 (SPlus mean and covariance relative to DP). Under (16), set a=(aj)j=1da = (a_j)_{j=1}^{d}, ψ(t)=2Φ(t)−1\psi(t) = 2\Phi(t) - 1, and c=2/πc = \sqrt{2/\pi}. With αR=R\alpha_R = \sqrt{R},

bR=Q[R ψ(a/R)−ψ(a)],b_R = Q\left[\sqrt{R}\,\psi(a/\sqrt{R}) - \psi(a)\right],
∥bR∥22≤c236(1−1R)2∑jaj6,(17)\lVert b_R\rVert_2^2 \le\frac{c^2}{36}\left(1-\frac{1}{R}\right)^2\sum_j a_j^6, \tag*{(17)}
Cov⁡(R Δˉ)=QDiag⁡(1−ψ(aj/R)2)QT⪯I.\operatorname{Cov}(\sqrt{R}\,\bar{\Delta}) = Q\operatorname{Diag}\left(1-\psi(a_j/\sqrt{R})^2\right)Q^{\mathsf{T}} \preceq I.

Here ψ\psi acts entrywise. In particular, every directional error in (10) is at most 1+c236(1−R−1)2∑jaj61+\frac{c^2}{36}(1-R^{-1})^2\sum_j a_j^6.

The proof is given in Appendix § 8.§ 2. For a small vector a\mathbf{a}, the mean mismatch is third order and its squared contribution is sixth order. At a=0\mathbf{a}=0, the calibrated local aggregate and DP have the same mean and covariance, although their distributions differ. The R\sqrt{R} calibration makes the stochastic term order one; it does not retain an additional 1/R1/R variance gain at fixed global batch.

Mean mismatch for Adam. We now bound the mean mismatch bRb_R for Adam. At fixed global batch size, the local gradient variance is RR times that of the DP average. Fresh-gradient second moments therefore change the normalization even from a common incoming state. Proposition 3 bounds the resulting mean-update error; Appendix § 8.§ 3 gives the second-moment identities and the Gaussian variance-differentiation argument ([28]).

Proposition 3 (Second-moment memory controls a one-step mean bound). In a fixed parameter coordinate jj, let the incoming Adam state be (m,v)(m,v), with v>0v>0 and 0<β2<10<\beta_2<1. Omit ϵ\epsilon, bias correction, and the learning rate, and define the complete same-step scalar map

T(x;m,v)=β1m+(1−β1)xβ2v+(1−β2)x2.(18)T(x;m,v)=\frac{\beta_1m+(1-\beta_1)x}{\sqrt{\beta_2v+(1-\beta_2)x^2}}. \tag*{(18)}

Suppose g~R∼N(g,Rσ2)\widetilde{g}_R\sim\mathcal{N}(g,R\sigma^2) independently, so g‾∼N(g,σ2)\overline{g}\sim\mathcal{N}(g,\sigma^2). With αR=1\alpha_R=1, write bR,jb_{R,j} for this coordinate of the bias bRb_R from (15). It obeys

∣bR,j∣≤(1−β2)(R−1)σ22(β2v)3/2(∣β1m∣+3(1−β1)∣g∣).(19)\lvert b_{R,j}\rvert\leq\frac{(1-\beta_2)(R-1)\sigma^2}{2(\beta_2v)^{3/2}}\left(\lvert\beta_1m\rvert+3(1-\beta_1)\lvert g\rvert\right). \tag*{(19)}

For SOAP with a basis fixed before the fresh gradients, the same bound applies to the corresponding coordinate of QTbR\mathbf{Q}^{\mathsf{T}}b_R.

This is a finite-noise bound, proved in Appendix § 8.3.1. For fixed β2\beta_2, the upper bound grows linearly with R−1R-1, motivating an increase in β2\beta_2 as the number of replicas grows. Adapting the scaling rule of Marek et al. [21] to our setting, we can preserve the second-moment EMA’s half-life in terms of local training examples by setting:

β2(R)=β2(R0)R0/R,1−β2(R)=O(R−1).(20)\beta_2(R)=\beta_2(R_0)^{R_0/R},\qquad1-\beta_2(R)=O(R^{-1}). \tag*{(20)}

If m,v,g,σm,v,g,\sigma are held fixed and β2(R)\beta_2(R) follows (20), with β2(R)\beta_2(R) bounded away from zero, the right-hand side remains bounded rather than growing linearly in RR. For each RR, both routes in this comparison use the same β2(R)\beta_2(R). Scaling second-moment memory therefore controls a bound on the Adam mean mismatch as RR grows. Summing the squared coordinate bounds controls ∥bR∥22\lVert b_R\rVert_2^2, and hence the mean term (qTbR)2(\mathbf{q}^{\mathsf{T}}b_R)^2 for every unit q\mathbf{q} in (10). The same conclusion holds after SOAP’s orthogonal rotation back to parameter coordinates. This conditional one-step result motivates the matched-β2\beta_2 experiments in Section 5.2.

Scale-estimation error at smaller local batches. Beyond the mean mismatch analyzed above, smaller local batches can also increase the variability of second-moment estimates. Indeed, at fixed β2\beta_2, smaller local batches produce noisier gradients, which can increase fluctuations in the estimated second moment v^\hat{v}. For SOAP, these fluctuations in v^\hat{v} change the coordinatewise normalization and hence the update covariance. SPUs avoids this source of variability by taking signs in its estimated basis rather than dividing by estimated coordinate scales.

Empirical Evaluation

We first compare replica scaling across inner optimizers (Sec. 5.1), then isolate the effect of second-moment memory on performance (Sec. 5.2), and finally examine the update distributions behind these results (Sec. 5.3). The analysis connects the observed scaling to the two terms in (10): mean mismatch and stochastic aggregation error.

Experimental setup. Our main experiments train 178M- and 512M-parameter LLaMA models on DCLM ([15]) with sequence length 2048. We evaluate performance on a held-out 100M-token validation split. The 178M runs use a fixed global batch of 524K tokens and approximately 3.55B training tokens; the 512M runs use 2M tokens per global batch and 10.25B-token budget. Unless stated otherwise, replicas take H=30H = 30 local steps between aggregations and all local optimization methods use a Nesterov SGD outer optimizer. Appendix § 9 records the architecture, training budgets, and result-selection protocol.

Comparing Inner Optimizers in Replica Scaling

We compare SOAP, SPlus, Muon, AdamW, and Shampoo as inner optimizers for DiLoCo while scaling the number of replicas. Figure 2 and Figure 3 show both absolute validation loss and the percentage change from each optimizer’s own DP reference ([27]). The latter allows making a direct comparison between inner optimizers as it relates to their impact on worker scaling without being confounded by absolute performance differences of the optimizers (e.g., accounting for the fact that Muon has lower absolute loss than AdamW).

Figure 2. 178M replica scaling. R=1R = 1 reports DP performance, while R>1R > 1 reports the performance of local optimization with synchronization interval H=30H = 30. Left: final validation loss. Right: change in loss from the same optimizer’s own DP (R=1) baseline. We observe that matrix-based optimizers have stronger worker scaling than AdamW and that SPlus achieves the strongest scaling of all relative to its DP baseline.

Figure 3. 512M replica scaling. R=1R = 1 reports DP performance, while R>1R > 1 reports the performance of local optimization with synchronization interval H=30H = 30. Left: final validation loss. Right: change in loss from the same optimizer’s own DP (R=1) baseline. As in Figure 2, we observe that matrix-based optimizers have stronger worker scaling than AdamW and that SPlus achieves the strongest scaling of all relative to its DP baseline.

178M Experiment Scale At 178M scale (Figure 2), we observe, as in Thérien et al. [27], that Muon has better replica scaling than AdamW, not just DP performance. SOAP has both stronger DP performance and significantly improved replica scaling compared to Muon and Adam. SPlus has the strongest worker scaling, leading to the smallest increase over its own DP reference and the lowest observed loss at large RR. At R=64R = 64, the loss change is +3.1% for SPlus and +4.8% for SOAP, compared with +8.5% for Muon and +11% for AdamW. Shampoo improves on AdamW but remains behind SOAP and SPlus. As discussed in our work, it does not assure an approximately whitened update unlike SOAP and SPlus. Thus, both the normalization and the coordinates in which it is applied matter empirically. § 5.3 examines how this ordering relates to the covariance of the returned updates. Interestingly, at 178M, R=8R = 8 SPlus actually improves performance over its DP baseline. This is likely because at R>1R > 1 it can mimic a majority vote-based technique ([2]).

512M Experiment Scale In Figure 3, we observe a similar pattern. SOAP is, once again, the strongest DP reference and has the lower loss through R=32R = 32. SPlus overtakes it at R=64R = 64 and R=96R = 96. At R=96R = 96, SPlus’ loss change is +2.1% above its own DP loss, versus +4.4% for SOAP, +7.7% for Muon, and +12% for AdamW. The crossover is consistent across model scales: SOAP’s DP performance is stronger, whereas SPlus degrades less as replicas are scaled and the local batch size shrinks. Both SPlus and SOAP show drastically better scaling than Adam and Muon, making them practical alternatives when training with high worker counts.

OptimizerDP8163264
SOAP2.8162.8512.8692.8982.951
SPlus2.8532.8512.8672.8972.942
Muon2.8582.8872.9283.0003.099
AdamW2.8802.9523.0123.0803.208
Shampoo2.8422.8812.9182.9763.069

Table 1. 178M final validation loss. DP uses R=1R = 1; other runs use H=30H = 30. Best in each column is bold. Replicas RR

OptimizerDP816326496
SOAP2.5632.5792.5982.6182.6492.676
SPlus2.6102.6102.6182.6252.6462.663
Muon2.5862.6152.6372.6772.7382.787
AdamW2.6462.6912.7262.7852.8812.958

Table 2. 512M final validation loss. DP uses R=1R = 1; other runs use H=30H = 30. Best in each column is bold. Replicas RR

Comparing results across 178M and 512M Prior work has demonstrated that the worker scaling performance of AdamW and Muon improves as data and model scale are increased [27, 3]. In Figure 1, we compare the performance of SPlus, SOAP, AdamW, and Muon when scaling replicas. We also observe that scale improves replica scaling across all optimizers can significantly benefit from this including SOAP, SPlus, and Muon.

Local optimization performance as replicas are scaled

Figure 1. Local optimization performance as replicas are scaled. Each local optimizer is compared to its own DP baseline, to eliminate confounding replica scaling with absolute loss. Optimizers that whiten the pseudogradient covariance achieve the strongest worker scaling. SPlus is the best proxy for whitening. We note that SOAP’s stronger absolute performance sometimes leads to the best results despite its poorer worker scaling. Notably, we also observe a strong scaling trend relative to DP for all inner-optimizers.

Isolating the Effect of Local Steps: _Replica-scaling effects are visible at H=1H = 1, before multi-step parameter drift can occur!_ Unlike SGD, in adaptive optimizers, the divergence to standard DP training occurs even with a single step of local optimization (due to the non-linear map of gradients to update). Indeed, the arguments regarding covariance structure in § 4 apply directly to this case. To isolate the effects of local drift when taking multiple steps from the impact of the adaptive optimizer update, we perform scaling experiments using a single local update. We also remove the impacts of the outer optimizer by using a standard SGD outer optimizer with a learning rate of 1 (equivalent to parameter averaging). Table 3 reports the results of this experiment. We observe similar results to the multi-step setting: Adam, Muon, and Shampoo have poorer replica scaling, while SOAP and SPlus remain substantially more robust. This is the setting in which § 4.4 isolates the effect of applying the optimizer before gradient averaging. We also observe that performance (even in terms of scaling with respect to DP) is far more impacted by the choice of optimizer and the number of replicas than the number of local steps. This suggests the impact of the local optimizer on the update and subsequent aggregation can be more significant than the parameter drift often studied in local optimization [26, 11].

Table 3: 178M performance using H=1H=1 (single-step) local updates. We report the final validation loss for each method. To isolate the effect of the adaptive optimizer’s update, we use pure parameter averaging at each step and persistent local optimizer states. All methods train for 6,775 steps. The DP, R=8R=8, and R=64R=64 methods are directly tuned, while the R=16,32R=16, 32 configurations use interpolated hyperparameters rather than separate full sweeps. The best-performing method in each column is bolded.

Inner optimizerDPR=8R=8R=16R=16R=32R=32R=64R=64
SOAP2.8162.8422.8642.9012.958
SPlus2.8532.8372.8532.8732.912
Muon2.8582.9793.0733.2303.417
AdamW2.8802.9322.9693.0503.157
Shampoo2.8422.8992.9473.0023.097

Table 3.

Interestingly, Muon is less robust here than at H=30H=30 and is worse than AdamW at the larger replica counts. Its strong H=30H=30 results therefore do not transfer unchanged to pure one-step averaging. We hypothesise that this may be due to differences in their outer optimizer, which could be more favourable for some methods and less for others.

Second-moment memory and replica scaling

Following § 4.4, we next study a practical consequence of smaller local batches for Adam-based methods. Equation (A.6) shows how local gradient variance enters the second-moment discrepancy. The token-half-life rule in Equation (20) increases β2\beta_2 as RR grows, preserving the number of tokens represented by the running average. In this section, we study the impact of applying this and, in particular, evaluate how it impacts conclusions in prior work [27, 9]. This rule is already incorporated in the main results in § 5.1. Here we evaluate both the Adam-based DiLoCo optimizer and IsoLoCo which is a modification of the outer optimizer. We incorporate it into our analysis as it is based on the Adam inner optimizer, which can benefit from appropriate β2\beta_2 tuning. We note that in the prior section’s experiments, to ensure the strongest baseline, this rule is already used by construction in all optimizers with a second moment. This section, on the other hand, emphasizes the improvement compared to existing literature, which does not scale β2\beta_2 when scaling RR [3, 9] (); Sarfati et al. 2025).

To empirically measure the importance of second moment estimation highlighted in § 4.4, we compared the performance of optimizers using a fixed β2\beta_2 and tuning it at every replica scale. Figure 4 reports the final validation loss of DiLoCo, IsoLoCo, and MuLoCo under these strategies. We note that while IsoLoCo and DiLoCo both apply AdamW to each tensor, MuLoCo only applies it to non-hidden tensors. We observe all optimizers improve from tuning β2\beta_2 as replicas increase, but IsoLoCo and DiLoCo benefit more. Under β2\beta_2 tuning, we find that IsoLoCo, despite using an AdamW inner optimizer, can even outperform MuLoCo at large worker counts.

Figure 4. The effect of tuning AdamW’s β2\beta_2 in DiLoCo, IsoLoCo, and MuLoCo. We report the performance of each method at 178M scale when fixing (dashed lines) and tuning (solid lines) β2\beta_2 at each worker count. While IsoLoCo and DiLoCo both apply AdamW to each tensor, MuLoCo only applies it to non-hidden layers. We observe all optimizers improve from this change, but IsoLoCo and DiLoCo benefit significantly more, revealing that IsoLoCo can outperform MuLoCo at larger worker counts when β2\beta_2 is well tuned.

We also confirm that this scaling rule works well at 512M in Figure 5. Both methods use the published R=8R=8 hyperparameters without retuning. At 512M and R=64R=64, changing only β2\beta_2 reduces DiLoCo loss from 2.884 to 2.849 and IsoLoCo loss from 2.734 to 2.702, approximately 1.2% in each case. Second-moment memory is thus an effective control on replica scaling, including for IsoLoCo, whose outer optimizer does not remove this inner AdamW sensitivity. Notably, after the relevant control, IsoLoCo, which uses an AdamW inner optimizer, can outperform MuLoCo, while only doing the spectral decomposition during the outer step.

Figure 5. Tuning β2\beta_2 for larger model and replica. We ablate using fixed β2\beta_2 vs scaling at high replica count (R=64R=64) and 512M model scale. We observe that performance consistently improves for DiLoCo and IsoLoCo. Notably IsoLoCo outperforms Muon inner optimizer (MuLoCo).

Discussion of Practical Implications Our results suggest that local optimization methods can be deployed across a large number of replicas (50+) while maintaining minimal performance degradation of < 3% when utilizing SOAP or SPlus. Notably, these methods consume more memory than Muon due to the need to maintain LL and RR, however, scalable recipes for SOAP have been studied [13], demonstrating that it can perform well at very large scale. A particularly relevant setting for our work is cross-data center training where each replica has a considerable number of chips that can be used to shard the additional optimizer states and perform the optimizer step in parallel. At 178M and 512M scales, our results suggest that at a smaller number of replicas SOAP is the preferred inner optimizer, while at a large number of replicas, SPlus performs best. Another observation of our work is that the recently proposed IsoLoCo outer optimizer, which has nearly the same overhead as AdamW inner optimizer-based IsoLoCo, can perform very effectively at a large number of replicas simply by adjusting its β2\beta_2 according to the local batch size. When doing so, we show that it outperforms MuLoCo. This can make it an excellent candidate for settings where each replica has limited memory or existing infrastructure and training recipe are already well designed for Adam.

Analysis: covariance structure and mean mismatch

We empirically analyze the covariance structure and mean mismatch discussed in § 4 for the different optimizer classes.

Empirically Measuring Whitening Using the 178M training setting and beginning with checkpoints at outer round 75, we empirically estimate how close to whitened the covariance of the pseudo-gradient is for different inner optimizers. We perform 64 instantiations of inner training loop starting with the same checkpoint and inner optimizer state, thus only varying the data used.

Subsequently we use pairs to construct an estimator for the following quantities:

C~h:=1R2∑r=1RCr,h,ah=(dtr⁡(C~h2)tr⁡(C~h)2−1)1/2.(21)\widetilde{C}_h := \frac{1}{R^2}\sum_{r=1}^{R} C_{r,h}, \qquad a_h = \left(\frac{d\operatorname{tr}(\widetilde{C}_h^2)}{\operatorname{tr}(\widetilde{C}_h)^2}-1\right)^{1/2}. \tag*{(21)}

Here dd is the probed dimension; ah=0a_h = 0 means isotropy, and larger values indicate greater anisotropy, independently of overall noise magnitude. The constructed C~h\widetilde{C}_h equals the covariance of the averaged update when cross-worker noise covariances vanish, conditional on the starting parameters and optimizer states. Appendix C.1 gives the estimators and exact replay protocol. We chose this particular quantity as a proxy for isotropy as the trace and square trace have efficient estimators available in the statistical literature. The results are shown in Table 4 below.

Optimizera1a_1 ↓\downarrowa30a_{30} ↓\downarrow
AdamW3511
Muon3.83.3
SOAP2.32.5
SPlus0.432.4

Table 4. Update-noise anisotropy at R=64R = 64, round 75, using all 64 replicas and local batch four. Lower is more isotropic.

We observe that covariance structure broadly follows the scaling results. with optimizers that have better replica scaling having better covariance structure. The anisotropy differences are already pronounced after one local step, before parameter drift across replicas can affect subsequent gradients. a1a_1 ranges from 35 for AdamW to 0.43 for SPlus, with Muon and SOAP between them. After 30 steps, SOAP and SPlus remain less anisotropic than Muon and AdamW, broadly following their replica-scaling performance. Interestingly, Muon is significantly more isotropic than Adam, helping to explain its improved scaling Therien et al. [27]. The next measurements examine the curvature of high-variance noise directions, connecting this shape comparison to optimization.

Noise dominates mean mismatch along high-noise directions. Finally, we compare the two terms of Equation (10) along directions selected for high update variance. For each optimizer, all replicas and its DP reference start from the same checkpoint weights and replica 0’s saved optimizer state. They run H=30H = 30 steps on paired data: DP uses the union of the local batches at each step. We analyze the 63 hidden attention and MLP weight matrices separately, excluding embeddings, the output head, and other auxiliary parameters.

For each matrix, 16 repetitions fit a scalar αR\alpha_R and a leading noise direction q^\hat{q}; 24 additional repetitions estimate the directional mean mismatch (q^TbR)2(\hat{q}^{\mathsf{T}}b_R)^2 and stochastic error αR2q^TCaggq^\alpha_R^2\hat{q}^{\mathsf{T}}C_{\mathrm{agg}}\hat{q}. Both terms are divided by the squared norm of that matrix’s DP mean update. This per-matrix calibration applies the decomposition to each matrix separately; it is not a change to the training learning rates. Appendix C.2 defines the estimators, including the paired finite-sample correction.

We observe the mean-mismatch term is only 7.5–19% of the stochastic term on average along these directions. This supports controlling the stochastic term in Equation (10) which is the focus of our analysis in § 4, and allow to better confirm that the covariance structure of SPlus and SOAP lead to their improved replica scaling.

Extreme noise also lies in high-curvature directions. We have seen bounding the maximum noise direction of the covariance as in Equation (11) can reduce the maximum discrepancy to the DDP direction, in particular since the above empirical experiments suggest it dominates the bound on the error with respect to the DDP target. We next ask whether directions carrying extreme noise variance are directly responsible for poor performance of methods such as AdamW which do not bound them well. We do this by estimating these direction and then the underlying curvature. At each method’s own checkpoint for outer step 75, we fit a unit direction q^\hat{q} that maximizes sample variance over 64 paired one-step update differences. With H\mathcal{H} the loss Hessian on 64 held-out sequences, Table 6 reports

OptimizerR=8R = 8R=64R = 64
AdamW86–170460–730
Muon6.4–7.747–100
SOAP3.1–3.24.2–5.2
SPlus1.5–1.61.5

Table 6. Loss curvature along a fitted high-noise direction, relative to random directions. Ranges span replicas 0 and 1, not confidence intervals; local batch b=256/Rb = 256/R. Curvature ratio κ(q^)\kappa(\hat{q}).

κ(q^)=q^THq^116∑j=116vjTHvj\kappa(\hat{q}) = \frac{\hat{q}^{\mathsf{T}} H \hat{q}}{\frac{1}{16}\sum_{j=1}^{16} v_j^{\mathsf{T}} H v_j}

where the vjv_j are independent random unit vectors in the same six-matrix subspace. A ratio of 100 means 100 times the average random-direction curvature, not noise variance.

Appendix C.3 details the estimator used. We observe that Adam and Muon have very high curvature in the directions with the most noise compared to average directions, in particular as we scale the replica size, while SOAP and SPlus are able to effectively redistribute noise in any particular direction due to their whitening. High noise along high curvature directions can be particularly problematic as small errors can be very damaging for the loss in high curvature regions. This gives an additional mechanism for understanding why whitening (which redistributes error more uniformly along all directions) can be particularly important in this setting.

Conclusion

We have shown that differences to the DP pseudogradient can be seen to result from two primary sources of error: mean mismatch and stochastic error. Building on these insights, we showed that covariance structure in optimizers like AdamW is very important. In our empirical study, we establish the performance of different inner optimizers (SOAP, SPlus, Muon, AdamW), which have more and less appealing properties for reducing stochastic error according to our theory. We find that SPlus reaches the strongest performance at higher worker counts, and the best overall scaling with respect to DP, while SOAP reaches the best DP performance and seems on trend to become the best inner optimizer at scale. We then directly test our theoretical claims by calculating the mean mismatch and stochastic error for each optimizer, showing that these quantities are directly correlated with the observed performance trends.

Acknowledgements

We acknowledge support from NSERC Discovery RGPIN-2021-04104 and compute resources from Digital Research Alliance Canada.

Appendix A collects the supporting theoretical results and proofs. Appendix B records the training setup, and Appendix C gives the analysis protocols and estimators.

Supporting theoretical results

Muon covariance under rotational proposals

Let p=min⁡(m,n)p = \min(m,n) and dmax⁡=max⁡(m,n)d_{\max} = \max(m,n). If a full-rank proposal has SVD M=U~diag⁡(σi)V~TM = \widetilde{U}\operatorname{diag}(\sigma_i)\widetilde{V}^{\mathsf{T}}, the ideal Muon update with prescribed matrix-size scale γ>0\gamma> 0 is

UMuon=γpolar⁡(M)=γU~V~T.(22)U_{\mathrm{Muon}} = \gamma\operatorname{polar}(M) = \gamma\widetilde{U}\widetilde{V}^{\mathsf{T}}. \tag*{(22)}

The polar map discards the realized singular values and keeps the polar factor. In particular, polar⁡(aM)=polar⁡(M)\operatorname{polar}(aM) = \operatorname{polar}(M) for every a>0a > 0, so a positive multiplicative change to the entire proposal leaves the update unchanged.

Proposition 4 (Muon covariance under rotational proposals). Suppose MrM_r is full rank almost surely. If m≥nm \ge n, suppose OMr=dMrOM_r \overset{d}{=} M_r for every O∈O(m)O \in O(m); if m<nm < n, suppose MrO=dMrM_rO \overset{d}{=} M_r for every O∈O(n)O \in O(n). Either one-sided condition suffices when m=nm = n. Then

E[UMuon,r]=0,Cov⁡(vec⁡(UMuon,r))=γ2dmax⁡Imn.(23)\mathbb{E}[U_{\mathrm{Muon},r}] = 0,\qquad\operatorname{Cov}(\operatorname{vec}(U_{\mathrm{Muon},r})) = \frac{\gamma^2}{d_{\max}}I_{mn}. \tag*{(23)}

Consequently, independent replicas have a uniformly averaged update covariance γ2Imn/(dmax⁡R)\gamma^2 I_{mn}/(d_{\max}R), even when their proposal singular-value distributions differ.

Proof. Consider m≥nm \ge n and write the columns of Qr=polar⁡(Mr)Q_r = \operatorname{polar}(M_r) as qr,1,…,qr,nq_{r,1},\ldots,q_{r,n}. Equivariance of the polar map and left invariance of the proposal law imply OQr=dQrOQ_r \overset{d}{=} Q_r for every O∈O(m)O \in O(m). Taking O=−IO = -I gives E[Qr]=0\mathbb{E}[Q_r] = 0. Moreover, E[qr,jqr,kT]\mathbb{E}[q_{r,j}q_{r,k}^{\mathsf{T}}] commutes with every orthogonal matrix and must therefore equal ajkIma_{jk}I_m. Since QrTQr=InQ_r^{\mathsf{T}}Q_r = I_n,

majk=E[qr,kTqr,j]=1{j=k}.(24)ma_{jk} = \mathbb{E}[q_{r,k}^{\mathsf{T}}q_{r,j}] = \mathbf{1}_{\{j=k\}}. \tag*{(24)}

The column blocks of E[vec⁡(Qr)vec⁡(Qr)T]\mathbb{E}[\operatorname{vec}(Q_r)\operatorname{vec}(Q_r)^{\mathsf{T}}] are consequently 1{j=k}Im/m\mathbf{1}_{\{j=k\}}I_m/m, which proves Equation (A.2) because dmax⁡=md_{\max} = m. The proof for m<nm < n applies the same argument to the rows, using right invariance and QrQrT=ImQ_rQ_r^{\mathsf{T}} = I_m.

Proof of Proposition 2 (SPlus to DDP comparison)

Proof of Proposition 2. Write ψ(a)=2Φ(a)−1\psi(a) = 2\Phi(a) - 1 and c=2/πc = \sqrt{2/\pi}. For one coordinate, set Xr=σ(a+RZr)X_r = \sigma(a + \sqrt{R}Z_r) and Xˉ=R−1∑rXr\bar{X} = R^{-1}\sum_r X_r. Then

Pr⁡(Xr>0)=Φ(a/R),E[sign⁡(Xr)]=ψ(a/R),E[sign⁡(Xˉ)]=ψ(a).\Pr(X_r > 0) = \Phi(a/\sqrt{R}),\qquad\mathbb{E}[\operatorname{sign}(X_r)] = \psi(a/\sqrt{R}),\qquad\mathbb{E}[\operatorname{sign}(\bar{X})] = \psi(a).

In the shared-state model the last expression is exactly the mean of the signed DDP momentum coordinate, because momentum is affine before the sign. The expectation of the local average equals the single-replica expectation. For a≥0a \ge0,

Rψ(a/R)−ψ(a)=c∫0a(e−u2/(2R)−e−u2/2) du.(25)\sqrt{R}\psi(a/\sqrt{R}) - \psi(a) = c\int_0^a\left(e^{-u^2/(2R)} - e^{-u^2/2}\right)\,du. \tag*{(25)}

The integrand is nonnegative and at most u2(1−R−1)/2u^2(1-R^{-1})/2, by the unit Lipschitz bound for e−xe^{-x} on x≥0x \ge0. Integration and odd symmetry give

∣Rψ(a/R)−ψ(a)∣≤c6(1−R−1)∣a∣3.\left|\sqrt{R}\psi(a/\sqrt{R}) - \psi(a)\right| \le\frac{c}{6}(1-R^{-1})|a|^3.

Squaring and summing over coordinates is valid because QQ is orthogonal. Each sign has variance 1−ψ(aj/R)21-\psi(a_j/\sqrt{R})^2. Independence of projected coordinates and of replicas gives the covariance in (17). Finally use Proposition 1.

The DDP covariance is QDiag⁡(1−ψ(aj)2)QTQ\operatorname{Diag}(1-\psi(a_j)^2)Q^{\mathsf{T}}. For R≥1R \ge1 the calibrated local covariance minus this matrix is positive semidefinite, with operator norm at most c2max⁡jaj2c^2\max_j a_j^2. Thus mean agreement to first order should not be read as a variance improvement over signed DDP. At zero signal the covariances agree exactly.

Adam/SOAP second moments and the mean comparison

Condition on common incoming optimizer states and parameters, as in § 4.4. Let tt denote the fresh-gradient step. Averaging squared gradients is not the same as squaring their average: the difference is the scatter of the replica gradients. Define SR=R−1∑r(g^r−gˉ)(g^r−gˉ)TS_R = R^{-1}\sum_r(\hat{g}_r-\bar{g})(\hat{g}_r-\bar{g})^{\mathsf{T}}. For the second moments in (2) and (5),

1R∑rvA,r,t−vA,DDP,t=(1−β2)diag⁡(SR),1R∑rvS,r,t−vS,DDP,t=(1−β2)diag⁡(QTSRQ).(26)\begin{aligned} \frac{1}{R}\sum_r v_{A,r,t}-v_{A,\mathrm{DDP},t} &= (1-\beta_2)\operatorname{diag}(S_R),\\ \frac{1}{R}\sum_r v_{S,r,t}-v_{S,\mathrm{DDP},t} &= (1-\beta_2)\operatorname{diag}(Q^{\mathsf{T}}S_RQ). \tag*{(26)} \end{aligned}

The second identity assumes a common basis fixed before the fresh gradients; vA,vSv_A,v_S are the vectorized buffers. Thus locally updated second moments already differ from DDP before any parameter drift.

Under the main-text batch model, Cov⁡(g^r)=RΣg\operatorname{Cov}(\hat{g}_r)=R\Sigma_g and the replica gradients are independent, so Σg\Sigma_g is the covariance of the DDP-averaged gradient. At fixed BB, taking expectations in (A.5) gives

E[1R∑rvA,r,t−vA,DDP,t]=(1−β2)(R−1)diag⁡(Σg).(27)\mathbb{E}\left[\frac{1}{R}\sum_r v_{A,r,t}-v_{A,\mathrm{DDP},t}\right]=(1-\beta_2)(R-1)\operatorname{diag}(\Sigma_g). \tag*{(27)}

SOAP has the same expected identity in its fixed basis.

Expanding squares around the sample mean gives

1R∑rg^r⊙2−gˉ⊙2=1R∑r(g^r−gˉ)⊙2=diag⁡(SR).\frac{1}{R}\sum_r \hat{g}_r^{\odot2}-\bar{g}^{\odot2}=\frac{1}{R}\sum_r(\hat{g}_r-\bar{g})^{\odot2}=\operatorname{diag}(S_R).

Multiplying by 1−β21-\beta_2 proves the Adam identity in (A.5); applying it to QTg^rQ^{\mathsf{T}}\hat{g}_r proves the SOAP identity when QQ is fixed and common. Under (14), E[SR]=(R−1)Σg\mathbb{E}[S_R]=(R-1)\Sigma_g, which proves (A.6).

For a scalar smooth map ff and Xt=g+tσZX_t=g+\sqrt{t}\sigma Z, Gaussian variance differentiation [28] gives the exact identity

ddtE[f(Xt)]=σ22E[f′′(Xt)],E[f(XR)]−E[f(X1)]=σ22∫1RE[f′′(Xt)] dt.(28)\frac{d}{dt}\mathbb{E}[f(X_t)]=\frac{\sigma^2}{2}\mathbb{E}[f''(X_t)],\qquad\mathbb{E}[f(X_R)]-\mathbb{E}[f(X_1)]=\frac{\sigma^2}{2}\int_1^R\mathbb{E}[f''(X_t)]\,dt. \tag*{(28)}

Differentiation under the integral is justified, for example, by bounded first and second derivatives and Gaussian integrability; the Adam map below satisfies the required conditions when the incoming second moment is positive.

Finite-noise mean bound and second-moment memory

Proof of Proposition 3. For this proof only, abbreviate p=β1mp=\beta_1m, k=1−β1k=1-\beta_1, a0=β2v>0a_0=\beta_2v>0, and b0=1−β2>0b_0=1-\beta_2>0. Write

f(x)=ph(x)+kℓ(x),h(x)=(a0+b0x2)−1/2,ℓ(x)=x(a0+b0x2)−1/2.f(x)=ph(x)+k\ell(x),\qquad h(x)=(a_0+b_0x^2)^{-1/2},\qquad\ell(x)=x(a_0+b_0x^2)^{-1/2}.

Direct differentiation gives

h′′(x)=b0(2b0x2−a0)(a0+b0x2)5/2,ℓ′′′(x)=−3a0b0(a0−4b0x2)(a0+b0x2)7/2.(29)h''(x)=\frac{b_0(2b_0x^2-a_0)}{(a_0+b_0x^2)^{5/2}},\qquad\ell'''(x)=\frac{-3a_0b_0(a_0-4b_0x^2)}{(a_0+b_0x^2)^{7/2}}. \tag*{(29)}

For y≥0y\ge0, the suprema of ∣2y−1∣/(1+y)5/2\lvert2y-1\rvert/(1+y)^{5/2} and ∣1−4y∣/(1+y)7/2\lvert1-4y\rvert/(1+y)^{7/2} are both one. The first follows by differentiation on either side of y=1/2y=1/2, and the second on either side of y=1/4y=1/4; their interior positive extrema have value less than one. Substituting y=b0x2/a0y=b_0x^2/a_0 gives

∥h′′∥∞≤b0a03/2,∥ℓ′′′∥∞≤3b0a03/2.\lVert h''\rVert_\infty\le\frac{b_0}{a_0^{3/2}},\qquad\lVert\ell'''\rVert_\infty\le\frac{3b_0}{a_0^{3/2}}.

Since ℓ′′\ell'' is odd and ZZ is symmetric, E[ℓ′′(tσZ)]=0\mathbb{E}[\ell''(\sqrt{t}\sigma Z)]=0. The mean-value bound therefore implies

∣E[ℓ′′(g+tσZ)]∣≤3b0∣g∣a03/2.\left|\mathbb{E}[\ell''(g+\sqrt{t}\sigma Z)]\right|\le\frac{3b_0|g|}{a_0^{3/2}}.

Thus, uniformly in t>0t>0,

∣E[f′′(g+tσZ)]∣≤b0a03/2(∣p∣+3k∣g∣).\left|\mathbb{E}[f''(g+\sqrt{t}\sigma Z)]\right|\le\frac{b_0}{a_0^{3/2}}(|p|+3k|g|).

Integrating (A.7) over 1≤t≤R1\le t\le R gives (19). This proof does not replace the random denominator by its expectation and does not require a small-noise limit.

Scaling rule A local example or token is downweighted by β2\beta_2 per local step. Keeping its decay per fixed number of local examples unchanged gives log⁡β2(R)/(B/R)=log⁡β2(R0)/(B/R0)\log\beta_2(R)/(B/R)=\log\beta_2(R_0)/(B/R_0), proving (20). Write c0=−R0log⁡β2(R0)>0c_0=-R_0\log\beta_2(R_0)>0. Then 1−β2(R)=1−e−c0/R≤c0/R1-\beta_2(R)=1-e^{-c_0/R}\le c_0/R, so (R−1)(1−β2(R))≤c0(R-1)(1-\beta_2(R))\le c_0. This controls the upper bound with fixed incoming state; it neither forces the bias to zero nor proves that its actual magnitude decreases monotonically with β2\beta_2.

Basis and scale errors

SOAP whitening requires both a basis that reduces correlations and coordinate scales that normalize the remaining variances. We first separate these two sources of error in the covariance of the returned update, then show how they affect covariance matching and the stochastic term in (10).

Conditioning and scope. The covariance calculations below concern centered proposals with bases and denominators fixed before the proposal is drawn. They describe an idealized one-step optimizer core, omitting a common learning-rate factor and the numerical stabilizer. The ideal denominators estimate the centered variance of this proposal. In practical SOAP, the denominator instead uses gradient second moments, whereas the numerator contains momentum; refreshing either state from the same gradient also couples the map to its input. The identities below therefore describe the frozen-state model, not the full fresh-gradient Adam or SOAP step.

Scale errors and correlations left in the estimated basis

Let worker rr have a centered matrix proposal Mr∈Rm×nM_r\in\mathbb{R}^{m\times n}, and set xr=vec⁡(Mr)x_r=\operatorname{vec}(M_r) and Σr=Cov⁡(xr)≻0\Sigma_r=\operatorname{Cov}(x_r)\succ0. Let Q^L,r\widehat{Q}_{L,r} and Q^R,r\widehat{Q}_{R,r} be the fixed estimated left and right bases. They are orthogonal matrices. Rotating into these bases gives the matrix proposal on which normalization or sign acts:

Zr=Q^L,rTMrQ^R,r,Qr=Q^R,r⊗Q^L,r,vec⁡(Zr)=QrTxr.(30)Z_r=\widehat{Q}_{L,r}^{\mathsf{T}}M_r\widehat{Q}_{R,r},\qquad Q_r=\widehat{Q}_{R,r}\otimes\widehat{Q}_{L,r},\qquad\operatorname{vec}(Z_r)=Q_r^{\mathsf{T}}x_r. \tag*{(30)}

No Kronecker assumption is imposed on Σr\Sigma_r here: the Kronecker matrix QrQ_r represents the two-sided rotation, not a factorization of the full covariance.

To distinguish scale error from an imperfect basis, let Γr\Gamma_r be the true covariance in the estimated basis, DrD_r its diagonal of coordinate variances, and CrC_r the correlation matrix remaining after exact variance normalization:

Γr=QrTΣrQr,Dr=Diag⁡(vr),vrj=(Γr)jj,Cr=Dr−1/2ΓrDr−1/2.(31)\Gamma_r=Q_r^{\mathsf{T}}\Sigma_rQ_r,\qquad D_r=\operatorname{Diag}(v_r),\qquad v_{rj}=(\Gamma_r)_{jj},\qquad C_r=D_r^{-1/2}\Gamma_rD_r^{-1/2}. \tag*{(31)}

Thus CrC_r has unit diagonal; its off-diagonal entries measure correlations that the basis has not removed. The actual normalization uses frozen variance estimates v^rj\widehat{v}_{rj}. Write their relative errors as erje_{rj} and collect the resulting inverse-scale gains in ArA_r:

v^rj=vrj(1+erj)>0,D^r=Diag⁡(v^r),Ar=Diag⁡((1+erj)−1/2).(32)\widehat{v}_{rj}=v_{rj}(1+e_{rj})>0,\qquad\widehat{D}_r=\operatorname{Diag}(\widehat{v}_r),\qquad A_r=\operatorname{Diag}\left((1+e_{rj})^{-1/2}\right). \tag*{(32)}

If V^r\widehat{V}_r is the m×nm\times n reshape of v^r\widehat{v}_r, the SOAP core divides by these estimated scales, whereas SPlus takes signs. Both then rotate the result back to the parameter coordinates:

UrSOAP=Q^L,r(Zr⊘V^r)Q^R,rT,U_r^{\mathrm{SOAP}}=\widehat{Q}_{L,r}\left(Z_r\oslash\sqrt{\widehat{V}_r}\right)\widehat{Q}_{R,r}^{\mathsf{T}},
vec⁡(UrSOAP)=QrD^r−1/2QrTxr,(33)\operatorname{vec}(U_r^{\mathrm{SOAP}})=Q_r\widehat{D}_r^{-1/2}Q_r^{\mathsf{T}}x_r, \tag*{(33)}
UrSPlus=Q^L,rsign⁡(Zr)Q^R,rT,U_r^{\mathrm{SPlus}}=\widehat{Q}_{L,r}\operatorname{sign}(Z_r)\widehat{Q}_{R,r}^{\mathsf{T}},
vec⁡(UrSPlus)=Qrsign⁡(QrTxr).(34)\operatorname{vec}(U_r^{\mathrm{SPlus}})=Q_r\operatorname{sign}(Q_r^{\mathsf{T}}x_r). \tag*{(34)}

Division, square roots, and signs in these matrix expressions act entrywise.

Proposition 5 (Separate effects of the basis and coordinate scales). Under the preceding frozen-state assumptions, define CrSOAP=Cov⁡(vec⁡(UrSOAP))C_r^{\mathrm{SOAP}}=\operatorname{Cov}(\operatorname{vec}(U_r^{\mathrm{SOAP}})). For every centered proposal with finite covariance,

CrSOAP=QrArCrArQrT,(35)C_r^{\mathrm{SOAP}}=Q_rA_rC_rA_rQ_r^{\mathsf{T}}, \tag*{(35)}

and the whitening error decomposes exactly as

∥CrSOAP−I∥F2=∑j(erj1+erj)2+∑i≠jCr,ij2(1+eri)(1+erj).(36)\left\lVert C_r^{\mathrm{SOAP}}-I\right\rVert_{\mathrm{F}}^2 =\sum_j\left(\frac{e_{rj}}{1+e_{rj}}\right)^2 +\sum_{i\ne j}\frac{C_{r,ij}^2}{(1+e_{ri})(1+e_{rj})}. \tag*{(36)}

If additionally xrx_r is centered Gaussian, then

CrSPlus=Qr[2πarcsin⁡(Cr)]QrT,(37)C_r^{\mathrm{SPlus}} = Q_r \left[\frac{2}{\pi}\arcsin(C_r)\right] Q_r^{\mathsf{T}}, \tag*{(37)}
∥CrSPlus−I∥F2=∑i≠j[2πarcsin⁡(Cr,ij)]2≤∥Cr−I∥F2.(38)\left\|C_r^{\mathrm{SPlus}}-I\right\|_F^2 = \sum_{i\ne j}\left[\frac{2}{\pi}\arcsin(C_{r,ij})\right]^2 \le\left\|C_r-I\right\|_F^2. \tag*{(38)}

Here arcsin acts entrywise. The same sign identities hold for the positive scale-mixture model xr=τryrx_r=\sqrt{\tau_r}y_r, where yr∼N(0,Σr)y_r\sim\mathcal{N}(0,\Sigma_r), τr>0\tau_r>0 is independent of yry_r, and E[τr]=1\mathbb{E}[\tau_r]=1.

Proof. Vectorization gives Equations (A.12) and (A.13). Since the maps and denominators are frozen, the SOAP covariance is the linear covariance sandwich. Substitute Γr=Dr1/2CrDr1/2\Gamma_r=D_r^{1/2}C_rD_r^{1/2} and D^r−1/2Dr1/2=Ar\widehat{D}_r^{-1/2}D_r^{1/2}=A_r to obtain Equation (A.14). Orthogonal conjugation preserves Frobenius norm. In the rotated frame, the diagonal covariance entries are (1+erj)−1(1+e_{rj})^{-1} and the off-diagonal entries are Cr,ij/(1+eri)(1+erj)C_{r,ij}/\sqrt{(1+e_{ri})(1+e_{rj})}. Summing their squared differences from the identity proves Equation (A.15).

For the sign map, each centered nondegenerate Gaussian coordinate has an equiprobable sign and hence mean zero and variance one. Two standardized Gaussian coordinates with correlation ρ\rho have sign disagreement probability arccos⁡(ρ)/π\arccos(\rho)/\pi: represent them as projections of an isotropic two-dimensional Gaussian onto two unit directions with angle arccos⁡(ρ)\arccos(\rho) and use its uniform angular distribution. Their sign product therefore has expectation 1−2arccos⁡(ρ)/π=(2/π)arcsin⁡(ρ)1-2\arccos(\rho)/\pi=(2/\pi)\arcsin(\rho). This is the Gaussian arcsine identity used in one-bit covariance estimation ([4]), and proves Equation (A.16). For 0≤t≤10\le t\le1, convexity of arcsin⁡(t)\arcsin(t) places it below the chord joining its endpoint values, so (2/π)arcsin⁡(t)≤t(2/\pi)\arcsin(t)\le t. Oddness extends the absolute-value inequality to [−1,1][-1,1]. Squaring the off-diagonal entries proves Equation (A.17). Finally, multiplication by the positive scalar τr\sqrt{\tau_r} leaves every sign unchanged; independence and E[τr]=1\mathbb{E}[\tau_r]=1 preserve the stated input covariance.

An accurate basis does not remove SOAP’s scale-estimation error. The first term remains when the basis decorrelates the proposal but the local scales are inaccurate; the second remains when exact scales are used in a basis that leaves correlations. SPlus removes the estimated-scale term in this centered model, while retaining dependence on those correlations. In particular, if Cr=IC_r=I, SPlus has identity covariance for every worker, including workers using different bases and different input variances.

For an explicit bound, if max⁡j∣erj∣≤ϵr<1\max_j\lvert e_{rj}\rvert\le\epsilon_r<1, then

∥CrSOAP−I∥F2≤∥er∥22+∥Cr−I∥F2(1−ϵr)2.(39)\left\|C_r^{\mathrm{SOAP}}-I\right\|_F^2 \le\frac{\left\|e_r\right\|_2^2+\left\|C_r-I\right\|_F^2}{(1-\epsilon_r)^2}. \tag*{(39)}

This follows by bounding each denominator in Equation (A.15) from below. Underestimating a variance can therefore amplify the whitening error through its reciprocal. Rotation back, by contrast, preserves the error in either operator or Frobenius norm:

∥QrBQrT−I∥=∥B−I∥.(40)\left\|Q_rBQ_r^{\mathsf{T}}-I\right\|=\left\|B-I\right\|. \tag*{(40)}

Orthogonal multiplication preserves singular values, proving Equation (A.19). Rotation back can change the directions of residual anisotropy, but cannot increase this norm of its error.

Training setup and hyperparameters

Models and data. The experiments use decoder-only LLaMA models trained on DCLM ([15]), with sequence length 2048 and evaluation on a held-out 100M-token validation split. The model configuration files give the architecture below. Global batch size is held fixed within each model scale, so the local batch is the global batch divided by RR.

Setting178M512M
Transformer layers912
Hidden width10241536
Attention heads / key-value heads8/812/12
Feed-forward width26885440
ActivationSwiGLUSwiGLU
Sequence length20482048
Global tokens per inner step524,2882,097,152
Global sequences per inner step2561024
Training tokens (approximately)3.55B10.25B

Table 7. Architecture and training scales. The global batch is measured per inner step, not per communication round.

Aggregation and comparisons. Unless stated otherwise, replicas take H=30H = 30 local steps and use a Nesterov SGD outer optimizer. The H=1H = 1 controls use uniform averaging without outer momentum. Percentage changes in validation loss use each optimizer’s own DP reference and are computed before rounding. The covariance, mean/noise, and curvature probes use the 178M outer-step-75 checkpoints; their replay settings and sample counts are specified in Appendix § 10.

Hyperparameter sweep. We tuned the learning rate for each optimizer in the DP setting and the inner and outer learning rates and outer momentum for local training. For each optimizer we tuned R=8,64,96R=8,64,96 each with at least 10 grid points extrapolating the HP for R=16R=16 and 32.

Analysis protocols and estimators

All three analyses use the 178M outer-step-75 checkpoints. The covariance and curvature probes use six matrices (attention query and MLP down-projection at layers 0, 4, and 8); the DP-referenced mean/noise comparison covers all 63 hidden attention and MLP matrices. Each optimizer uses its own trained checkpoint. The protocols below distinguish native saved states from the common-state replay used for comparison with DP.

Conditional covariance replay

This appendix spells out the covariance measurement used in Table 4. The probe estimates the minibatch-induced distribution of an optimizer’s local update conditional on one trained checkpoint. It does not treat successive updates from the training trajectory as independent covariance samples.

Conditional replay protocol

At a communication boundary, all replicas share the synchronized parameters WW, while replica rr has its own saved optimizer state srs_r. Table 4 uses all 64 saved replica states. For each replica, we run 2n2n rollouts: n=16n = 16. Before every rollout, we restore the same pair (W,sr)(W, s_r), then consume a new segment of the replica’s shuffled data stream. Within a rollout, the parameters and optimizer state evolve normally. We record the parameter displacement after h∈{1,30}h \in\{1, 30\} local steps,

ur,j(h)=concat⁡ℓ∈Lvec⁡(Wℓ−Wr,j,ℓ(h)),j=1,…,2n,(41)u_{r,j}^{(h)} = \operatorname{concat}_{\ell\in\mathcal{L}} \operatorname{vec}\left(W_\ell- W_{r,j,\ell}^{(h)}\right), \qquad j = 1,\ldots,2n, \tag*{(41)}

where L\mathcal{L} contains attention q_proj and MLP down_proj at layers 0, 4, and 8. For the 178M model, this concatenates d=11,403,264d = 11{,}403{,}264 coordinates. The h=1h = 1 and h=30h = 30 endpoints come from the same rollout and therefore have coupled finite-sample errors.

The per-replica batch is four sequences for R=64R = 64, giving a global batch of 256 sequences. Each replay uses the optimizer configuration saved by the corresponding training run, including its replica-local momentum and second moments and its saved replica-specific or shared basis.

For fixed rr and hh, write

μr,h=E[ur,j(h)],Cr,h=Cov⁡(ur,j(h)).(42)\mu_{r,h} = \mathbb{E}[u_{r,j}^{(h)}], \qquad C_{r,h} = \operatorname{Cov}(u_{r,j}^{(h)}). \tag*{(42)}

Two consecutive rollouts form one paired difference,

zr,i(h)=ur,2i−1(h)−ur,2i(h)2,i=1,…,n.(43)z_{r,i}^{(h)} = \frac{u_{r,2i-1}^{(h)} - u_{r,2i}^{(h)}}{\sqrt{2}}, \qquad i = 1,\ldots,n. \tag*{(43)}

If the two rollouts are independent draws from the same conditional distribution, then

E[zr,i(h)]=0,Cov⁡(zr,i(h))=12(Cr,h+Cr,h)=Cr,h.(44)\mathbb{E}[z_{r,i}^{(h)}] = 0, \qquad\operatorname{Cov}(z_{r,i}^{(h)}) = \frac{1}{2}(C_{r,h} + C_{r,h}) = C_{r,h}. \tag*{(44)}

The subtraction therefore removes the unknown mean, while 1/21/\sqrt{2} restores the original covariance scale.

Trace estimators from full-coordinate inner products

Fix a horizon and suppress hh in the notation. Define the Gram entries

Gri,sj=zr,iTzs,j.(45)G_{ri,sj} = z_{r,i}^{\mathsf{T}}z_{s,j}. \tag*{(45)}

The code computes these inner products over every selected coordinate; it does not use a random projection. It nevertheless estimates population moments from nn paired differences per replica.

For each replica, define

tr=1n∑i=1nGri,ri,(46)t_r = \frac{1}{n}\sum_{i=1}^{n}G_{ri,ri}, \tag*{(46)}
br=1n(n−1)∑i≠jGri,riGrj,rj,(47)b_r = \frac{1}{n(n-1)}\sum_{i\ne j}G_{ri,ri}G_{rj,rj}, \tag*{(47)}
qrr=1n(n−1)∑i≠jGri,rj2.(48)q_{rr} = \frac{1}{n(n-1)}\sum_{i\ne j}G_{ri,rj}^{2}. \tag*{(48)}

Under the IID-rollout idealization, for independent paired differences,

E[tr]=tr⁡(Cr),E[br]=tr⁡(Cr)2,E[qrr]=tr⁡(Cr2).(49)\mathbb{E}[t_r] = \operatorname{tr}(C_r), \qquad\mathbb{E}[b_r] = \operatorname{tr}(C_r)^2, \qquad\mathbb{E}[q_{rr}] = \operatorname{tr}(C_r^2). \tag*{(49)}

The last identity follows from

E[(zTz′)2]=tr⁡(E[zzT]E[z′z′T])=tr⁡(C2)(50)\mathbb{E}[(z^{\mathsf{T}}z')^2] = \operatorname{tr}\left(\mathbb{E}[zz^{\mathsf{T}}]\mathbb{E}[z'z'^{\mathsf{T}}]\right) = \operatorname{tr}(C^2) \tag*{(50)}

for independent zz and z′z'. Using i≠ji\ne j is important: including the diagonal would add fourth-moment self-products and bias the estimate upward.

For different replicas r≠sr\ne s, the cross term

qrs=1n2∑i,jGri,sj2(51)q_{rs} = \frac{1}{n^2}\sum_{i,j}G_{ri,sj}^{2} \tag*{(51)}

estimates tr⁡(CrCs)\operatorname{tr}(C_rC_s) under the same IID and conditional replica-independence idealization. The quantity is the scale-dependent Frobenius overlap between two replicas’ covariance matrices, not a cross-covariance between their stochastic updates.

Scaled sum of local covariances

The probe constructs the scaled sum

C~=1R2∑r=1RCr.(52)\widetilde{C} = \frac{1}{R^2}\sum_{r=1}^{R}C_r. \tag*{(52)}

For the actual replica average uˉ=R−1∑rur\bar{u}=R^{-1}\sum_r u_r, this equals Cov⁡(uˉ)\operatorname{Cov}(\bar{u}) if the cross-replica noise covariances vanish conditional on the starting parameters and optimizer states. The local-replay probe does not measure those cross-covariances. To estimate the trace moments of C~\widetilde{C}, it uses

T^=1R2∑rtr,E[T^]=tr⁡(C~),(53)\widehat{T} = \frac{1}{R^2}\sum_r t_r,\qquad\mathbb{E}[\widehat{T}] = \operatorname{tr}(\widetilde{C}), \tag*{(53)}
S^=1R4∑r,sqrs,E[S^]=tr⁡(C~2),(54)\widehat{S} = \frac{1}{R^4}\sum_{r,s} q_{rs},\qquad\mathbb{E}[\widehat{S}] = \operatorname{tr}(\widetilde{C}^2), \tag*{(54)}
B^=1R4(∑rbr+∑r≠strts),E[B^]=tr⁡(C~2).(55)\widehat{B} = \frac{1}{R^4}\left(\sum_r b_r+\sum_{r\ne s}t_rt_s\right),\qquad\mathbb{E}[\widehat{B}] = \operatorname{tr}(\widetilde{C}^2). \tag*{(55)}

The separate estimator B^\widehat{B} avoids squaring the noisy estimate T^\widehat{T}. The reported anisotropy is

a^=max⁡{0,dS^B^−1}.(56)\widehat{a}=\sqrt{\max\left\{0,\frac{d\widehat{S}}{\widehat{B}}-1\right\}}. \tag*{(56)}

Under the IID idealization, T^\widehat{T}, S^\widehat{S}, and B^\widehat{B} are built from unbiased moment estimators, but their ratio and square root are not themselves unbiased. The clipping only handles a negative raw value caused by finite-sample error; it can therefore return zero even when the population covariance is anisotropic.

If λ1,…,λd\lambda_1,\ldots,\lambda_d are the eigenvalues of C~\widetilde{C}, the population quantity is

a2=d∑iλi2(∑iλi)2−1,reffd=11+a2,(57)a^2=\frac{d\sum_i\lambda_i^2}{\left(\sum_i\lambda_i\right)^2}-1,\qquad\frac{r_{\mathrm{eff}}}{d}=\frac{1}{1+a^2}, \tag*{(57)}

where reff=(∑iλi)2/∑iλi2r_{\mathrm{eff}}=\left(\sum_i\lambda_i\right)^2/\sum_i\lambda_i^2 is the participation-ratio effective rank. Thus aa measures covariance shape independently of scale; it is undefined when the covariance is identically zero. For example, diag⁡(5,5)\operatorname{diag}(5,5) has a=0a=0, whereas diag⁡(9,1)\operatorname{diag}(9,1) has a=0.8a=0.8. Multiplying either matrix by a positive scalar leaves aa unchanged.

Scope and interpretation

The estimator is conditional on one checkpoint and one set of replica-local states. Each method is evaluated on its own trained trajectory, so a cross-method difference can reflect both the update rule and the state reached by training; it is not a same-state causal ablation. Concatenating six matrices also mixes within-matrix anisotropy, scale imbalance between matrices, and cross-matrix covariance. The input streams are disjoint segments of one shuffled replica-local permutation, rather than independent samples drawn with replacement. The unbiasedness equalities above are therefore exact only under the stated IID idealization. Moreover, the n(n−1)n(n-1) and n2n^2 sums reuse the same nn vectors; their terms are not independent observations. Finally, interpreting Equation (C.12) as the covariance of the actual average requires vanishing conditional cross-replica noise covariances.

Lower aa indicates a more isotropic C~\widetilde{C}, independently of total noise magnitude. For SOAP, the saved position relative to a basis-refresh step can also affect the measured covariance: the fresh gradient may enter both the basis and the proposal. At this single checkpoint, the probe characterizes update geometry but does not identify its causal contribution to final loss.

DP-referenced directional mean and noise

Each optimizer is evaluated at its own round-75 checkpoint. At the start of every repetition, the checkpoint weights and replica 0’s saved optimizer state are copied to every replica and to the DP reference. “Common state” means identical states within that replay, not an averaged optimizer state or a state shared across optimizers. Each replica consumes a persistent, shuffled data stream without reusing sequences across repetitions. In each step DP sees the union of the same local batches, evaluated at its own iterate. This preserves the pairing between local and DP data without reusing examples between the direction-fitting and evaluation samples.

Let jj index one of the 63 hidden matrices, vectorized in parameter coordinates. Write xj,kx_{j,k} for its averaged local displacement and yj,ky_{j,k} for its DP displacement in repetition kk. On the 16 fitting repetitions at R=8R=8, define

α^j=⟨x‾j,fit,y‾j,fit⟩∥x‾j,fit∥2\widehat{\alpha}_j=\frac{\langle\overline{x}_{j,\mathrm{fit}},\overline{y}_{j,\mathrm{fit}}\rangle}{\lVert\overline{x}_{j,\mathrm{fit}}\rVert^2}

and take q^j\hat{q}_j to be the leading eigenvector of the sample covariance of α^jxj,k\hat{\alpha}_j x_{j,k} on those same fitting repetitions. The reference mean is dj=E[yj,k]d_j = \mathbb{E}[y_{j,k}], and the mean discrepancy is bj=α^jE[xj,k]−djb_j = \hat{\alpha}_j\mathbb{E}[x_{j,k}] - d_j, conditional on the fitting sample. The decomposition in Equation (10) therefore applies to each matrix with these fitted quantities held fixed.

We use the remaining K=24K = 24 independent repetitions for evaluation. Set zj,k=α^jxj,k−yj,kz_{j,k} = \hat{\alpha}_j x_{j,k} - y_{j,k}, tj,k=q^jTzj,kt_{j,k} = \hat{q}_j^{\mathsf{T}} z_{j,k}, and pj,k=α^jq^jTxj,kp_{j,k} = \hat{\alpha}_j \hat{q}_j^{\mathsf{T}} x_{j,k}. With s2s^2 denoting the unbiased sample variance on these repetitions, the unnormalized estimates are

B^j=tˉj2−s2(tj,k)K,N^j=s2(pj,k).\widehat{B}_j = \bar{t}_j^2 - \frac{s^2(t_{j,k})}{K}, \qquad\widehat{N}_j = s^2(p_{j,k}).

Conditional on the fit and independent evaluation repetitions, B^j\widehat{B}_j is unbiased for (q^jTbj)2(\hat{q}_j^{\mathsf{T}} b_j)^2 and N^j\widehat{N}_j estimates α^j2q^jTCjq^j\hat{\alpha}_j^2\hat{q}_j^{\mathsf{T}} C_j\hat{q}_j, where Cj=Cov⁡(xj,k)C_j = \operatorname{Cov}(x_{j,k}). Crucially, the correction uses the variance of the paired difference zj,kz_{j,k}; it retains the local–DP cross-covariance. The stochastic term is the variance of a single aggregated update, not that variance divided by the number of evaluation repetitions.

For each matrix, the first two numerical columns in Table 5 are B^j/∥d^j∥2\widehat{B}_j/\lVert\hat{d}_j\rVert^2 and N^j/∥d^j∥2\widehat{N}_j/\lVert\hat{d}_j\rVert^2, with d^j=K−1∑kyj,k\hat{d}_j = K^{-1}\sum_k y_{j,k}, expressed in units of 10−610^{-6}. The third column is 100B^j/N^j100\widehat{B}_j/\widehat{N}_j. Every column is averaged with equal weight over the 63 matrices. In particular, the reported average ratio is not the ratio of the two reported averages. Bias-corrected mismatch estimates can be negative and are not clipped before averaging. The estimated DP normalizer and the ratios introduce additional finite-sample uncertainty; the normalized entries are not claimed to be unbiased. The matrices share data and are not independent experimental repeats.

OptimizerMean mismatch (×10−6\times10^{-6})Stochastic error (×10−6\times10^{-6})Mean / noise (%)
SPlus.044.917.9
SOAP.121.47.5
Muon.111.114
AdamW5.41919

Table 5. Mean mismatch is smaller than stochastic error in the detected high-noise directions, and particularly small for SPlus and SOAP compared with AdamW.

Trace-based comparison. The corresponding whole-matrix estimates are

B^jtr=∥zˉj∥2−1K(K−1)∑k∥zj,k−zˉj∥2,N^jtr=α^j2K−1∑k∥xj,k−xˉj∥2.\widehat{B}^{\mathrm{tr}}_j = \lVert\bar{z}_j\rVert^2 - \frac{1}{K(K-1)}\sum_k \lVert z_{j,k}-\bar{z}_j\rVert^2, \qquad\widehat{N}^{\mathrm{tr}}_j = \frac{\hat{\alpha}_j^2}{K-1}\sum_k \lVert x_{j,k}-\bar{x}_j\rVert^2.

They estimate ∥bj∥2\lVert b_j\rVert^2 and α^j2tr⁡(Cj)\hat{\alpha}_j^2\operatorname{tr}(C_j), respectively. The same DP-mean normalizer and equal per-matrix averaging apply; the mean/noise ratio is computed per matrix before averaging. At R=8R = 8, H=30H = 30, these average ratios are 6.2% for SPlus, 2.8% for SOAP, 10% for Muon, and 6.7% for AdamW.

Curvature along fitted high-noise directions

At each method’s own checkpoint, restore the saved parameters and optimizer state before every one-step replay. Form 128 paired update differences zi=(ui−ui′)/2z_i = (u_i-u_i')/\sqrt{2}, using fresh local batches of b=256/Rb = 256/R sequences. Under the independent-replay model these differences are centered and have the local-update covariance. For Table 6, use the first 64 of the 128 paired samples to select

q^=arg max⁡∥q∥=1 164∑i=164(qTzi)2.\hat{q} = \underset{\lVert q\rVert=1}{\operatorname{arg\,max}}\ \frac{1}{64}\sum_{i=1}^{64}(q^{\mathsf{T}}z_i)^2.

Hessian–vector products on 64 held-out validation sequences evaluate curvature at the same checkpoint parameters. Draw 16 independent standard Gaussian vectors in the six-matrix subspace and normalize each to unit length, giving v1,…,v16v_1,\ldots,v_{16}. Report

κ(q^)=q^THq^116∑j=116vjTHvj.\kappa(\hat{q}) = \frac{\hat{q}^{\mathsf{T}}\mathcal{H}\hat{q}}{\frac{1}{16}\sum_{j=1}^{16}v_j^{\mathsf{T}}\mathcal{H}v_j}.

The numerator measures curvature along a direction selected for high noise variance, not maximum curvature. The denominator estimates tr⁡(H)/d\operatorname{tr}(\mathcal{H})/d in this subspace. Each method uses its own trained checkpoint, so the Hessian and reference curvature are method-specific. Ranges span the two estimates from replicas 0 and 1; a single displayed value means both endpoints round to it. These are one-step local-update measurements, not H=30H = 30 aggregate measurements. The ratio removes the noise magnitude and does not estimate tr⁡(HC)\operatorname{tr}(\mathcal{H}C).

References

  1. [1]A. C. Aitken. On least squares and linear combinations of observations. Proceedings of the Royal Society of Edinburgh, 55:42–48, 1935. doi:10.1017/S0370164600014346.
  2. [2]Jeremy Bernstein, Yu-Xiang Wang, Kamyar Azizadenesheli, and Anima Anandkumar. signSGD: Compressed optimisation for non-convex problems. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pp. 560–569, 2018. URL https://proceedings.mlr.press/v80/bernstein18a.html.arxiv.org/abs/1802.04434
  3. [3]Zachary Charles, Gabriel Teston, Lucio Dery, Keith Rush, Nova Fallen, Zachary Garrett, Arthur Szlam, and Arthur Douillard. Communication-efficient language model training scales reliably and robustly: Scaling laws for DiLoCo. In Advances in Neural Information Processing Systems, 2025. URL https://arxiv.org/abs/2503.09799.
  4. [4]Sjoerd Dirksen, Johannes Maly, and Holger Rauhut. Covariance estimation under one-bit quantization. The Annals of Statistics, 50(6):3538–3562, 2022. doi:10.1214/22-AOS2239. URL https://arxiv.org/abs/2104.01280.
  5. [5]Arthur Douillard, Qixuan Feng, Andrei A. Rusu, Rachita Chhაპaria, Yani Donchev, Adhiguna Kuncoro, Marc’Aurelio Ranzato, Arthur Szlam, and Jiajun Shen. DiLoCo: Distributed low-communication training of language models. arXiv:2311.08105, 2023. URL https://arxiv.org/abs/2311.08105.
  6. [6]Arthur Douillard, Yanislav Donchev, Keith Rush, Satyen Kale, Zachary Charles, Zachary Garrett, Gabriel Teston, Dave Lacey, Ross McIlroy, Jiajun Shen, Alexandre Ramé, Arthur Szlam, Marc’Aurelio Ranzato, and Paul Barham. Streaming DiLoCo with overlapping communication: Towards a distributed free lunch. arXiv:2501.18512, 2025. URL https://arxiv.org/abs/2501.18512.
  7. [7]Kevin Frans, Sergey Levine, and Pieter Abbeel. A stable whitening optimizer for efficient neural network training, 2025. URL https://arxiv.org/abs/2506.07254.
  8. [8]Vineet Gupta, Tomer Koren, and Yoram Singer. Shampoo: Preconditioned stochastic tensor optimization. In Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pp. 1842–1850, 2018. URL https://proceedings.mlr.press/v80/gupta18a.html.arxiv.org/abs/1802.09568
  9. [9]Stefan Horoi, Benjamin Thérien, Guy Wolf, and Eugene Belilovsky. Can model merging improve aggregation in DiLoCo? arXiv:2607.03011, 2026. URL https://arxiv.org/abs/2607.03011.
  10. [10]Keller Jordan, Yuchen Jin, Vlado Boza, Jiacheng You, Franz Cesista, Laker Newhouse, and Jeremy Bernstein. Muon: An optimizer for hidden layers in neural networks. Technical article, 2024. URL https://kellerjordan.github.io/posts/muon/.
  11. [11]Sai Praneeth Karimireddy, Satyen Kale, Mehryar Mohri, Shashank Reddi, Sebastian Stich, and Ananda Theertha Suresh. SCAFFOLD: Stochastic controlled averaging for federated learning. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pp. 5132–5143, 2020. URL https://proceedings.mlr.press/v119/karimireddy20a.html.arxiv.org/abs/1910.06378
  12. [12]Agnan Kessy, Alex Lewin, and Korbinian Strimmer. Optimal whitening and decorrelation. The American Statistician, 72(4):309–314, 2018. doi:10.1080/00031305.2016.1277159. URL https://arxiv.org/abs/1512.00809.
  13. [13]Mikail Khona, Aditya Vavre, Boxiang Wang, Deyu Fu, Hao Wu, Mike Chrzanowski, Bryan Catanzaro, Dhee­vatsa Mudigere, Jeff Pool, Michael Lightstone, Mohammad Shoeybi, Mostofa Patwary, Nima Tajbakhsh, and Tijmen Blankevoort. SOAP, muon, and beyond: Pushing LLM pretraining scales. arXiv:2607.20548, 2026. URL https://arxiv.org/abs/2607.20548.
  14. [14]Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations, 2015. URL https://arxiv.org/abs/1412.6980.
  15. [15]Jeffrey Li et al. Data-Comp-LLM: In search of the next generation of training sets for language models. arXiv:2406.11794, 2024. URL https://arxiv.org/abs/2406.11794.
  16. [16]Wu Lin, Scott C. Lowe, Felix Dangel, Runa Eschenhagen, Zikun Xu, and Roger B. Grosse. Understanding and improving shampoo and SOAP via Kullback–Leibler minimization. In International Conference on Learning Representations, 2026. URL https://arxiv.org/abs/2509.03378.
  17. [17]Bo Liu et al. Asynchronous local-SGD training for language modeling. arXiv:2401.09135, 2024. URL https://arxiv.org/abs/2401.09135.
  18. [18]Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations, 2019. URL https://arxiv.org/abs/1711.05101.
  19. [19]Sadhika Malladi, Kaifeng Lyu, Abhishek Panigrahi, and Sanjeev Arora. On the SDEs and scaling rules for adaptive gradient algorithms. In Advances in Neural Information Processing Systems, 2022. URL https://arxiv.org/abs/2205.10287.
  20. [20]Daniel Marczak, Simone Magistri, Sebastian Cygert, Bartłomiej Twardowski, Andrew D. Bagdanov, and Joost van de Weijer. No task left behind: Isotropic model merging with common and task-specific subspaces. In Proceedings of the 42nd International Conference on Machine Learning, 2025. URL https://arxiv.org/abs/2502.04959.
  21. [21]Martin Marek, Sanae Lotfi, Aditya Somasundaram, Andrew Gordon Wilson, and Micah Goldblum. Small batch size training for language models: When vanilla SGD works, and why gradient accumulation is wasteful, 2025. URL https://arxiv.org/abs/2507.07101.
  22. [22]H. Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Agüera y Arcas. Communication-efficient learning of deep networks from decentralized data. In Proceedings of the 20th International Conference on Artificial Intelligence and Statistics, volume 54 of Proceedings of Machine Learning Research, pp. 1273–1282, 2017. URL https://proceedings.mlr.press/v54/mcmahan17a.html.arxiv.org/abs/1602.05629
  23. [23]Sashank J. Reddi, Zachary Charles, Manzil Zaheer, Zachary Garrett, Keith Rush, Jakub Konečný, Sanjiv Kumar, and H. Brendan McMahan. Adaptive federated optimization. In International Conference on Learning Representations, 2021. URL https://arxiv.org/abs/2003.00295.
  24. [24]Matthew Reed and Mohamed Baioumy. SPARTA: Distributed training with sparse parameter averaging. EXO Labs, 2025. URL https://openreview.net/forum?id=stPF3gzq1. See also the OpenReview preprint “Improving the Efficiency of Distributed Training using Sparse Parameter Averaging”.
  25. [25]Amir Sarfi et al. Communication efficient LLM pre-training with SparseLoCo. arXiv:2508.15706, 2025. URL https://arxiv.org/abs/2508.15706.
  26. [26]Sebastian U. Stich. Local SGD converges fast and communicates little. In International Conference on Learning Representations, 2019. URL https://arxiv.org/abs/1805.09767.
  27. [27]Benjamin Thérien, Xiaolong Huang, Aaron Defazio, Irina Rish, and Eugene Belilovsky. MuLoCo: Muon is a practical inner optimizer for DiLoCo, 2025. URL https://arxiv.org/abs/2505.23725.
  28. [28]Felix Voigtlaender. A general version of Price’s theorem: A tool for bounding the expectation of nonlinear functions of Gaussian random vectors. Journal of Theoretical Probability, 34:1474–1485, 2021. doi:10.1007/s10995-020-01017-w.DOI
  29. [29]Nikhil Vyas, Depen Morwani, Rosie Zhao, Mujin Kwun, Itai Shapira, David Brandfonbrener, Lucas Janson, and Sham Kakade. SOAP: Improving and stabilizing shampoo using shampoo and Adam. In International Conference on Learning Representations, 2025. URL https://arxiv.org/abs/2409.11321.
  30. [30]Jianyu Wang, Rudrajit Das, Gauri Joshi, Satyen Kale, Zheng Xu, and Tong Zhang. On the unreasonable effectiveness of federated averaging with heterogeneous data. Transactions on Machine Learning Research, 2024. URL https://arxiv.org/abs/2206.04723.
  31. [31]Kaiyue Wen, David Hall, Tengyu Ma, and Percy Liang. Fantastic pretraining optimizers and where to find them. arXiv:2509.02046, 2025. URL https://arxiv.org/abs/2509.02046.
  32. [32]Hao Yu, Rong Jin, and Sen Yang. On the linear speedup analysis of communication efficient momentum SGD for distributed non-convex optimization. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, pp. 7184–7193, 2019. URL https://proceedings.mlr.press/v97/yu19d.html.arxiv.org/abs/1905.03817

Paper details

vlnc:W_d2w72dgu
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