Safe-EF: Error Feedback for Nonsmooth Constrained Optimization

Rustem Islamov, Yarden As, Ilyas Fatkhullin
5/9/2025
cs.LGmath.OCstat.ML

No official code found. Best implementation: yardenas/safe-ef (1 star, MIT, last commit 2025-07-05).

Abstract

Federated learning faces severe communication bottlenecks due to the high dimensionality of model updates. Communication compression with contractive compressors (e.g., Top-K) is often preferable in practice but can degrade performance without proper handling. Error feedback (EF) mitigates such issues but has been largely restricted for smooth, unconstrained problems, limiting its real-world applicability where non-smooth objectives and safety constraints are critical. We advance our understanding of EF in the canonical non-smooth convex setting by establishing new lower complexity bounds for first-order algorithms with contractive compression. Next, we propose Safe-EF, a novel algorithm that matches our lower bound (up to a constant) while enforcing safety constraints essential for practical applications. Extending our approach to the stochastic setting, we bridge the gap between theory and practical implementation. Extensive experiments in a reinforcement learning setup, simulating distributed humanoid robot training, validate the effectiveness of Safe-EF in ensuring safety and reducing communication complexity.

View on arXivView PDF

Code Implementations(1)

yardenas/safe-efCommunity100%
MIT

Code for “Safe-EF: Error Feedback for Nonsmooth Constrained Optimization”

10PythonNov 17, 20241 years agoMIT

Similar Papers

Cite this paper

@article{islamov2025safeef,
  title  = {Safe-EF: Error Feedback for Nonsmooth Constrained Optimization},
  author = {Rustem Islamov and Yarden As and Ilyas Fatkhullin},
  year   = {2025},
  eprint = {2505.06053},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.06053v1},
  journal = {ICML 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.06053.svg)](https://codeofpaper.com/paper/2505.06053)

Discussion