Evaluation of Privacy-Preserving Support Vector Machine (SVM) Learning Using Homomorphic Encryption
The requirement for privacy-aware machine learning increases as we continue to use PII (personally identifiable information) within machine training. To overcome the existing privacy issues, we can apply fully homomorphic encryption (FHE) to encrypt data before they are fed into a machine learning m...
Saved in:
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2025-05-01
|
Series: | Cryptography |
Subjects: | |
Online Access: | https://www.mdpi.com/2410-387X/9/2/33 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
_version_ | 1839654361299419136 |
---|---|
author | William J. Buchanan Hisham Ali |
author_facet | William J. Buchanan Hisham Ali |
author_sort | William J. Buchanan |
collection | DOAJ |
description | The requirement for privacy-aware machine learning increases as we continue to use PII (personally identifiable information) within machine training. To overcome the existing privacy issues, we can apply fully homomorphic encryption (FHE) to encrypt data before they are fed into a machine learning model. This involves generating a homomorphic encryption key pair, where the public key encrypts the input data and the private key decrypts the output. However, there is often a performance hit when we use homomorphic encryption, so this paper evaluates the performance overhead of using an SVM (support vector machine) machine learning technique with the OpenFHE homomorphic encryption library. This uses Python and the scikit-learn library to create an SVM model, which can then be used with homomorphically encrypted data inputs and then produce a homomorphically encrypted result. The experiments include a range of variables, such as multiplication depth, scale size, first modulus size, security level, batch size, and ring dimension, along with two different SVM models, SVM-poly and SVM-linear. Overall, the results show that the two main parameters that affect performance are ring dimension and modulus size, and SVM-poly and SVM-linear show similar performance levels. |
format | Article |
id | doaj-art-abbc09f28ce74b09a4c1795ca3e40e29 |
institution | Matheson Library |
issn | 2410-387X |
language | English |
publishDate | 2025-05-01 |
publisher | MDPI AG |
record_format | Article |
series | Cryptography |
spelling | doaj-art-abbc09f28ce74b09a4c1795ca3e40e292025-06-25T13:40:51ZengMDPI AGCryptography2410-387X2025-05-01923310.3390/cryptography9020033Evaluation of Privacy-Preserving Support Vector Machine (SVM) Learning Using Homomorphic EncryptionWilliam J. Buchanan0Hisham Ali1Blockpass ID Lab, Edinburgh Napier University, Edinburgh EH10 5DT, UKBlockpass ID Lab, Edinburgh Napier University, Edinburgh EH10 5DT, UKThe requirement for privacy-aware machine learning increases as we continue to use PII (personally identifiable information) within machine training. To overcome the existing privacy issues, we can apply fully homomorphic encryption (FHE) to encrypt data before they are fed into a machine learning model. This involves generating a homomorphic encryption key pair, where the public key encrypts the input data and the private key decrypts the output. However, there is often a performance hit when we use homomorphic encryption, so this paper evaluates the performance overhead of using an SVM (support vector machine) machine learning technique with the OpenFHE homomorphic encryption library. This uses Python and the scikit-learn library to create an SVM model, which can then be used with homomorphically encrypted data inputs and then produce a homomorphically encrypted result. The experiments include a range of variables, such as multiplication depth, scale size, first modulus size, security level, batch size, and ring dimension, along with two different SVM models, SVM-poly and SVM-linear. Overall, the results show that the two main parameters that affect performance are ring dimension and modulus size, and SVM-poly and SVM-linear show similar performance levels.https://www.mdpi.com/2410-387X/9/2/33homomorphic encryptionsupport vector machineprivacy-preserving |
spellingShingle | William J. Buchanan Hisham Ali Evaluation of Privacy-Preserving Support Vector Machine (SVM) Learning Using Homomorphic Encryption Cryptography homomorphic encryption support vector machine privacy-preserving |
title | Evaluation of Privacy-Preserving Support Vector Machine (SVM) Learning Using Homomorphic Encryption |
title_full | Evaluation of Privacy-Preserving Support Vector Machine (SVM) Learning Using Homomorphic Encryption |
title_fullStr | Evaluation of Privacy-Preserving Support Vector Machine (SVM) Learning Using Homomorphic Encryption |
title_full_unstemmed | Evaluation of Privacy-Preserving Support Vector Machine (SVM) Learning Using Homomorphic Encryption |
title_short | Evaluation of Privacy-Preserving Support Vector Machine (SVM) Learning Using Homomorphic Encryption |
title_sort | evaluation of privacy preserving support vector machine svm learning using homomorphic encryption |
topic | homomorphic encryption support vector machine privacy-preserving |
url | https://www.mdpi.com/2410-387X/9/2/33 |
work_keys_str_mv | AT williamjbuchanan evaluationofprivacypreservingsupportvectormachinesvmlearningusinghomomorphicencryption AT hishamali evaluationofprivacypreservingsupportvectormachinesvmlearningusinghomomorphicencryption |