Evaluation of Privacy-aware Support Vector Machine (SVM) Learning using Homomorphic Encryption

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Buchanan, William J, Ali, Hisham
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916645361942528
author Buchanan, William J
Ali, Hisham
author_facet Buchanan, William J
Ali, Hisham
contents The requirement for privacy-aware machine learning increases as we continue to use PII (Personally Identifiable Information) within machine training. To overcome these privacy issues, we can apply Fully Homomorphic Encryption (FHE) to encrypt data before it is fed into a machine learning model. This involves creating a homomorphic encryption key pair, and where the associated public key will be used to encrypt the input data, and the private key will decrypt the output. But, there is often a performance hit when we use homomorphic encryption, and so this paper evaluates the performance overhead of using the SVM machine learning technique with the OpenFHE homomorphic encryption library. This uses Python and the scikit-learn library for its implementation. 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 which affect performance are the ring dimension and the modulus size, and that SVM-Poly and SVM-Linear show similar performance levels.
format Preprint
id arxiv_https___arxiv_org_abs_2503_04652
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Evaluation of Privacy-aware Support Vector Machine (SVM) Learning using Homomorphic Encryption
Buchanan, William J
Ali, Hisham
Cryptography and Security
The requirement for privacy-aware machine learning increases as we continue to use PII (Personally Identifiable Information) within machine training. To overcome these privacy issues, we can apply Fully Homomorphic Encryption (FHE) to encrypt data before it is fed into a machine learning model. This involves creating a homomorphic encryption key pair, and where the associated public key will be used to encrypt the input data, and the private key will decrypt the output. But, there is often a performance hit when we use homomorphic encryption, and so this paper evaluates the performance overhead of using the SVM machine learning technique with the OpenFHE homomorphic encryption library. This uses Python and the scikit-learn library for its implementation. 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 which affect performance are the ring dimension and the modulus size, and that SVM-Poly and SVM-Linear show similar performance levels.
title Evaluation of Privacy-aware Support Vector Machine (SVM) Learning using Homomorphic Encryption
topic Cryptography and Security
url https://arxiv.org/abs/2503.04652