Group Personalized Federated Learning

Zhe Liu, Yue Hui, Fuchun Peng

Abstract

Federated learning (FL) can help promote data privacy by training a shared model in a de-centralized manner on the physical devices of clients. In the presence of highly heterogeneous distributions of local data, personalized FL strategy seeks to mitigate the potential client drift. In this paper, we present the group personalization approach for applications of FL in which there exist inherent partitions among clients that are significantly distinct. In our method, the global FL model is fine-tuned through another FL training process over each homogeneous group of clients, after which each group-specific FL model is further adapted and personalized for any client. The proposed method can be well interpreted from a Bayesian hierarchical modeling perspective. With experiments on two real-world datasets, we demonstrate this approach can achieve superior personalization performance than other FL counterparts.

Introduction

Standard Federated Learning (FL) aims to train a single global model across many devices without accessing raw data. While effective, it faces two primary challenges: Client Drift, where the global model fails to capture individual nuances, and the Data Scarcity Paradox, where users with limited data suffer from overfitting during local personalization.

This paper introduces a three-tier training strategy that bridges the gap between generic global models and overfitted local models. By adding an intermediate "group-level" stage, we leverage similarities among users within the same category (e.g., gaming, news) to improve model performance while maintaining strict privacy.

Methodology: A Three-Tier Approach

The GPFL framework follows a hierarchical workflow:

  1. Global FL Training: A standard global model is trained across the entire client population using an optimizer like FedAdam.
  2. Group FL Fine-Tuning: Clients are partitioned into homogeneous groups based on topic or behavior. The global model is fine-tuned within these groups using FL, allowing users to "borrow" knowledge from similar peers without sharing raw data.
  3. Local Personalization: Each client performs a final, lightweight round of local SGD on their specific data.

This process can be interpreted as a Bayesian Hierarchical model, where group-level information acts as a regularizer that reduces the posterior variance of model parameters compared to purely local or global approaches.

Experimental Results

We evaluated GPFL on two language modeling tasks: an in-house video transcript dataset and the Wikitext-103 benchmark.

Performance Gains

The proposed GroupPerFL method consistently outperformed vanilla FL and standard personalization (PerFL). On the video dataset, GroupPerFL achieved a 5% to 20% reduction in perplexity compared to standard personalization.

Perplexity results on the video dataset across different FL strategies.

Impact on Data-Poor Users

The "Group FL" step is particularly effective for users with limited data. In the "general" video category, where data is most sparse, approximately 70% of clients saw a reduction in perplexity compared to standard personalization.

Distribution of perplexity differences between GroupPerFL and PerFL across clients.

The histogram illustrates that the majority of clients experience a performance boost (indicated by negative perplexity difference values), validating the effectiveness of the hierarchical approach in mitigating overfitting.

Conclusion

Group Personalized Federated Learning provides a robust middle ground for personalization in heterogeneous environments. While it increases computational and communication costs (roughly 1.5x to 2x), the gains in model accuracy and the ability to support data-poor users make it a compelling strategy for real-world FL applications. Future research will focus on automated group discovery and dynamic membership to further generalize the approach.

Summary updated

Abstract

Federated learning (FL) can help promote data privacy by training a shared model in a de-centralized manner on the physical devices of clients. In the presence of highly heterogeneous distributions of local data, personalized FL strategy seeks to mitigate the potential client drift. In this paper, we present the group personalization approach for applications of FL in which there exist inherent partitions among clients that are significantly distinct. In our method, the global FL model is fine-tuned through another FL training process over each homogeneous group of clients, after which each group-specific FL model is further adapted and personalized for any client. The proposed method can be well interpreted from a Bayesian hierarchical modeling perspective. With experiments on two real-world datasets, we demonstrate this approach can achieve superior personalization performance than other FL counterparts.
BibTeX
@misc{liu2022group,
  author = {Zhe Liu and Yue Hui and Fuchun Peng},
  title = {{Group Personalized Federated Learning}},
  year = {2022},
  eprint = {2210.01863},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.01863},
}
Figure