arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.04652cs.CR
收藏

使用同态加密评估隐私感知支持向量机(SVM)学习

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

William J Buchanan, Hisham Ali

AI总结:

本文评估了在全同态加密环境下使用OpenFHE库实现支持向量机(SVM)的性能开销,发现环维度和模数大小是影响性能的主要参数,且SVM-Poly与SVM-Linear性能相近。

摘要:

随着我们在机器学习训练中继续使用PII(个人身份信息),对隐私感知机器学习的需求日益增加。为了克服这些隐私问题,我们可以在将数据输入机器学习模型之前,应用全同态加密(FHE)对数据进行加密。这涉及创建同态加密密钥对,其中关联的公钥将用于加密输入数据,私钥将用于解密输出。但是,使用同态加密通常会导致性能下降,因此本文评估了将SVM机器学习技术与OpenFHE同态加密库结合使用时的性能开销。该实现使用Python和scikit-learn库。实验包括一系列变量,如乘法深度、缩放大小、第一模数大小、安全级别、批大小和环维度,以及两种不同的SVM模型:SVM-Poly和SVM-Linear。总体而言,结果表明影响性能的两个主要参数是环维度和模数大小,并且SVM-Poly和SVM-Linear表现出相似的性能水平。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑