Skip to main content
QUICK REVIEW

[Paper Review] Distributed Additive Encryption and Quantization for Privacy Preserving Federated Deep Learning

Hangyu Zhu, Rui Wang|arXiv (Cornell University)|Nov 25, 2020
Privacy-Preserving Technologies in DataComputer Science48 references6 citations
TL;DR

This paper proposes a distributed, efficient, and privacy-preserving federated learning framework using additive homomorphic encryption with client-side quantization and threshold-based secret sharing. By enabling distributed key generation and avoiding full model encryption, the method reduces communication and computational overhead while maintaining model accuracy within 1% of non-encrypted FL, even under adversarial conditions.

ABSTRACT

Homomorphic encryption is a very useful gradient protection technique used in privacy preserving federated learning. However, existing encrypted federated learning systems need a trusted third party to generate and distribute key pairs to connected participants, making them unsuited for federated learning and vulnerable to security risks. Moreover, encrypting all model parameters is computationally intensive, especially for large machine learning models such as deep neural networks. In order to mitigate these issues, we develop a practical, computationally efficient encryption based protocol for federated deep learning, where the key pairs are collaboratively generated without the help of a third party. By quantization of the model parameters on the clients and an approximated aggregation on the server, the proposed method avoids encryption and decryption of the entire model. In addition, a threshold based secret sharing technique is designed so that no one can hold the global private key for decryption, while aggregated ciphertexts can be successfully decrypted by a threshold number of clients even if some clients are offline. Our experimental results confirm that the proposed method significantly reduces the communication costs and computational complexity compared to existing encrypted federated learning without compromising the performance and security.

Motivation & Objective

  • To eliminate reliance on a trusted third party for key distribution in homomorphic encryption-based federated learning.
  • To reduce the computational and communication overhead of encrypting large deep learning models by quantizing model parameters on clients.
  • To ensure security through threshold-based secret sharing, where decryption requires cooperation from a subset of clients.
  • To maintain model performance comparable to non-encrypted federated learning despite parameter quantization and encryption.

Proposed method

  • Clients perform local training and quantize model gradients to low-bit representations (e.g., 8–15 bits) before encryption.
  • Additive ElGamal encryption is applied to quantized gradients, enabling homomorphic addition on the server without decryption.
  • A distributed key generation protocol allows clients to collaboratively generate public and private key shares without a trusted third party.
  • The server aggregates encrypted gradients using homomorphic addition, forming a single ciphertext per model layer.
  • A threshold secret sharing scheme ensures that only a quorum of clients can reconstruct the global private key for decryption.
  • Plaintext recovery via brute force is used only when necessary, and is feasible within acceptable timeframes for models with 15-bit or fewer encoding lengths.

Experimental results

Research questions

  • RQ1Can federated learning be made secure against gradient inversion attacks without relying on a trusted third party for key management?
  • RQ2How does quantization of model parameters affect the trade-off between communication efficiency, computational cost, and model accuracy in encrypted FL?
  • RQ3Can a threshold-based secret sharing mechanism ensure secure and distributed decryption without a central authority?
  • RQ4What is the maximum quantization bit-length that maintains model performance while keeping plaintext recovery computationally feasible?
  • RQ5How does the proposed method compare to existing HE-based FL systems in terms of communication and computational overhead?

Key findings

  • The proposed method reduces communication and computational costs significantly compared to existing encrypted federated learning systems, with negligible impact on model performance.
  • Model accuracy degrades by only about 1% when using 15-bit quantization on the Shakespeare dataset, compared to non-encrypted FL.
  • The method remains secure and functional even when some clients are offline, as long as a threshold number of clients participate in decryption.
  • Brute-force plaintext recovery is feasible within acceptable timeframes for models with up to 15-bit encoding, and becomes faster as training converges.
  • The system achieves CPA security under the Decisional Diffie-Hellman assumption, ensuring confidentiality of encrypted gradients.
  • The distributed key generation protocol eliminates the need for a trusted third party, enhancing system resilience and scalability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.