Manuscript Offprint
arXiv:2610.22623Understanding Stability of Outer Nesterov Momentum on Stochastic Pseudo-Gradients
ABSTRACT
Large neural networks are commonly trained across many workers, and communication between them is a major cost. Workers therefore take several local optimization steps before sending their net parameter displacements, or pseudo-gradients, to an outer optimizer, which often applies Nesterov momentum. We study how the outer momentum, the number of local steps and the averaging over workers control the training dynamics, and in particular their stability. For random quadratics, we derive an exact mean-square stability criterion in any dimension, which reveals that the inner batch size determines whether increasing the number of local steps eventually stabilizes or destabilizes the outer iteration. Moreover, while averaging the pseudo-gradients of independent workers can make larger outer momentum values admissible, the number of workers required for stability can grow exponentially with the number of local steps. Finally, we show that the mean-square dynamics governing stability can be probed directly at intermediate neural-network checkpoints using shared-minibatch perturbations. We test our theoretical findings across networks, and measure their consequences for training loss.
Large inner batch size

Small inner batch size
Averaging over workers
mean-square stable region
mean-square boundary
mean unstable region
mean boundary
Figure 1: Mean-square stable regions in . For inner batch size and inner-batch threshold (as defined in Section 5.2), more local steps enlarge the mean-square stable region when (left), and shrink it when (middle). Averaging the pseudo-gradient over workers enlarges the mean-square stable region (right), but never past the mean boundary (gray), which averaging leaves unchanged.
This work was conducted while Hiroki Naganuma was at Mila.
A PREPRINT
1 Introduction
Deep neural networks, and large language models (LLMs) in particular, are now trained on many workers, often spread across compute nodes or even data centers. In such distributed training, each worker holds a copy of the model, and gradients are exchanged at every step to keep the copies in sync. This communication has become one of the main drivers of training costs at scale (Douillard et al., 2023). A common solution is to let each worker train locally for K optimization steps and send only its displacement, the pseudo-gradient, to an outer update (McMahan et al., 2017). This outer update often applies Nesterov momentum (Nesterov, 1983), which has been found to accelerate training on one or many workers (Kallusky et al., 2025; Agarwala, 2026) and to outperform SGD and Adam as the outer optimizer (Douillard et al., 2023).
Concretely, at outer step t, each of W workers starts from the shared parameters and runs K steps of minibatch stochastic gradient descent (SGD) with batch size b and inner learning rate (its inner trajectory). The outer optimizer averages the workers' pseudo-gradients and applies Nesterov momentum to the average, with outer learning rate and outer momentum (Algorithm 1).
Algorithm 1 Two-phase optimization with outer Nesterov momentum
Require: start , inner rate , inner batch size , outer rate , outer momentum , number of local steps , number of workers
1:
2: for do
3: for do ▷ in parallel
4: run inner SGD steps at rate with batch size from on fresh minibatches, ending at
5: end for
6: ▷ pseudo-gradient
7: ▷ buffer updated first
8: ▷ uses the updated buffer
9: end for
Several familiar training methods fit this two-phase template. Local SGD and federated averaging (McMahan et al., 2017; Stich, 2019; Lin et al., 2020) are the simplest case, and , in which the outer step just averages the workers' parameters. Lookahead (Zhang et al., 2019) keeps but takes on a single worker, and SNOO (Kallusky et al., 2025) adds the outer Nesterov step, still on a single worker. DiLoCo (Douillard et al., 2023) and, more recently, MuLoCo (Thérien et al., 2025) apply the outer Nesterov step across workers using AdamW (Kingma and Ba, 2015; Loshchilov and Hutter, 2019) and Muon (Jordan et al., 2024) as inner optimizers, respectively. SlowMo (Wang et al., 2020) also adds momentum to the outer step, adaptive federated optimizers (Reddi et al., 2021) use an adaptive outer optimizer, semi-synchronous variants target high-latency links (Naganuma et al., 2025), and asynchronous ones tolerate stragglers and hardware failures (Douillard et al., 2026).
These methods, which have been scaled to language models with billions of parameters (Charles et al., 2025; Douillard et al., 2025), have many interacting hyperparameters, such as the inner and outer optimizers, the outer momentum, the learning rates, the batch size and the number of local steps K, and today they are set by tuning. SNOO, for example, finds that outer momentum 0.9 is more sensitive to K than smaller values, and that suboptimal outer hyperparameters can substantially degrade performance (Kallusky et al., 2025). Among these choices, the number of local steps K is special, because it influences the variance of the pseudo-gradient (Section 3.2), and this variance grows with the error left by earlier outer steps, so it does not average out over the outer steps. As a result, the error can shrink on average while its mean square grows without bound, so an analysis of the mean alone can wrongly predict stability, as in the region between the green and grey boundaries of Figure 1. Moreover, the stability of this two-phase setup is less understood than that of standard SGD (Wu et al., 2018; Ma and Ying, 2021; Granziol et al., 2022; Velikanov et al., 2023; Ziyin et al., 2023; Mulayoff and Michaeli, 2024), because the outer optimizer acts on a stochastic K-step pseudo-gradient rather than on a single stochastic gradient. In this work, we give a theory that explains how changing the outer momentum, the number of local steps and the averaging over workers controls the training dynamics, and in particular their mean-square stability, which provides both a deeper mechanistic understanding of these methods and principled guidance for choosing their hyperparameters.
Our contributions are as follows.
- For random quadratics, we derive a necessary and sufficient condition for the mean-square stability of outer Nesterov momentum on pseudo-gradients from K stochastic inner SGD steps (Theorem 1).
A PREPRINT
-
From it we derive four implications: (i) at a fixed , the noise budget can only shrink as grows (Proposition 2); (ii) the inner batch size decides whether large K is eventually stable or unstable (Proposition 3; Figure 1); (iii) averaging W workers divides the variance only by W, and the number of workers needed for stability can grow exponentially in K (Corollary 4; Figure 1); (iv) for fixed total batch size budget, splitting it across workers cannot improve mean-square stability (Proposition 5).
-
We measure stability at an intermediate neural-network checkpoint without knowing a minimizer, by tracking whether a small difference between two runs that share their minibatches grows or shrinks. We apply this measurement at several checkpoints of an MLP and a ResNet-20, both trained on CIFAR-10, and of Pythia language models from 70m to 1b parameters, and test the trends that the four implications predict (Figure 4). We also measure the consequences of instability for the training loss (Section 6.3; Figure 5).
Mathematically, our analysis is closest to Mulayoff and Michaeli (2024), who derive an exact mean-square threshold for minibatch SGD. They connect the mean-square stability of SGD to stationary covariance and expected loss. We extend this perspective to outer momentum acting on an entire stochastic trajectory. While their analysis is around a minimum, through shared-minibatch perturbations we also investigate these dynamics at intermediate neural-network checkpoints. Their threshold continues a line of work that uses linear stability to characterize which minima SGD can reach (Wu et al., 2018; Ma and Ying, 2021; Wu et al., 2022). Stochastic momentum is known to be sensitive to multiplicative noise (Gupta et al., 2024). To our knowledge, however, no exact mean-square criterion was available for outer momentum on a stochastic pseudo-gradient. Our criterion is the spectral radius of a map on second moments, which is the form of mean-square stability for jump-linear systems (Costa et al., 2005).
A separate line of work studies how training behaves at its stability boundary. Under full-batch gradient descent, the sharpness of a neural network typically rises to and hovers there, at the edge of stability (Cohen et al., 2021; Damian et al., 2023). Minibatch SGD, with and without momentum, trains at an analogous edge of stochastic stability (Andreyev and Beneventano, 2026; Liao et al., 2026; Andreyev et al., 2026). Among two-phase optimizers, Khandelwal et al. (2026) observe edge-of-stability dynamics in federated averaging, the case and . Whether training with outer momentum also operates at the edge of stability is, to our knowledge, open (Section 7).
3 Setup
Here, we make the setup from the introduction precise. With a single worker per outer step (averaging over W workers in Section 5.3), the pseudo-gradient comes from K steps that start at and end at , where denotes their minibatches , each of b samples. Written as a function of the starting point ,
we call this map from to its displacement a block, and write for it when K is fixed (Figure 2(a)). At outer step t, the pseudo-gradient is this map evaluated at the current parameters, , where the minibatches are drawn independently at every outer step, and the outer update of Algorithm 1 is
with the momentum buffer started at . Throughout, and .
Initially, through Section 3.1 we will assume that the minibatch losses share a minimizer (an interpolating minimum in the terminology of Mulayoff and Michaeli 2024) and as a part of the stability analysis, we track the error . With a shared minimizer the error obeys a homogeneous recurrence, so stability means that the error vanishes. Section 6.1
A PREPRINT
(a)

(b)

Figure 2: The pseudo-gradient of inner SGD steps, and the block operator. (a) From the inner trajectory takes SGD steps on minibatches and ends at . The pseudo-gradient is the displacement from to . The outer step moves by to . (b) The block operator maps a displacement of the starting point to the change of the pseudo-gradient. Each green arrow is the change for one draw of the minibatches . The draws have mean , and the shaded ellipse marks their covariance. Mean-square stability depends on only through and the second moment of Section 3.2.
drops this assumption, which makes the minimizer of the full loss a regular minimum in the terminology of Mulayoff and Michaeli (2024). The error then no longer vanishes, but, importantly, the same stability criterion still decides whether it stays bounded.
3.1 Block operator and stability
We model the minibatch losses as quadratics with a common minimizer,
(3)
where is the Hessian of the minibatch loss . Since an SGD step at rate sends the error to , after steps the error is multiplied by with , so the pseudo-gradient is linear in the error,
(4)
We call the map the block operator. In other words, the inner trajectory replaces the curvature of the loss with the block operator, on which the outer Nesterov step acts. In the deterministic setting its spectrum is the effective spectrum of Agarwala (2026). Note that the block operator is random, because it depends on the minibatches , although not on , and for it is in general not symmetric, so the pseudo-gradient need not be the gradient of any loss. Since it does not depend on , displacing the starting point by changes the pseudo-gradient by exactly (Figure 2(b)), which is the reading that Section 6.1 carries over to networks.
Substituting (4) into (2) gives linear recurrence for , the error and the momentum buffer that enter step ,
(5)
Assumption 1 (i.i.d. block operators) The block operators , of different outer steps are jointly independent and identically distributed (i.i.d.), and independent of the initial state . Both have finite second moments, and .
In the model, the assumption holds whenever every outer step draws its K minibatches afresh.
Independence of the minibatches within a block is used for the block moments of Section 3.2. Propositions 3 and 5 and Corollary 4(b) use these moments.
A PREPRINT
Definition 1 (Stability) The recurrence (5) is mean stable if , and mean-square stable if , for every initial state admitted by Assumption 1.
As one would expect, mean-square stability implies mean stability, because , but not conversely (Figure 6 in Appendix B gives an example).
3.2 Block moments and how K and b enter them
Define two averages of the block operator, its mean and its second moment , with the Kronecker product. We will refer to them as the block moments. As Section 4 shows, the stability criterion depends on the block operator only through these block moments. In the model, both are built from the mean and the second moment of a single inner step (derivation in Appendix E.1). If the one-step maps of a block are i.i.d. with and , then
Since , the matrix acts on a symmetric matrix exactly as the map does, and we use both forms.
Equation (6) is precisely where the number of local steps enters. The mean block operator is governed by alone, whereas the second moment also contains , and the two powers vary at different rates in , so an analysis using only does not account for how the noise changes with .
The batch size. For samples drawn with replacement from sample curvatures with mean , so that is the average of the sampled , the one-step mean does not depend on and the one-step second-moment map splits as
(7)
with the large-batch limit and positive (derivation in Appendix F). The batch therefore enters only through the noise term, as the factor .
4 The Stability Boundary
4.1 Second-moment map and the block noise
Under Assumption 1, the first two moments of depend only on those of . With drawn from the common distribution of the , define the second-moment map on symmetric matrices
Then, with the mean transition and the second-moment matrix of ,
hence (proof in Appendix E.2). Crucially, the second-moment map splits as
(10)
If every vanishes on a direction, every block leaves it unchanged, and an error along it neither grows nor decays. We therefore carry out the analysis on the orthogonal complement of such common flat directions.
A linear map on symmetric matrices is positive if it preserves positive semidefiniteness, and means that is positive.
A PREPRINT
with the block noise, the covariance map of the block operator. A mean-stability analysis replaces by its mean , so it keeps only the first term of (10), which propagates the second moment through the mean transition . The second term adds, at every outer step, the block noise applied to the current error. Because this term is a positive map, it can only raise the spectral radius , so , with equality when there is no block noise. A mean-stability analysis can therefore be wrong only by predicting stability for an unstable setting (example in Appendix L.1).
4.2 The mean condition and the noise budget
By (10), mixes the mean dynamics and the block noise in a single number. In Theorem 1 we separate them into a condition on the mean transition and a budget for the noise. When , let
be the noise gain. If the block noise injects a covariance at one outer step, is the second moment of the error that the mean dynamics build from it over all later steps. It depends on the distribution of the block operator only through its mean . The error in turn feeds the noise of the next block through , so we call the loop gain. For minibatch SGD, Agarwala and Pennington (2024) split stability in the same way, into a condition on the deterministic dynamics and a noise kernel norm below one, under a high-dimensional approximation of the dynamics. Theorem 1 makes this split exact for -step blocks with outer momentum. We call the reciprocal of the loop gain, , the noise budget of . It is the factor by which the block noise could grow before the criterion fails, so the setting is stable when the budget exceeds one, and a larger noise gain means a smaller budget.
Theorem 1 (Exact stability criterion and noise budget) Under Assumption 1:
(i) the recurrence (5) is mean-square stable if and only if ,
equivalently ;
(ii) if and only if and
(iii) if and only if, for every eigenvalue of , the matrix of (5) has spectral radius below one; when the eigenvalues of are real it reads
Mean stability is therefore necessary but not sufficient, because the block noise must also fit within the noise budget that the mean dynamics set. Note that the moment recurrences (9), the split (10) and Theorem 1 use nothing about beyond Assumption 1, so they hold for any i.i.d. block operators, of which the quadratic model is one case. Part (i) still holds if we consider only starts with an empty buffer, , as in the algorithm (proof in Appendix E.2). In one dimension the criterion has a closed form (Appendix E.4).
Small outer steps. Under the mean condition and for a symmetric , the criterion with workers reads, to leading order in ,
which has the form of the noise scale of heavy-ball SGD (Smith and Le, 2018), with as the learning rate, as the batch size and as the training-set size (Appendix E.5).
At and the criterion reduces to that of Mulayoff and Michaeli (2024). At and any the outer step continues the inner trajectory, and the criterion becomes the mean-square stability of plain SGD observed every steps.
A PREPRINT

Figure 3: Mechanism behind each implication, on the model of Figure 1. (i) The noise budget shrinks as grows (Proposition 2). (ii) The block noise grows with below and dies out above it (Proposition 3). (iii) Averaging divides the loop gain by (Corollary 4). (iv) Splitting a fixed total batch raises (Proposition 5). Green marks stable settings and red marks unstable ones.
5 Implications for , &
5.1 Outer momentum shrinks the noise budget
While the momentum buffer can accelerate training by summing past pseudo-gradients, it also accumulates their block noise. Proposition 2 shows how stability depends on at fixed , for any distribution of the block operator and in any dimension (Figure 3(i)).
Proposition 2 (Momentum monotonicity) Fix and the distribution of the block operator, and let with mean stable. Then is mean stable, , and for every block noise . In particular, mean-square stability at implies mean-square stability at .
Consequently, if a setting is unstable because of its block noise, lowering can only help, and so can adding workers (Section 5.3). Note that the noise budget is monotone in , whereas itself need not be (Figure 7 in Appendix F).
5.2 Local steps and the inner batch size
Practitioners prefer the number of local steps to be as large as stability allows, since longer blocks reduce the frequency of communication (Stich, 2019; Wang and Joshi, 2019; Douillard et al., 2023; Topollai et al., 2026). By (6) the block noise is , with and as in (7), while the mean block operator saturates, when . Whether the block noise dies out or grows with is therefore decided by alone. Since propagates the second moment of a displacement through SGD steps, is mean-square stability of the inner steps themselves (Mulayoff and Michaeli, 2024).
Proposition 3 (Long blocks and the inner-batch threshold) Let the inner steps of a block be i.i.d., let , and fix .
(i) If and satisfies the mean condition (13) at , then , and the recurrence is mean-square stable for all large .
(ii) If , then with , and the recurrence is mean-square unstable for all large at every outer rate and momentum.
(iii) With minibatches of size drawn with replacement as in (7),
so (i) applies when and (ii) when .
A PREPRINT
That is, in case (i) the blocks behave in the limit like one that lands exactly on the minimizer, . Figure 3(ii) shows the block noise in the two branches, and the left and middle panels of Figure 1 show their stable regions. Mulayoff and Michaeli (2024) showed that larger inner batches can only help the inner steps, and we show that the threshold grows linearly with at small inner rates (proof in Appendix E.7). Given a mean-stable outer step, whether long enough blocks are stable is thus decided by the inner optimizer alone, so to communicate less often one should raise the per-worker batch size above the threshold or lower the inner rate.
5.3 Averaging over workers
Besides the inner batch size, averaging over workers also reduces the block noise, because averaging independent pseudo-gradients keeps their mean and shrinks only their spread around it (Figure 3(iii)).
Corollary 4 (Averaging over workers) Let the pseudo-gradient of each outer step be the average over W workers whose inner trajectories start from the same point, are independent given that point, and have block operators as in Assumption 1.
(a) The averaged block operator has mean and block noise , and is non-increasing in . The averaged recurrence is mean-square stable if and only if the mean condition holds and , so workers are needed and enough. If the mean condition fails, no number of workers suffices.
(b) Under the hypotheses of Proposition 3(ii), mean-square stability with workers requires with , a bound that grows exponentially in .
By Proposition 2 the count never falls as rises, so the largest admissible momentum at a fixed rate is non-decreasing in . Agarwala (2026) analyzes averaging over workers in the zero-momentum case, and Table 3 in Appendix F checks the count against the second-moment map.
5.4 Fixed total batch
More workers at a fixed per-worker batch size cost more gradient computation, so for a fairer comparison we hold the total batch fixed and ask whether splitting it across workers helps (Figure 3(iv)).
Proposition 5 (Fixed total batch) Let the inner steps of a block be i.i.d. with minibatches drawn with replacement as in (7), and let divide . At fixed , workers with batch each have the same mean block operator as one worker with batch and at least as much block noise, , with equality at . In particular, .
Expanding by (7) writes the block noise as a sum over powers of with positive coefficients, so splitting is nearly free while per-worker batches stay large (proof in Appendix E.8), and since workers run in parallel, splitting the batch makes each outer step faster. Agarwala (2026) makes the same comparison in the isotropic case without momentum.
6 Testing the Implications on Neural Networks
We now test the implications of Section 5 on neural networks. A network’s minibatch losses have different minimizers, and its training rarely runs to convergence. We therefore linearize the pseudo-gradient of each block at a checkpoint and measure instability with a quantity that makes no reference to a minimizer.
6.1 The block Jacobian
To connect our model to a network, we begin by asking how the pseudo-gradient of a block changes in response to a parameter perturbation . The first-order expansion is
A PREPRINT
(i) momentum

(ii) local steps K
(iii) workers W
(iv) fixed total batch

measured
lower bound
frozen linearization
Figure 4: Measured amplification on the CIFAR MLP at step 120,000. Every panel shows , the amplification after 20 outer steps, against the outer momentum in (i) and against the number of local steps in (ii) to (iv). Solid lines are measured along actual runs, and dotted lines its prediction under the frozen linearization. Arrows ( ) mark points where some runs diverged.
(i) momentum

(ii) local steps K
(iii) workers W
(iv) fixed total batch

spread cost
runs left the basin
Figure 5: Spread cost on the CIFAR MLP at step 120,000. The spread cost (20) of 32 independent runs (from different seeds) after 20 outer steps, at the settings of Figure 4. A cross (×) on the top edge marks a setting whose runs' average ends with a loss more than 0.1 above the checkpoint's. Panel (ii) shows the spread cost of each inner batch relative to K = 1.
where the remainder is of order wherever the pseudo-gradient is smooth in . We call the block Jacobian. The chain rule gives
Each Hessian is taken at the point the inner iterate visits, so the block Jacobian depends on the minibatches and, in general, on the starting point .
In the model of Section 3.1 the block Jacobian becomes the block operator at every . Theorem 1, Proposition 2 and Corollary 4(a) require only that the block Jacobian does not depend on and that blocks are i.i.d. across outer steps. We refer to this assumption as the frozen linearization. In practice, we obtain this property by taking the block Jacobian of every outer step at a checkpoint , with the minibatches drawn afresh for each worker at every outer step (as outlined in Algorithm 2). Note that each inner trajectory still runs on the actual loss from , and each Hessian in (17) is taken at the point it visits, so the inner steps are not replaced by a quadratic model of the loss at .
Under the frozen linearization, we can interpret the block Jacobian at the checkpoint as the block operator of Section 3.1, and so we write . Since the minibatches are drawn afresh at every outer step, the are i.i.d., so Assumption 1 holds whenever they have finite second moments. The pseudo-gradient then becomes affine in , , as in the regular-minimum case of Section 3, with an offset that need not have mean zero because is not a minimizer. Importantly, the displacement of a run from obeys the forced recurrence (Appendix E.9)
exactly. The offset leaves unchanged, so by Proposition 7 the covariance of across independent streams of minibatches, which we call the spread of a run, stays bounded at a noise floor when and generically grows without bound otherwise.
A PREPRINT
Shared-minibatch perturbations. Consider two runs of (18) that see the same minibatches but start from different points. Because their minibatches are the same, both runs receive the same offset , and subtracting one recurrence from the other removes it. Their difference therefore obeys , which is (5). Unlike the spread, this difference decays exactly when . We call the difference in their parameters a shared-minibatch perturbation and measure stability from it (Section 6.2). At an actual network, the difference follows (5) only to first order (Appendix G).
6.2 Amplification and spread cost
We read the stability at a checkpoint from the amplification of shared-minibatch perturbations, and then measure its consequences on training loss through the spread cost.
Amplification. We define the amplification after T outer steps as
where is the shared-minibatch perturbation and the expectation is over streams of minibatches, and we say that a setting amplifies when . Following how a small perturbation grows is a common way to study the stability of training viewed as a dynamical system (Wu et al., 2018; Dieuleveut et al., 2020; Chemnitz and Engel, 2025; Li and Xie, 2025). Notably, Altintas et al. (2025) measure how far two such runs diverge in parameter distance and in functional similarity. In contrast, under the frozen linearization our amplification decays exactly when , and we test whether it changes with the outer momentum, the number of local steps, the inner batch size and the number of workers in the way the four implications predict. As in Section 3.1, we restrict to the complement of the common flat directions, on which every minibatch Hessian vanishes. We therefore take for a random vector and a separate block , which lies in that complement, with an empty buffer (Appendix G). Without ever forming (a map on matrices for a network with parameters), we estimate the amplification by propagating with Hessian-vector products (HVPs), along actual runs for the measured values and by Algorithm 2 for the predictions under the frozen linearization. Each Hessian-vector product costs about as much as a gradient evaluation (Pearlmutter, 1994), so tracking adds about one gradient's worth of computation per inner step. Since evolves linearly, we rescale it to unit length after every outer step and accumulate the logarithm of the scale, as for Lyapunov exponents.
Mean or mean-square instability. Varying the number of workers lets us tell whether an amplifying setting is unstable in its mean dynamics or only in mean square. This works because averaging over workers divides the block noise by W but leaves the mean transition unchanged (Corollary 4). Moreover, under the frozen linearization the amplification is non-increasing in W for every T (Appendix E.8). Hence, if a setting amplifies with one worker but contracts after many outer steps once enough workers are averaged, this is consistent with stable mean dynamics and mean-square instability with one worker. On the other hand, a setting that still amplifies at the largest W we try is either mean unstable or needs more workers.
Spread cost. The change in the mean training loss of S independent runs (Fort et al., 2020; Frankle et al., 2020) splits exactly into two parts. The first, the averaged-model change, is driven by the offset even in a stable setting, so a mean-square instability can raise the loss only through the second, the spread cost. With the average of the runs, their mean loss and L the full-data loss,
The spread cost is the loss due to the disagreement between the runs, and replacing the runs by their average would recover exactly this amount. To second order it is a curvature-weighted trace of their covariance, which Proposition 7 propagates (Appendix G). We say that the runs left the checkpoint's basin when their average ends with a loss more than 0.1 above the checkpoint's.
6.3 Empirical results
We conduct experiments at checkpoints of an MLP and a ResNet-20, both trained by plain SGD on CIFAR-10 (Krizhevsky, 2009), and of Pythia-70m (Appendix H), and at one checkpoint of Pythia-160m, Pythia-410m and Pythia-1b (Appendix I.4). Figures 4 and 5 show a single checkpoint, the CIFAR MLP at step 120,000, and experiments with different checkpoints and other models are in Appendices I to K. The 95% bootstrap confidence intervals over the
A PREPRINT
48 minibatch streams (from different seeds) have a median width of 0.027 in . We take the checkpoints after the early phase of training, as it has been shown that linear approximations about an early checkpoint do not track the actual training well (Fort et al., 2020; Meterez et al., 2026).
Figure 4 is consistent with each of the four implications. As grows at a fixed outer rate, a setting turns from contracting to amplifying at most once (i). As K grows, a setting contracts more at inner batches 8 and 16 and amplifies more at batches 1 and 2 (ii), matching the two behaviors of Proposition 3. More workers never raise the amplification (iii), and splitting a fixed total batch did not lower it in any setting of Figure 4 (iv). The setting of panel (iii) amplifies with one worker and contracts with two or more, so this instability appears to be mean-square (Section 6.2).
As with the amplification, the spread cost rises with , falls with W and is not lowered by splitting a fixed total batch (Figure 5). As K grows, it first rises at every inner batch, because the noise that a block injects accumulates over its K steps (Proposition 7). The batches then separate as in Proposition 3. The spread cost keeps rising at and turns down at b = 8 and 16. On ResNet-20, on the Pythia models and at other checkpoints, the amplification is also largely consistent with the implications (Appendix I).
7 Discussion
Our results show that the inner trajectory acts on the outer iteration as a random operator, the block operator, and that once the mean condition holds, stability is decided by whether the noise of this operator fits within the noise budget of the outer step. The number of local steps, the inner batch size and the number of workers change the block operator, while the outer learning rate and momentum shape the noise budget, so the effect of any one hyperparameter depends on the others. Stability can also be read at a checkpoint of a network from short continuations of training that share their minibatches. In distributed training these hyperparameters are often constrained, since limited bandwidth sets a minimum number of local steps, the memory of each worker caps the inner batch size, and hardware failures can reduce the number of workers during training. Under such constraints, the checkpoint measurement suggests a way to check whether a planned change keeps training stable before committing to it. However, the spread cost need not follow the trends of the amplification at every checkpoint (Appendix I), as it also depends on the noise that each block injects and on the curvature of the loss (Proposition 7; Appendix G).
Extensions. Our criterion also restricts the minima that two-phase optimizers can settle into, since the outer iteration cannot settle in mean square at a minimum where the criterion fails, and certain desirable properties of such minima might be valuable to the community (Wu and Su, 2023). In this direction, Mulayoff and Michaeli (2024) study the dynamical stability of optimization methods in the vicinity of the minima of the loss, and there is also a rich literature on which minima are dynamically accessible to an optimization algorithm (Wu et al., 2018). Although it has yet to be shown, a two-phase system with outer momentum may also display catapults (Lewkowycz et al., 2020) or train at the edge of stability, as gradient descent (Cohen et al., 2021), SGD (Andreyev and Beneventano, 2026), SGD with momentum (Andreyev et al., 2026) and federated averaging (Khandelwal et al., 2026) do.
Limitations. The mean-square analysis focuses on stability rather than on the rate of convergence, and it does not capture the fact that training can, in the longer term, recover from a local instability (Lewkowycz et al., 2020; Damian et al., 2023). Our scope is limited to SGD for the inner steps, whereas modern two-phase methods can use AdamW or Muon inside the block. Such settings are especially difficult to study when an adaptive inner optimizer carries state across blocks and preconditions the response, so its block Jacobian is not the product (17) and Assumption 1 then has to be re-examined.
Acknowledgments
This research was enabled in part by compute resources provided by Mila (mila.quebec), and by support provided by Calcul Québec (calculquebec.ca), Compute Ontario (computeontario.ca), the BC DRI Group and the Digital Research Alliance of Canada (alliancecan.ca). We also thank the Masason Foundation for providing compute resources. Sarath Chandar is supported by the Canada CIFAR AI Chairs program, the Canada Research Chair in Lifelong Machine Learning, and an NSERC Discovery Grant.
References
Atish Agarwala. High dimensional theory of two-phase optimizers, 2026. URL https://arxiv.org/abs/2603.26954.
A PREPRINT
Atish Agarwala and Jeffrey Pennington. High dimensional analysis reveals conservative sharpening and a stochastic edge of stability, 2024. URL https://arxiv.org/abs/2404.19261.
Gül Sena Altıntaş, Devin Kwok, Colin Raffel, and David Rolnick. The butterfly effect: Neural network training trajectories are highly sensitive to initial conditions. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 1314–1342. PMLR, 2025. arXiv:2506.13234.
Arseniy Andreyev and Pierfrancesco Beneventano. Edge of stochastic stability: Revisiting the edge of stability for SGD. In Advances in Neural Information Processing Systems, volume 39, 2026.
Arseniy Andreyev, Advikar Ananthkumar, Marc Walden, Tomaso Poggio, and Pierfrancesco Beneventano. Momentum further constrains sharpness at the edge of stochastic stability. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pages 2831–2871, 2026.
Abraham Berman and Robert J. Plemmons. Nonnegative Matrices in the Mathematical Sciences. SIAM, 1994. doi:10.1137/1.9781611971262.
Stella Biderman, Hailey Schoelkopf, Quentin Anthony, Herbie Bradley, Kyle O'Brien, Eric Hallahan, Mohammad Aflah Khan, Shivanshu Purohit, USVSN Sai Prashanth, Edward Raff, Aviya Skowron, Lintang Sutawika, and Oskar van der Wal. Pythia: A suite for analyzing large language models across training and scaling. In Proceedings of the 40th International Conference on Machine Learning, 2023.
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.
Dennis Chemnitz and Maximilian Engel. Characterizing dynamical stability of stochastic gradient descent in overparameterized learning. Journal of Machine Learning Research, 26(134):1–46, 2025. arXiv:2407.20209.
Jeremy M. Cohen, Simran Kaur, Yuanzhi Li, J. Zico Kolter, and Ameet Talwalkar. Gradient descent on neural networks typically occurs at the edge of stability. In International Conference on Learning Representations, 2021. URL https://arxiv.org/abs/2103.00065.
Oswaldo Luiz Valle Costa, Marcelo Dutra Fragoso, and Ricardo Paulino Marques. Discrete-Time Markov Jump Linear Systems. Probability and Its Applications. Springer London, 2005. doi: 10.1007/b138575. URL https://link.springer.com/book/10.1007/b138575.
Alex Damian, Eshaan Nichani, and Jason D. Lee. Self-stabilization: The implicit bias of gradient descent at the edge of stability. In International Conference on Learning Representations, 2023. URL https://arxiv.org/abs/2209.15594.
Aymeric Dieuleveut, Alain Durmus, and Francis Bach. Bridging the gap between constant step size stochastic gradient descent and Markov chains. Annals of Statistics, 2020. URL https://arxiv.org/abs/1707.06386.
Arthur Douillard, Qixuan Feng, Andrei A. Rusu, Rachita Chhaparia, Yani Donchev, Adhiguna Kuncoro, Marc'Aurelio Ranzato, Arthur Szlam, and Jiajun Shen. DiLoCo: Distributed low-communication training of language models, 2023. URL https://arxiv.org/abs/2311.08105.
Arthur Douillard, Yani Donchev, Keith Rush, Satyen Kale, Zachary Charles, Gabriel Teston, Zachary Garrett, Jiajun Shen, Ross McIlroy, David Lacey, Alexandre Ramé, Arthur Szlam, Marc'Aurelio Ranzato, and Paul Barham. Streaming DiLoCo with overlapping communication. In Conference on Language Modeling, 2025. URL https://arxiv.org/abs/2501.18512.
Arthur Douillard, Keith Rush, Yani Donchev, Zachary Charles, Nova Fallen, Ayush Dubey, Ionel Gog, Josef Dean, Blake Woodworth, Zachary Garrett, Nate Keating, Jenny Bishop, Henry Prior, Edouard Yvinec, Arthur Szlam, Marc'Aurelio Ranzato, and Jeff Dean. Decoupled DiLoCo for resilient distributed pre-training, 2026. URL https://arxiv.org/abs/2604.21428.
Peter L. Duren. Theory of Spaces, volume 38 of Pure and Applied Mathematics. Academic Press, New York, 1970.
Stanislav Fort, Gintare Karolina Dziugaite, Mansheej Paul, Sepideh Kharaghani, Daniel M. Roy, and Surya Ganguli. Deep learning versus kernel learning: an empirical study of loss landscape geometry and the time evolution of the neural tangent kernel. In Advances in Neural Information Processing Systems, volume 33, pages 5850–5861, 2020. arXiv:2010.15110.
Jonathan Frankle, Gintare Karolina Dziugaite, Daniel Roy, and Michael Carbin. Linear mode connectivity and the lottery ticket hypothesis. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 3259–3269. PMLR, 2020.
A PREPRINT
Leo Gao, Stella Biderman, Sid Black, Laurence Golding, Travis Hoppe, Charles Foster, Jason Phang, Horace He, Anish Thite, Noa Nabeshima, Shawn Presser, and Connor Leahy. The Pile: An 800GB dataset of diverse text for language modeling. arXiv preprint arXiv:2101.00027, 2020.
Diego Granziol, Stefan Zohren, and Stephen Roberts. Learning rates as a function of batch size: A random matrix theory approach to neural network training. Journal of Machine Learning Research, 2022. URL https://www.jmlr.org/papers/v23/20-1258.html.
Kanan Gupta, Jonathan W. Siegel, and Stephan Wojtowytsch. Nesterov acceleration despite very noisy gradients. In Advances in Neural Information Processing Systems, volume 37, pages 20694–20744, 2024. doi: 10.52202/079017-0653. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/24d2dd6dc9b79116f8ebc852ddb9dc94-Abstract-Conference.html.
Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 770–778, 2016.
Keller Jordan, Yuchen Jin, Vlado Boza, Jiacheng You, Franz Cesista, Laker Newhouse, and Jeremy Bernstein. Muon: An optimizer for hidden layers in neural networks, 2024. URL https://kellerjordan.github.io/posts/muon/.
Dominik Kallusky, Vinay Rao, Vishal Nandavanam, and Hao-Jun Michael Shi. SNOO: Step-K Nesterov outer optimizer—the surprising effectiveness of Nesterov momentum applied to pseudo-gradients, 2025. URL https://arxiv.org/abs/2510.15830.
Ahmed Khaled, Satyen Kale, Arthur Douillard, Chi Jin, Rob Fergus, and Manzil Zaheer. Understanding outer optimizers in local SGD: Learning rates, momentum, and acceleration. In Advances in Neural Information Processing Systems, volume 38, pages 111163–111216, 2025.
Anant Khandelwal, Michael Crawshaw, and Mingrui Liu. How edge of stability hinders SCAFFOLD in federated optimization, 2026. URL https://arxiv.org/abs/2608.25873.
Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In 3rd International Conference on Learning Representations (ICLR), San Diego, CA, USA, 2015. URL https://arxiv.org/abs/1412.6980.
Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009.
Aitor Lewkowycz, Yasaman Bahri, Ethan Dyer, Jascha Sohl-Dickstein, and Guy Gur-Ari. The large learning rate phase of deep learning: The catapult mechanism, 2020. URL https://arxiv.org/abs/2003.02218.
Xiang Li and Qiaomin Xie. Coupling-based convergence diagnostic and stepsize scheme for stochastic gradient descent. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pages 18494–18501, 2025. doi: 10.1609/aaai.v39i17.34035. arXiv:2412.11341.
Fangshuo Liao, Afroditi Kolomvaki, and Anastasios Kyrillidis. SGD at the edge of stability: The stochastic sharpness gap. In Advances in Neural Information Processing Systems, volume 39, 2026.
Tao Lin, Sebastian U. Stich, Kumar Kshitij Patel, and Martin Jaggi. Don’t use large mini-batches, use local SGD. In International Conference on Learning Representations, 2020. URL https://arxiv.org/abs/1808.07217.
Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations (ICLR), 2019. URL https://arxiv.org/abs/1711.05101.
Chao Ma and Lexing Ying. On linear stability of SGD and input-smoothness of neural networks. In Advances in Neural Information Processing Systems, 2021. URL https://arxiv.org/abs/2105.13462.
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, pages 1273–1282, 2017. URL https://proceedings.mlr.press/v54/mcmahan17a.html.
Alexandru Meterez, Pranav Ajit Nair, Depen Morwani, Cengiz Pehlevan, Sham Kakade, and Alex Damian. A defense of the quadratic model, 2026. URL https://arxiv.org/abs/2607.21716.
Hesameddin Mohammadi, Meisam Razaviyayn, and Mihailo R. Jovanović. Robustness of accelerated first-order algorithms for strongly convex optimization problems. IEEE Transactions on Automatic Control, 66(6):2480–2495, 2021. arXiv:1905.11011.
Rotem Mulayoff and Tomer Michaeli. Exact mean square linear stability analysis for SGD. In Proceedings of Thirty Seventh Conference on Learning Theory, volume 247 of Proceedings of Machine Learning Research, pages 3915–3969, 2024. URL https://proceedings.mlr.press/v247/mulayoff24a.html.
A PREPRINT
Hiroki Naganuma, Xinzhi Zhang, Man-Chung Yue, Ioannis Mitliagkas, Russell J. Hewett, Philipp A. Witte, and Yin Tat Lee. Pseudo-asynchronous local SGD: Robust and efficient data-parallel training. Transactions on Machine Learning Research, 2025. URL https://openreview.net/forum?id=8VTrvS5vN7.
Yurii Nesterov. A method of solving a convex programming problem with convergence rate . Soviet Mathematics Doklady, 27(2):372–376, 1983.
Barak A. Pearlmutter. Fast exact multiplication by the Hessian. Neural Computation, 1994. URL https://doi.org/10.1162/neco.1994.6.1.147.
Sashank 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.
Samuel L. Smith and Quoc V. Le. A Bayesian perspective on generalization and stochastic gradient descent. In International Conference on Learning Representations, 2018.
Samuel L. Smith, Pieter-Jan Kindermans, Chris Ying, and Quoc V. Le. Don’t decay the learning rate, increase the batch size. In International Conference on Learning Representations, 2018.
Sebastian U. Stich. Local SGD converges fast and communicates little. In International Conference on Learning Representations, 2019. URL https://arxiv.org/abs/1805.09767.
Benjamin Thérien, Xiaolong Huang, Aaron Defazio, Irina Rish, and Eugene Belilovsky. MuLoCo: Muon is a practical inner optimizer for DiLoCo. arXiv preprint arXiv:2505.23725, 2025.
Kristi Topollai, Allan Ma, Tolga Dimlioglu, Sui Jiet Tay, and Anna Choromanska. Outer-momentum restarting in high-dimensional two-phase optimization, 2026. URL https://arxiv.org/abs/2605.28585.
Maksim Velikanov, Denis Kuznedelev, and Dmitry Yarotsky. A view of mini-batch SGD via generating functions: conditions of convergence, phase transitions, benefit from negative momenta. In International Conference on Learning Representations, 2023.
Jianyu Wang and Gauri Joshi. Adaptive communication strategies to achieve the best error-runtime trade-off in local-update SGD. In Proceedings of Machine Learning and Systems, 2019. URL https://arxiv.org/abs/1810.08313.
Jianyu Wang, Vinayak Tantia, Nicolas Ballas, and Michael Rabbat. SlowMo: Improving communication-efficient distributed SGD with slow momentum. In International Conference on Learning Representations, 2020. URL https://arxiv.org/abs/1910.00643.
Mitchell Wortsman, Gabriel Ilharco, Samir Ya Gadre, Rebecca Roelofs, Raphael Gontijo-Lopes, Ari S Morcos, Hongseok Namkoong, Ali Farhadi, Yair Carmon, Simon Kornblith, and Ludwig Schmidt. Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time. In Proceedings of the 39th International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pages 23965–23998. PMLR, 2022.
Lei Wu and Weijie J. Su. The implicit regularization of dynamical stability in stochastic gradient descent. In Proceedings of the International Conference on Machine Learning, 2023. URL https://arxiv.org/abs/2305.17490.
Lei Wu, Chao Ma, and Weinan E. How SGD selects the global minima in over-parameterized learning: A dynamical stability perspective. In Advances in Neural Information Processing Systems, 2018. URL https://papers.neurips.cc/paper/8049-how-sgd-selects-the-global-minima-in-over-parameterized-learning-a-dynamical-stability-perspective.pdf.
Lei Wu, Mingze Wang, and Weijie J. Su. The alignment property of SGD noise and how it helps select flat minima: A stability analysis. In Advances in Neural Information Processing Systems, 2022. URL https://arxiv.org/abs/2207.02628.
Yuxin Wu and Kaiming He. Group normalization. In Proceedings of the European Conference on Computer Vision, pages 3–19, 2018.
Michael Zhang, James Lucas, Jimmy Ba, and Geoffrey E. Hinton. Lookahead optimizer: k steps forward, 1 step back. In Advances in Neural Information Processing Systems, volume 32, 2019. URL https://proceedings.neurips.cc/paper/2019/hash/90fd4f88f588ae64038134f1eeaa023f-Abstract.html.
Liu Ziyin, Botao Li, Tomer Galanti, and Masahito Ueda. Type-II saddles and probabilistic stability of stochastic gradient descent, 2023. URL https://arxiv.org/abs/2303.13093.
A PREPRINT
Contents of the Appendix
A The Two-Phase Optimizer with Nesterov Momentum 16
B Mean and Mean-Square Stability 16
C Notation and Conventions 17
D Glossary of Terms 18
E Proofs 19
E.1 Derivation of the block moments 19
E.2 Proof of the moment recurrences, the decomposition and Theorem 1(i) 19
E.3 Proof of Theorem 1(ii) and (iii) 20
E.4 The criterion in one dimension 21
E.5 The criterion at small outer steps 22
E.6 Proof of Proposition 2 23
E.7 Proof of Proposition 3 25
E.8 Proof of Corollary 4 and Proposition 5 26
E.9 Proof of Proposition 7 (no common minimizer) 28
F The Exact Model Used in the Figures 29
G The Measures at a Checkpoint 31
H Setup of the Network Experiments 32
I Experiments across Networks and Checkpoints 32
I.1 The CIFAR MLP 32
I.2 ResNet-20 34
I.3 Pythia-70m 36
I.4 Larger language models 39
J Phase Diagrams at a Checkpoint 40
K Continuations 41
L Examples of What Mean-Stability and Bounded-Noise Analyses Miss 42
L.1 Mean-stability analyses 42
L.2 Bounded-noise guarantees 43
A PREPRINT
A The Two-Phase Optimizer with Nesterov Momentum
Algorithm 1 gives one run of the two-phase optimizer (2) with workers. Most of Sections 3 and 4 treat the case , and Section 5.3 the general case. At each outer step the buffer is updated first, and the outer step then uses the updated buffer. This makes the outer step Nesterov momentum, since heavy-ball momentum would instead step along the buffer alone, .
Algorithm 2 gives the frozen linearization of Section 6.1, which produces the dotted lines in Figure 4 and in the appendix figures. It is Algorithm 1 applied to a perturbation , with every inner trajectory started at the checkpoint instead of the current iterate.
Algorithm 2 The frozen linearization at a checkpoint
Require: checkpoint , perturbation , inner rate , inner batch size , outer rate , outer momentum , number of local steps , number of workers , number of outer steps
1:
2: for do
3: for do per worker
4: run inner SGD steps at rate with batch size from on fresh minibatches
5: (17), HVPs
6: end for
7:
8:
9:
10: end for
Linearized inner phase
Outer step
B Mean and Mean-Square Stability
Here the error is the displacement from the minimizer of the random quadratic model of Section 3.1, and stacks it with the momentum buffer. By Definition 1, the recurrence is mean stable if and mean-square stable if . Since , mean-square stability also requires the fluctuations of around its mean to vanish.

Figure 6: Mean stable but mean-square unstable. The mean and the second moment for the linear-regression model above ( , , , , ), starting from a unit error with an empty buffer. Both curves are computed exactly from the moment recurrences (9). The dotted line marks the initial value.
Figure 6 shows a setting in which the mean of converges while its second moment diverges. The model used is linear regression in eight dimensions with unit-norm features, so each sample loss has curvature one along its own feature, while the average curvature is about 1/8 in every direction (Appendix F). With the inner rate , a step on a single sample therefore overshoots along that sample's feature, while the average step shrinks the error by a factor of about 0.69. The pseudo-gradient thus points towards the minimizer on average, but its fluctuations are proportional to the current error; so they compound over the outer steps while the mean vanishes. The divergence of the second moment does not come from rare runs, since every one of 4,000 simulated runs diverges. In the terms of Section 4, we see
A PREPRINT
that the mean condition holds () while the block noise does not fit within the noise budget (, Theorem 1(ii)). An analysis of the mean dynamics alone would therefore call this setting stable.
C Notation and Conventions
The table below lists the notation of the paper and Appendix D lists the terms the paper defines. Symbols used inside a single proof are defined there.
| NOTATION | DESCRIPTION |
|---|---|
| TWO-PHASE OPTIMIZER | |
| parameters; common minimizer of the sample losses | |
| parameters of worker after inner steps of outer step | |
| number of local steps; number of workers | |
| outer step; inner step; number of outer steps | |
| outer learning rate; outer momentum | |
| inner learning rate; inner batch size | |
| minibatches of one block; minibatch of inner step | |
| pseudo-gradient of one block; its average over the workers | |
| momentum buffer | |
| error; at a checkpoint, the perturbation | |
| state | |
| MODEL | |
| minibatch loss; full loss | |
| Hessian of ; of sample ; mean Hessian | |
| one inner step ; its mean | |
| second moment of one inner step at batch ; its large-batch limit; the batch-noise part | |
| product of the inner steps | |
| block operator | |
| mean and second moment of the block operator | |
| inner-batch threshold | |
| Kronecker product; vectorization | |
| STABILITY | |
| one outer step on the state | |
| second moment of the state | |
| second-moment map; mean transition | |
| block noise; noise gain | |
| input and output matrices | |
| the map ; block noise relative to the mean block operator | |
| second-moment map with workers; workers needed | |
| spectral radius; order of positive maps and matrices; identity map | |
| growth per inner gradient | |
| one-dimensional quantities of Appendix E.4 | |
| NETWORK CHECKPOINT | |
| checkpoint; block Jacobian; remainder of the expansion | |
| offset | |
continued on the next page
A PREPRINT
Notation, continued.
| NOTATION | DESCRIPTION |
|---|---|
| amplification over outer steps | |
| number of independent runs; their average; their mean loss |
D Glossary of Terms
The table below lists the terms the paper defines, grouped in the same way as the notation in Appendix C.
| TERM | MEANING |
|---|---|
| TWO-PHASE OPTIMIZER | |
| inner trajectory | one worker's steps of minibatch SGD |
| block | an inner trajectory, seen as a map from its start to its displacement |
| block length | the number of local steps |
| pseudo-gradient | the displacement of an inner trajectory; the outer step uses its average over the workers |
| outer step | one update of the outer optimizer |
| workers | the copies that run inner trajectories from the same parameters |
| stream | the sequence of minibatches that one run draws |
| MODEL AND STABILITY | |
| interpolating minimum | a minimizer shared by all sample losses (Mulayoff and Michaeli, 2024) |
| regular minimum | the minimizer of the full loss when the sample losses have different minimizers |
| block operator | the random matrix that maps the error at the start of a block to its pseudo-gradient |
| common flat directions | directions that no block changes |
| mean stable | |
| mean-square stable | |
| positive map | a linear map that keeps positive-semidefinite matrices positive semidefinite |
| second-moment map | carries the second moment of the state one outer step forward |
| mean transition | the outer step applied to the mean of the state |
| block noise | the covariance of the block operator |
| mean-stability analysis | an analysis that replaces the block operator by its mean |
| mean condition | |
| noise gain | the error that the mean dynamics build up from injected noise |
| loop gain | the growth around the loop from error to block noise and back, |
| noise budget | one over the loop gain |
| noise scale | the small-step quantity ), which has the form of the noise scale of Smith and Le (2018) |
| inner-batch threshold | the batch size above which inner SGD is mean-square stable |
| mean and mean-square boundaries | edges of the mean-stable and mean-square-stable regions in the plane |
| NETWORK CHECKPOINT | |
| offset | the pseudo-gradient at the reference point |
| spread | the covariance of the parameters across independent runs |
| block Jacobian | the Jacobian of the pseudo-gradient with respect to its starting point |
| frozen linearization | the block Jacobian taken at the checkpoint for every outer step |
| shared-minibatch perturbation | the difference between two runs that see the same minibatches |
continued on the next page
A PREPRINT
Glossary, continued.
| TERM | MEANING |
| amplification | the growth of a shared-minibatch perturbation over outer steps; a setting amplifies when it exceeds one |
| contracts | said of a setting whose amplification is below one |
| spread cost | the part of the change in mean loss caused by the runs’ disagreement |
| averaged-model change | the change in loss of the runs’ average |
E Proofs
Throughout these proofs, we mainly use two facts about positive maps. The first is that the spectral radius is monotone in the order of Section 3.2, whenever , which is proved in Appendix E.8. The second is that the spectral radius of a positive map is an eigenvalue with a positive-semidefinite eigenmatrix, which is the Krein–Rutman theorem for the cone of positive-semidefinite matrices (Berman and Plemmons, 1994, Chapter 1, Theorem 3.2).
E.1 Derivation of the block moments
Let and . Under independence is independent of , so , and since , also . A simple induction then gives and , and expanding gives (6).
E.2 Proof of the moment recurrences, the decomposition and Theorem 1(i)
The moment recurrences. Recall that under Assumption 1 the block operator is independent of . Conditioning on in gives , and conditioning in gives . Taking expectations on both sides then proves (9), since is linear.
Part (i). As a first step, column-wise vectorization turns the second recurrence of (9) into
because . If then , so and for every admissible initial state. Conversely, suppose for every admissible . Every positive-semidefinite matrix is the second moment of some admissible , so for every positive-semidefinite ; these matrices span the symmetric matrices, hence on symmetric matrices and .
It remains to check that the condition is the same as . One direction is immediate, since is the restriction of to the invariant subspace of symmetric matrices. For the other, let , so that for every matrix . If then for every basis vector , so every , and the Cauchy–Schwarz inequality bounds each entry of by . Hence and . This is the standard mean-square stability criterion for linear recurrences with i.i.d. random coefficients (Costa et al., 2005).
The decomposition. Note that the operator enters only through its first block column, so
Substituting into (8) with and ,
If instead one minibatch is drawn per block and reused for all steps, then . This gives and . The moment condition of Assumption 1 must then be imposed on the block directly, because a finite second moment of does not imply one for .
A PREPRINT
and the two middle terms vanish simply because . The last term is . Under vectorization, , so this is exactly where the block moments (6) enter the criterion.
Starting from an empty buffer. The necessity argument above lets the initial buffer be arbitrary, while in practice the algorithm starts with . Fortunately, the conclusion still holds when the buffer starts empty. Let be the adjoint of for the trace inner product ; it is positive, has the same spectral radius , and therefore has an eigenmatrix at . Write in the blocks of . Now suppose that the error block vanished. Then positive semidefiniteness would force , so , and a direct multiplication gives
whose buffer block is for every . The eigenvalue equation on that block reads with , so . Hence if then , and for , an isotropic error with an empty buffer, and
does not vanish. Since , neither does . So an isotropic initial error with an empty buffer is already not mean-square stable whenever .
Almost-sure and mean-square stability. If then decays geometrically, so , the sum is finite almost surely, and almost surely. The converse, however, fails in general.
E.3 Proof of Theorem 1(ii) and (iii)
Part (ii). We start by writing the two terms of (10) as maps on symmetric matrices,
so that and both are positive. Since , , so mean stability is necessary and we may assume , in which case is a positive map. Let .
Suppose first and, for contradiction, . The spectral radius of a positive map is an eigenvalue with a positive-semidefinite eigenmatrix, so for some , . Put , which is nonzero. Then , hence . As we have , and the spectral radius is monotone on the cone, so , a contradiction.
For the converse, let and , and suppose with eigenmatrix . Then , and is invertible with positive inverse because . Set ; it is nonzero, since would give against . Comparing the Neumann series termwise gives for , so
Then for every , so does not converge to zero and , a contradiction.
It remains to identify . Because factors through the error block, and swapping the two factors of a composition leaves its spectral radius unchanged,
since , which is (11).
Part (iii). For the mean condition, let be a Schur form, with unitary and upper triangular with the eigenvalues on its diagonal. Every block of is a polynomial in , so has upper-triangular blocks, and reordering the coordinates into the pairs makes it block upper triangular with the diagonal blocks . The eigenvalues of are therefore those of the , and if and only if every is stable. The characteristic polynomial of is ; for real its stability is the Jury computation of Appendix E.4 at , which gives (13).
A PREPRINT
E.4 The criterion in one dimension
Write and , for the outer step in units of the mean block operator, and for the relative variance of the block operator. In one dimension (12) can be solved explicitly. Under (13) the recurrence is mean-square stable if and only if
At the bound is , which falls from at towards as . This is (12) written out in one dimension. Andreyev et al. (2026) write the same scalar recurrence for a single SGD step. The rest of this subsection proves the criterion (21).
The second-moment matrix. In one dimension (5) reads
To keep the formulas short, let and . Expanding , and and taking expectations, independence of from the past gives for the second-moment vector , with
the matrix of in the coordinates of a symmetric matrix, so that is Theorem 1 in one dimension.
The mean condition. The deterministic mean transition has trace and determinant . The three Jury inequalities reduce to
The remaining condition, , follows from the second. For these are equivalent to (13), which is therefore necessary and sufficient for mean stability. Mean-square stability implies mean stability, so (13) is necessary for it as well, and we assume it from now on.
The critical second moment. Write , where and . Since is affine in ,
The second-moment map (10) is therefore the positive linear map
Note that the map is continuous and monotone in on the positive-semidefinite cone. At its spectral radius is . The spectral radius of a positive finite-dimensional covariance map is a real eigenvalue with a positive-semidefinite eigenmatrix. Hence its first unit-circle crossing as increases occurs at eigenvalue , where . A direct, if slightly tedious, determinant calculation from (22) gives
(24)
Setting it to zero and solving for gives the critical value
A PREPRINT
and writing , direct rearrangement gives with as in (21). The mean condition makes every factor of positive, so the critical value is feasible and strictly exceeds .
Putting the pieces together, equation (24) is affine and strictly decreasing in , so it has the unique root (25); below the root , and above it monotonicity in keeps . This proves that, under (13), the recurrence is mean-square stable if and only if , which is the statement of (21).
Setting in the critical value and subtracting gives .
The bound as an impulse-response sum. With the scalar impulse response , the bound reads , since in one dimension and the boundary of Theorem 1(ii) is the same root.
E.5 The criterion at small outer steps
At a small outer step the criterion of Theorem 1 takes the form of a noise scale; Section 4.2 states it informally.
Proposition 6 (Small outer steps) Let the pseudo-gradient of each outer step be the average over workers of inner trajectories that start from the same point, are independent given that point, and have block operators as in Assumption 1, let the mean condition hold, and set
(a) If is symmetric, then on the complement of the common flat directions the criterion (12) reads to leading order in .
(b) In one dimension , and the recurrence (5) is mean-square stable if and only if
with the bound (21). The factor satisfies ; it is below 1 at every mean-stable when , and above 1 on an interval when .
The quantity has the form of the noise scale that Smith and Le (2018) derive for one heavy-ball SGD step and that Smith et al. (2018) use to trade learning rate, batch size and momentum against one another, with the outer step in place of , the number of workers in place of the batch size , the outer momentum in place of , and the block constant in place of the training-set size . The quantity matches only in form, since it is a rewriting of Theorem 1(ii) for a -step block under outer Nesterov momentum. Part (b) says when the familiar rule is right, and shows that below the rule admits settings that are mean-square unstable while above it rejects settings that are stable at small outer steps. The closed form of , the root , the interval and the case are derived below, but the results of Section 5 use the exact criterion in every dimension. The paragraphs below prove the proposition, part (a) from the scalar series, the kernel and the matrix statement, and part (b) from the exact scalar factor.
The one-dimensional bound at small steps. In (21) the numerator tends to and the bracket of the denominator to as , so
The criterion therefore reads to leading order, which is (26) since and , and the relative correction to the threshold is .
The noise gain in an eigenbasis. For two eigenvalues of a symmetric the gain acts entrywise in an eigenbasis through , which is the error-block entry of the solution of the Stein equation with the scalar and of Appendix E.4. Solving it and expanding in ,
The leading term is the kernel of , since S acts entrywise by .
A PREPRINT
The loop gain at small outer steps. For a symmetric the expansion holds entry by entry in an eigenbasis, so on the complement of the common flat directions, where is invertible, and, by the continuity of the spectral radius, .
The exact criterion in one dimension. Averaging over workers leaves unchanged and replaces by (Appendix E.8), so under (13) the recurrence is mean-square stable if and only if . The mean condition gives , and , so multiplying both sides by is an equivalence and gives with , since .
The sign of . To find the closed form of , we put and over the common denominator ; the numerator is
whose constant term vanishes, whose coefficient of is , and whose coefficient of is . Hence
and its first-order term is the correction of the one-dimensional expansion above.
Since , decreases on from to and increases on to , so it has one root in , at , and is negative on and positive on . Consider first . Then the bracket is negative for every , so and mean-square stability forces . For the bracket is positive if and only if , and
so this range lies inside the mean-stable range, on it, and gives mean-square stability. At , (28) gives , and with and rearranges at to , the threshold (25) at .
along in one dimension. With and , (6) gives and , so
and if and only if . With the limits are when , when and when ; the middle case is the marginal case of Appendix E.7 at small , where .
E.6 Proof of Proposition 2
Throughout, and the block mean are fixed, and , and carry the momentum in their index. The proof first sets up a generating function in which enters through one quadratic polynomial, then relates two such polynomials by subordination, applies Littlewood's principle, and finally passes from rank-one matrices to the cone.
The generating function. Let , so that whenever the series converges. For ,
A PREPRINT
where
The key observation is that every block of and of is a polynomial in , so both sides are power series in whose coefficients are polynomials in , and it suffices to verify the identity when is a scalar . There it is the resolvent of the matrix , and a direct computation gives
The second identity, applied eigenvalue by eigenvalue through a Schur form as in Appendix E.3, gives . Hence is analytic on a neighborhood of the closed unit disc if and only if no eigenvalue of has modulus at least one, that is, if and only if is mean stable; the coefficients then decay geometrically and is well defined.
The gain as an norm. Fix real vectors and and put . Its coefficients are real, so
the squared norm of the Hardy space of the unit disc. Writing , which does not depend on , we have .
Relating a lower momentum to a higher one. This is the main step of the proof. Let . We show that for an analytic with . Parametrize the family by and write . Then, with ,
since . The map is a Möbius transformation with real coefficients whose pole lies outside the closed disc for ; it sends 1 to 0 and to , so it maps the unit circle onto the circle with that real diameter and the open disc onto its interior, and on . Let and , and for let solve
Along a solution, , so and the solution stays in the disc, where the right-hand side is analytic in and continuous in , uniformly on because the pole of stays outside the closed disc for every ; hence the solution exists on the whole interval and depends analytically on . Moreover
so is constant along the solution. Setting gives an analytic self-map of the disc with , since is a solution, and . Note that no univalence of is used.
The gain does not decrease with momentum. Suppose is mean stable. The inclusion shows that is then mean stable as well. By the determinant identity, mean stability at says that lies outside the closure of for every eigenvalue of with , hence outside the closure of , which is mean stability at . In particular is well defined. Moreover, is analytic on a neighborhood of the closed disc, hence in , and is analytic on the disc. Littlewood's subordination principle states that composition with an analytic self-map of the disc fixing the origin does not increase the norm (Duren, 1970), so
By the identity above, the two sides are and .
A PREPRINT
From rank-one inputs to all inputs. The inequality says for all , that is, for every . Every positive-semidefinite is a sum of such rank-one matrices and the maps are linear, so . Since is positive, , and the monotonicity of the spectral radius on the cone (Appendix E.8) gives . With Theorem 1, mean-square stability at implies it at . The argument does not diagonalize or require its spectrum to be real, since the identity (29) is a polynomial identity in and the determinant identity handles complex eigenvalues.
In one dimension the same conclusion also follows from a much simpler sign computation, since differentiating (21) gives
whose denominator is a square and whose numerator is positive because under (13).
E.7 Proof of Proposition 3
By (6), and expands the same way with in place of , so
Both are self-adjoint for the trace inner product because is symmetric.
Part (i). If then , while because . Hence converges to , and the spectral radius is continuous, so , which is below one exactly under (13) at , that is .
Part (ii). If , use and . Since swapping the two factors of a composition leaves its spectral radius unchanged, these give . Let with be the eigenmatrix of at . Then
and is self-adjoint, so its spectral radius is at least this Rayleigh quotient.
Part (iii). By (7), with both terms positive, and on the complement of the flat directions. The criterion for positive maps in the proof of Theorem 1(ii) (Appendix E.3) gives if and only if , that is, . For the inequality is strict, since the same criterion applied to for gives if and only if , and this spectral radius is at , hence above 1 for some by continuity, so . The last clause of (iii) is then (i) and (ii) with .
Sampling without replacement. The form (7) is for sampling with replacement; for batches of distinct samples out of the same split holds with replaced by , the weight in the second-moment matrix of Mulayoff and Michaeli (2024), and (iii) reads .
Small inner rates. For small write with ; since with , which is invertible on the complement of the flat directions, and, the spectral radius being continuous, . The threshold therefore grows linearly with the inner rate for small rates.
Growth per inner gradient. Since a block of length K spends K gradients, the growth per inner gradient is
the square root turning the factor of the second moment into a factor of the error itself and the K-th root converting the factor per block into a factor per gradient. Because exactly when , the growth per inner gradient and the spectral radius agree on stability at every , but only counts the gradients that a stable block spends. In terms of , the two cases of Proposition 3 become in case (i) when and in
A PREPRINT
case (ii). Per gradient, lengthening a stable block stops helping once the mean block operator has saturated, because once the contraction per block is fixed at while each block costs gradients, so returns towards one and a finite block length is best (Figure 8).
In the expanding case the lower bound gives . For the matching upper bound, with bounded, since , and ; Gelfand's formula gives for every , so . In the contracting case , and has trace and determinant , so whenever ; then converges to a finite limit and . At the matrix is nilpotent and the limit of is set by how fast vanishes rather than by the mean transition. At , for example, the outer step only groups the inner steps, so and at every .
The expanding case can occur even when a single inner step contracts in mean square along every fixed direction, as the following example shows. Let with uniform on the unit sphere of and write . Using and ,
so , which exceeds one for . Along a fixed direction, , which stays below one for . Finally, keeps the mean inner step contracting.
The marginal case . Let with 1 the only eigenvalue of on the unit circle, let and , and restrict everything to the complement of the common flat directions. Since is symmetric, is self-adjoint for the trace inner product, hence diagonalizable with real eigenvalues, so the eigenvalue 1 is semisimple and the hypothesis excludes only -1. Let be the orthogonal projector onto the eigenspace of at 1. Then , because , while because ; hence , a nonzero projector, with . Meanwhile , and is stable under , so is stable for all large and , which depends continuously on near because its Neumann series converges uniformly there, tends to its value at . At every is the scalar times the identity, so that value is multiplication by , by the identity of Appendix E.4 at . Therefore in norm, and the spectral radius is continuous, so . Theorem 1 then gives mean-square stability for all large when and instability for all large when . With workers is divided by (Corollary 4) and the limit is . The scalar model gives the same limit through (31) below, since at one has while .
The scalar case along K. In one dimension, with and , (6) gives
The mean block operator saturates, so tends to when , while tends to 0, to 1 or to infinity according as is below, equal to or above one, the two cases of Proposition 3 and the marginal case between them.
E.8 Proof of Corollary 4 and Proposition 5
Monotonicity of the spectral radius. For two positive maps one has for every , and since every symmetric with satisfies , the trace norm of is at most ; Gelfand's formula then gives .
Proof of Corollary 4(a). Let be independent copies of the block operator and their average; the averaged pseudo-gradient is because all inner trajectories start at the same point. Then , and with ,
A PREPRINT
since the terms with vanish by independence and . The averaged operators are i.i.d. across outer steps with finite second moments, so the decomposition (10) and Theorem 1 apply to , and the decomposition gives , which is (10) with replaced by . For and ,
so , and by the monotonicity of the spectral radius above, . In the scalar case is unchanged and becomes , so becomes , and the scalar form (21) gives the stated criterion. The exact count of Corollary 4(a) follows from Theorem 1, since depends on the distribution of the block operator only through , which averaging leaves unchanged. The criterion with workers is therefore .
Proof of Corollary 4(b). On the cone, , and as in the proof of Proposition 3(ii), gives . Mean-square stability needs , which is the bound of Corollary 4(b).
Proof of Proposition 5. With replacement, the one-step mean does not depend on the batch, so , and the mean condition are the same in both configurations. Write and expand its -th power by distributivity, keeping the order of the factors because and need not commute. Collecting the terms in which appears times gives
where is the sum of the compositions of maps in which appears times and appears times. Each such composition is positive because its factors are, so each is positive, and none depends on . By the proof of Proposition 3, . An inner trajectory with batch has , and averaging such trajectories divides the map by (Corollary 4), so
with equality at , where only occurs. For the difference is nonzero whenever and is invertible, because the composition applied to has trace with , and the matrix in the expectation is positive semidefinite with trace . The two second-moment maps share and have ordered noise terms, so , and the monotonicity of the spectral radius on the cone gives the conclusion. The isotropic zero-momentum case, with an outer relaxation in place of the Nesterov step, corresponds to a result of Agarwala (2026) for a high-dimensional limit of linear regression, where the expansion in powers of the inverse batch also appears.
The second moment decreases with at every horizon. Write with and , both positive. Expanding, as before, the -fold composition and collecting the terms in which appears times,
each a positive map that does not depend on . For positive-semidefinite and , is a polynomial in with non-negative coefficients, so it is non-increasing in and convex in . With it is ; with it is , the numerator of (19). For the ordering of Proposition 5 at a finite horizon, let be positive maps; then
A PREPRINT
a telescoping sum of compositions of positive maps, so and every readout with is ordered at every horizon .
E.9 Proof of Proposition 7 (no common minimizer)
Sample losses with different minimizers. The common minimizer of Section 3.1 enters only through the definition of the error, since the block operator does not depend on it. Let each sample loss keep its curvature but have its own minimizer, a regular minimum in the terminology of Mulayoff and Michaeli (2024). With the minimizer of the full loss and , the pseudo-gradient is affine in ,
with the same block operator as in (4), because the response of the pseudo-gradient to a displacement depends on the curvatures alone. Hence , and are unchanged, and so is every statement of Sections 4 and 5 about . The offset has mean zero at (the last paragraph of this subsection), so by Proposition 7(b) below, when , the covariance across streams converges to with . With a common minimizer the offset vanishes and the error is that of Section 3.1.
Section 6.1 uses the following statement.
Proposition 7 (The second-moment map without a common minimizer) Let the pairs of (18) be i.i.d. across outer steps and independent of , with , and finite.
(a) if and only if every shared-minibatch perturbation is mean-square stable (Definition 1).
(b) If , then (18) is mean-square bounded, , and the covariance of the state across independent streams converges to , with and ; when , with .
(c) Let be an eigenmatrix of the adjoint at . If and the forcing has weight on it, , then , at least linearly when and at least geometrically above; when the mean is stable this condition reads .
The recurrence with an offset. Substituting into (2) gives
that is, , which is (18). Write with and , so that . The pair is independent of , hence and . For the covariance put and , so that . The cross term vanishes, since , so . Using and the independence of from ,
and combining with through (10) gives, with and ,
The forcing is a covariance conjugated by B, hence positive semidefinite.
Part (a). A shared-minibatch perturbation obeys (5), and Theorem 1(i) says that it is mean-square stable for every admissible start if and only if .
Part (b). Let . Then (Appendix E.3), so and is bounded. Expanding the covariance in the forcing,
A PREPRINT
is quadratic in with coefficients that are finite by the moment clause, so is bounded and . Iterating ,
and since for some , the first term vanishes, the sum is bounded by , and it converges to , each term converging and the series being dominated. So is bounded, which is the boundedness of Proposition 7(b), and . In the model (32) with i.i.d. inner steps, (below), so and .
Part (c). Let and let be an eigenmatrix of the adjoint at , which exists because is positive with the same spectral radius (Appendix E.2). Taking the inner product of with gives , and induction gives
every term of which is non-negative because . If and the first term grows geometrically. If , then for and the sum is at least , which is linear growth at and geometric growth above it. In either case , and . When the mean is stable, and the condition on the forcing is , that is, the stationary forcing has weight on the unstable mode.
The offset and its second moment. In the model (32) let an inner trajectory start at and write , . One inner step on the minibatch is with , whose mean vanishes because minimizes the full loss. With i.i.d. inner steps, is independent of , so and for all ; hence . For the second moment the cross terms vanish for the same reason, and
where is the second moment of the minibatch gradient at , equal to for samples drawn with replacement. The formula for is the analogue of (6) for the offset, and together with and it determines the floor of part (b) from the one-step law.
Common flat directions without a common minimizer. In the quadratic model the forcing has no component on directions that every block leaves unchanged, and the analysis is carried out on their complement, as in Section 3.1. The affine construction of Example 8 is an instance of Proposition 7(b) in one dimension.
F The Exact Model Used in the Figures
The figures of Sections 1 and 5 and of Appendices B and F evaluate the criterion of Theorem 1 on a model in which every expectation is a finite sum. The sample losses are over a fixed set of feature vectors, so they share a minimizer and each sample curvature is , which is the model of Section 3.1. Inner SGD draws minibatches of size with replacement, so that
and (6) turns this into and . The second-moment map is then formed and its spectral radius computed by dense eigenvalues, so nothing in the figures is estimated. We use Gaussian features with a power-law covariance, for which is strongly anisotropic, in Figure 7 and Table 3, and features of equal norm, for which each sample curvature is a
A PREPRINT

Figure 7: Proposition 2 on the exact model. Realizable linear regression in 12 dimensions with a power-law feature covariance, , , . Left: the loop gain (solid) rises with at every outer rate, but (dotted) does not, so Proposition 2 is stated for the loop gain. At each rate the stable momenta run from zero to the value where the loop gain crosses one, for and for . Right: the largest stable momentum against the outer rate, for mean and for mean-square stability.
contracting inner steps
contracting inner steps

expanding inner steps
expanding inner steps
Figure 8: Long blocks are eventually stable or unstable according to the mean-square stability of the inner steps. Two eight-dimensional models with rank-one sample curvatures and , each at two outer settings whose stability changes with . Each pair of panels shows the growth per inner gradient of (30), and beside it the change in expected population loss over a budget of 48 inner steps at the block lengths dividing it, from the loss , with the largest possible fall dotted. Left pair: ; longer blocks make both settings stable, and returns towards one past its best value, since the contraction per block saturates while each block spends more gradients. Right pair: ; longer blocks make both settings unstable, and rises towards (dotted). The mean dynamics stay stable throughout, so these changes come from the block noise, and on a grid of outer settings no cell turns the other way.
rank-one projector, in Figure 8 at inner rates and 3 and in Figures 1, 3 and 6 at ( in the right panel of Figure 1). All three use the eight-dimensional rank-one model with 1,024 samples. In Figure 1, the left panel has and , the middle panel and , both with one worker, and the right panel , and . In Figure 3, panel (i) has ; panel (ii) has ; panel (iii) has ; and panel (iv) has with .
Limits of the exact model. Inner steps drawn i.i.d. within a block make symmetric, so the block means in the figures have real spectra. The figures do not include blocks whose draws are correlated, for which can have complex eigenvalues. The proof of Proposition 2 covers these blocks, because it does not need a real spectrum.
Checking the worker count . Table 3 evaluates the count of Corollary 4(a) on the model of Figure 7, against the second-moment map.
A PREPRINT
Table 3: The number of workers predicted from the distribution of a single inner trajectory, on the model of Figure 7. is the count of Corollary 4(a), computed from the loop gain of a single worker, and the last two columns give at and workers.
| 1.3 | 0.9 | 1.486 | 2 | 1.274 | 0.877 |
| 1.5 | 0.9 | 2.386 | 3 | 1.090 | 0.908 |
| 1.6 | 0.8 | 3.391 | 4 | 1.036 | 0.959 |
G The Measures at a Checkpoint
Frozen predictions and actual runs. The frozen linearization only approximates an actual run, because it uses the block Jacobian at the checkpoint for every outer step, whereas an actual run uses the block Jacobian at the point it has reached. We therefore compare the frozen linearization, to which Theorem 1 applies exactly, with measurements along actual runs, the dotted and solid lines of Figure 4. The frozen linearization and the actual runs agree as long as the block Jacobians change little along the run, at least over short horizons. Neglecting the remainder of (16) causes no error in the measured ratio, because the ratio is computed from a tangent along the run, an infinitesimal perturbation for which the remainder vanishes.
Which results hold at a network. The results of Sections 4 and 5 fall into two groups. The moment recurrences (9), the decomposition (10), Theorem 1, Proposition 2 and Corollary 4(a) need only that the block operators of different outer steps are i.i.d. Under the frozen linearization the block Jacobians are i.i.d., so these results hold exactly for shared-minibatch perturbations at a network, with the covariance of . Proposition 3, Proposition 5 and Corollary 4(b) also use the block moments (6), which require the block operator to be a product of i.i.d. one-step maps. This holds when the Hessians are constant, as in the quadratic model, but not for the block Jacobian of a network, whose one-step factors take the Hessian at the point the inner trajectory has reached and so depend on the earlier minibatches. At a network we therefore test these three results rather than derive them.
Amplification of the full state. Theorem 1 concerns the state , and the finite-horizon ratio on it is
while the parameter ratio (19) is with ; at a network both identities hold only under the frozen linearization. If , both ratios tend to zero for large from every start, by Theorem 1(i). If , they fail to decay whenever the start excites a mode that does not decay, as an isotropic start does by the empty-buffer lemma of Appendix E.2. With momentum is not normal, so the ratio can rise for a while before it decays. We therefore always report the horizon . We use the term amplification for growth over outer steps, which differs from the noise amplification of momentum methods, the steady-state variance of the iterates (Mohammadi et al., 2021).
Finite-horizon interpretation. The stability criterion of Theorem 1 is asymptotic, whereas is measured over a finite continuation. Finite-horizon separation of coupled or perturbed trajectories is a common way to study training dynamics (Li and Xie, 2025; Altintas et al., 2025), and we use in the same way, as a finite-horizon measure of the mean-square dynamics. The empirical conclusions are largely unchanged when the horizon is varied from to . Reading the amplification at instead of changes whether a setting amplifies or contracts at only 16 of the 1,404 settings we measured, and at at only 5. More importantly for the implications, the predicted orderings are already present at : 241 of the 244 orderings that the four implications predict hold at both and .
Choice of the initial perturbation. We draw the perturbation in the range of a block operator, g for a block disjoint from the stream and an isotropic , with an empty buffer.
Spread cost to second order. To second order the spread cost in (20) is , where is the covariance of the runs about their average, normalized by , and is the full-data Hessian at . In expectation this is proportional
A PREPRINT
to , and is the covariance that Proposition 7 propagates (derivation in the next paragraph). Each direction of the spread therefore costs loss in proportion to the curvature along it. The spread cost is the loss analogue of the interpolation gap of Wortsman et al. (2022), and is meaningful because the runs share a start (Frankle et al., 2020).
Derivation of the second-order spread cost. For independent runs from a common start, expand the full-data loss to second order about , with the full-data Hessian there and the average of the runs. The first-order terms cancel and
whose expectation is because for independent runs. Expanding about instead makes the first-order term vanish exactly and gives with the Hessian at , the form stated above; the two Hessians differ at higher order.
H Setup of the Network Experiments
Section 6.3 and Appendices I and K measure an MLP, a ResNet-20 and Pythia language models at several checkpoints of their training. This appendix describes the networks and the checkpoints, and the table below summarizes them.
| network | training | checkpoints (step) | inner steps |
|---|---|---|---|
| CIFAR MLP | SGD, rate 0.01, batch 4, 150,000 steps | 60k, 90k, 120k, 150k | SGD at rate 0.01 |
| ResNet-20 | SGD, rate 0.005, batch 4, 150,000 steps | 90k, 120k, 150k | SGD at rate 0.005 |
| Pythia-70m | Adam, 143,000 steps | 50k, 100k, 143k | SGD at rate , |
The networks. The CIFAR MLP is a fully connected network of widths 3,072, 512, 512 and 10. The ResNet is the CIFAR ResNet-20 of He et al. (2016), with 269,722 parameters, in which every batch normalization is replaced by a group normalization of eight groups (Wu and He, 2018), so that the output for an image does not depend on the rest of its minibatch. Both are trained by plain SGD with batch 4 and the squared loss on the same 8,192 CIFAR-10 images (Krizhevsky, 2009). Pythia-70m is the language model of Biderman et al. (2023) at its public checkpoints. It was trained with Adam, and our inner steps are plain SGD. Its transformer blocks and final layer norm move, 18.9 of its 70.4 million parameters, while the input embedding and the output layer stay fixed. A minibatch is sequences of 2,048 tokens drawn from one million sequences of its training data, the Pile (Gao et al., 2020), and the loss is the mean next-token cross-entropy on 128 held-out sequences. All experiments ran on NVIDIA H100 GPUs. The Pythia models are released under the Apache 2.0 license, CIFAR-10 asks only to be cited, and each component of the Pile keeps its own license.
Settings. Unless a panel states otherwise, , and . Section 6.3 shows the MLP at step 120,000, and Figures 9 to 17 show the other checkpoints in the same panels. On Pythia the momentum panel uses , and the workers and split panels use .
Runs that diverge. When some runs diverge, we average over the streams that survive and mark these points with an arrow. In Figure 4 this happens within the 20 outer steps for at and 56 in panel (ii), where 41 and 37 of the 48 runs survive, and for in panel (iv), where 47 runs survive at and 39 at . For the frozen linearization we redrew the inner trajectories that diverged, at with and at with , so these points average only over the inner trajectories that stayed bounded. In Figure 5, runs diverged only at settings where they also left the basin, whose spread cost the figure does not plot, and at with in panel (iv), where 4 of the 32 runs diverged and we report the spread cost of the other 28.
I Experiments across Networks and Checkpoints
Figures 9 to 17 show the other checkpoints as Figures 4 and 5 show the MLP at step 120,000.
I.1 The CIFAR MLP
A PREPRINT
(a) momentum

(b) local steps K
(c) workers W
(e) momentum

(d) fixed total batch
spread cost(K)
(f) local steps K
(g) workers W

(h) fixed total batch

measured
lower bound
frozen linearization
spread cost
runs left the basin
Figure 9: The CIFAR MLP at step 60,000. Left: the amplification, as Figure 4. Right: the spread cost, as Figure 5.
(a) momentum

(b) local steps K
(c) workers W
(d) fixed total batch
(e) momentum


(f) local steps K
(g) workers W
(h) fixed total batch
measured
lower bound
frozen linearization

spread cost
runs left the basin
Figure 10: The CIFAR MLP at step 90,000. Left: the amplification, as Figure 4. Right: the spread cost, as Figure 5.
A PREPRINT
(a) momentum

(b) local steps K
(c) workers W
(d) fixed total batch

(e) momentum

(g) workers W
(f) local steps K
(h) fixed total batch

☑ spread cost × runs left the basin
Figure 11: The CIFAR MLP at step 150,000. Left: the amplification, as Figure 4. Right: the spread cost, as Figure 5.
I. 2 ResNet-20
(a) momentum

(b) local steps K
(c) workers W
(d) fixed total batch
(e) momentum
(f) local steps K
(g) workers W
(h) fixed total batch

measured
lower bound
frozen linearization
spread cost × runs left the basin
Figure 12: ResNet-20 at step 90,000. Left: the amplification, as Figure 4. Right: the spread cost, as Figure 5.
A PREPRINT
(a) momentum

(b) local steps K
(c) workers W
(e) momentum

(d) fixed total batch
(f) local steps K

(g) workers W
(h) fixed total batch

measured
lower bound
frozen linearization
spread cost
runs left the basin
Figure 13: ResNet-20 at step 120,000. Left: the amplification, as Figure 4. Right: the spread cost, as Figure 5.
(a) momentum

(b) local steps K
(c) workers W
(e) momentum
(d) fixed total batch

(f) local steps K
(g) workers W

(h) fixed total batch
measured
lower bound
frozen linearization

spread cost
runs left the basin
Figure 14: ResNet-20 at step 150,000. Left: the amplification, as Figure 4. Right: the spread cost, as Figure 5.
A PREPRINT
I. 3 Pythia-70m
On Pythia-70m, unlike on the other two networks, the spread cost does not separate the inner batches (panels (f) and (h) of Figures 15 to 17). Two runs that share their minibatches do not differ in the noise of their draws, and their loss gap, the spread cost (20) of such a pair, isolates the effect of the amplification. The loss gap follows the amplification (Figures 18 to 20). It grows with K at b = 1 and shrinks at b = 4, 8 and 16, and it grows for the split while it shrinks for , as the amplification does in panels (b) and (d).
(a) momentum

(b) local steps K
(c) workers W
(e) momentum
(d) fixed total batch

(f) local steps K

(g) workers W
(h) fixed total batch
measured
lower bound
frozen linearization

spread cost × runs left the basin
Figure 15: Pythia-70m at step 50,000. Left: the amplification, as Figure 4. Right: the spread cost, as Figure 5.
A PREPRINT
(a) momentum

(b) local steps K
(c) workers W
(e) momentum
(d) fixed total batch

(f) local steps K
(g) workers W
(h) fixed total batch
measured
lower bound
frozen linearization
spread cost
runs left the basin
Figure 16: Pythia-70m at step 100,000. Left: the amplification, as Figure 4. Right: the spread cost, as Figure 5.
(a) momentum
(b) local steps K

(c) workers W
(d) fixed total batch
(e) momentum
(f) local steps K
(g) workers W

(h) fixed total batch
measured
lower bound
frozen linearization
spread cost
runs left the basin
Figure 17: Pythia-70m at step 143,000. Left: the amplification, as Figure 4. Right: the spread cost, as Figure 5.
A PREPRINT

Figure 18: The loss gap of pairs of runs that share their minibatches, Pythia-70m at step 50,000. Two runs start apart and see the same minibatches, and the loss gap is their mean loss minus the loss at their midpoint after 20 outer steps (median over pairs).

Figure 19: The loss gap of pairs of runs that share their minibatches, Pythia-70m at step 100,000. As Figure 18.

Figure 20: The loss gap of pairs of runs that share their minibatches, Pythia-70m at step 143,000. As Figure 18.
A PREPRINT
I. 4 Larger language models
Figure 21 repeats the amplification panels on Pythia-160m, Pythia-410m and Pythia-1b at step 100,000, with inner SGD at rates , and . As on the smaller networks, small inner batches amplify more as K grows and large ones less (panels (b), (f) and (j)), and the most split total batch amplifies most at long blocks (panels (d), (h) and (l)).
(a) momentum

(b) local steps K
(c) workers W
(d) fixed total batch
(e) momentum

(f) local steps K
(g) workers W
(h) fixed total batch

measured
lower bound

measured
lower bound
(i) momentum

(j) local steps K
(k) workers W
(1) fixed total batch

measured
lower bound
Figure 21: Pythia-160m, Pythia-410m and Pythia-1b at step 100,000. Top left: Pythia-160m. Top right: Pythia-410m. Bottom: Pythia-1b. The amplification, as Figure 4.
A PREPRINT
J Phase Diagrams at a Checkpoint
Figure 1 draws the mean-square stable region of the exact model in the plane. Figures 22 and 23 measure the same plane at the CIFAR MLP checkpoint, as the amplification at each setting, and Figure 22 also shows the spread cost (20) after the same 20 outer steps.

Figure 22: The plane at the CIFAR MLP checkpoint. , , step 120,000, with workers. Top: . The solid line is the measured boundary , below which a setting contracts, and the dotted line is that of the frozen linearization. Bottom: the spread cost (20) after 20 outer steps, with the boundary of the top row drawn over it. Hatching marks the settings whose runs left the checkpoint's basin.
The CIFAR MLP. The contracting region grows with the number of workers, as in the right panel of Figure 1, and at every its boundary falls from large at small to small at large . The frozen linearization has the sign of the measured amplification at every setting. Leaving out the settings whose runs left the checkpoint's basin, the spread cost rises with and with and falls with .
Inner batch and block length. Figure 23 draws the plane with one worker for inner batches and 16 and block lengths and 56, the two quantities varied in the left and middle panels of Figure 1. As grows, the contracting region shrinks to nothing at and barely moves at . At it keeps its size, and by its boundary runs along the mean boundary for up to 0.5, as in the left panel of Figure 1, where the mean-square boundary approaches a mean boundary that itself moves in as grows. The frozen linearization has the sign of the measured amplification at almost every setting.
A PREPRINT

Figure 23: The plane by inner batch and block length at the CIFAR MLP checkpoint. at step 120,000 with one worker, for and 16 (rows) and and 56 (columns). The row samples from 0.5 to 2 in steps of 0.25. The solid line is the measured boundary , the dotted line that of the frozen linearization, and the gray dashed line in the row the mean condition (13) at , , the boundary for (Proposition 3(i)). At a hatched setting every run diverged within the 20 outer steps.
K Continuations
Figure 24 continues training from a checkpoint of each network at three outer settings with K = 14 and b = 4, for 400 outer steps on the CIFAR networks and 100 on Pythia, once with one worker and once with two. It shows whether the amplification measured at the checkpoint reaches the training loss.
Where a setting contracts, training carries on as usual. At the loss of both CIFAR networks keeps falling and the spread cost stays small, with one worker and with two.
On the CIFAR networks, amplification reaches the loss through the spread cost. At one worker amplifies, and the mean loss of the runs ends above the loss at the checkpoint, three times above it on the MLP, while the loss at the runs' average keeps falling. The rise comes from the runs moving apart, which is what the spread cost measures.
A second worker undoes this. With two workers the same setting contracts on both networks and the loss falls as in a contracting setting, and averaging over workers lowers the spread cost at every setting, as implication (iii) predicts.
On Pythia the loss falls at every setting over the 100 outer steps. This is the normal course of training from a checkpoint taken before the end of training, at step 100,000 of 143,000. Over this horizon, the spread cost that the amplification causes stays far below the progress of training.
A PREPRINT
(a) training loss - loss at

(d)
(b) spread cost
(e)
(c) amplification,
(f)
(g)
(h)
(i)
setting
workers W = 1 2
Figure 24: Training loss, spread cost and amplification over a continuation, on the CIFAR MLP (top), ResNet-20 (middle) and Pythia-70m (bottom). and at three outer settings, with one worker as a plain line and two with hollow circles. The columns show the training loss relative to its value at the checkpoint, the spread cost and .
L Examples of What Mean-Stability and Bounded-Noise Analyses Miss
L.1 Mean-stability analyses
Some analyses keep the mean of the block operator and the covariance of the pseudo-gradient at a reference point but leave out the block noise. Example 8 shows that these quantities alone cannot decide stability.
Example 8 (Same observables, opposite stability) For every there are two scalar two-step inner laws with , and , such that outer relaxation with has a finite stationary second moment for one law and an unbounded second moment for the other.
One law has , and the other has with equal probability. The two laws have the same mean block operator and the same pseudo-gradient covariance, so no analysis based on those quantities can distinguish them at the reference point. The outer update is relaxation ( ). The sample losses below do not share a minimizer, so the pseudo-gradient is affine rather than linear in the iterate, and the construction lies outside the exact model of Section 3.1.
Set the scalar inner step size to one. At each outer iteration draw fresh and , independently of the current iterate. Use the two strongly convex inner losses
A PREPRINT
The two gradient steps are
SO
For the first law take , hence . For the second law take with equal probability, equivalently . In both cases draw independently and with equal probability from . Both laws satisfy
Under outer relaxation, . Since and are independent of and of each other, and , the cross term vanishes and
At the first law has and the second has . The first law therefore has stationary second moment , and the second diverges in mean square.
The first law is an instance of Proposition 7(b) in one dimension. At the buffer drops out of the error recurrence, is multiplication by , is on the error block, , and the floor is the stationary second moment found above. For the second law and the forcing has weight on the only mode, so part (c) gives the divergence.
L.2 Bounded-noise guarantees
Khaled et al. (2025) bound the expected suboptimality of local SGD with an outer learning rate, with heavy-ball momentum, and with Nesterov's accelerated gradient method with round-dependent coefficients. They assume a convex and smooth objective with uniformly bounded gradient variance, and their worst-case guarantees use the gradient noise only through this uniform bound. The stability boundary, however, depends on how the noise of the next block grows with the current error, and the block noise of (10) describes this growth.
Example 9 (Same guarantee, opposite local stability) For let equal with probability and with probability , and let the sample loss and its gradient be
Then, for every c: (i) , so the expected objective is , convex with 1-Lipschitz gradient and minimizer 0; (ii) for every ; (iii) every sample loss is convex with minimizer 0. Consequently the worst-case guarantees of Khaled et al. (2025) take the same value for and at any common initialization. Yet one SGD step at rate multiplies an error at the minimizer by , whose mean is for every while its second moment is
equal to 0.78125 for c = 1 and 1.25 for c = 31 at . The first problem therefore contracts errors in mean square at the minimizer, and the second amplifies them.
Proof. gives (i), and gives , which is (ii). For (iii), is at least when and at least 1 when , and for both values. At the minimizer , with and , which gives .
For a block of steps at the minimizer, (6) gives for both problems and , so the two problems have the same mean block operator at every but different second moments. Their guarantee for the outer update with a learning rate and no momentum applies here, since its step-size condition
A PREPRINT
holds with and . At the outer step is and , which is 0.37 for and 2.44 for at , and 0.14 and 5.96 at .
The same split appears under outer Nesterov momentum with constant coefficients, as in (2), once the blocks are long enough. At , and , of (22) is 0.637 at and 0.545 at for , and 0.990 and 1.196 for . Both problems are therefore stable at , but the second becomes unstable at . This instability is local, because the noise saturates away from the minimizer. It does not contradict that guarantee, which allows an error level that depends on the noise.