PGFed: Personalize Each Client's Global Objective for Federated Learning

Jun Luo, Matías Mendieta, Chen Chen, Shandong Wu

Introduction

Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models across decentralized clients while preserving data privacy. However, a significant hurdle in real-world deployments is the presence of non-IID (not identically and independently distributed) data. For instance, medical imaging data from different hospitals may vary significantly due to equipment differences or patient demographics. Standard FL approaches like FedAvg often fail in these scenarios by attempting to force a single "one-size-fits-all" global model that performs suboptimally for all participants.

Personalized Federated Learning (PFL) seeks to address this by allowing clients to maintain local models tailored to their specific data distributions. While existing PFL methods have made strides, they often rely on implicit knowledge transfer—such as weight averaging or generic regularization—which fails to fully exploit the collaborative potential of the network. PGFed (Personalized Global Federated Learning) introduces a shift toward explicit knowledge transfer, where clients directly incorporate the performance of their models on other clients' objectives.

The PGFed Framework

The core innovation of PGFed is the construction of a "personalized global objective." Instead of a client simply minimizing its own local empirical risk, it minimizes a weighted combination of its own risk and the estimated risks of all other clients in the network.

Conceptual comparison between implicit knowledge transfer and PGFed's explicit transfer using first-order Taylor approximation.

Overcoming Communication Bottlenecks

Explicitly sharing risks across $N$ clients would typically require $O(N^2)$ communication, which is prohibitive for large-scale networks. PGFed bypasses this by utilizing a first-order Taylor approximation. As shown in the conceptual diagram above, client $i$ can estimate its performance on client $j$’s data ($f_j(\theta_i)$) using only the local loss and gradient shared by client $j$. This reduces the communication overhead to a manageable level—approximately 2.5x that of standard FedAvg—while achieving the benefits of a fully connected risk-sharing network.

Adaptive Relationships and Momentum

PGFed introduces learnable coefficients ($\alpha$) that represent the "trust" or similarity between clients. These weights are updated via gradient descent, allowing the system to automatically discover which clients should influence each other. To handle partial client participation, the authors also proposed PGFedMo, which incorporates a momentum term to maintain a moving average of collaborative knowledge, preventing the model from "forgetting" insights from inactive clients.

Experimental Evaluation

The researchers evaluated PGFed and PGFedMo against a wide array of state-of-the-art PFL baselines using benchmarks like CIFAR-10, CIFAR-100, OrganAMNIST, and Office-Home. The results consistently demonstrated the superiority of the explicit transfer approach.

Performance comparison of PGFed and PGFedMo against state-of-the-art personalized federated learning methods on CIFAR-10 and CIFAR-100.

As seen in the table above, PGFedMo achieved significant accuracy gains. In the CIFAR-100 setting with 25 clients, it outperformed the next best baseline by a substantial margin. Beyond final accuracy, PGFed demonstrated faster convergence, reaching target accuracy levels up to 3.7x faster than competing methods on CIFAR-10.

Key Insights and Discussion

  • The Helper/Helpee Dynamic: Analysis of the learned relationship matrix revealed that the system naturally identifies clients with larger datasets as "helpers" (whose risks are weighted more by others) and those with smaller datasets as "helpees" (who rely more on collaborative knowledge).
  • Superior Generalization: A notable side-product of PGFed is a global model that generalizes better to "new" clients who did not participate in the initial training phase, outperforming the global models produced by standard FedAvg.
  • Privacy and Regularization: While the use of gradients involves a privacy-utility trade-off, the authors noted that the first-order approximation acts as a beneficial regularizer, preventing local models from over-drifting and improving overall stability.

Conclusion

PGFed represents a significant advancement in Personalized Federated Learning by making collaborative knowledge transfer explicit and computationally efficient. By allowing clients to care about their performance across the entire network through clever mathematical approximations, PGFed achieves state-of-the-art results on heterogeneous data while maintaining the practical scalability required for real-world federated systems.

Summary updated

BibTeX
@inproceedings{luo2023pgfed,
  author = {Jun Luo and Matías Mendieta and Chen Chen and Shandong Wu},
  title = {{PGFed: Personalize Each Client's Global Objective for Federated Learning}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  doi = {10.1109/iccv51070.2023.00365},
}
Figure