Flashback: Understanding and Mitigating Forgetting in Federated Learning

Mohammed Aljahdali, Ahmed M. Abdelmoniem, Marco Canini · Submission to ICLR 2024 · Rejected

Abstract

In the realm of Federated Learning (FL), the convergence and effectiveness of learning algorithms can be severely hampered by the phenomenon of forgetting—where knowledge obtained in one round becomes diluted or lost in subsequent rounds. Such a challenge is a result of severe data heterogeneity across clients. Although FL algorithms like FedAvg have been pivotal, they often falter in scenarios of high data heterogeneity. This work delves into the nuances of this problem, establishing the critical role forgetting plays in the inefficient learning of FL in the context of severe data heterogeneity. Knowledge loss occurs in both the local update and the aggregation step; addressing one phase without considering the other will not mitigate forgetting. We introduce a novel metric that offers a granular measurement of forgetting at every round while ensuring that the occurrence of forgetting is distinctly recognized and not obscured by the simultaneous acquisition of new class-specific knowledge. Leveraging these insights, we propose Flashback, an FL algorithm that integrates a novel dynamic distillation approach. The knowledge of different models is estimated and the distillation loss is adapted accordingly. This adaptive distillation is applied both at the local and global update phases, ensuring models retain essential knowledge across rounds while also assimilating new knowledge. Our approach seeks to robustly mitigate the detrimental effects of forgetting, paving the way for more efficient and consistent FL algorithms, especially in environments of high data heterogeneity. By effectively mitigating forgetting, Flashback achieves faster convergence to target accuracy outperforming baselines, by being up to 88.5$\times$ faster and at least 4.6$\times$ faster across the different benchmarks.
BibTeX
@misc{aljahdali2024flashback,
  author = {Mohammed Aljahdali and Ahmed M. Abdelmoniem and Marco Canini},
  title = {{Flashback: Understanding and Mitigating Forgetting in Federated Learning}},
  year = {2024},
  eprint = {2402.05558},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.05558},
}
Figure