PPFL: A Personalized Federated Learning Framework for Heterogeneous Population

Hao Di, Yi Yang, Haishan Ye, Xiangyu Chang · OpenReview

Abstract

Personalization aims to characterize individual preferences and is widely applied across many fields. However, conventional personalized methods operate in a centralized manner and potentially expose the raw data when pooling individual information. In this paper, with privacy considerations, we develop a flexible and interpretable personalized framework within the paradigm of Federated Learning, called PPFL (Population Personalized Federated Learning). By leveraging canonical models to capture fundamental characteristics among the heterogeneous population and employing membership vectors to reveal clients' preferences, it models the heterogeneity as clients' varying preferences for these characteristics and provides substantial insights into client characteristics, which is lacking in existing Personalized Federated Learning (PFL) methods. Furthermore, we explore the relationship between our method and three main branches of PFL methods: multi-task PFL, clustered FL, and decoupling PFL, and demonstrate the advantages of PPFL. To solve PPFL (a non-convex constrained optimization problem), we propose a novel random block coordinate descent algorithm and present the convergence property. We conduct experiments on both pathological and practical datasets, and the results validate the effectiveness of PPFL.

Introduction

Standard Federated Learning (FL) attempts to train a single "global" model that serves all participants without accessing their private data. While effective for homogeneous data, this approach struggles in real-world scenarios where users are heterogeneous. For instance, a language model optimized for a teenager's texting habits will likely perform poorly for a professional's emails.

The PPFL framework cycle: broadcasting the global model, local personalization, and aggregating client updates.

Existing Personalized FL (PFL) methods, such as Clustered FL or Multi-task PFL, attempt to address this but often face a "trilemma" of limited interpretability, high communication costs, and a lack of rigorous theoretical convergence guarantees for non-convex neural networks.

The PPFL Framework

The authors propose Population Personalized Federated Learning (PPFL), which models a diverse population using two primary components:

  • Canonical Models ($\theta_k$): A set of $K$ latent models representing fundamental behavioral patterns or "traits" within the data.
  • Membership Vectors ($c_i$): A client-specific vector defining the "recipe" or preference for these canonical models (e.g., a mixture of 70% Pattern A and 30% Pattern B).

The framework supports two distinct architectures for personalization:

  1. PPFL1: Computes a weighted sum of the predictions (outputs) from the canonical models.
  2. PPFL2: Creates a personalized model through a linear combination of the parameters of the canonical models.
Architectural comparison of PPFL1 (a) and PPFL2 (b), showing how canonical models and membership vectors are combined.

To optimize this system, the researchers developed a Federated Random Block Coordinate Descent (RBCD) algorithm. This algorithm randomly alternates between updating the canonical models and the membership vectors. It incorporates Laplacian regularization to ensure that clients with similar data distributions maintain similar membership vectors, allowing them to benefit from shared knowledge.

Experimental Evaluation

PPFL was evaluated across several datasets to test its robustness against different types of heterogeneity:

  • Pathological Sets: MNIST and CIFAR-10 with artificial label restrictions.
  • Synthetic Set: A regression dataset designed to test mixture-of-experts scenarios.
  • Practical Sets: Federated EMNIST (handwriting) and StackOverflow (language modeling).
  • Covariate-shift Set: The "Digits" dataset, which features identical labels across different visual domains (e.g., SVHN vs. MNIST-M).

Key Insights

  • Interpretability: Unlike "black-box" PFL, PPFL membership vectors can be visualized via heatmaps, revealing how clients naturally cluster into groups.
  • Flexibility: PPFL acts as a "chameleon" framework; by adjusting a single hyperparameter ($\lambda$), it can mathematically reduce to other methods like Clustered FL or Decoupling PFL.
  • Theoretical Guarantees: The paper provides a sub-linear convergence rate ($O(1/\sqrt{T})$) for the RBCD algorithm in a federated setting, a first for this type of constrained non-convex optimization.
  • Efficiency: By often only personalizing the final layers, PPFL reduces the communication overhead compared to broadcasting multiple full-sized models.

Results and Discussion

PPFL consistently outperformed state-of-the-art baselines. On CIFAR-10, PPFL1 reached 85.33% accuracy, compared to just 48.98% for standard FedAvg. The framework also demonstrated superior stability and faster convergence in domain-heterogeneous scenarios. In covariate-shift tests, PPFL achieved the highest accuracy in 4 out of 5 sub-datasets, proving its ability to handle stylistic variations in data.

Limitations and Future Work

The performance of PPFL is sensitive to the choice of $K$ (the number of canonical models), which currently requires manual tuning. Additionally, the convergence proof assumes full client participation, which is rare in practical mobile FL. Future work will focus on adapting the framework for partial participation and exploring more complex canonical architectures.

Summary updated

BibTeX
@misc{di2023ppfl,
  author = {Hao Di and Yi Yang and Haishan Ye and Xiangyu Chang},
  title = {{PPFL: A Personalized Federated Learning Framework for Heterogeneous Population}},
  year = {2023},
  eprint = {2310.14337},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.14337},
}

Loading related content...

Figure