Abstract
Due to the curse of statistical heterogeneity across clients, adopting a personalized federated learning method has become an essential choice for the successful deployment of federated learning-based services. Among diverse branches of personalization techniques, a model mixture-based personalization method is preferred as each client has their own personalized model as a result of federated learning. It usually requires a local model and a federated model, but this approach is either limited to partial parameter exchange or requires additional local updates, each of which is helpless to novel clients and burdensome to the client's computational capacity. As the existence of a connected subspace containing diverse low-loss solutions between two or more independent deep networks has been discovered, we combined this interesting property with the model mixture-based personalized federated learning method for improved performance of personalization. We proposed SuPerFed, a personalized federated learning method that induces an explicit connection between the optima of the local and the federated model in weight space for boosting each other. Through extensive experiments on several benchmark datasets, we demonstrated that our method achieves consistent gains in both personalization performance and robustness to problematic scenarios possible in realistic services.
Introduction
Standard Federated Learning (FL), exemplified by the FedAvg algorithm, aims to train a single global model across distributed clients without data sharing. However, the "curse of statistical heterogeneity"—non-IID data distributions across clients—often degrades the performance of a one-size-fits-all global model. Personalized Federated Learning (PFL) addresses this by tailoring models to individual clients.
Model mixture-based PFL methods typically maintain two separate models: a local model for specialization and a federated model for global knowledge. Despite their popularity, these methods often face challenges such as high computational overhead, limited utility for novel clients, and a lack of synergy between the local and global components. SuPerFed addresses these issues by leveraging mode connectivity, the phenomenon where deep neural networks can be linked by paths of low loss in the weight space.
The SuPerFed Framework
SuPerFed treats the local and federated models as endpoints of a connected low-loss subspace rather than isolated entities. This approach fosters synergy between global knowledge and local specialization.
The framework consists of several key components:
- Joint Training via Interpolation: During local training, SuPerFed samples a random mixing factor $\lambda \in [0, 1]$ for each mini-batch. The model is trained on an interpolated weight vector $W(\lambda) = (1-\lambda)w^f + \lambda w^l$. This ensures that the entire linear path between the federated model ($w^f$) and the local model ($w^l$) resides within a low-loss region.
- Connectivity Regularization: A cosine similarity-based loss term encourages the models to learn diverse yet complementary features while maintaining their connectivity.
- Proximity Regularization: An $L_2$-norm term prevents the federated model from drifting too far from the global server model, ensuring stability in the aggregation process.
- Communication Efficiency: SuPerFed maintains the same communication overhead as standard FedAvg by only transmitting the updated federated model back to the server.
Core Concepts: Connectivity as Synergy
By inducing an explicit connection between the local and federated optima, SuPerFed ensures that both models mutually benefit. The local model captures client-specific nuances, while the federated model provides a robust foundation of general knowledge.
This subspace training acts as an implicit ensemble, significantly enhancing robustness to label noise—a common challenge in real-world FL. Furthermore, the process induces "flatter" minima in the loss landscape, which is empirically linked to better generalization.
Performance Evaluation
The researchers evaluated SuPerFed across various non-IID scenarios, including pathological (MNIST, CIFAR10), Dirichlet-based (CIFAR100, TinyImageNet), and realistic (FEMNIST, Shakespeare) distributions.
SuPerFed consistently outperformed state-of-the-art PFL methods like APFL, Ditto, and FedPer:
- Accuracy Gains: On CIFAR10 (pathological, 100 clients), SuPerFed-MM achieved 99.38% accuracy, significantly higher than FedAvg's 89.78%.
- Robustness to Noise: Under 40% label noise on MNIST, SuPerFed maintained ~46% accuracy, while competitors saw drastic performance drops.
- Calibration: SuPerFed demonstrated lower Expected Calibration Error (ECE), indicating that its predicted probabilities are more reliable and better calibrated.
Conclusion and Future Directions
SuPerFed provides a robust and efficient solution for personalized federated learning by bridging the gap between local and global models through weight-space connectivity. While it requires storing two sets of weights, the performance gains and robustness to noise make it a compelling choice for heterogeneous environments. Future work may explore more complex, multi-dimensional subspaces beyond linear paths to further enhance model diversity and performance.
Summary updated