Robust Collaborative Learning with Linear Gradient Overhead

Sadegh Farhadkhani, Rachid Guerraoui, Nirupam Gupta, Lê Nguyên Hoang, Rafael Pinot +1 more
9/22/2022
cs.LGcs.DC

Official code: LPD-EPFL/robust-collaborative-learning (6 stars, Python, MIT, last commit 2023-05-30).

Abstract

Collaborative learning algorithms, such as distributed SGD (or D-SGD), are prone to faulty machines that may deviate from their prescribed algorithm because of software or hardware bugs, poisoned data or malicious behaviors. While many solutions have been proposed to enhance the robustness of D-SGD to such machines, previous works either resort to strong assumptions (trusted server, homogeneous data, specific noise model) or impose a gradient computational cost that is several orders of magnitude higher than that of D-SGD.

Show full abstract

We present MoNNA, a new algorithm that (a) is provably robust under standard assumptions and (b) has a gradient computation overhead that is linear in the fraction of faulty machines, which is conjectured to be tight. Essentially, MoNNA uses Polyak's momentum of local gradients for local updates and nearest-neighbor averaging (NNA) for global mixing, respectively. While MoNNA is rather simple to implement, its analysis has been more challenging and relies on two key elements that may be of independent interest. Specifically, we introduce the mixing criterion of $(α, λ)$-reduction to analyze the non-linear mixing of non-faulty machines, and present a way to control the tension between the momentum and the model drifts. We validate our theory by experiments on image classification and make our code available at https://github.com/LPD-EPFL/robust-collaborative-learning.

View on arXivView PDF

Code Implementations(1)

MIT

Robust Collaborative Learning with Linear Gradient Overhead

61PythonMay 30, 20233 years agoMIT

Similar Papers

Cite this paper

@article{farhadkhani2022robust,
  title  = {Robust Collaborative Learning with Linear Gradient Overhead},
  author = {Sadegh Farhadkhani and Rachid Guerraoui and Nirupam Gupta and Lê Nguyên Hoang and Rafael Pinot and John Stephan},
  year   = {2022},
  eprint = {2209.10931},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.10931}
}

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/2209.10931.svg)](https://codeofpaper.com/paper/2209.10931)

Discussion