Personalized Federated Learning with Contextualized Generalization

Personalized Federated Learning with Contextualized Generalization

Xueyang Tang, Song Guo, Jingcai Guo

Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence
Main Track. Pages 2241-2247. https://doi.org/10.24963/ijcai.2022/311

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.
Keywords:
Data Mining: Federated Learning
Data Mining: Mining Heterogenous Data
Data Mining: Parallel, Distributed and Cloud-based High Performance Mining
Humans and AI: Personalization and User Modeling
Machine Learning: Optimisation