[Paper Review] Model Pruning Enables Efficient Federated Learning on Edge Devices
PruneFL integrates adaptive, distributed model pruning into federated learning to reduce computation and communication on edge devices while preserving accuracy near the original model.
Federated learning (FL) allows model training from local data collected by edge/mobile devices while preserving data privacy, which has wide applicability to image and vision applications. A challenge is that client devices in FL usually have much more limited computation and communication resources compared to servers in a datacenter. To overcome this challenge, we propose PruneFL -- a novel FL approach with adaptive and distributed parameter pruning, which adapts the model size during FL to reduce both communication and computation overhead and minimize the overall training time, while maintaining a similar accuracy as the original model. PruneFL includes initial pruning at a selected client and further pruning as part of the FL process. The model size is adapted during this process, which includes maximizing the approximate empirical risk reduction divided by the time of one FL round. Our experiments with various datasets on edge devices (e.g., Raspberry Pi) show that: (i) we significantly reduce the training time compared to conventional FL and various other pruning-based methods; (ii) the pruned model with automatically determined size converges to an accuracy that is very similar to the original model, and it is also a lottery ticket of the original model.
Motivation & Objective
- Motivate federated learning on resource-constrained edge devices where data privacy and communication costs are limiting.
- Develop a pruning-based FL method to jointly reduce computation and communication overhead.
- Enable adaptive, distributed pruning that tracks and adjusts model size during FL to optimize training time and accuracy.
- Demonstrate practicality by implementing sparse-matrix PruneFL on real edge devices and evaluating across multiple datasets.
Proposed method
- Introduce PruneFL with two-stage distributed pruning: initial pruning at a selected client and further pruning during FL.
- Use adaptive pruning that updates which parameters to keep by maximizing approximate empirical risk reduction per unit training time.
- Formulate pruning as selecting a subset of parameters to maximize the ratio of risk reduction to round time (Gamma).
- Compute parameter importance via squared gradients g_j^2 and estimate per-parameter training time t_j to guide pruning decisions.
- Implement sparse matrix representations for pruned models to reduce storage, memory, and communication overhead.
- Provide convergence analysis under standard FL assumptions and show linear speedup with the number of clients.
Experimental results
Research questions
- RQ1Can adaptive, distributed pruning reduce both communication and computation costs in FL without sacrificing accuracy?
- RQ2How should model size be adjusted during FL to best balance training speed and final performance?
- RQ3What is the impact of initial pruning on the subsequent federated training with heterogeneous data and devices?
- RQ4Does pruning lead to a lottery-ticket-like subnetwork that maintains near-original performance on edge devices?
- RQ5What are practical implementation considerations for deploying PruneFL on real edge hardware?
Key findings
- PruneFL significantly reduces training time compared to conventional FL and other pruning-based methods.
- The pruned model with automatically determined size converges to an accuracy very similar to the original model and forms a lottery-ticket of the original model.
- Two-stage distributed pruning, with adaptive pruning, addresses data and device heterogeneity more effectively than single-client pruning.
- Adaptive pruning uses gradient-based importance measures and time estimates to select which parameters to keep, prune, or add back.
- Implementation on edge devices shows feasibility of sparse matrix computation for both convolutional and fully-connected layers in the pruned model.
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.