Skip to main content
QUICK REVIEW

[Paper Review] Homomorphic Encryption and Federated Learning based Privacy-Preserving CNN Training: COVID-19 Detection Use-Case

Febrianti Wibawa, Ferhat Özgür Çatak|arXiv (Cornell University)|Apr 16, 2022
Privacy-Preserving Technologies in DataComputer Science5 citations
TL;DR

This paper proposes a privacy-preserving federated learning framework for COVID-19 detection using convolutional neural networks (CNNs), combining homomorphic encryption (HE) with secure multi-party computation to protect both data and model during training. The method achieves comparable performance to plain-text training (accuracy ~84%) while ensuring privacy, though with significantly increased execution time due to encryption overhead.

ABSTRACT

Medical data is often highly sensitive in terms of data privacy and security concerns. Federated learning, one type of machine learning techniques, has been started to use for the improvement of the privacy and security of medical data. In the federated learning, the training data is distributed across multiple machines, and the learning process is performed in a collaborative manner. There are several privacy attacks on deep learning (DL) models to get the sensitive information by attackers. Therefore, the DL model itself should be protected from the adversarial attack, especially for applications using medical data. One of the solutions for this problem is homomorphic encryption-based model protection from the adversary collaborator. This paper proposes a privacy-preserving federated learning algorithm for medical data using homomorphic encryption. The proposed algorithm uses a secure multi-party computation protocol to protect the deep learning model from the adversaries. In this study, the proposed algorithm using a real-world medical dataset is evaluated in terms of the model performance.

Motivation & Objective

  • To address privacy and security risks in medical AI training involving sensitive health data.
  • To mitigate privacy attacks on deep learning models, especially gradient-based membership and inversion attacks.
  • To integrate homomorphic encryption into federated learning for end-to-end privacy protection in multi-institutional settings.
  • To evaluate the performance trade-offs of encrypted training on real-world medical imaging data.
  • To demonstrate the feasibility of secure, privacy-preserving CNN training for healthcare applications.

Proposed method

  • Uses a federated learning setup where data remains localized across multiple clients (2–7), avoiding centralization.
  • Applies somewhat homomorphic encryption (SHE) to encrypt model weights and gradients during aggregation, enabling computation on encrypted data.
  • Employs a secure multi-party computation protocol to protect model parameters from adversarial collaborators.
  • Trains a CNN on a real-world COVID-19 X-ray dataset partitioned across clients, using ciphertext modulus values of 128 and 192 for security levels.
  • Compares model performance in plain and encrypted domains using standard metrics: accuracy, F1, precision, and recall.
  • Uses the HElib library for homomorphic encryption operations and evaluates execution time across different client counts and security levels.

Experimental results

Research questions

  • RQ1Can homomorphic encryption be effectively integrated into federated learning for medical image classification without degrading model performance?
  • RQ2How does the inclusion of homomorphic encryption affect training and inference execution time in a multi-client federated setup?
  • RQ3What is the impact of varying ciphertext modulus (128 vs. 192) on model accuracy and computational overhead?
  • RQ4How does model performance in the encrypted domain compare to the plain-text baseline across different numbers of clients?
  • RQ5To what extent does the proposed method protect against model inversion and membership inference attacks in a collaborative learning environment?

Key findings

  • The proposed method achieved an accuracy of 84.5% in the plain domain and 83.75–85.25% in the encrypted domain across 2 to 7 clients, indicating minimal performance degradation.
  • F1 scores remained stable around 0.83–0.85 across all configurations, with the best F1 of 0.868924 in the plain domain and 0.869584 under 192-bit encryption with 7 clients.
  • Execution times were significantly higher in the encrypted domain—especially with more clients—due to the computational cost of homomorphic operations, though the difference between 128 and 192-bit moduli was minimal for small client counts.
  • For some configurations, such as 5 clients, the plain model slightly outperformed the encrypted version in all metrics, suggesting a performance trade-off for enhanced privacy.
  • The model maintained consistent performance across varying client counts, indicating robustness to client number fluctuations in the federated setup.
  • The results confirm that privacy-preserving training via HE-federated learning is feasible for medical imaging, achieving high accuracy while protecting sensitive data and model parameters.

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.