acceptodds
Published as a conference paper at NeurIPS 2026

Generalization Without Compression Penalty: A Stability Analysis of Error Feedback

Yifei Liang, Peng Wang, Yan Sun, Yingqi Liu, Xiaoyan Wang, XIAOCHUN CAO, Li Shen

Abstract

Error Feedback (EF) has become a core mechanism for aggressive gradient compression in communication-efficient distributed training, and is now used in geo-distributed frameworks such as DiLoCo. While existing theory mainly explains its optimization convergence, the generalization behavior of EF remains poorly understood, especially under nonlinear biased compression and distributed local updates. We present the first generalization analysis of EF for both single-node EF-SGD and DiLoCo-EF through an optimization-driven on-average model stability framework, without imposing bounded-gradient assumptions. Technically, we develop a buffer-aware Lyapunov argument that tracks the coupled dynamics of the model and error buffer, while co-coercivity absorbs same-sample gradient-difference energy into the optimization trajectory. For convex losses, our bounds show that compression-induced stability terms are transient, decaying as , and therefore do not create a non-vanishing generalization floor beyond the dominant optimization term. In the DiLoCo setting, worker averaging further suppresses compression perturbations, and a local stepsize controls the drift from local steps, yielding the leading excess-risk scaling. Experiments on convex benchmarks corroborate the theory, showing that Top-, Random-, and quantization with matched contraction factor exhibit nearly indistinguishable generalization trajectories.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_PEjZOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
3
Quality
4
Significance
4
Read review
Summary

This paper presents a generalization error analysis that quantifies the impact of Error Feedback (EF) in distributed learning when updating models using compressed loss gradients. Specifically, the effects of adopting EF under SGD and DiLoCo are analyzed by deriving error bounds based on stability theory. To analyze various practical compression methods within a unified framework, an "energy contraction factor" is introduced to evaluate compression errors. Deriving error bounds that depend on this factor succinctly characterizes the overall impact of the compressor. Finally, numerical experiments verify that the derived error bounds accurately capture the behavior of generalization errors observed in actual training.

Strengths and weaknesses

Strengths

  1. Derivation of error bounds that enable the analysis of the impact of Error Feedback (EF) in distributed learning.

  2. Establishment of a unified framework using an "energy contraction factor" to accommodate various compression methods for loss gradients, thereby broadening the scope of methods explainable by the derived error bounds.

  3. Experimental validation demonstrating that the theoretical properties indicated by the derived error bounds align with the tendencies observed in numerical experiments.

Weaknesses

  1. Further explanation is required regarding whether the contraction factor α\alpha can be determined for compressors other than sparsification and quantization.

  2. The specific motivation for focusing on DiLoCo remains somewhat obscure.

  3. Insufficiency remains in the explanation of whether the assumptions (or settings) regarding step size η\eta in Theorems 4.12 and 4.14 are satisfied under standard configurations commonly used in practical optimizers.

Questions
  1. Is it possible to rigorously determine the contraction factor α\alpha for compressors other than sparsification and quantization?

  2. What is the underlying motivation for focusing specifically on DiLoCo as the distributed learning framework?

  3. Are the assumptions (or settings) regarding step size η\eta in Theorems 4.12 and 4.14 typically satisfied under commonly utilized optimizer settings?

If all of these concerns are clearly and comprehensively addressed, I would be glad to re-evaluate my score.

Limitations

Yes

Paper formatting concerns

No such concerns have been identified.

Final justification

The authors have satisfactorily addressed the initial questions and weaknesses I pointed out in their rebuttal. Given that the paper makes a solid contribution and I have no further particular concerns at this stage, I have raised my final rating.

1 comment

We thank the reviewer for the encouraging assessment and for raising three concrete questions about the practical scope of our analysis. In brief, our compressor scope is determined by a verifiable residual-energy certificate; DiLoCo captures the interaction among worker averaging, local drift, and persistent EF memory; and our stepsize schedules follow standard finite-horizon scaling, while the numerical constants are conservative sufficient conditions.

W1/Q1 — Contraction factors beyond sparsification and quantization

Our theory is not tied to a fixed family of sparsifiers or quantizers. Under the standing assumptions of the corresponding theorems, it covers any possibly randomized compressor C\mathcal{C} for which one can certify

EC∥x−C(x)∥2≤(1−α)∥x∥2,∀ x,\mathbb{E}_{\mathcal{C}}\|\mathbf{x}-\mathcal{C}(\mathbf{x})\|^{2}\le(1-\alpha)\|\mathbf{x}\|^{2},\qquad \forall\,\mathbf{x},

for some α>0\alpha>0. Extending the analysis to a new compressor therefore amounts to proving this inequality and inserting any certified positive value of α\alpha. If no positive uniform value exists, the present global guarantee does not apply. A nominal bit width, sparsity ratio, or rank is not itself a certificate unless it implies this residual-energy bound.

CompressorCertified α\alphaQualificationReferences
Top-kk in Rd\mathbb{R}^{d}k/dk/dThe largest kk coordinates retain at least a k/dk/d fraction of the squared energy.Stich et al. (2018); Beznosikov et al. (2023)
Uniform unscaled Random-kkk/dk/dThe expected residual energy is exactly (1−k/d)∥x∥2(1-k/d)\|\mathbf{x}\|^{2}.Stich et al. (2018); Beznosikov et al. (2023)
Blockwise Top-kbk_{b}min⁡bkb/db\min_{b}k_{b}/d_{b}Block bb has size dbd_{b} and retains kbk_{b} coordinates.Zheng et al. (2019)
Relative-MSE compressor1−ω1-\omegaRequires a uniform relative-MSE bound with ω<1\omega<1; bit width alone is insufficient.Alistarh et al. (2017); Wu et al. (2018)
Scaled unbiased compressor1/(1+ω)1/(1+\omega)For C=Q/(1+ω)\mathcal{C}=\mathcal{Q}/(1+\omega), with E[Q(x)]=x\mathbb{E}[\mathcal{Q}(\mathbf{x})]=\mathbf{x} and relative variance at most ω\omega.Beznosikov et al. (2023)
Exact rank-rr truncationr/min⁡{p,q}r/\min\{p,q\}Exact best rank-rr approximation in Frobenius norm; approximate methods require separate certification.Derived here; low-rank context: Vogels et al. (2019)

The less immediate entries follow directly. For blockwise Top-kbk_{b},

∑b∥xb−Cb(xb)∥2≤(1−min⁡bkbdb)∑b∥xb∥2.\sum_{b}\|\mathbf{x}_{b}-\mathcal{C}_{b}(\mathbf{x}_{b})\|^{2}\le\left(1-\min_{b}\frac{k_{b}}{d_{b}}\right)\sum_{b}\|\mathbf{x}_{b}\|^{2}.

For the scaled unbiased compressor, E∥Q(x)∥2≤(1+ω)∥x∥2\mathbb{E}\|\mathcal{Q}(\mathbf{x})\|^{2}\le(1+\omega)\|\mathbf{x}\|^{2}, and hence

E∥x−Q(x)1+ω∥2≤ω1+ω∥x∥2.\mathbb{E}\left\|\mathbf{x}-\frac{\mathcal{Q}(\mathbf{x})}{1+\omega}\right\|^{2}\le\frac{\omega}{1+\omega}\|\mathbf{x}\|^{2}.

Finally, if s=min⁡{p,q}s=\min\{p,q\} and Cr(X)\mathcal{C}_{r}(X) is the best rank-rr approximation, then

∥X−Cr(X)∥F2=∑i=r+1sσi(X)2≤(1−rs)∥X∥F2.\|X-\mathcal{C}_{r}(X)\|_{F}^{2}=\sum_{i=r+1}^{s}\sigma_{i}(X)^{2}\le\left(1-\frac{r}{s}\right)\|X\|_{F}^{2}.

The compressor scope is therefore determined by a verifiable energy inequality, not by a prescribed list of compressor names. We will add this certification table after Definition 3.1.

W2/Q2 — Why DiLoCo

Compression is most useful when communication, rather than local computation, limits distributed training. DiLoCo is a representative recent framework for this regime: it performs many local updates between synchronizations and then aggregates worker pseudo-gradients, substantially reducing communication in distributed language-model training (Douillard et al., 2023). Its original eight-worker study reports performance comparable to synchronous training with roughly 500×500\times less communication. Later work studies scaling with model size, replica count, hyperparameters, and training budget (Charles et al., 2025), while SparseLoCo combines the same low-frequency synchronization structure with sparsification, quantization, and EF (Sarfi et al., 2025).

This setting exposes exactly the quantities tracked by our distributed analysis. The number of workers MM controls aggregation, while HH controls the amount of local computation per synchronization. Increasing HH lowers synchronization frequency per local update; compression reduces the payload of each synchronization; and EF carries the residual compression error across rounds. Under the SGD specialization of Algorithm 2,

xt+1=xt−ηηlM∑m=1M∑h=0H−1gt,h(m)−η(eˉt−eˉt+1).\mathbf{x}_{t+1}=\mathbf{x}_{t}-\frac{\eta\eta_{l}}{M}\sum_{m=1}^{M}\sum_{h=0}^{H-1}\mathbf{g}_{t,h}^{(m)}-\eta\bigl(\bar{\mathbf{e}}_{t}-\bar{\mathbf{e}}_{t+1}\bigr).

The first term combines HH local updates with averaging over MM workers, while the second is the cross-round EF correction. DiLoCo-EF therefore places worker averaging, HH-step local drift, and persistent compression memory in one process. This is why it is a natural distributed setting for our stability and generalization analysis. We will make this connection explicit in the Introduction and around Algorithm 2.

W3/Q3 — Practical interpretation of the stepsize conditions

The schedule forms are standard for finite-horizon SGD; the exact numerical inequalities are conservative, problem-dependent sufficient conditions rather than optimizer-independent defaults. They depend on quantities such as the smoothness constant LL and the compressor certificate α\alpha.

For single-node EF-SGD, the optimization estimate underlying Theorem 4.12, stated as Theorem D.1, gives

E ⁣[FS(xˉT)−FS(xS⋆)]≤E ⁣[∥x0−xS⋆∥2]ηT+ηcασ2.\mathbb{E}\!\left[F_{\mathcal{S}}(\bar{\mathbf{x}}_{T})-F_{\mathcal{S}}(\mathbf{x}_{\mathcal{S}}^{\star})\right]\le\frac{\mathbb{E}\!\left[\|\mathbf{x}_{0}-\mathbf{x}_{\mathcal{S}}^{\star}\|^{2}\right]}{\eta T}+\eta c_{\alpha}\sigma^{2}.

Writing η=c/T\eta=c/\sqrt{T}, balancing the two terms suggests the oracle scale c=E[∥x0−xS⋆∥2]/(σcα)c=\sqrt{\mathbb{E}[\|\mathbf{x}_{0}-\mathbf{x}_{\mathcal{S}}^{\star}\|^{2}]}/(\sigma\sqrt{c_{\alpha}}); imposing the theorem condition gives the clipped choice

c=min⁡{E ⁣[∥x0−xS⋆∥2]σcα,12L(1+cα)},η=cT.c=\min\left\{\frac{\sqrt{\mathbb{E}\!\left[\|\mathbf{x}_{0}-\mathbf{x}_{\mathcal{S}}^{\star}\|^{2}\right]}}{\sigma\sqrt{c_{\alpha}}},\frac{1}{2L(1+c_{\alpha})}\right\},\qquad \eta=\frac{c}{\sqrt{T}}.

Thus, the T−1/2T^{-1/2} scale comes directly from the optimization trade-off. This constant-within-run construction is standard in finite-horizon SGD theory (Lei and Ying, 2020); it is not the iteration-wise schedule ηt∝t−1/2\eta_{t}\propto t^{-1/2}.

The learning-rate sweep provides finite-horizon evidence for this interpretation. At T=100T=100, η=0.1\eta=0.1 and 0.010.01 attain substantially lower final generalization loss than 10−310^{-3} and 10−410^{-4}. This agrees with the role of 1/(ηT)1/(\eta T): an excessively small learning rate leaves insufficient progress within the prescribed horizon. Since only one horizon is tested, we do not present this sweep as a cross-horizon verification of the T−1/2T^{-1/2} law or of the unknown global-LL threshold.

For DiLoCo-EF, a convenient finite-horizon specialization is ηl=cl/(HT)\eta_{l}=c_{l}/(H\sqrt{T}), with the outer rate η\eta fixed within the run and subject to the stepsize conditions of Theorems 4.9 and D.3, including

LHηl≤18,LηηlHc~α≤116.LH\eta_{l}\le\frac{1}{8},\qquad L\eta\eta_{l}H\widetilde{c}_{\alpha}\le\frac{1}{16}.

The first condition controls cumulative local displacement over HH steps; the second controls its interaction with compression and the EF buffer. Hence, increasing HH requires reducing ηl\eta_{l} so that HηlH\eta_{l} remains controlled, while stronger compression reduces the admissible product ηηlH\eta\eta_{l}H through c~α\widetilde{c}_{\alpha}. Restrictions of order ηl=O((LH)−1)\eta_{l}=O((LH)^{-1}) also appear in Local-SGD analyses (Khaled et al., 2019).

Figure 3a provides complementary evidence for the predicted HH-dependent trade-off: increasing HH initially improves the finite-horizon result, while the gain nearly saturates beyond H=5H=5. We will revise the discussion after Theorems 4.12 and 4.14 to distinguish the standard schedule structure from the conservative proof constants 1/81/8 and 1/161/16, and to present the sweeps as empirical support for the predicted trade-offs rather than numerical certification of the global conditions.

We hope these clarifications resolve the reviewer’s concerns. If so, we would be grateful if the reviewer reconsidered the score.

References cited in this response

  • Alistarh et al. (2017), QSGD: Communication-Efficient SGD via Gradient Quantization and Encoding.
  • Beznosikov et al. (2023), On Biased Compression for Distributed Learning.
  • Charles et al. (2025), Communication-Efficient Language Model Training Scales Reliably and Robustly: Scaling Laws for DiLoCo.
  • Douillard et al. (2023), DiLoCo: Distributed Low-Communication Training of Language Models.
  • Khaled et al. (2019), Better Communication Complexity for Local SGD.
  • Lei and Ying (2020), Fine-Grained Analysis of Stability and Generalization for Stochastic Gradient Descent.
  • Sarfi et al. (2025), Overcoming the Communication-Performance Tradeoff in LLM Pretraining.
  • Stich et al. (2018), Sparsified SGD with Memory.
  • Vogels et al. (2019), PowerSGD: Practical Low-Rank Gradient Compression for Distributed Optimization.
  • Wu et al. (2018), Error Compensated Quantized SGD and Its Applications to Large-Scale Distributed Optimization.
  • Zheng et al. (2019), Communication-Efficient Distributed Blockwise Momentum SGD with Error-Feedback.
Reviewer_XuyjOpenReview ↗
Rating
4
Clarity
3
Confidence
2
Originality
3
Quality
3
Significance
2
Read review
Summary

This paper studies how error feedback affects the generalization. While many studies show that EF converges, its impact on generalization remains poorly understood. The authors provide the first generalization analysis for both argument to track the joint dynamics of the model updates and the error buffer. The main results shows that compression errors do not cause a permanent generalization penalty; instead, their effects decay quickly over time.

Strengths and weaknesses

Strength

  1. This is the first analysis for both single-node EF-SGD and distributed DiLoCo-EF.
  2. The buffer-aware argument successfully tracks the complicated interaction between parameters and error, avoiding the traditional bounded-gradient assumption that makes the theoretical analysis more robust and realistic.

Weakness

  1. The empirical validation is limited to logistic regression on MNIST. Since EF and DiLoCo are motivated by large-scale, geo-distributed deep learning, testing them on MNIST/LR feels disconnected to the real-world.
  2. It would be great if there is any form of practical guidance on how practitioners should choose compression ratios or local step sizes in the real scenarios.
Questions
  1. The theoretical analysis heavily relies on the convexity and co-coercivity of the loss function. Is there any insight on how this stability and generalization framework can be extended to nonconvex settings, which are much more realistic for methods like DiLoCo?

  2. The paper introduces a buffer-aware Lyapunov function to track the joint dynamics. Is there any insight into how the initialization of the error buffer affects the early-stage generalization behavior? e.g. random values vs zeros, does it slow down the decay of the transient error terms?

Limitations

yes

Paper formatting concerns

line 365 - "Limination"

Final justification

I thank the authors for their detailed rebuttal and for addressing my concerns. The authors have satisfactorily clarified the practical scope of their analysis:

  1. They clarified that the 100-round DCLM language model experiment serves as an empirical finite-horizon mechanism check rather than a non-convex theorem claim, and they appropriately scoped the theoretical contribution to the convex regime .
  2. They provided clear conditional tuning rules for balancing HH, η\eta, and ηl\eta_l under varying compression strengths (C(α)C(\alpha)) .

I am maintaining my score of 4 (Borderline Accept). The paper provides a technically solid and novel stability analysis for Error Feedback in single-node and DiLoCo settings . However, because the theoretical guarantees remain strictly confined to the convex SGD regime (leaving a gap with deployed non-convex optimizers like AdamW/Nesterov ), a Borderline Accept accurately reflects the paper's substantive theoretical value alongside its bounded practical scope.

1 comment

We thank the reviewer for recognizing our analysis of single-node EF-SGD and DiLoCo-EF without a global bounded-gradient assumption.

W1 — Language-model evidence

We thank the reviewer for emphasizing evaluation beyond MNIST. We did not make the Appendix A.3 experiment sufficiently visible in Section 5.1. Appendix A.3 and Figure 6 report a 100-round non-convex DiLoCo-EF experiment on DCLM-baseline 1.0, varying learning rate, local interval, quantization precision, Random-kk/Top-kk budget, and compressor type. The generalization gaps show an overall downward trend. Learning rate and local interval reshape the finite-time trajectory; more aggressive sparsification generally produces a larger early-stage gap, whereas the tested quantization curves remain relatively close.

The curves are qualitatively consistent with the convex finite-horizon pattern: compression and optimization mainly alter the early trajectory and constants, while no clear plateau is visible over 100 rounds. Figure 6 does not establish the convex rate for non-convex training; it only shows that this qualitative pattern is not confined to the convex benchmark. We will move the setting and observations into Section 5.1, identify DCLM-baseline 1.0, and consolidate the configurations in Appendix A.1.

W2 — Practical choice of compression ratio and local stepsize

We thank the reviewer for this important suggestion. Our theorem does not claim a unique empirical optimum. It gives sufficient conditions and relative scaling rules that preserve the proved feasibility margin. In DiLoCo-EF, HH is the number of local SGD steps per round, ηl\eta_l the local stepsize, η\eta the outer stepsize, and LL the sample-loss smoothness constant. Compression is characterized by α∈(0,1]\alpha\in(0,1] through EC∥v−C(v)∥2≤(1−α)∥v∥2\mathbb E_{\mathcal C}\|v-\mathcal C(v)\|^2\le(1-\alpha)\|v\|^2. Within a fixed family, smaller α\alpha typically means stronger compression. For Top-kk and unscaled Random-kk in dimension dd, α=k/d\alpha=k/d; for a quantizer, α\alpha follows from its residual-energy guarantee.

For readability, define C(α)=2+4(1−α)/α2C(\alpha)=2+4(1-\alpha)/\alpha^2. For the analyzed inner/outer SGD setting, Theorem 4.9 requires, and Theorem 4.14 uses the same two scales up to constants, LHηl≤1/8LH\eta_l\le1/8 and LηηlHC(α)≤1/16L\eta\eta_lH C(\alpha)\le1/16. These conditions are sufficient, not necessary. Here HηlH\eta_l controls the displacement accumulated during local training, while ηηlHC(α)\eta\eta_lH C(\alpha) controls how this displacement is applied by the outer update with the persistent EF buffer. Since C(α)C(\alpha) increases as α\alpha decreases, stronger compression requires a smaller admissible outer–inner update scale.

Suppose (H,α,ηl,η)(H,\alpha,\eta_l,\eta) is a theorem-feasible reference configuration and (Hnew,αnew,ηl,new,ηnew)(H_{\mathrm{new}},\alpha_{\mathrm{new}},\eta_{l,\mathrm{new}},\eta_{\mathrm{new}}) is a new one for the same LL. The new configuration preserves at least the same sufficient margin if

\eta_{\mathrm{new}}\eta_{l,\mathrm{new}}H_{\mathrm{new}}C(\alpha_{\mathrm{new}}) \le \eta\eta_lH C(\alpha).$$ Thus, if only $H$ changes, choose $\eta_{l,\mathrm{new}}\le\eta_lH/H_{\mathrm{new}}$. If only compression becomes stronger while $H$ and $\eta$ are fixed, choose $\eta_{l,\mathrm{new}}\le\eta_l C(\alpha)/C(\alpha_{\mathrm{new}})$. If both change with fixed $\eta$, enforce both inequalities; if $\eta$ also changes, preserve the second joint scale directly. From a theorem-feasible reference point, these rules preserve the sufficient margin. When $L$ is unknown, they still guide initialization, while absolute rates are selected empirically. Among compressors with comparable cost, the bound favors larger certified $\alpha$, all else equal; choosing smaller $\alpha$ for further savings should be balanced by reducing $\eta\eta_lH$ according to the corresponding $C(\alpha)$ ratio. Up to constants, Theorem 4.14 gives $$\begin{aligned} \mathbb E\left[F_{\mathcal S}(\bar x_T)-F_{\mathcal S}(x_{\mathcal S}^{\star})\right] \lesssim\;& \frac{\mathbb E\|x_0-x_{\mathcal S}^{\star}\|^2}{\eta\eta_lHT}\\ &+\eta C(\alpha)\left[ \frac{\eta_l\sigma^2}{M} +L\eta_l^2H(\sigma^2+H\zeta^2) \right]. \end{aligned}$$ Here $M$ is the number of workers, $\sigma^2$ the gradient variance, and $\zeta^2$ data heterogeneity. Smaller $\eta_l$ reduces noise and drift but slows optimization; larger $H$ reduces communication but increases drift and heterogeneity; stronger compression lowers payload but increases $C(\alpha)$. **Thus the bound exposes a communication–optimization–drift trade-off rather than a universal optimum.** Under $\eta_l=c_l/(H\sqrt T)$, $H\eta_l=c_l/\sqrt T$, explaining $\eta_l\propto1/H$; large $H$ is not free because the bound retains $H$-dependent terms. In practice, one may select $(H,\alpha)$ from the communication budget, certify $\alpha$, initialize $(\eta_l,\eta)$ using the rules above, and tune locally. Figure 6 shows qualitatively consistent sensitivity, although it does not verify conditions involving unknown global $L$. We will add this interpretation after Remark 4.15 and report $(H,\alpha,\eta_l,\eta)$ jointly. ## Q1 — Extension to non-convex objectives We appreciate this question because it identifies the framework's precise boundary. **The EF buffer estimate does not require convexity; the obstruction appears when the buffer perturbation is coupled back into neighboring trajectories.** For a convex $L$-smooth sample loss, co-coercivity makes the same-sample gradient map non-expansive for $\eta_t\le2/L$. For a general non-convex $L$-smooth loss, $$\|x-\eta_t\nabla f(x;\xi)-y+\eta_t\nabla f(y;\xi)\| \le(1+L\eta_t)\|x-y\|.$$ Hence a perturbation may be amplified by $\prod_{s=t+1}^{T-1}(1+L\eta_s)\le\exp(L\sum_{s=t+1}^{T-1}\eta_s)$. With $\eta_s=c/\sqrt T$, this can reach $\exp(Lc\sqrt T)$, so replacing co-coercivity by smoothness yields an uninformative long-horizon certificate. Hardt, Recht, and Singer (2016) derive bounds for Lipschitz and smooth losses with decreasing stepsizes, while Zhang et al. (2022) show exponentially growing worst-case stability for constant-stepsize SGD on smooth non-convex objectives. **Thus, the missing trajectory control cannot generally be recovered by simply deleting convexity.** We therefore do not present a nominal extension obtained by adding global Lipschitz/bounded-loss assumptions or accepting an exponential-in-horizon factor. A meaningful extension should retain optimization-dependent buffer control without losing practical informativeness. This likely requires a new local trajectory argument, such as local contractivity or dissipativity, possibly combined with a local PŁ property. The buffer estimate remains reusable, but the model–buffer closure must be rebuilt. We will clarify this boundary in the revision. ## Q2 — Zero versus random error-buffer initialization We thank the reviewer for this careful question. **Zero initialization is not required by the EF identity; it removes an explicit buffer transient and keeps the virtual iterate initialized at $x_0$.** Let $e_0$ be $\mathcal F_0$-measurable with $\mathbb E\|e_0\|^2<\infty$, let $\mathcal F_t$ denote the history before fresh compressor randomness, and let $\Delta_t$ be the $\mathcal F_t$-measurable pre-compression update. The case $\alpha=1$ is immediate because the compressor is exact. For $0<\alpha<1$, set $q=\sqrt{1-\alpha}$. From $e_{t+1}=e_t+\Delta_t-\mathcal C(e_t+\Delta_t)$, $$\begin{aligned} \mathbb E[\|e_{t+1}\|^2\mid\mathcal F_t] &\le(1-\alpha)\|e_t+\Delta_t\|^2\\ &\le q\|e_t\|^2+\frac{1-\alpha}{1-q}\|\Delta_t\|^2. \end{aligned}$$ Taking expectation, unrolling, and summing yield $$\begin{aligned} \mathbb E\|e_t\|^2 &\le q^t\mathbb E\|e_0\|^2 +\frac{1-\alpha}{1-q}\sum_{s=0}^{t-1}q^{t-1-s}\mathbb E\|\Delta_s\|^2,\\ \sum_{t=0}^{T-1}\mathbb E\|e_t\|^2 &\le\frac{\mathbb E\|e_0\|^2}{1-q} +\frac{1-\alpha}{(1-q)^2}\sum_{t=0}^{T-1}\mathbb E\|\Delta_t\|^2. \end{aligned}$$ Hence $q^t\mathbb E\|e_0\|^2\le e^{-\alpha t/2}\mathbb E\|e_0\|^2$. A nonzero random $e_0$ increases the transient amplitude but not its geometric decay. Reducing it to an $\varepsilon$ fraction requires $O(\alpha^{-1}\log(1/\varepsilon))$ iterations, and its cumulative weight is $(1-\sqrt{1-\alpha})^{-1}=\Theta(\alpha^{-1})$. The initialization also changes the later trajectory and hence $\{\Delta_s\}$; this indirect effect remains in the update-energy term. Moreover, $\widehat x_0=x_0-e_0$, so the initial-distance term becomes $\mathbb E\|x_0-e_0-x_{\mathcal S}^{\star}\|^2$. If $e_0$ is zero-mean and independent of $(x_0,\mathcal S)$, this equals the original term plus $\mathbb E\|e_0\|^2$; otherwise the cross term remains. For early-stage generalization, sharing the same data-independent $e_0$ across neighboring runs creates no direct discrepancy at time zero; its effect enters through the transient and altered trajectory. Independent initializations add an initial discrepancy governed by $\mathbb E\|e_0-e_0'\|^2$, while data-dependent initialization requires separate sensitivity analysis. The same recursion applies workerwise in DiLoCo-EF, followed by Jensen's inequality for the averaged server buffer. **Thus, zero initialization is a clean normalization, not a hidden condition on which the analysis depends.** We will add this extension after Lemma C.3 and its worker-wise analogue after Lemma C.10, while retaining $e_0=0$ in the stated theorems. ## Minor issue Thank you for catching the typo at line 365. We will replace “Limination” with “Limitations.”
Reviewer_nzi3OpenReview ↗
Rating
4
Clarity
4
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

The paper asks whether Error Feedback (EF), the standard fix that keeps biased gradient compressors convergent, also keeps them from paying a generalization penalty. For convex LL-smooth losses it gives an on-average model stability analysis of EF-SGD and of DiLoCo-EF, by coupling the joint (model iterate, error-buffer) trajectory of two runs that differ in one sample. The main result is that compression enters the generalization bound only through transient terms scaled by a buffer constant bα=1−α(1−1−α)2b_\alpha = \frac{1-\alpha}{(1-\sqrt{1-\alpha})^2} that decay with the horizon TT, never as a non-vanishing floor, and that at α=1\alpha=1 the bound recovers the averaged-SGD result of Lei and Ying (2020) [1]. The analysis holds in a finite-horizon regime (T≤N2T \le N^2, step size of order 1/T1/\sqrt{T}) and yields what the paper presents as the first generalization statement for DiLoCo.

Strengths and weaknesses

The paper gives the first generalization analysis of Error Feedback rather than another convergence bound, and it does so by tracking the coupled (iterate, error-buffer) dynamics in an on-average model stability argument, confining the compression effect to transient buffer terms that decay in TT. I went through Lemma C.3, Theorem 4.7, and the α=1\alpha=1 recovery of Lei and Ying, and they check out. The buffer lemma is a telescoping argument, and Remark C.5 flags that the virtual-iterate relation is an algebraic identity rather than SGD on the virtual trajectory, because the gradient is evaluated at the actual iterate, so the residual norm must be controlled. The paper identifies that gap and then closes it with the buffer lemma. The DiLoCo extension (Theorem 4.9) traces the 1/(MN)1/(MN) scaling from averaging MM buffers over NN samples, which shows the worker-averaging gain explicitly.

The headline needs more scoping than the results support. The phrase "no compression penalty" is a convex, finite-horizon statement. Every theorem uses convexity, which the co-coercivity step requires, together with T≤N2T \le N^2 and a step size of order 1/T1/\sqrt{T}. The non-convex case appears only in Figure 6 and is explicitly not a theorem-level claim. The title reads as more unconditional than the convex result actually shows, and the abstract would be more accurate scoped to the convex finite-horizon regime.

There is also a concrete error in a stated rate. The paper writes that the buffer constant grows as bα=Θ(1/α)b_\alpha = \Theta(1/\alpha) (at lines 230 and 244), but the correct rate is Θ(1/α2)\Theta(1/\alpha^2). From the closed form, 1−1−α=α1+1−α1-\sqrt{1-\alpha} = \frac{\alpha}{1+\sqrt{1-\alpha}}, so bα=(1−α)(1+1−α)2α2b_\alpha = \frac{(1-\alpha)(1+\sqrt{1-\alpha})^2}{\alpha^2}, which tends to 4/α24/\alpha^2 as α→0\alpha\to 0. The same constant governs how fast the transient inflates under heavy compression, so the rate matters. By my own calculation the horizon at which the compression term stops dominating scales like (Nbα)2(N b_\alpha)^2, so a 1/α1/\alpha versus 1/α21/\alpha^2 difference moves that horizon by a square, which bears on the heavy-compression (1-bit) regime.

Proposition E.1, used to argue that EF is necessary, is an upper bound on the no-EF residual, not a lower bound, so it does not actually prove that the no-EF scheme has a non-vanishing floor. Remark E.2 notes this, but Remark 4.11 reads stronger than what is proven. On novelty, the proof tools are inherited. On-average model stability and the gradient-energy absorption come from Lei and Ying, co-coercivity from Hardt et al.[2], and the self-bounding step (Lemma C.9) is standard. The new part is the coupling and bookkeeping, and the exact α=1\alpha=1 recovery supports this. The originality is a synthesis and a new problem framing rather than a new proof technique. Two recent coupled-trajectory stability analyses, asynchronous-SGD stability (Deng et al., NeurIPS 2024)[3] and decentralized-SGD stability (Le Bars et al., ICML 2024)[4], are not contrasted.


[1] Lei, Yunwen, and Yiming Ying. "Fine-grained analysis of stability and generalization for stochastic gradient descent." International Conference on Machine Learning. PMLR, 2020.
[2] Hardt, Moritz, Ben Recht, and Yoram Singer. "Train faster, generalize better: Stability of stochastic gradient descent." International conference on machine learning. PMLR, 2016.
[3] Deng, Xiaoge, et al. "Stability and generalization of asynchronous sgd: Sharper bounds beyond lipschitz and smoothness." Advances in Neural Information Processing Systems 37 (2024): 7675-7713.
[4] Le Bars, Batiste, et al. "Improved stability and generalization guarantees of the decentralized SGD algorithm." Proceedings of the 41st International Conference on Machine Learning. 2024.
Questions

Q1. The buffer constant is stated as bα=Θ(1/α)b_\alpha = \Theta(1/\alpha), but the closed form gives Θ(1/α2)\Theta(1/\alpha^2). Could the authors confirm the rate and propagate the correction through the crossover-horizon discussion and the heavy-compression conclusions? If the rate is indeed 1/α21/\alpha^2, the quantitative claims about 1-bit compression change.

Q2. Every theorem is convex with T≤N2T \le N^2 and a 1/T1/\sqrt{T} step size. Could the authors scope the title and abstract to this regime, or sketch what fails in the non-convex case or under a fixed step size as TT grows?

Q3. Proposition E.1 upper-bounds the no-EF residual, which does not establish a floor. Can EF necessity be supported with a matching lower bound, or is Remark 4.11 better stated as motivation rather than as a proof of necessity?

Q4. Could the authors contrast the (iterate, buffer) coupling with the asynchronous-SGD stability of Deng et al. (2024) and the decentralized-SGD stability of Le Bars et al. (2024)?

Q5. The DiLoCo theorems assume plain SGD for both the inner and outer optimizers, while deployed DiLoCo uses AdamW with Nesterov outer momentum. How sensitive is the 1/(MN)1/(MN) story to this gap, and is the transient-not-floor conclusion expected to survive it?

Limitations

yes

Paper formatting concerns

N/A

Final justification

The rebuttal corrects the buffer-constant rate and appropriately limits the claim to the convex, finite-horizon setting. The finite-time cost may nevertheless be substantial under heavy compression, and the proof techniques remain close to earlier stability analyses. That said, eliminating the non-decaying residual of Detached EF is, to my knowledge, a first for Error Feedback. Since the discussion made that claim more precise rather than larger, I keep my original rating.

1 comment

We thank the reviewer for the careful and technically substantive assessment, especially the verification of the buffer argument, the neighboring-run recursion, and the exact recovery of averaged SGD at α=1\alpha=1. The main mechanism is that EF converts compression memory into a trajectory-controlled transient through a buffer-aware model--buffer closure. The formal guarantee is established under convexity, SGD updates, fixed α>0\alpha>0, and finite statistical horizons; Appendix A.3 provides complementary non-convex DiLoCo evidence. We will apply these corrections throughout the paper.

W1 + Q2 — Scope of the claim

The current title is broader than the proved regime. To preserve the central message while making the scope explicit, we will revise it to:

Generalization Without Persistent Compression Penalty under Convexity: A Stability Analysis of Error Feedback

The single-node result covers convex, LL-smooth, nonnegative losses under SGD with η=c/T\eta=c/\sqrt T and T≤N2T\le N^2. The DiLoCo result additionally assumes inner and outer SGD, bounded variance and heterogeneity, ηl=cl/(HT)\eta_l=c_l/(H\sqrt T), constant outer η\eta, and HT≤(MN)2HT\le(MN)^2. These are horizon-tuned constant stepsizes: the horizon is chosen before training, and the stepsizes remain fixed within the run.

The theorem-level conclusion is pointwise in α\alpha: for every fixed α>0\alpha>0, EF turns the compression residual into trajectory-controlled terms that decay with TT under the stated schedules. Compression still affects finite-time constants, admissible stepsizes, and optimization prefactors; we will replace broader “compression-free” wording accordingly.

Convexity enters through co-coercivity, which absorbs the same-sample gradient-difference energy in the neighboring model-buffer recursion. Under smoothness alone, the gradient-descent update map is only guaranteed to be (1+Lη)(1+L\eta)-Lipschitz, so the same long-horizon closure does not follow. The buffer-energy lemma itself is not convexity-specific; convexity is needed when the buffer perturbation is coupled back to model sensitivity and optimization. Likewise, with a TT-independent single-node stepsize, ηcασ2\eta c_\alpha\sigma^2 need not vanish, and with fixed ηl\eta_l, the DiLoCo drift and compression terms need not decay. This limits the present upper bound, but does not establish that the true error has a floor.

Appendix A.3 provides a non-convex DiLoCo-EF check on DCLM-baseline 1.0. Across the reported sweeps, the measured gaps continue to decrease over 100 rounds, while the compression and optimization choices reshape the finite-horizon trajectories. We will present this as supporting evidence, not as a non-convex theorem.

W2 + Q1 — Correct dependence on α\alpha

The reviewer is correct that bα=1−α(1−1−α)2=(1−α)(1+1−α)2α2∼4/α2b_\alpha=\frac{1-\alpha}{(1-\sqrt{1-\alpha})^2}=\frac{(1-\alpha)(1+\sqrt{1-\alpha})^2}{\alpha^2}\sim4/\alpha^2. Thus bα=Θ(α−2)b_\alpha=\Theta(\alpha^{-2}) and bα=Θ(α−1)\sqrt{b_\alpha}=\Theta(\alpha^{-1}).

This corrects the small-α\alpha interpretation, not the exact analysis. Every buffer lemma and theorem already uses the closed form above. Hence the proofs, the dependence on T,M,N,HT,M,N,H, the exact α=1\alpha=1 recovery, and the decay in TT for each fixed α\alpha remain unchanged.

What changes is the heavy-compression interpretation. The explicit compression factors are O(L/(αT3/4)+L2/(α2T3/2))O(L/(\alpha T^{3/4})+L^2/(\alpha^2T^{3/2})) for single-node EF and O(L/(αT3/4)+L2/(α2T))O(L/(\alpha T^{3/4})+L^2/(\alpha^2T)) for DiLoCo-EF. Since the full bounds also contain compression-dependent optimization prefactors, we will retain their exact forms rather than assign one power of 1/α1/\alpha to the full result. The sufficient restrictions accordingly scale as c=O(α2/L)c=O(\alpha^2/L) in η=c/T\eta=c/\sqrt T and ηηlH=O(α2/L)\eta\eta_lH=O(\alpha^2/L) for DiLoCo-EF. These are global worst-case certificates, not exact empirical prescriptions.

Under the comparison proposed in the review, between Lbα/T3/4L\sqrt{b_\alpha}/T^{3/4} and L/NTL/\sqrt{NT}, Tcross≍(Nbα)2=Θ(N2/α4)T_{\rm cross}\asymp(Nb_\alpha)^2=\Theta(N^2/\alpha^4). We agree with this calculation. It compares two terms in the generalization bracket, not the complete bound; under aggressive compression it may exceed T≤N2T\le N^2. The correct conclusion is not that the transient is always short, but that EF changes its form: it converts an uncompensated residual into a decaying, trajectory-controlled contribution, although aggressive compression can substantially lengthen the finite-time regime in which it remains important.

Figure 4 remains valid evidence for the tested 1-bit implementation. Only the theoretical interpretation changes: because the paper does not derive a compressor-specific α\alpha for that implementation, the theorem does not quantitatively certify the observed transient length. We will correct the theorem remarks, Table 1, experiment discussion, and conclusion.

W3 + Q3 — What Proposition E.1 establishes

Proposition E.1 is an upper-bound comparison, not a matching lower bound. Definition 3.1 only upper-bounds residual energy and does not force the residual to stay away from zero. Under the present assumptions, Remark 4.11 should therefore be stated as a structural mechanism comparison rather than a universal necessity result.

Proposition E.1 nevertheless identifies the proof-level residual for which EF supplies a trajectory-level control mechanism. Without EF, the available recursion contains an uncompensated residual whose decay cannot be certified from contraction alone. With EF, xt+1=xt−Δt−(et−et+1)x_{t+1}=x_t-\Delta_t-(e_t-e_{t+1}) turns the same residual into a telescoping buffer term, and the cumulative buffer bound connects it to the update energy of the same trajectory. Thus, EF is a sufficient mechanism for converting the residual left uncontrolled by the no-EF recursion into a trajectory-controlled transient. We will remove universal necessity language while preserving this mechanism-level separation.

W4 + Q4 — Relation to prior coupled stability analyses

On-average stability, co-coercivity, self-bounding, and optimization-dependent energy control are established ingredients. Our contribution is the EF-specific buffer-aware Lyapunov closure required by the persistent model-buffer dynamics.

For neighboring runs, the virtual iterate x^t=xt−et\widehat x_t=x_t-e_t obeys an SGD-like identity, but its update is formed from gradients evaluated at xt=x^t+etx_t=\widehat x_t+e_t. The virtual-model gap therefore remains coupled to the buffer gap. We combine the virtual-iterate recursion with cumulative buffer-energy control, use co-coercivity to absorb same-sample gradient-difference energy, and close the remaining buffer leakage through cumulative trajectory energy. A model-only coupling leaves this leakage open; a buffer-only estimate does not connect compression to sample sensitivity. This handles nonlinear biased compressors without additive-noise modeling or a global bounded-gradient assumption, while recovering averaged-SGD stability exactly at α=1\alpha=1.

The cited analyses share the broader coupled-stability viewpoint, but the auxiliary state and closure are different. Deng et al. track delayed-gradient or stale-iterate history in asynchronous SGD. Le Bars et al. study perturbation propagation through decentralized mixing dynamics and the associated local-model disagreement. Neither recursion contains a persistent compression buffer that re-enters later gradient evaluation. In EF, even after the virtual-iterate transformation, the buffer remains an algorithmic state and must be controlled jointly with the model gap and cumulative buffer energy. DiLoCo further adds MM worker buffers, HH-step local drift, and server averaging. We will credit the shared tools while stating our contribution precisely: the neighboring model-buffer Lyapunov closure and its distributed DiLoCo extension.

Q5 — What the DiLoCo result says about AdamW/Nesterov

We chose DiLoCo because three distributed effects central to our question occur together: HH local steps create trajectory drift, averaging over MM workers attenuates a single-worker perturbation, and compressed pseudo-gradients leave worker-side EF memory across communication rounds. The theory separates these effects without claiming that the SGD abstraction reproduces the deployed optimizer stack.

The displayed MNMN-dependent sample-sensitivity terms and the complete transient guarantee are proved for the convex-SGD abstraction, not yet for AdamW/Nesterov DiLoCo. The relevant mechanisms remain: the worker-side EF identity is optimizer-agnostic, while the 1/N1/N sample-hit probability and 1/M1/M arithmetic averaging weight are protocol-structural. They remain present when AdamW produces the pseudo-gradient and preserve the same attenuation at perturbation injection.

What is SGD-specific is the final trajectory closure. AdamW introduces first- and second-moment states and adaptive normalization, while Nesterov introduces outer momentum. A neighboring-sample perturbation may propagate through all of them, so an exact extension requires a coupled potential for the model, EF buffer, adaptive moments, and momentum. Thus, the sample-hit, averaging, and compensation mechanisms remain present, whereas converting them into the same trajectory-level rate requires a new optimizer-state stability argument.

Figure 3b shows empirical improvement as MM increases, though not an exact 1/M1/M law. Appendix A.3 further shows decreasing gaps throughout the tested 100-round non-convex DiLoCo-style experiment. These observations are consistent with the transient mechanism, but do not establish the AdamW/Nesterov theorem. We will make this boundary explicit in the DiLoCo motivation, Remark 4.15, Appendix B, and the conclusion.

These revisions correct the asymptotic interpretation and scope, while leaving the exact buffer bounds, the α=1\alpha=1 recovery, and the model-buffer closure unchanged.

Comments on the paper

1 comment
Meta-review

This submission develops a stability analysis of error feedback for single-node EF-SGD and distributed DiLoCo-EF. The reviewers agree that the paper is clear, and the result is potentially useful; all three currently lean borderline accept. The main uncertainty is whether the quantitative dependence on compression is correct and whether the headline and practical interpretations are appropriately scoped to what is proved.

Please address the following questions.

  1. What is the correct dependence on the contraction factor? (Reviewer nzi3.) The stated definition

    =\frac{(1-\alpha)(1+\sqrt{1-\alpha})^2}{\alpha^2}$$ gives $b_\alpha=\Theta(\alpha^{-2})$, not $\Theta(\alpha^{-1})$, as $\alpha\to0$. Please confirm the rate and propagate it through the theorems, stepsize restrictions, crossover-horizon discussion, and heavy-compression/1-bit interpretations.
  2. What is the precise scope of “no compression penalty”? (Reviewers nzi3 and Xuyj.) The generalization theorems require convex/smooth/nonnegative losses/SGD/horizon restrictions (such as T≤N2T\le N^2 or HT≤(MN)2HT\le(MN)^2), and decreasing stepsizes; Figure 6 is empirical evidence outside this regime.

  3. How do the assumptions map to practical compressors and DiLoCo? (Reviewers nzi3, Xuyj, and PEjZ.) The theory uses SGD for both loops, while deployed DiLoCo commonly uses inner AdamW and outer Nesterov momentum. Please explain which parts of the transient and 1/(MN)1/(MN) conclusions are expected to survive this gap, whether the theorem’s η,ηl,H,α\eta,\eta_l,H,\alpha-dependent restrictions resemble standard configurations, and what conditional guidance follows for choosing compression and local periods.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.