Paper 2025/417

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

William J Buchanan, Edinburgh Napier University
Hisham Ali, Edinburgh Napier University
Abstract

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.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
Keywords
homomorphic encryptionSupport Vector Machineprivacy-aware
Contact author(s)
b buchanan @ napier ac uk
h ali @ napier ac uk
History
2025-03-05: approved
2025-03-04: received
See all versions
Short URL
https://ia.cr/2025/417
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2025/417,
      author = {William J Buchanan and Hisham Ali},
      title = {Evaluation of Privacy-aware Support Vector Machine ({SVM}) Learning using Homomorphic Encryption},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/417},
      year = {2025},
      url = {https://eprint.iacr.org/2025/417}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.