NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Generalization Without Compression Penalty: A Stability Analysis of Error Feedback

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

NeurIPS page · OpenReview · Open on the map

Category: Optimization & Federated Learning › Non-convex Optimization · Type: theory · Keywords: generalization analysis, error feedback, gradient compression, distributed training, stability bounds

Areas: Optimization & Algorithms › Optimization Guarantees › Communication-Efficient Distributed Optimization

Summary

This paper provides the first generalization analysis of Error Feedback (EF) for both single-node EF-SGD and DiLoCo-EF, showing that compression does not create a lasting generalization penalty.

Explained to a 5-year-old

When many computers work together to teach a model, they sometimes send only parts of the updates to save time. The paper looks at whether this shortcut hurts the model's ability to learn new things. It shows that the shortcut only causes a small, temporary problem that goes away as they keep teaching. The study also checks a way where computers share their updates often, which helps even more. The findings suggest that using shortcuts is safe for learning.

Explained to a 5-year-old, longer

Many computers can work together to teach a robot or a program how to do something. To save time and data, they sometimes only send a small piece of the learning signal instead of the whole thing. The paper asks whether this shortcut makes the final result worse or less useful. It looks at two ways of doing this: one where all computers talk directly, and another where they first share among themselves and then send a combined message. The researchers built a mathematical model that watches how the learning changes over time. They discovered that the shortcut only creates a tiny, short-lived problem that fades as more teaching happens. This means the shortcut does not cause a permanent bad effect on the final model. In the second way, where computers share first, the problem becomes even smaller. The theory predicts how fast the problem disappears, giving clear formulas. The team also ran experiments on simple learning tasks to check their predictions. The experiments showed that different kinds of shortcuts behaved similarly, confirming the theory. Overall, the study gives confidence that using shortcuts in group learning is safe and reliable.

For a technical reader

The paper investigates how aggressive gradient compression, commonly used in distributed training frameworks, impacts model generalization. Using an on-average stability framework and a buffer-aware Lyapunov analysis, the authors derive bounds that show compression-induced stability terms decay over time and do not create a lasting generalization penalty. They extend the analysis to the DiLoCo setting, where worker averaging further reduces perturbations and yields an excess-risk scaling of O(1/√(MHT)). Empirical evaluations on convex benchmarks confirm that various compressors (Top-k, Random-k, quantization) exhibit similar generalization behavior. The work provides theoretical guarantees and practical confidence that compression can be safely employed in large-scale distributed training without harming final model performance.

Problem

Understanding how gradient compression via Error Feedback affects model generalization in distributed training remains unclear, especially under nonlinear biased compressors and local updates.

Method

The authors develop an on-average model stability framework and a buffer-aware Lyapunov argument to bound compression-induced stability terms, without assuming bounded gradients. They analyze both single-node EF-SGD and DiLoCo-EF, deriving transient stability terms that decay over time.

Results

The analysis shows that compression-induced stability terms decay over training, so EF does not introduce a lasting generalization penalty beyond the usual O(1/√T) optimization term, and in DiLoCo the excess risk scales as O(1/√(MHT)). Experiments confirm that different compressors exhibit similar generalization trajectories on convex benchmarks.

Contributions

First generalization analysis of Error Feedback for both single-node and distributed settings, establishing transient stability and deriving explicit excess-risk bounds under local updates. The work also provides experimental validation across multiple compression schemes.

Limitations and assumptions

Analysis is restricted to convex losses and relies on the on-average stability framework; experimental validation is limited to convex benchmarks.

Practical relevance

The results give confidence that aggressive gradient compression can be used in large-scale distributed training without harming model generalization, supporting communication-efficient systems like DiLoCo.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction