Secure Multi-Key Homomorphic Encryption with Application to Privacy-Preserving Federated Learning

Jiahui Wu, Tiecheng Sun, Fucai Luo, Haiyan Wang, Weizhe ZhangarXiv 2025 · OpenReview

Abstract

Multi-Key Homomorphic Encryption (MKHE) is a promising primitive for secure multi-party computation, allowing multiple users to perform joint computations on encrypted data without sharing private keys. However, this paper identifies a significant security flaw in existing state-of-the-art MKHE schemes, such as the CDKS scheme, which can leak individual user data during the collaborative decryption process. We propose SMHE (Secure Multi-Key Homomorphic Encryption), a robust framework that introduces a novel structured masking mechanism to ensure data privacy even against curious servers or colluding participants. SMHE achieves linear ciphertext expansion and manages computational noise through gadget decomposition. Our evaluation on MNIST and CIFAR-10 datasets shows that SMHE provides rigorous security with less than 2x overhead compared to insecure schemes, making it a practical solution for dynamic federated learning.

Introduction

Homomorphic Encryption (HE) has long been considered the "holy grail" of privacy-preserving computation, enabling servers to process data without accessing its plaintext content. While standard HE requires a single shared key, Multi-Key HE (MKHE) offers greater flexibility by allowing different users to encrypt data with their own unique keys. This flexibility is crucial for applications like Federated Learning (FL), where multiple clients contribute to a global model.

The FL system model illustrating the exchange of local and global parameters between clients and a central server.

Despite its potential, current MKHE implementations face a critical vulnerability. The authors demonstrate that the "gold standard" CDKS scheme is susceptible to a "one-line attack." During the collaborative decryption phase, the mathematical structure of partial decryption shares allows a curious server or malicious peer to reverse-engineer an individual user's private input. This vulnerability undermines the fundamental goal of secure multi-party computation: revealing only the final result.

The SMHE Framework

To address these security gaps, we introduce SMHE. The framework is designed to be "dynamic," allowing users to join or leave the computation on-the-fly—a necessary feature for real-world FL where mobile devices often experience connectivity issues.

Technical Innovations

SMHE incorporates three primary technical advancements to ensure security and efficiency:

  1. Structured Masking: SMHE attaches a "masking triple" to each input. This mask introduces fresh randomness, ensuring that intermediate ciphertexts are statistically independent of the underlying data. The data is only "unmasked" during the final joint decryption step.
  2. Linear-Size Expansion: Unlike previous masking techniques that caused quadratic growth in ciphertext size relative to the number of users, SMHE utilizes a new expansion procedure for polynomial rings (BFV and CKKS schemes). This ensures that communication costs scale linearly with the number of participants.
  3. Gadget Decomposition: To prevent the accumulation of "noise" from random masks—which could otherwise corrupt the data—SMHE employs gadget decomposition. This technique breaks large numerical values into smaller "digits," keeping noise within manageable bounds for accurate decryption.
Key symbols and mathematical interpretations used in the SMHE framework.

Experimental Evaluation

The authors evaluated SMHE using two standard machine learning benchmarks:

  • MNIST: Training a Fully Connected Network (FCN) for handwritten digit recognition.
  • CIFAR-10: Training an AlexNet convolutional neural network for image classification.

Key Results

  • Security: SMHE successfully mitigates the "one-line attack," achieving simulation-based security standards.
  • Performance: The overhead introduced by SMHE is modest. In the AlexNet/CIFAR-10 test, client-side runtime increased from ~2.7s (insecure) to ~4.6s (secure)—a less than 2x increase.
  • Scalability: SMHE is significantly faster than older bit-level MKHE schemes like MKGSW, which are often too slow for practical neural network training.
  • Robustness: In scenarios with 50% client dropout, SMHE maintained high model accuracy (>85% for MNIST), outperforming Threshold HE (THE) schemes which typically fail when dropouts exceed a fixed threshold.

Conclusion

SMHE provides a secure and efficient alternative to existing MKHE schemes by closing the data leakage loophole through structured masking and linear expansion. While the current model assumes "semi-honest" participants, future work could incorporate Zero-Knowledge Proofs (ZKPs) to protect against malicious actors who might submit corrupted data. SMHE represents a significant step toward practical, privacy-preserving federated learning in dynamic environments.

Summary updated

BibTeX
@misc{wu2025secure,
  author = {Jiahui Wu and Tiecheng Sun and Fucai Luo and Haiyan Wang and Weizhe Zhang},
  title = {{Secure Multi-Key Homomorphic Encryption with Application to Privacy-Preserving Federated Learning}},
  year = {2025},
  eprint = {2506.20101},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.20101},
}
Figure