[Paper Review] ESMFL: Efficient and Secure Models for Federated Learning
ESMFL proposes a privacy-preserving federated learning framework leveraging Intel SGX for secure model aggregation and weight pruning to reduce communication costs. By integrating ADMM-based pruning with SGX-protected enclaves, it achieves up to 87× model compression with minimal accuracy loss, reducing communication by 48.78% and total training time by 2.4× on MNIST and 1.8× on CIFAR-10.
Nowadays, Deep Neural Networks are widely applied to various domains. However, massive data collection required for deep neural network reveals the potential privacy issues and also consumes large mounts of communication bandwidth. To address these problems, we propose a privacy-preserving method for the federated learning distributed system, operated on Intel Software Guard Extensions, a set of instructions that increase the security of application code and data. Meanwhile, the encrypted models make the transmission overhead larger. Hence, we reduce the commutation cost by sparsification and it can achieve reasonable accuracy with different model architectures.
Motivation & Objective
- Address the high communication cost and privacy risks in federated learning due to large model transfers and gradient leakage.
- Reduce communication overhead in federated learning without degrading model accuracy, especially on resource-constrained edge devices.
- Enhance data privacy in federated learning by eliminating noise-based differential privacy, which degrades model performance.
- Enable extreme model compression through structured weight pruning while maintaining high accuracy in both IID and non-IID data settings.
- Optimize end-to-end training time by minimizing expensive enclave calls (ECALL/OCALL) and accelerating local training and aggregation.
Proposed method
- Integrates Intel Software Guard Extensions (SGX) to create a trusted execution environment (enclave) for secure model aggregation and key management.
- Employs an ADMM-based pruning algorithm with adaptive regularization to train sparse models efficiently and maintain accuracy.
- Uses CSR (Compressed Sparse Row) format to compress model weights before transmission, reducing communication volume.
- Applies client-side encryption of model updates and secure key distribution via remote attestation to ensure data confidentiality.
- Minimizes ECall and OCall overheads in SGX by batching operations and optimizing data transfer between clients and the CSP.
- Performs global model aggregation within the SGX enclave to prevent tampering and unauthorized access to gradients or model parameters.
Experimental results
Research questions
- RQ1Can weight pruning be effectively integrated with SGX-protected federated learning to reduce communication costs without sacrificing model accuracy?
- RQ2How does the proposed ADMM-based regularization method improve convergence and sparsity in federated pruning compared to baseline methods?
- RQ3To what extent can model compression reduce communication overhead in federated learning while maintaining performance on non-IID data?
- RQ4What is the impact of SGX-based security on end-to-end training time, particularly in terms of ECall and OCall latency?
- RQ5How does ESMFL compare to noise-augmented federated learning in terms of accuracy and communication efficiency under the same pruning ratio?
Key findings
- On LeNet-5 with MNIST, ESMFL achieved 98.78% test accuracy with 9.99× model compression and 97.60% accuracy on non-IID data, reducing communication by 34.85% and total time by 1.8×.
- With 87× compression on MNIST, ESMFL reduced total training time by 2.4× and communication cost by 48.78% compared to non-compressed federated learning.
- For MobileNetV2 on CIFAR-10, ESMFL reached 85.40% accuracy at 4.95× compression and 81.66% on non-IID data, cutting communication by 15.85% and time by 1.2×.
- At 8.7× compression on CIFAR-10, ESMFL reduced communication cost by 31.3% and total elapsed time by 1.8×, outperforming baseline methods.
- The framework achieved higher accuracy than masked pruning at equivalent sparsity levels—e.g., 81.66% vs. 80.44% on non-IID CIFAR-10 at 79.8% sparsity.
- For larger models like MobileNetV2, ECall and OCall times became critical bottlenecks, and optimization of these operations significantly improved performance.
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.