Lune

USENIX ATC2020Top-tier venue

BatchCrypt: Efficient Homomorphic Encryption for Cross-Silo Federated Learning

Chengliang Zhang, Suyi Li, Junzhe Xia, Wei Wang, Feng Yan, Yang Liu

Abstract

Cross-silo federated learning (FL) enables organizations (e.g., financial or medical) to collaboratively train a machine learning model by aggregating local gradient updates from each client without sharing privacy-sensitive data. To ensure no update is revealed during aggregation, industrial FL frameworks allow clients to mask local gradient updates using additively homomorphic encryption (HE). However, this results in significant cost in computation and communication. In our characterization, HE operations dominate the training time, while inflating the data transfer amount by two orders of magnitude. In this paper, we present BatchCrypt, a system solution for cross-silo FL that substantially reduces the encryption and communication overhead caused by HE. Instead of encrypting individual gradients with full precision, we encode a batch of quantized gradients into a long integer and encrypt it in one go. To allow gradient-wise aggregation to be performed on ciphertexts of the encoded batches, we develop new quantization and encoding schemes along with a novel gradient clipping technique. We implemented BatchCrypt as a plug-in module in FATE, an industrial cross-silo FL framework. Evaluations with EC2 clients in geo-distributed datacenters show that BatchCrypt achieves 23×-93× training speedup while reducing the communication overhead by 66×-101×. The accuracy loss due to quantization errors is less than 1%. Copyright © Proc. of the 2020 USENIX Annual Technical Conference, ATC 2020. All rights reserved.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

46 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Cerebro: A Platform for Multi-Party Cryptographic Collaborative Learning cites Practical Secure Aggregation for Privacy-Preserving Machine Learning
  • Cerebro: A Platform for Multi-Party Cryptographic Collaborative Learning cites ABY3: A Mixed Protocol Framework for Machine Learning
  • Cerebro: A Platform for Multi-Party Cryptographic Collaborative Learning cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • Cerebro: A Platform for Multi-Party Cryptographic Collaborative Learning cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Eluding Secure Aggregation in Federated Learning via Model Inconsistency cites Practical Secure Aggregation for Privacy-Preserving Machine Learning
  • Eluding Secure Aggregation in Federated Learning via Model Inconsistency cites Cerebro: A Platform for Multi-Party Cryptographic Collaborative Learning
  • GAZELLE: A Low Latency Framework for Secure Neural Network Inference cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers46

  1. PartialFed: Cross-Domain Personalized Federated Learning via Partial InitializationBenyuan Sun, Hongxing Huo, Yi Yang, Bo BaiNeurIPS 2021 · 145 citations
  2. Eluding Secure Aggregation in Federated Learning via Model InconsistencyDario Pasquini, Danilo Francati, Giuseppe AtenieseCCS 2022 · 92 citations
  3. Cerebro: A Platform for Multi-Party Cryptographic Collaborative LearningWenting Zheng, Ryan Deng, Weikeng Chen, Raluca Ada Popa et al.USENIX Security 2021 · 85 citations
  4. FwdLLM: Efficient Federated Finetuning of Large Language Models with Perturbed InferencesMengwei Xu, Dongqi Cai, Yaozong Wu, Xiang Li et al.USENIX ATC 2024 · 78 citations
  5. An Accuracy-Lossless Perturbation Method for Defending Privacy Attacks in Federated LearningXue Yang, Yan Feng, Weijun Fang, Jun Shao et al.WWW 2022 · 53 citations

Builds on5

  1. Practical Secure Aggregation for Privacy-Preserving Machine LearningKallista A. Bonawitz, Vladimir Ivanov, Ben Kreuter, Antonio Marcedone et al.CCS 2017 · 3,936 citations
  2. SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 citations
  3. GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 citations
  4. ABY3: A Mixed Protocol Framework for Machine LearningPayman Mohassel, Peter RindalCCS 2018 · 898 citations
  5. Don't Use Large Mini-batches, Use Local SGDTao Lin, Sebastian U. Stich, Kumar Kshitij Patel, Martin JaggiICLR 2020 · 462 citations

Related papers

  1. Efficient and Straggler-Resistant Homomorphic Encryption for Heterogeneous Federated LearningNan Yan, Yuqing Li, Jing Chen, Xiong Wang et al.INFOCOM 2024 · 27 citations
  2. Accelerating Privacy-Preserving Machine Learning With GeniBatchXinyang Huang, Junxue Zhang, Xiaodian Cheng, Hong Zhang et al.EuroSys 2024 · 8 citations
  3. FLASH: Towards a High-performance Hardware Acceleration Architecture for Cross-silo Federated LearningJunxue Zhang, Xiaodian Cheng, Wei Wang, Liu Yang et al.NSDI 2023 · 29 citations
  4. Flagger: Cooperative Acceleration for Large-Scale Cross-Silo Federated Learning AggregationXiurui Pan, Yuda An, Shengwen Liang, Bo Mao et al.ISCA 2024 · 6 citations
  5. AHE: Adaptive Homomorphic Encryption for Customizable Privacy in Heterogeneous Federated LearningJiaxiang Tang, Xinran Wang, Qi Le, Kangjie Lu et al.INFOCOM 2026
Dusk over the sea between two cliffs drawn in fine vertical lines