Cross-Gradient Aggregation for Decentralized Learning from Non-IID data

Yasaman Esfandiari, Sin Yong Tan, Zhanhong Jiang, Aditya Balu, Ethan Herron +2 more
3/2/2021
cs.LGcs.DC

Official code: yasesf93/CrossGradientAggregation (8 stars, Python, BSD-3-Clause, last commit 2021-05-31).

Abstract

Decentralized learning enables a group of collaborative agents to learn models using a distributed dataset without the need for a central parameter server. Recently, decentralized learning algorithms have demonstrated state-of-the-art results on benchmark data sets, comparable with centralized algorithms.

Show full abstract

However, the key assumption to achieve competitive performance is that the data is independently and identically distributed (IID) among the agents which, in real-life applications, is often not applicable. Inspired by ideas from continual learning, we propose Cross-Gradient Aggregation (CGA), a novel decentralized learning algorithm where (i) each agent aggregates cross-gradient information, i.e., derivatives of its model with respect to its neighbors' datasets, and (ii) updates its model using a projected gradient based on quadratic programming (QP). We theoretically analyze the convergence characteristics of CGA and demonstrate its efficiency on non-IID data distributions sampled from the MNIST and CIFAR-10 datasets. Our empirical comparisons show superior learning performance of CGA over existing state-of-the-art decentralized learning algorithms, as well as maintaining the improved performance under information compression to reduce peer-to-peer communication overhead. The code is available here on GitHub.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause
83PythonMay 19, 20215 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{esfandiari2021crossgradient,
  title  = {Cross-Gradient Aggregation for Decentralized Learning from Non-IID data},
  author = {Yasaman Esfandiari and Sin Yong Tan and Zhanhong Jiang and Aditya Balu and Ethan Herron and Chinmay Hegde and Soumik Sarkar},
  year   = {2021},
  eprint = {2103.02051},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.02051}
}

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

Discussion