[Paper Review] CoDeC: Communication-Efficient Decentralized Continual Learning
CoDeC proposes a communication-efficient, decentralized continual learning framework that combines gradient projection memory (GPM) with gossip averaging to mitigate catastrophic forgetting in edge-based, spatially and temporally distributed learning. It achieves up to 4.8× reduction in communication costs via lossless compression of gradient coefficients in subspace representations, maintaining performance equivalent to full-precision training.
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.
Motivation & Objective
- To address the challenge of continual learning in decentralized, privacy-preserving edge environments with spatially and temporally distributed data.
- To reduce high communication bandwidth costs inherent in decentralized training without sacrificing model performance.
- To mitigate catastrophic forgetting in continual learning by preserving important gradient directions using Gradient Projection Memory (GPM).
- To design a novel lossless communication compression scheme based on gradient subspace representation for efficient model update exchange.
- To enable a fully decentralized, serverless training setup that supports sequential task learning with minimal performance degradation.
Proposed method
- Uses decentralized stochastic gradient descent (DPSGD) with gossip averaging to enable peer-to-peer model update aggregation without a central server.
- Employs Gradient Projection Memory (GPM) to partition each layer’s gradient space into Core Gradient Space (CGS) and Residual Gradient Space (RGS), storing important past gradients in CGS and updating new tasks in RGS.
- Represents model updates as linear combinations of basis vectors spanning the RGS, enabling communication of only the coefficient vectors instead of full gradients.
- Performs lossless compression by transmitting only the coefficients of the RGS basis representation, reconstructing the original updates at neighbors with no information loss.
- Uses SVD on input activations to compute and update basis vectors for CGS and RGS at the end of each task, ensuring long-term knowledge retention.
- Synchronizes GPM and RGS matrices across agents via a leader-based update protocol to maintain consistency in the gradient subspace representation.
Experimental results
Research questions
- RQ1Can a decentralized continual learning framework effectively mitigate catastrophic forgetting while training on non-stationary, distributed data across edge devices?
- RQ2How can communication overhead in decentralized continual learning be minimized without compromising model accuracy or convergence?
- RQ3What is the impact of lossless compression via gradient subspace representation on communication efficiency and training performance?
- RQ4Can a serverless, peer-to-peer training setup maintain performance comparable to centralized training in continual learning scenarios?
- RQ5How does the integration of GPM with gossip averaging improve knowledge retention and convergence in decentralized continual learning?
Key findings
- CoDeC achieves performance equivalent to full-precision communication baselines while reducing communication costs by up to 4.8× through lossless compression of gradient coefficients.
- The use of GPM with orthogonal gradient projection significantly reduces catastrophic forgetting, enabling stable learning across sequential tasks in a decentralized setup.
- The proposed compression scheme transmits only coefficient vectors of gradient updates in the RGS subspace, enabling exact reconstruction at neighbors with no information loss.
- The algorithm maintains O(1) memory overhead per agent, independent of the number of neighbors, by storing only the sum of neighbor model copies.
- Theoretical analysis confirms a favorable convergence rate for CoDeC, supporting its practical viability in decentralized continual learning.
- Empirical evaluation demonstrates robust performance across multiple continual learning benchmarks with minimal performance drop over sequential tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.