A Practical Implementation of Medical Privacy-Preserving Federated Learning Using Multi-Key Homomorphic Encryption and Flower Framework
The digitization of healthcare data has presented a pressing need to address privacy concerns within the realm of machine learning for healthcare institutions. One promising solution is federated learning, which enables collaborative training of deep machine learning models among medical institution...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2023-10-01
|
Series: | Cryptography |
Subjects: | |
Online Access: | https://www.mdpi.com/2410-387X/7/4/48 |
_version_ | 1827575197028319232 |
---|---|
author | Ivar Walskaar Minh Christian Tran Ferhat Ozgur Catak |
author_facet | Ivar Walskaar Minh Christian Tran Ferhat Ozgur Catak |
author_sort | Ivar Walskaar |
collection | DOAJ |
description | The digitization of healthcare data has presented a pressing need to address privacy concerns within the realm of machine learning for healthcare institutions. One promising solution is federated learning, which enables collaborative training of deep machine learning models among medical institutions by sharing model parameters instead of raw data. This study focuses on enhancing an existing privacy-preserving federated learning algorithm for medical data through the utilization of homomorphic encryption, building upon prior research. In contrast to the previous paper, this work is based upon Wibawa, using a single key for HE, our proposed solution is a practical implementation of a preprint with a proposed encryption scheme (xMK-CKKS) for implementing multi-key homomorphic encryption. For this, our work first involves modifying a simple “ring learning with error” RLWE scheme. We then fork a popular federated learning framework for Python where we integrate our own communication process with protocol buffers before we locate and modify the library’s existing training loop in order to further enhance the security of model updates with the multi-key homomorphic encryption scheme. Our experimental evaluations validate that, despite these modifications, our proposed framework maintains a robust model performance, as demonstrated by consistent metrics including validation accuracy, precision, f1-score, and recall. |
first_indexed | 2024-03-08T20:52:46Z |
format | Article |
id | doaj.art-753182b274354dc68fe30a08c3852dac |
institution | Directory Open Access Journal |
issn | 2410-387X |
language | English |
last_indexed | 2024-03-08T20:52:46Z |
publishDate | 2023-10-01 |
publisher | MDPI AG |
record_format | Article |
series | Cryptography |
spelling | doaj.art-753182b274354dc68fe30a08c3852dac2023-12-22T14:01:42ZengMDPI AGCryptography2410-387X2023-10-01744810.3390/cryptography7040048A Practical Implementation of Medical Privacy-Preserving Federated Learning Using Multi-Key Homomorphic Encryption and Flower FrameworkIvar Walskaar0Minh Christian Tran1Ferhat Ozgur Catak2Department of Electrical Engineering and Computer Science, University of Stavanger, 4021 Rogaland, NorwayDepartment of Electrical Engineering and Computer Science, University of Stavanger, 4021 Rogaland, NorwayDepartment of Electrical Engineering and Computer Science, University of Stavanger, 4021 Rogaland, NorwayThe digitization of healthcare data has presented a pressing need to address privacy concerns within the realm of machine learning for healthcare institutions. One promising solution is federated learning, which enables collaborative training of deep machine learning models among medical institutions by sharing model parameters instead of raw data. This study focuses on enhancing an existing privacy-preserving federated learning algorithm for medical data through the utilization of homomorphic encryption, building upon prior research. In contrast to the previous paper, this work is based upon Wibawa, using a single key for HE, our proposed solution is a practical implementation of a preprint with a proposed encryption scheme (xMK-CKKS) for implementing multi-key homomorphic encryption. For this, our work first involves modifying a simple “ring learning with error” RLWE scheme. We then fork a popular federated learning framework for Python where we integrate our own communication process with protocol buffers before we locate and modify the library’s existing training loop in order to further enhance the security of model updates with the multi-key homomorphic encryption scheme. Our experimental evaluations validate that, despite these modifications, our proposed framework maintains a robust model performance, as demonstrated by consistent metrics including validation accuracy, precision, f1-score, and recall.https://www.mdpi.com/2410-387X/7/4/48data privacyhomomorphic encryptionmulti keymedical data |
spellingShingle | Ivar Walskaar Minh Christian Tran Ferhat Ozgur Catak A Practical Implementation of Medical Privacy-Preserving Federated Learning Using Multi-Key Homomorphic Encryption and Flower Framework Cryptography data privacy homomorphic encryption multi key medical data |
title | A Practical Implementation of Medical Privacy-Preserving Federated Learning Using Multi-Key Homomorphic Encryption and Flower Framework |
title_full | A Practical Implementation of Medical Privacy-Preserving Federated Learning Using Multi-Key Homomorphic Encryption and Flower Framework |
title_fullStr | A Practical Implementation of Medical Privacy-Preserving Federated Learning Using Multi-Key Homomorphic Encryption and Flower Framework |
title_full_unstemmed | A Practical Implementation of Medical Privacy-Preserving Federated Learning Using Multi-Key Homomorphic Encryption and Flower Framework |
title_short | A Practical Implementation of Medical Privacy-Preserving Federated Learning Using Multi-Key Homomorphic Encryption and Flower Framework |
title_sort | practical implementation of medical privacy preserving federated learning using multi key homomorphic encryption and flower framework |
topic | data privacy homomorphic encryption multi key medical data |
url | https://www.mdpi.com/2410-387X/7/4/48 |
work_keys_str_mv | AT ivarwalskaar apracticalimplementationofmedicalprivacypreservingfederatedlearningusingmultikeyhomomorphicencryptionandflowerframework AT minhchristiantran apracticalimplementationofmedicalprivacypreservingfederatedlearningusingmultikeyhomomorphicencryptionandflowerframework AT ferhatozgurcatak apracticalimplementationofmedicalprivacypreservingfederatedlearningusingmultikeyhomomorphicencryptionandflowerframework AT ivarwalskaar practicalimplementationofmedicalprivacypreservingfederatedlearningusingmultikeyhomomorphicencryptionandflowerframework AT minhchristiantran practicalimplementationofmedicalprivacypreservingfederatedlearningusingmultikeyhomomorphicencryptionandflowerframework AT ferhatozgurcatak practicalimplementationofmedicalprivacypreservingfederatedlearningusingmultikeyhomomorphicencryptionandflowerframework |