Skip to main content
QUICK REVIEW

[Paper Review] Boosting Federated Learning Convergence with Prototype Regularization

Yu Qiao, Huy Q. Le|arXiv (Cornell University)|Jul 20, 2023
Privacy-Preserving Technologies in DataComputer Science5 citations
TL;DR

This paper proposes FedPR, a federated learning framework that accelerates convergence and improves accuracy in non-IID settings by introducing prototype-based regularization. Clients compute class prototypes locally, which the server aggregates into a global prototype; this global prototype is then used to regularize local training via L2 distance minimization, achieving 3.3% and 8.9% higher test accuracy than FedAvg on MNIST and Fashion-MNIST, respectively.

ABSTRACT

As a distributed machine learning technique, federated learning (FL) requires clients to collaboratively train a shared model with an edge server without leaking their local data. However, the heterogeneous data distribution among clients often leads to a decrease in model performance. To tackle this issue, this paper introduces a prototype-based regularization strategy to address the heterogeneity in the data distribution. Specifically, the regularization process involves the server aggregating local prototypes from distributed clients to generate a global prototype, which is then sent back to the individual clients to guide their local training. The experimental results on MNIST and Fashion-MNIST show that our proposal achieves improvements of 3.3% and 8.9% in average test accuracy, respectively, compared to the most popular baseline FedAvg. Furthermore, our approach has a fast convergence rate in heterogeneous settings.

Motivation & Objective

  • Address the challenge of model performance degradation in federated learning due to non-IID data distribution across clients.
  • Improve convergence speed and test accuracy in heterogeneous data settings without compromising data privacy.
  • Leverage global class prototypes to guide local model training, enhancing generalization across clients.
  • Develop a low-complexity, scalable regularization mechanism that integrates prototypes into the federated training loop.

Proposed method

  • Clients compute local prototypes for each class using the mean embedding of their training samples per class.
  • The server aggregates these local prototypes across all clients using a simple average to form a global prototype per class.
  • The global prototype is transmitted back to clients and used to regularize local training via an L2 distance loss between local feature representations and the global prototype.
  • The local objective function combines standard cross-entropy loss with the prototype regularization term: $\mathcal{L}_{i}(\omega_{i}) = \mathcal{L}_{i}(\mathcal{F}(\omega;\boldsymbol{x}_{i}),y_{i}) + \ell_{2}(f_{e}(\omega_{e};\boldsymbol{x}_{i}) - \overline{y}_{j})$.
  • Model parameters and global prototypes are updated iteratively in a FedAvg-style communication scheme with synchronized rounds.
  • The framework is implemented using a 4-layer CNN and tested under Dirichlet-based data skew ($\alpha = 0.05$) to simulate strong non-IID conditions.

Experimental results

Research questions

  • RQ1Can prototype-based regularization improve convergence speed and test accuracy in non-IID federated learning settings?
  • RQ2How does the integration of global prototypes into local training affect model generalization across clients with heterogeneous data?
  • RQ3Does the proposed method outperform FedAvg in terms of accuracy and convergence rate under strong data skew?
  • RQ4Can prototype aggregation be efficiently computed and scaled across a large number of clients without significant communication overhead?

Key findings

  • FedPR achieves an average test accuracy of 94.62% on MNIST, representing a 3.3% improvement over FedAvg’s 91.57% under $\alpha = 0.05$ data skew.
  • On Fashion-MNIST, FedPR reaches 86.05% average test accuracy, a significant 8.9% gain over FedAvg’s 79.04% under the same conditions.
  • The proposed method exhibits a faster convergence rate compared to FedAvg, as evidenced by earlier stabilization of test accuracy across communication rounds.
  • The prototype regularization mechanism effectively mitigates performance degradation caused by class imbalance and data heterogeneity in federated settings.
  • The framework maintains low algorithmic complexity, making it suitable for practical deployment in real-world federated systems.
  • The use of global prototypes as a regularizer improves model generalization by aligning local representations with a shared, globally aggregated class structure.

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.