CoDeC: Communication-Efficient Decentralized Continual Learning

Sakshi Choudhary, Sai Aparna Aketi, Gobinda Saha, Kaushik Roy
3/27/2023
cs.LGcs.DCcs.MA

No official code found. Best implementation: Sakshi09Ch/CoDeC (13 stars, last commit 2024-04-17).

Abstract

Training at the edge utilizes continuously evolving data generated at different locations. Privacy concerns prohibit the co-location of this spatially as well as temporally distributed data, deeming it crucial to design training algorithms that enable efficient continual learning over decentralized private data. Decentralized learning allows serverless training with spatially distributed data. A fundamental barrier in such distributed learning is the high bandwidth cost of communicating model updates between agents. Moreover, existing works under this training paradigm are not inherently suitable for learning a temporal sequence of tasks while retaining the previously acquired knowledge. In this work, we propose CoDeC, a novel communication-efficient decentralized continual learning algorithm which addresses these challenges. We mitigate catastrophic forgetting while learning a task sequence in a decentralized learning setup by combining orthogonal gradient projection with gossip averaging across decentralized agents. Further, CoDeC includes a novel lossless communication compression scheme based on the gradient subspaces. We express layer-wise gradients as a linear combination of the basis vectors of these gradient subspaces and communicate the associated coefficients. We theoretically analyze the convergence rate for our algorithm and demonstrate through an extensive set of experiments that CoDeC successfully learns distributed continual tasks with minimal forgetting. The proposed compression scheme results in up to 4.8x reduction in communication costs with iso-performance as the full communication baseline.

View on arXivView PDF

Code Implementations(1)

Sakshi09Ch/CoDeCCommunity100%

[TMLR] CoDeC: Communication-Efficient Decentralized Continual Learning

130Shell, PythonMar 27, 20232 years ago
continual-learningdecentralized-learningdeep-learningdistributed-learningefficient

Similar Papers

Cite this paper

@article{choudhary2023codec,
  title  = {CoDeC: Communication-Efficient Decentralized Continual Learning},
  author = {Sakshi Choudhary and Sai Aparna Aketi and Gobinda Saha and Kaushik Roy},
  year   = {2023},
  eprint = {2303.15378},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.15378v1}
}

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

Discussion