[Paper Review] Achieving Personalized Federated Learning with Sparse Local Models
This paper proposes FedSpa, a personalized federated learning framework that uses sparse local models with personalized masks to achieve high accuracy with low communication and computation costs. By maintaining a fixed sparsity level throughout training (sparse-to-sparse training), FedSpa enables efficient, personalized model updates while converging to a local minimizer at a rate of ๐ช(1/โT).
Federated learning (FL) is vulnerable to heterogeneously distributed data, since a common global model in FL may not adapt to the heterogeneous data distribution of each user. To counter this issue, personalized FL (PFL) was proposed to produce dedicated local models for each individual user. However, PFL is far from its maturity, because existing PFL solutions either demonstrate unsatisfactory generalization towards different model architectures or cost enormous extra computation and memory. In this work, we propose federated learning with personalized sparse mask (FedSpa), a novel PFL scheme that employs personalized sparse masks to customize sparse local models on the edge. Instead of training an intact (or dense) PFL model, FedSpa only maintains a fixed number of active parameters throughout training (aka sparse-to-sparse training), which enables users' models to achieve personalization with cheap communication, computation, and memory cost. We theoretically show that the iterates obtained by FedSpa converge to the local minimizer of the formulated SPFL problem at rate of $\mathcal{O}(\frac{1}{\sqrt{T}})$. Comprehensive experiments demonstrate that FedSpa significantly saves communication and computation costs, while simultaneously achieves higher model accuracy and faster convergence speed against several state-of-the-art PFL methods.
Motivation & Objective
- Address the challenge of non-IID data distribution in federated learning, where a single global model fails to generalize across heterogeneous clients.
- Overcome the high communication and computational overhead of existing personalized FL (PFL) methods that rely on dense models or dynamic sparsity.
- Develop a PFL solution that maintains constant sparsity during training to reduce memory and computation costs on edge devices.
- Enable efficient aggregation of sparse sub-models while preserving personalization and model performance.
- Theoretically analyze convergence and empirically validate superior performance in accuracy, speed, and efficiency compared to state-of-the-art PFL methods.
Proposed method
- Introduce a novel Sparse Personalized Federated Learning (SPFL) problem formulation that applies personalized sparse masks to a global model to generate client-specific sparse sub-models.
- Design FedSpa as a PFL framework where each client maintains and trains a sparse model with a fixed sparsity level throughout the training process.
- Use a dynamic sparse training (DST) mechanism to search for new personalized masks based on local gradients and data, ensuring model personalization.
- Apply gradient-based weight recovery during mask updates, selecting the top-ฮฑโ magnitude gradient coordinates to restore pruned weights.
- Aggregate sparse gradient updates and new masks at the server, updating the global model via standard averaging.
- Ensure all local models remain sparse throughout training, minimizing communication and computation overhead.
Experimental results
Research questions
- RQ1Can a federated learning system achieve high personalization performance while maintaining low communication and computation costs in Non-IID settings?
- RQ2Does sparse-to-sparse training with personalized masks lead to faster convergence and higher accuracy compared to dense PFL baselines?
- RQ3How effective is gradient-based weight recovery in improving model performance during mask retraining?
- RQ4Can the global model trained via FedSpa achieve competitive performance compared to standard FedAvg, especially under data heterogeneity?
- RQ5What is the impact of mask initialization strategy on the final performance of FedSpa in heterogeneous data environments?
Key findings
- FedSpa reduces communication overhead by 50% compared to dense PFL baselines, as only sparse gradients and masks are transmitted per round.
- FedSpa achieves up to 21.9% higher test accuracy than FedAvg and 4.4% higher than Ditto in Non-IID settings.
- FedSpa requires 76.2% fewer communication rounds than FedAvg and 38.1% fewer than Ditto to reach the same accuracy level.
- The mask searching process in FedSpa (DST) accounts for only 5% to 20% of the total wall time per round, indicating minimal runtime overhead.
- Gradient-based weight recovery in FedSpa (DST) leads to faster convergence and higher final accuracy compared to random recovery.
- The global model in FedSpa performs significantly worse than personalized models in Non-IID settings, confirming that sub-networks outperform full models under data skew.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.