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) compensates for aggressive compression in distributed training by carrying residuals into later updates. Prior work shows that this correction can preserve convergence rates. Its effect on generalization under biased compression and local updates is less understood. We analyze single-node EF-SGD and DiLoCo-EF with SGD at both levels through on-average model stability, without bounded-gradient assumptions. The virtual update cancels the explicit buffer difference, while gradients still depend on the actual model. We couple virtual iterates and buffers across neighboring runs. Gradient co-coercivity absorbs gradient–buffer cross terms, and the optimization bounds control the gradient energy along the trajectory. For convex losses under the stated stepsize schedules, the explicit buffer term decays with the horizon, while compression still affects the optimization constants. Without EF, residuals can accumulate across rounds. Under interpolation, the explicit buffer contribution decays faster than the $T^{-1/2}$ optimization term for fixed problem parameters and admissible stepsize constants. In DiLoCo, worker averaging attenuates sample-replacement perturbations, and a local stepsize $\eta_l=\Theta(1/(H\sqrt{T}))$ controls local drift. Under interpolation, we obtain $O((MHT)^{-1/2})$ excess risk when the local sample size permits the required compression-dependent horizon. At matched nominal value payloads, MNIST generalization gaps remain close across Top-$k$, Random-$k$, and quantization over the tested horizon, for both the single-node EF-SGD and distributed DiLoCo-EF settings.
Successful Page Load