Personalized Federated Learning with Contextualized Generalization

Abstract

The prevalent personalized federated learning (PFL) usually pursues a trade-off between personalization and generalization by maintaining a shared global model to guide the training process of local models. However, the sole global model may easily transfer deviated context knowledge to some local models when multiple latent contexts exist across the local datasets. In this paper, we propose a novel concept called contextualized generalization (CG) to provide each client with fine-grained context knowledge that can better fit the local data distributions and facilitate faster model convergence, based on which we properly design a framework of PFL, dubbed CGPFL. We conduct detailed theoretical analysis, in which the convergence guarantee is presented and a speedup of order 1/2 w.r.t the number of contexts over most existing methods is granted. To quantitatively study the generalization-personalization trade-off, we introduce the generalization error measure and prove that the proposed CGPFL can achieve a better trade-off than existing solutions. Moreover, our theoretical analysis further inspires a heuristic algorithm to find a near-optimal trade-off in CGPFL. Experimental results on multiple real-world datasets show that our approach surpasses the state-of-the-art methods on test accuracy by a significant margin.

Cite

Text

Tang et al. "Personalized Federated Learning with Contextualized Generalization." International Joint Conference on Artificial Intelligence, 2022. doi:10.24963/IJCAI.2022/311

Markdown

[Tang et al. "Personalized Federated Learning with Contextualized Generalization." International Joint Conference on Artificial Intelligence, 2022.](https://mlanthology.org/ijcai/2022/tang2022ijcai-personalized/) doi:10.24963/IJCAI.2022/311

BibTeX

@inproceedings{tang2022ijcai-personalized,
  title     = {{Personalized Federated Learning with Contextualized Generalization}},
  author    = {Tang, Xueyang and Guo, Song and Guo, Jingcai},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year      = {2022},
  pages     = {2241-2247},
  doi       = {10.24963/IJCAI.2022/311},
  url       = {https://mlanthology.org/ijcai/2022/tang2022ijcai-personalized/}
}