Abstract
Federated learning (FL) is an effective solution for edge training, but the limited bandwidth and insufficient computing resources of edge devices restrict its deployment. Different from existing methods that only consider communication efficiency such as quantization and sparsification, this paper proposes an efficient federated training framework based on model pruning to simultaneously address the problem of insufficient computing and communication resources. First, the framework dynamically selects neurons or convolution kernels before the global model release, pruning a current optimal subnet and then issues the compressed model to each client for training. Then, we develop a new parameter aggregation update scheme, which provides training opportunities for global model parameters and maintains the complete model structure through model reconstruction and parameter reuse, reducing the error caused by pruning. Finally, extensive experiments show that our proposed framework achieves superior performance on both IID and non-IID datasets, which reduces upstream and downstream communication while maintaining the accuracy of the global model and reducing client computing costs. For example, with accuracy exceeding the baseline, computation is reduced by 72.27% and memory usage is reduced by 72.17% for MNIST/FC; and computation is reduced by 63.39% and memory usage is reduced by 59.78% for CIFAR10/VGG16.
Introduction
Federated Learning (FL) enables AI models to be trained across thousands of edge devices—such as smartphones or IoT sensors—without moving raw data to a central server, thereby preserving privacy. However, real-world edge devices are often resource-constrained, suffering from limited battery life, slow processors, minimal RAM, and unstable network connections.
While most existing solutions focus on communication efficiency through quantization or sparsification, they often neglect the computation bottleneck: the device must still process a massive, multi-million parameter model. Furthermore, performing pruning directly on the device adds an additional computational burden. This research introduces a framework that shifts model compression to the server, creating lightweight "subnets" that reduce both the communication and computation requirements for edge devices.
Proposed Framework: Server-Side Pruning
The core innovation of this work is the relocation of the pruning process. By performing structured pruning on the server before the model is distributed, the edge device never interacts with the full-scale model, immediately lowering the hardware barrier to entry.
As illustrated in Figure 1, the framework employs three key stages:
- Server-Side Structured Pruning: Before each round, the server identifies the most important neurons or convolution kernels. Unlike unstructured pruning, which removes individual weights, structured pruning results in smaller matrices that provide immediate speed gains without specialized hardware libraries.
- Dynamic Subnet Distribution: The server sends only the compact subnet to clients. This subnet is not static; it rotates over time to ensure all parameters in the global model are eventually updated.
- Parameter Reuse & Reconstruction: After receiving client updates, the server fuses them back into the global model. It "reuses" parameters that were pruned in that specific round to prevent the loss of previously learned information.
Pruning Mechanism and Importance Ranking
The framework utilizes a layer-wise pruning approach. For each layer, the importance of filters or neurons is evaluated using criteria such as the L1-norm (the sum of absolute values). This ensures that only the most significant features are transmitted for training.
As shown in Figure 2, the importance ranking allows the server to generate a mask ($M$) where $M=1$ represents kept parameters and $M=0$ represents pruned ones. This structured approach is essential for complex architectures like CNNs to prevent the model from diverging during the training process.
Experimental Results
The framework was evaluated using MNIST (on a 5-layer fully connected network) and CIFAR-10 (on VGG16) under both IID and Non-IID scenarios. The results demonstrate significant efficiency gains over the standard FedAvg baseline:
- Resource Efficiency: For MNIST/FC with a 70% pruning rate, computation was reduced by 72.27% and memory usage by 72.17%. For CIFAR-10/VGG16, computation and memory usage were reduced by 63.39% and 59.78%, respectively.
- Communication Speed: Upstream and downstream communication speeds were boosted by up to 17x.
- Accuracy and Convergence: In several tests, the pruned models exceeded the accuracy of the full-model baseline. This suggests that pruning acts as a form of regularization, preventing overfitting. Furthermore, the method reached target accuracy levels in fewer rounds compared to state-of-the-art alternatives like PruneFL.
Conclusion and Future Work
This research provides a robust solution for deploying FL on low-power hardware by shifting the pruning burden to the server. While highly effective, future iterations of the framework could incorporate "personalized" pruning rates tailored to the specific hardware specifications of individual devices and utilize reinforcement learning for more intelligent participant selection in dynamic network environments.
Summary updated