Skip to main content
QUICK REVIEW

[Paper Review] Acceleration of Federated Learning with Alleviated Forgetting in Local Training

Chencheng Xu, Zhiwei Hong|arXiv (Cornell University)|Mar 5, 2022
Privacy-Preserving Technologies in DataComputer Science16 citations
TL;DR

This paper proposes FedReg, a novel federated learning algorithm that accelerates convergence by mitigating catastrophic forgetting in local training through regularization with generated pseudo-data and perturbed data. By encoding global knowledge into synthetic data without extra communication, FedReg improves convergence speed—especially under non-i.i.d. data and deep architectures—while enhancing privacy protection against gradient inversion attacks with minimal performance degradation.

ABSTRACT

Federated learning (FL) enables distributed optimization of machine learning models while protecting privacy by independently training local models on each client and then aggregating parameters on a central server, thereby producing an effective global model. Although a variety of FL algorithms have been proposed, their training efficiency remains low when the data are not independently and identically distributed (non-i.i.d.) across different clients. We observe that the slow convergence rates of the existing methods are (at least partially) caused by the catastrophic forgetting issue during the local training stage on each individual client, which leads to a large increase in the loss function concerning the previous training data at the other clients. Here, we propose FedReg, an algorithm to accelerate FL with alleviated knowledge forgetting in the local training stage by regularizing locally trained parameters with the loss on generated pseudo data, which encode the knowledge of previous training data learned by the global model. Our comprehensive experiments demonstrate that FedReg not only significantly improves the convergence rate of FL, especially when the neural network architecture is deep and the clients' data are extremely non-i.i.d., but is also able to protect privacy better in classification problems and more robust against gradient inversion attacks. The code is available at: https://github.com/Zoesgithub/FedReg.

Motivation & Objective

  • To address the slow convergence of federated learning under non-i.i.d. data distributions, particularly due to catastrophic forgetting in local training.
  • To reduce communication costs and improve convergence speed without increasing communication overhead.
  • To enhance privacy protection in federated learning, especially against gradient inversion attacks, without relying on differential privacy.
  • To maintain high model performance while defending against privacy leakage in classification tasks.
  • To provide a communication-efficient, privacy-preserving alternative to differential privacy in FL.

Proposed method

  • FedReg generates pseudo-data from the global model and local data to encode knowledge of previous training data, preserving global model information.
  • It introduces perturbed data by applying small, controlled perturbations to local data to stabilize training and reduce conflict with local data distributions.
  • The local model is regularized using gradients computed on both pseudo-data and perturbed data, in addition to the original local data.
  • A two-stage optimization process is used: first, a slowly updated parameter path is used to compute gradients, preventing premature convergence.
  • The regularization combines gradients from pseudo-data and perturbed data to stabilize learning and reduce forgetting of previously learned knowledge.
  • The method operates with only the global model and local data, avoiding data sharing or additional communication beyond standard FL.

Experimental results

Research questions

  • RQ1Can catastrophic forgetting in local federated training be effectively mitigated to accelerate convergence under non-i.i.d. data?
  • RQ2Can synthetic pseudo-data generated from the global model preserve sufficient knowledge to reduce forgetting without sharing raw client data?
  • RQ3Does regularization with pseudo-data and perturbed data improve convergence speed compared to standard FedAvg and other baselines?
  • RQ4Can FedReg provide stronger privacy protection against gradient inversion attacks than differential privacy, with less performance degradation?
  • RQ5How does the performance of FedReg vary across different neural network depths and data non-i.i.d. levels?

Key findings

  • FedReg significantly accelerates convergence in federated learning, especially under deep neural networks and highly non-i.i.d. data distributions.
  • On non-i.i.d. EMNIST and MNIST, FedReg reduces the number of communication rounds needed to reach target accuracy by up to 40% compared to FedAvg.
  • The model trained with FedReg achieved 0.986 test accuracy on EMNIST, outperforming FedAvg with DPSGD (0.882) and FedProx with DPSGD (0.881) under similar privacy levels.
  • In CT image classification for COVID-19, FedReg achieved 0.657 accuracy with MG, compared to 0.570 for FedAvg with DPSGD, showing superior performance under strong privacy protection.
  • Gradient inversion attacks recovered significantly lower-quality images from FedReg with MG than from baseline methods with DPSGD, indicating stronger privacy protection.
  • The performance of FedReg is sensitive to hyperparameters like the learning rate and regularization strength, with an optimal balance that minimizes communication rounds.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.