Introduction
In Federated Learning (FL), the goal of personalization is to handle statistical heterogeneity across clients (non-I.I.D. data). Traditional Personalized FL (PFL) methods typically train a single global model to capture general knowledge and then regularize local client models toward it. However, this "one-size-fits-all" approach often leads to Negative Knowledge Transfer. When a client population consists of distinct groups—such as users with different languages or handwriting styles—a single global model becomes a blurry average of these contexts. Forcing a client to regularize toward this irrelevant average can degrade performance rather than improve it.
Methodology: Contextualized Generalization
The authors propose CGPFL (Contextualized Generalization PFL), a framework that moves beyond a single global model by maintaining $K$ latent "contextualized" models. The training process is structured as a bi-level optimization problem:
- Server-side (Lower Level): The server maintains $K$ different generalized models. Using a $k$-means++ clustering approach on local model updates, the server dynamically groups clients into these $K$ contexts.
- Client-side (Upper Level): Each client trains a personalized model $\theta_i$, guided by the generalized model $\omega_k$ of its assigned context via an $L_2$ regularization term.
A significant challenge in clustered approaches is selecting the optimal number of clusters ($K$). The authors introduce CGPFL-Heur, a heuristic algorithm derived from theoretical generalization bounds. This algorithm automatically identifies a near-optimal $K$ during the first round of training with negligible computational overhead, as shown in the figure above.
Experimental Evaluation
The framework was evaluated on standard benchmarks modified for high non-I.I.D. settings (MNIST, Fashion-MNIST, and CIFAR-10). In these tests, clients were restricted to only 3 out of 10 possible classes.
Key Results and Convergence
CGPFL and its heuristic variant consistently outperformed state-of-the-art competitors like pFedMe, Ditto, and Per-FedAvg. For instance, on the MNIST (DNN) benchmark, CGPFL-Heur achieved 98.03% accuracy, significantly higher than pFedMe's 92.20%.
Beyond final accuracy, CGPFL demonstrates a theoretical $O(\sqrt{K})$ convergence speedup. Experimental plots confirm that CGPFL reaches higher accuracy in significantly fewer global rounds than its competitors. This efficiency stems from "generalization diversity," where multiple reference points prevent disjoint contexts from interfering with each other during the aggregation process.
Discussion and Limitations
While CGPFL offers a robust solution to negative knowledge transfer, several areas for future work remain. The method performs clustering on model parameters; while this avoids raw data exchange, it may still be vulnerable to property inference attacks in highly sensitive applications. Additionally, while the communication overhead is described as negligible, the server must manage $K$ distinct aggregations, which may face scaling challenges if $K$ becomes extremely large. Finally, the current heuristic fixes $K$ after the first round, which may not account for dynamic environments where new clients join or data distributions shift over time.
Summary updated