[Paper Review] FedML-HE: An Efficient Homomorphic-Encryption-Based Privacy-Preserving Federated Learning System
FedML-HE introduces selective parameter encryption to enable efficient HE-based privacy-preserving federated learning, achieving substantial overhead reductions while maintaining strong privacy guarantees for large models.
Federated Learning trains machine learning models on distributed devices by aggregating local model updates instead of local data. However, privacy concerns arise as the aggregated local models on the server may reveal sensitive personal information by inversion attacks. Privacy-preserving methods, such as homomorphic encryption (HE), then become necessary for FL training. Despite HE's privacy advantages, its applications suffer from impractical overheads, especially for foundation models. In this paper, we present FedML-HE, the first practical federated learning system with efficient HE-based secure model aggregation. FedML-HE proposes to selectively encrypt sensitive parameters, significantly reducing both computation and communication overheads during training while providing customizable privacy preservation. Our optimized system demonstrates considerable overhead reduction, particularly for large foundation models (e.g., ~10x reduction for ResNet-50, and up to ~40x reduction for BERT), demonstrating the potential for scalable HE-based FL deployment.
Motivation & Objective
- Motivate privacy concerns in standard FL where plaintext model updates can leak data.
- Propose an efficient HE-based FL system with selective encryption to reduce computational and communication overheads.
- Enable secure aggregation and foundation-model training in a practical, scalable way.
Proposed method
- Propose selective parameter encryption to encrypt only the most privacy-sensitive model parameters.
- Use a three-stage FedML-HE workflow: encryption key agreement, encryption mask calculation, and encrypted federated learning.
- Employ a single-key HE setup with optional threshold variants and a privacy map to guide encryption choices.
- Aggregate ciphertexts on the server via a partially encrypted global model using an encryption mask M.
- Provide a theoretical privacy analysis showing zero-DP privacy under encryption and DP-style guarantees for partial encryption.
- Evaluate overheads and defense performance using CIFAR-100 and language-model inversion attacks across models like LeNet, ResNet-50, and BERT.
Experimental results
Research questions
- RQ1How can selective parameter encryption reduce HE overheads in federated learning without compromising privacy?
- RQ2What is the trade-off between privacy guarantees and communication/computation costs when encrypting only a subset of parameters?
- RQ3How does FedML-HE perform in terms of overhead and privacy against state-of-the-art ML privacy attacks for large models?
- RQ4Can the proposed framework support efficient foundation-model federated training with HE?
Key findings
- Selective Parameter Encryption reduces HE overheads; encrypting 10% of parameters yields overheads close to plaintext aggregation for medium/large models.
- FedML-HE achieves up to ~10x reduction in overhead for ResNet-50 and up to ~40x for BERT compared with naive HE-based FL.
- The encryption mask M is computed from a global privacy map derived from local sensitivity maps, enabling targeted encryption.
- Experiments show robustness against gradient inversion attacks on CV (LeNet/CIFAR-100) and NLP (BERT) tasks.
- The framework supports secure key management, encrypted FL deployment, and optimized HE integration within a modular software stack.
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.