Sparse Personalized Federated Learning

Xiaofeng Liu, Yinchuan Li, Qing Wang, Xu Zhang, Yunfeng Shao, Yanhui Geng

TL;DR

This paper introduces FedMac, a novel sparse personalized federated learning (FL) approach that enhances personalization and communication efficiency by incorporating an approximated L1-norm for sparsity and maximizing the correlation between client and global models. FedMac achieves state-of-the-art accuracy on various datasets while significantly reducing communication overhead, making FL more practical for resource-constrained environments.

What Problem Does This Paper Address?

Federated Learning (FL) enables collaborative model training without centralizing private data, but faces challenges like statistical diversity among clients (non-IID data), limited client computing power, and high communication overhead. Personalized FL aims to address data diversity by tailoring models to individual clients. However, existing personalized FL methods often struggle with communication efficiency and can be computationally demanding. Furthermore, traditional sparse learning methods, while reducing communication, don't inherently support personalization. This paper tackles the problem of achieving both effective personalization and significant communication reduction in FL, especially in scenarios with non-IID data and limited resources.

Methods

The core of FedMac lies in its novel loss function that combines:

  • Personalization through Correlation: It maximizes the correlation (inner product) between a client's personalized model and the global model. This encourages clients to learn models that are distinct yet still aligned with the global knowledge, preventing them from deviating too far.
  • Sparsity through Approximated L1-Norm: An approximated L1-norm is used as a regularizer. This encourages sparsity in the client models, meaning many parameters become zero. This sparsity is key to reducing the amount of data that needs to be transmitted between clients and the server.

FedMac formulates an optimization problem that is then solved using an alternating minimization approach, updating personalized client models and the global model iteratively. The paper also provides theoretical convergence analysis, demonstrating that the sparsity constraints do not negatively impact the convergence rate of the global model.

Datasets

The paper evaluates FedMac on several standard benchmark datasets:

  • MNIST
  • FMNIST (Fashion-MNIST)
  • CIFAR-100
  • Synthetic datasets
  • CINIC-10

These datasets are used to simulate non-IID data distributions, a common challenge in real-world FL scenarios.

Key Insights and Ideas

  • Correlation as a Personalization Driver: The paper highlights that maximizing the correlation between client and global models is a more effective way to guide personalization than simply using L2-norm regularization, especially when aiming for sparse models.
  • Sparsity and Personalization Synergy: FedMac demonstrates that sparsity and personalization are not mutually exclusive. By carefully designing the objective function, FedMac achieves both, leading to reduced communication and improved client-specific performance.
  • Theoretical Guarantees for Sparse Personalization: The authors provide theoretical analysis showing that FedMac's sparse constraints do not hinder global model convergence and that the method can achieve better personalization than L2-norm based methods, requiring less training data.
  • Practical Communication Reduction: The experimental results clearly show that FedMac's sparsity significantly reduces the communication cost, making it a practical solution for devices with limited bandwidth.

Key Results

  • State-of-the-Art Accuracy: FedMac achieves the highest accuracy on personalized models across multiple datasets, including MNIST (98.95%), FMNIST (99.37%), CIFAR-100 (90.90%), Synthetic (89.06%), and CINIC-10 (73.52%). It also shows competitive performance for the global model.
  • Significant Communication Reduction: Under sparse conditions (50% sparsity), FedMac reduces communication costs by almost half compared to non-sparse methods.
  • Improved Convergence: The paper's figures show that FedMac converges efficiently, often outperforming other personalized FL methods in terms of test accuracy and training loss.
  • Robustness to Hyperparameters: The paper includes extensive hyperparameter studies, demonstrating the algorithm's sensitivity and providing guidance for optimal settings.

Limitations and Future Work

  • Approximation of L1-Norm: The paper uses a smooth approximation of the L1-norm for optimization. While this aids theoretical analysis, it might introduce minor deviations from true L1-norm optimization.
  • Linear Network Assumption for Theoretical Superiority: The theoretical proof of performance superiority (Theorem 2) is based on a single-layer network assumption. While the empirical results extend to deeper networks, the theoretical guarantees are limited to this simplified case.
  • Future Work: The authors suggest exploring FedMac in more complex scenarios, such as federated reinforcement learning or federated meta-learning, and investigating more advanced sparse optimization techniques. They also mention the potential for further communication reduction through more sophisticated compression methods.

Summary updated

BibTeX
@article{liu2024sparse,
  author = {Xiaofeng Liu and Yinchuan Li and Qing Wang and Xu Zhang and Yunfeng Shao and Yanhui Geng},
  title = {{Sparse Personalized Federated Learning}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2024},
  doi = {10.1109/tnnls.2023.3250658},
}
Figure