---
title: Delayed Momentum Aggregation
url: https://www.emergentmind.com/topics/delayed-momentum-aggregation
type: topic
---

# Delayed Momentum Aggregation

Delayed momentum aggregation denotes optimization schemes in which momentum information is formed from updates that are delayed, stale, or only periodically synchronized rather than being computed solely from the current gradient at the current iterate. In the most specific usage, it is the federated-learning principle of aggregating the most recently received gradients from non-participating clients alongside fresh momentum from active clients [2509.02970]. Closely related mechanisms appear in asynchronous SGD, asynchronous and private federated learning, hierarchical federated learning, and DiLoCo-style low-communication training, where delay variables, synchronization intervals, or outer-round pseudo-gradients cause momentum to be computed from temporally misaligned local trajectories [1605.09774][2402.09247][2210.14560][2607.03011]. This suggests that delayed momentum aggregation is best understood as a family of delay-aware momentum constructions rather than a single algorithm.

## 1. Formal scope and recurring mathematical structure

Across the literature, the common object is a momentum buffer or momentum-like recurrence that receives information computed on earlier models. In fully asynchronous SGD, a worker reads a stale iterate
\[
v_t = w_{t-\tau_t},
\]
and performs
\[
w_{t+1} = w_t - \alpha \nabla f(v_t; z_{i_t}),
\]
where \(\tau_t\in\mathbb N\) is the staleness. In partial-participation federated learning, the server stores a client-wise momentum vector \(m_i^t\) and aggregates both refreshed and retained vectors. In DiLoCo, workers take \(H\) local steps and communicate only an outer-round displacement
\[
\Delta_i^k = w_i^{k,H} - w^k,
\]
so momentum is applied only to periodically aggregated pseudo-gradients [1605.09774][2509.02970][2607.03011].

These formulations differ in topology and fault model, but they share the same structural issue: the optimizer must decide how delayed information should contribute to a momentum buffer. Some methods reinterpret delay as implicit momentum, some compensate for the distortion introduced by stale arrivals, and some exploit stored stale vectors to preserve robustness or reduce communication.

| Setting | Delayed object | Representative mechanism |
|---|---|---|
| Asynchronous SGD | stale gradients or stale iterates | implicit momentum, ordered momentum, ordered weights |
| Asynchronous/private FL | buffered model updates and version tags | momentum approximation via reweighting |
| Partial-participation Byzantine FL | server-stored client momentum vectors | aggregation of fresh and stale momentum |
| DiLoCo and related methods | outer-round pseudo-gradients after \(H\) local steps | Nesterov momentum on aggregated task vectors |
| Hierarchical FL | worker, edge, and cloud momentum streams | multi-tier momentum aggregation every \(\tau\) and \(\tau\pi\) steps |

A key distinction within this family is whether delay is treated as a nuisance to be attenuated, as an implicit source of acceleration, or as a resource to be retained for stability and robustness.

## 2. Asynchrony as an implicit momentum mechanism

A foundational result is that asynchronous SGD itself can be rewritten as a momentum-like method. Under the assumption that delays are independent of the sample-selection process and with constant step size \(\alpha\), the expected increment obeys
\[
E[w_{t+1}-w_t]
= E[w_t-w_{t-1}]
- \alpha q_0 E[\nabla f(w_t)]
+ \alpha \sum_{l=0}^{\infty}(q_l-q_{l+1})E[\nabla f(w_{t-(l+1)})],
\]
where \(q_l\) is the staleness distribution. Whenever delays have variance \(>0\), past gradients reappear with positive weight, creating a momentum-like memory [1605.09774].

The geometric case is especially explicit. If
\[
q_l=(1-\mu_S)\mu_S^l,\qquad l=0,1,2,\dots,
\]
then the expected async update collapses to
\[
E[w_{t+1}-w_t]
= \mu_S E[w_t-w_{t-1}]
- (1-\mu_S)\alpha E[\nabla f(w_t)].
\]
In expectation, the asynchronous update exactly matches a Polyak-momentum step with implicit momentum coefficient \(\mu_S\), and this equivalence does not require convexity of \(f\) [1605.09774].

The same work connects the coefficient \(\mu_S\) to a homogeneous queueing model. If \(M\) workers have i.i.d. \(\mathrm{Exp}(\lambda)\) update times, the induced staleness law is geometric with
\[
\mu_S = 1 - \frac{1}{M},
\]
yielding
\[
E[w_{t+1}-w_t]
= \Bigl(1-\frac{1}{M}\Bigr)E[w_t-w_{t-1}]
-\frac{1}{M}\alpha E[\nabla f(w_t)].
\]
This forges a direct link between worker count and effective momentum [1605.09774].

Once explicit algorithmic momentum \(\mu_L\) is added, the effective momentum is approximately additive, \(\mu_{\mathrm{eff}}\approx \mu_L+\mu_S\). That observation leads to two design consequences. First, momentum must be retuned as asynchrony changes. Second, when \(\mu_S\) becomes large, negative algorithmic momentum can be optimal. The paper reports that on CIFAR with 16 CPU workers, tuning \(\mu_L\) from the “industry standard” \(0.9\) to its \(M\)-dependent optimum yields a \(\approx 2.5\times\) reduction in the number of training steps needed to reach the same loss, and allowing \(\mu_L<0\) yields a further \(\approx 2\times\) speed-up at very large staleness [1605.09774].

## 3. Chronological weighting, bias correction, and ordered asynchronous momentum

A recurrent criticism of naive momentum under delay is that it mixes gradients of different vintages in a single buffer and can repeatedly recycle stale information. In parameter-server ASGD, the naive rule
\[
m_{t+1}=\beta m_t+\eta g_j^{k_t},\qquad w_{t+1}=w_t-m_{t+1},
\]
often impedes convergence as delay grows. Ordered Momentum (OrMo) addresses this by grouping gradients by their original iteration index into buckets of size \(K\), maintaining a head-bucket index \(b_t\), and ensuring that the \(i\)-th bucket contributes exactly with weight \(\beta^{\,b_t-i}\). When a stale gradient arrives, the server compensates in one shot for all the micro-steps it missed before arrival, so no gradient is over-counted. Under standard non-convex assumptions, OrMo attains the same \(O(1/\sqrt T)\) rate as serial SGD up to a small \(K/T\) term, without any bounded-delay assumption [2407.19234].

The chronological-weighting problem also appears in asynchronous federated learning with buffered updates. In that setting, a cohort of clients returns stale model displacements \(\Delta_k(\theta_{t-\tau(k)})\), which the server averages into a pseudo-gradient
\[
r_t = \frac{1}{C}\sum_{k\in \text{buffer}} \Delta_k(\theta_{t-\tau(k)}).
\]
If one then applies ordinary server-side momentum, the resulting asynchronous trajectory differs from the synchronous one by an implicit momentum bias matrix
\[
\Delta B = U - M,
\]
where \(M\) is the ideal exponential-weight matrix and \(U\) is the received-average operator determined by staleness. Momentum Approximation (MA) corrects this by solving, row by row,
\[
\min_{w\in\mathbb R^t}\ \|w^\top U_{1:t,1:t} - M_{t,1:t}\|_2^2,
\]
with closed-form solution
\[
w_t = (U_{1:t,1:t})^+ M_{t,1:t}^\top.
\]
A light-weight variant uses a scalar recursion \(\tilde m_t = u_t r_t + v_t \tilde m_{t-1}\) and solves a \(2\times2\) least-squares problem each round. Because MA is post-processing of aggregated sums, it is compatible with secure aggregation and inherits the same \((\epsilon,\delta)\) differential-privacy guarantee as the underlying noisy sums. Empirically, MA and MA-light achieve \(1.15\textrm{--}4\times\) speed up in convergence compared to naively combining asynchronous FL with momentum, with \(3\textrm{--}20\%\) relative improvement in macro-AP or accuracy; under DP with \((\epsilon=2,\delta=1e\textrm{--}7)\), the speed-up remains \(1.15\textrm{--}2.6\times\) [2402.09247].

A more recent line studies data-dependent delays directly. The update
\[
m_t = \beta(1-\beta)^{\tau_t} g_{t-\tau_t} + (1-\beta)m_{t-1},\qquad
x_{t+1}=x_t-\eta m_t,
\]
assigns each delayed gradient exactly the weight it would have had in a synchronous exponential moving average. The paper establishes the first optimal convergence rates for data-dependent delays in both convex and non-convex smooth setups, avoids filtering or discarding delayed gradients, and supports up to \(M=O(\sqrt T)\) workers without degrading the \(1/\sqrt T\) rate [2605.02043]. This positions ordered weighting as an alternative to staleness filtering, which the same work characterizes as systematically favoring simpler or faster-to-process samples.

## 4. Federated learning with partial participation, robustness, privacy, and hierarchy

In partial-participation Byzantine-robust FL, delayed momentum aggregation is formulated explicitly as a server principle. Each client \(i\) has a momentum vector \(m_i^t\). If \(i\in\mathcal S_t\), it is refreshed; otherwise it is retained. The server then aggregates all \(n\) vectors,
\[
m^t = \Agg\Bigl(\{m_i^t\}_{i\in\mathcal S_t}\cup \{m_i^t\}_{i\notin\mathcal S_t}\Bigr),
\qquad
x^t = x^{t-1}-\eta m^t.
\]
The purpose is to ensure that the robust aggregator always sees \(n\) vectors with only a \(\delta\)-fraction Byzantine, even when the sampled set itself could contain a Byzantine majority. Under a \((\delta,c)\)-robust aggregator and standard smoothness, variance, heterogeneity, and bounded-gradient assumptions, D-Byz-SGDM satisfies
\[
\frac1T\sum_{t=0}^{T-1}\E\|\nabla f(x^t)\|^2
=
\gO\Bigl(
\frac{c\,\delta\,\zeta^2}{p}
+
\sigma\sqrt{\frac{L\Delta}{pT}\Bigl(c\delta+\frac1n\Bigr)}
+
\sqrt{\frac{c\delta(1-p)B^2(L\Delta+c\delta\sigma^2)}{pT}+\frac{L\Delta}{pT}}
\Bigr),
\]
and a lower bound shows that the non-vanishing \(\Omega(\delta\zeta^2/p)\) term is information-theoretically optimal [2509.02970].

The same work emphasizes that communication efficiency is preserved. The per-round communication cost is \(O(pd\,n)\), storage is \(O(d\,n)\), and no extra communication is required to retrieve stale momenta because they are stored server-side. In experiments on MNIST with a small CNN, \(n=25\), \(\delta=0.2\), and \(p=0.5\), D-Byz-SGDM consistently achieves the highest final accuracy across all aggregators and attacks, while FedAvg and FedAvg-M diverge within a few epochs whenever a Byzantine majority is sampled [2509.02970].

Hierarchical federated learning extends delayed momentum aggregation to a three-tier worker-edge-cloud network. In HierMo, workers maintain local momentum vectors \(y_{i,\ell}^t\), edge nodes aggregate stale worker momenta every \(\tau\) local steps, and the cloud aggregates stale edge-level quantities every \(\tau\pi\) steps. The delays are explicitly represented by \(\tau_{we}=\tau\) and \(\tau_{ec}=\tau\pi\). The analysis introduces virtual edge and cloud sequences to characterize model aggregation, momentum aggregation, and their interactions, establishing an \(O(1/T)\) convergence rate and a tighter convergence upper bound compared with HierFAVG without momentum [2210.14560]. This broadens the topic from stale gradients at a single server to delayed momentum exchange across communication tiers.

## 5. Periodic outer-loop momentum in low-communication distributed training

DiLoCo and related local-SGD methods instantiate delayed momentum aggregation through periodic synchronization. With global model \(w^k\), worker \(i\) takes \(H\) local steps from \(w_i^{k,0}=w^k\) to \(w_i^{k,H}\), forming a task vector
\[
\Delta_i^k = w_i^{k,H} - w^k,\qquad
\Delta^k = \frac1N\sum_{i=1}^N \Delta_i^k.
\]
The outer optimizer then applies Nesterov momentum to these pseudo-gradients:
\[
v^{k+1} = \beta v^k + \Delta^k,\qquad
w^{k+1}=w^k-\eta_m(\Delta^k+\beta v^k).
\]
Momentum is therefore delayed by \(H\) local steps: unlike classical distributed SGD, the buffer is refreshed only at outer communication rounds [2607.03011].

The model-merging view makes this explicit. Iso-C treats each \(\Delta_i^k\) as a task vector and, for each matrix parameter tensor \(\Delta_\ell^k\), computes an SVD
\[
\Delta_\ell^k = U\Sigma V^\top,
\]
forms the mean singular value
\[
\bar\sigma = \frac1r\sum_{j=1}^r \sigma_j,
\]
and reconstructs the isotropic update
\[
\widehat \Delta_\ell^k = \bar\sigma\, U V^\top.
\]
IsoLoCo inserts this correction into the DiLoCo outer loop and retains Nesterov momentum. The paper interprets the degradation at large \(N\) or large \(H\) as arising from the aggregation of increasingly divergent local trajectories and from delayed outer momentum that may need retuning [2607.03011].

The empirical results quantify the scaling behavior on a 178 M-parameter LLaMa-style model trained on DCLM under a fixed FLOP budget, with \(H=30\) unless otherwise noted.

| Method | Setting | Best validation loss |
|---|---|---|
| Data-Parallel AdamW | DP | 2.881 |
| DiLoCo | \(N=1,8,128\) | 2.869, 2.950, 3.355 |
| DiLoCo + Iso-C | \(N=1,8,128\) | 2.855, 2.929, 3.280 |
| IsoLoCo | \(N=1,8,128\) | 2.842, 2.889, 3.160 |

For inner-step scaling at \(N=8\), DiLoCo changes from \(2.950\) at \(H=30\) to \(3.008\) at \(H=240\), while IsoLoCo changes from \(2.889\) to \(2.991\). The absolute gap between DiLoCo and IsoLoCo widens with \(N\): at \(N=1\) it is \(\sim0.9\%\) \((2.869\to2.842)\), and at \(N=128\) it is \(\sim5.8\%\) \((3.355\to3.160)\) [2607.03011]. This suggests that delayed momentum aggregation in outer-loop optimizers is closely connected to model-merging interference and not only to classical gradient staleness.

## 6. Trade-offs, misconceptions, and broader algorithmic significance

A central systems trade-off is that delay often improves hardware or communication efficiency while harming statistical efficiency unless the momentum mechanism is redesigned. In asynchronous deep learning, better hardware efficiency comes from no locks, but a single default momentum across all scales of asynchrony can either waste hardware parallelism or suffer slow convergence; fair comparison of synchronous and asynchronous schemes therefore requires retuning momentum for each level of asynchrony [1605.09774]. In local-SGD and DiLoCo, communication is reduced by a factor of \(H\), but the outer optimizer sees stale pseudo-gradients from divergent local trajectories, so performance degrades as \(N\) or \(H\) grows unless aggregation is improved [2607.03011].

Several misconceptions recur in the literature. One is that adding ordinary momentum to an asynchronous method is automatically beneficial. Multiple papers reject this: naive server-side momentum in ASGD can impede convergence, stale updates in AsyncFL create an implicit momentum bias matrix \(U-M\), and delayed information can be double-counted unless the chronology is preserved [2407.19234][2402.09247]. Another misconception is that discarding stale gradients is neutral. The data-dependent-delay analysis argues that delay-adaptive attenuation or filtering introduces systematic bias because updates from simpler or faster-to-process samples are overrepresented, while gradients from more complex samples are delayed or suppressed [2605.02043]. A third misconception is that Byzantine robustness under full participation transfers directly to partial participation. The partial-participation results show the opposite: methods that aggregate only fresh sampled updates fail immediately after the sampled clients contain a Byzantine majority, motivating stale-momentum retention at the server [2509.02970].

Empirical evidence broadly supports the theoretical picture. OrMo improves final test accuracy by \(1\textrm{--}3\) points over ASGD and other momentum variants on CIFAR-10/100 with ResNet-20, with 16 or 64 workers and up to \(10\times\) stragglers, while never requiring tuning \(\beta\) downward even under large delays [2407.19234]. Momentum Approximation recovers the same optimal \(\beta\) as in synchronous FL and is compatible with secure aggregation and differential privacy [2402.09247]. D-Byz-SGDM shows that stale momentum can be a robustness resource rather than only an optimization liability [2509.02970].

Outside SGD-like optimization, a related delayed-momentum design appears in eigenvalue computation. DMPower and DMStream perform a pre-momentum warm-up with inexact deflation to estimate \(\lambda_2\), then activate a heavy-ball phase with \(\beta\leftarrow M^J/4\) and iteration \(q^{k+1}=Aq^k-\beta q^{k-1}\) [2108.09264]. This suggests that the core idea of delaying momentum until delayed information can be weighted or estimated correctly has significance beyond distributed learning.

Taken together, the literature presents delayed momentum aggregation as a general response to temporal misalignment in optimization. The main divide is not between “with momentum” and “without momentum,” but between methods that preserve the correct chronological contribution of delayed information and methods that collapse stale and fresh updates into an undifferentiated buffer.

Source: https://www.emergentmind.com/topics/delayed-momentum-aggregation