Introduction
Standard Federated Learning (FL) typically aims to train a single "one-size-fits-all" global model. However, in the real world, user data is highly diverse (non-i.i.d.). A model trained on everyone's data might perform poorly for specific individuals. While full personalization—giving every user their own complete copy of the model—solves this, it has a massive drawback: memory. Modern deep learning models are huge, and requiring a mobile device to store both a global reference model and a personalized version doubles the memory footprint.
This paper introduces a framework for partial model personalization in Federated Learning, where only specific layers are customized for each user while the rest are shared globally. The authors demonstrate that personalizing just a small fraction of parameters can match—or even exceed—the performance of full model personalization with significantly less memory.
Methods: FedSim and FedAlt
To achieve the benefits of personalization without prohibitive memory costs, the model is partitioned into shared parameters (learned by everyone) and personal parameters (kept local to the device). The authors investigate two primary algorithms for solving this partial personalization problem:
- FedSim (Simultaneous): Devices update both shared and personal parameters at the same time using stochastic gradient descent (SGD).
- FedAlt (Alternating): Devices first update their personal parameters (keeping the shared ones fixed), then update the shared parameters.
Analyzing FedAlt is notoriously difficult because the shared and personal updates become coupled, breaking standard convergence proofs. The authors solve this using a novel technique called "virtual full participation." They analyze the algorithm as if every device participated in every round and then bound the error introduced by the fact that only a subset actually participates. This provides rigorous convergence guarantees for smooth, nonconvex functions—the standard landscape for deep learning.
The "Right" Layer Matters
Personalization isn't one-size-fits-all. The study evaluates these methods across diverse datasets (StackOverflow, GLDv2, EMNIST, LibriSpeech) and finds that the optimal placement of personalized parameters depends heavily on the modality.
For instance, in speech recognition (LibriSpeech), personalizing the input layers works best to handle different accents and acoustic environments. Conversely, for text prediction (StackOverflow), personalizing the output layers is superior, as it better captures individual vocabulary preferences. On StackOverflow, personalizing just 14% of the parameters (the output layer) captured 90% of the accuracy boost seen in full personalization.
Less is More: Adapters and Catastrophic Forgetting
Surprisingly, partial personalization sometimes outperforms full personalization. On the GLDv2 image dataset, using "adapters"—tiny personalized modules inserted into the network—beat full personalization by 3.5 percentage points.
This performance boost occurs because full personalization on a tiny local dataset often causes the model to "forget" general features (catastrophic forgetting). Partial personalization, particularly via adapters, keeps the core feature extractors stable while allowing for lightweight, user-specific tuning. Overall, partial personalization reduced memory requirements by 34% to 42% compared to full personalization across the tested models. Furthermore, across almost all experiments, the alternating update strategy (FedAlt) outperformed the simultaneous one (FedSim) by a small but consistent margin.
Limitations: The Fairness Trap
While personalization improves average accuracy, it can actually hurt performance for users with very little data. If a user has only a handful of samples, personalizing their model can lead to severe overfitting, making the model perform worse than the global version. The authors found that standard regularization (like dropout or weight decay) doesn't fully fix this phenomenon. Future work must focus on developing automated ways to detect when personalization is hurting a specific user and finding better structured regularization methods to prevent local overfitting.
Summary updated