Buffer-based Gradient Projection for Continual Federated Learning
Shenghong Dai, Jy-yong Sohn, Yicong Chen, S M Iftekharul Alam, Ravikumar Balakrishnan, Suman Banerjee, Nageen Himayat, Kangwook Lee
TL;DR
This work tackles continual Federated Learning (CFL) under non-IID data and without explicit task boundaries. It introduces Fed-A-GEM, a buffer-based gradient projection method that uses a globally aggregated buffer gradient to constrain local updates via a projection step, mitigating catastrophic forgetting while remaining compatible with existing CFL techniques. Empirical results across image and text benchmarks show consistent accuracy gains and reduced forgetting, including notable improvements on CIFAR-100 task-incremental learning, Tiny-ImageNet, and YahooQA, with modest computational overhead and flexible communication strategies. The approach enables boundary-free, privacy-conscious continual learning in federated settings and offers practical benefits for real-world streaming data scenarios, while suggesting directions for tighter buffers and stronger privacy guarantees in the future.
Abstract
Continual Federated Learning (CFL) is essential for enabling real-world applications where multiple decentralized clients adaptively learn from continuous data streams. A significant challenge in CFL is mitigating catastrophic forgetting, where models lose previously acquired knowledge when learning new information. Existing approaches often face difficulties due to the constraints of device storage capacities and the heterogeneous nature of data distributions among clients. While some CFL algorithms have addressed these challenges, they frequently rely on unrealistic assumptions about the availability of task boundaries (i.e., knowing when new tasks begin). To address these limitations, we introduce Fed-A-GEM, a federated adaptation of the A-GEM method (Chaudhry et al., 2019), which employs a buffer-based gradient projection approach. Fed-A-GEM alleviates catastrophic forgetting by leveraging local buffer samples and aggregated buffer gradients, thus preserving knowledge across multiple clients. Our method is combined with existing CFL techniques, enhancing their performance in the CFL context. Our experiments on standard benchmarks show consistent performance improvements across diverse scenarios. For example, in a task-incremental learning scenario using the CIFAR-100 dataset, our method can increase the accuracy by up to 27%. Our code is available at https://github.com/shenghongdai/Fed-A-GEM.
