Composite Optimization with Error Feedback: the Dual Averaging Approach

Yuan Gao, Anton Rodomanov, Jeremy Rack, Sebastian U Stich

Introduction

Communication efficiency is a central challenge in distributed machine learning training, where the time spent sending massive model updates between workers and a central server creates a significant bottleneck. While message compression is a widely used solution, it introduces bias and error that can cause training to diverge. Error Feedback (EF) is a powerful mechanism designed to mitigate this by having workers "remember" and compensate for compression errors in subsequent steps.

However, while EF is highly effective for smooth, unconstrained optimization, it historically fails in the broader and practically important setting of composite optimization—problems involving a smooth loss combined with a non-smooth regularizer (like $\ell_1$ for sparsity) or constraints. This paper bridges this long-standing theoretical gap by successfully applying EF to composite optimization using a Dual Averaging framework, achieving convergence rates that match the best-known results for simpler, unconstrained problems.

The Challenge of Composite Optimization

In standard unconstrained optimization, the mathematical foundation used to prove EF's efficacy relies on a "virtual iterate" framework. This framework depends heavily on an additive structure. However, in composite optimization, updates are typically passed through a non-linear proximal operator to handle the non-smooth regularizer or constraint. This proximal step destroys the additive structure, making it impossible to simply "subtract out" the accumulated compression error. Consequently, the basic EF mechanism and its standard analysis techniques break down, leaving the theoretical foundation of EF in general composite settings largely unexplored.

Proposed Method: Dual Averaging with EControl

To overcome the limitations of standard gradient descent in this context, the authors propose a novel algorithm that integrates Dual Averaging with EControl, a state-of-the-art variant of the EF mechanism.

  • Dual Averaging: Unlike standard gradient descent, which updates the model incrementally from the previous position, Dual Averaging maintains a running sum of all past gradient estimates. It then solves a subproblem from the initial starting point at every iteration. This approach effectively restores the "additive structure" required to manage accumulated errors theoretically, keeping the error feedback safely inside the proximal step.
  • EControl Integration: EControl is utilized to handle compressed communication. It is particularly advantageous because it leverages gradient differences to mitigate issues caused by data heterogeneity across different workers.
  • Inexact Dual Averaging Template: Alongside the algorithm, the authors provide a novel theoretical template for analyzing Dual Averaging with noisy or inexact gradients, offering a tool of independent interest for the broader optimization community.

Empirical Validation

The authors validated their approach through two primary experimental setups:

  1. Synthetic Softmax Objective: A controlled environment utilizing a softmax loss with $\ell_1$ regularization, specifically designed to test the algorithm's "linear speedup" properties.
  2. FashionMNIST: A real-world image classification benchmark used for regularized logistic regression. The proposed method was evaluated against existing baselines, including Proximal EF and Proximal EF21.

Key Findings and Results

The integration of Dual Averaging with EControl yields several significant theoretical and empirical breakthroughs:

  • Theoretical Parity: The authors establish a convergence rate of $O\left( \frac{\sigma^2}{n\epsilon^2} + \frac{\ell\sigma}{\delta^2\epsilon^{3/2}} + \frac{\ell}{\delta\epsilon} \right)$. Crucially, this matches the best-known rates for non-composite EF. This means there is no longer a theoretical penalty for incorporating regularizers or constraints.
  • Linear Speedup: The method achieves the highly sought-after linear speedup property. If the number of workers ($n$) is doubled, the stochastic error drops by half ($1/n$ scaling), even within the complex composite setting.
  • Empirical Superiority: On the FashionMNIST benchmark, the Dual Averaging with EControl approach significantly outperformed Proximal EF and EF21. It maintained stability even when utilizing much larger step sizes.
  • Communication Efficiency: The algorithm achieves high accuracy using $T$ rounds of compressed communication alongside only three rounds of full, uncompressed communication. Furthermore, while the theory relies on "virtual iterates," experiments demonstrate that the "real iterates" computed in practice perform almost identically, highlighting the method's robustness.

Limitations and Future Directions

While this work establishes a strong foundation for composite optimization with EF, the authors note a few limitations and avenues for future research:

  • Sampling Complexity: To strictly adhere to the theoretical guarantees, the algorithm requires a specific sampling procedure to output the final result. This is somewhat clumsy in practice compared to the standard approach of simply taking the last iterate.
  • Real Iterate Theory: The theoretical analysis for the "virtual iterates" is robust, but the direct analysis for the "real iterates" (provided in the appendix) remains weaker. Closing this gap to prove that real iterates converge just as fast as virtual ones is a primary goal for future work.
  • Non-Convexity: The current work focuses exclusively on the convex setting. Extending these strong theoretical guarantees to non-convex composite problems, such as constrained deep neural networks, remains an open and exciting challenge.

Summary updated

BibTeX
@inproceedings{gao2026composite,
  author = {Yuan Gao and Anton Rodomanov and Jeremy Rack and Sebastian U Stich},
  title = {{Composite Optimization with Error Feedback: the Dual Averaging Approach}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=PSmakC4sw5},
}
Figure