arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.03727cs.LGcs.CRstat.ML
收藏

基于近似激活函数的同态加密高精度CNN推断

Highly Accurate CNN Inference Using Approximate Activation Functions over Homomorphic Encryption

Waseda University(早稻田大学)

Takumi Ishiyama, Takuya Suzuki, Hayato Yamana

摘要:

在大数据时代,基于云的机器学习即服务(MLaaS)引起了相当大的关注。然而,当处理敏感数据时,如财务和医疗数据,就会出现隐私问题,因为云服务器可以访问客户端的原始数据。在云中处理敏感数据的一种常见方法是使用同态加密,它允许在不解密的情况下对加密数据进行计算。以往的研究通常采用低次多项式映射函数,如平方函数,进行数据分类。然而,这种技术导致低分类精度。在这项研究中,我们试图提高分类精度的卷积神经网络(CNN)的推理处理,同时使用同态加密。我们采用了一个激活函数,近似谷歌的Swish激活函数,同时使用四阶多项式。我们还采用批量归一化来归一化Swish函数的输入,以拟合输入范围,从而使误差最小化。我们使用微软的Cheon-Kim-Kim-Song(CKKS)方案的简单加密算术库在同态加密上实现了CNN推理标记。实验评估证实,MNIST和CIFAR-10的分类准确率分别为99.22%和80.48%,比以前的方法分别提高了0.04%和4.11%。

英文摘要:

In the big data era, cloud-based machine learning as a service (MLaaS) has attracted considerable attention. However, when handling sensitive data, such as financial and medical data, a privacy issue emerges, because the cloud server can access clients' raw data. A common method of handling sensitive data in the cloud uses homomorphic encryption, which allows computation over encrypted data without decryption. Previous research usually adopted a low-degree polynomial mapping function, such as the square function, for data classification. However, this technique results in low classification accuracy. In this study, we seek to improve the classification accuracy for inference processing in a convolutional neural network (CNN) while using homomorphic encryption. We adopt an activation function that approximates Google's Swish activation function while using a fourth-order polynomial. We also adopt batch normalization to normalize the inputs for the Swish function to fit the input range to minimize the error. We implemented CNN inference labeling over homomorphic encryption using the Microsoft's Simple Encrypted Arithmetic Library for the Cheon-Kim-Kim-Song (CKKS) scheme. The experimental evaluations confirmed classification accuracies of 99.22% and 80.48% for MNIST and CIFAR-10, respectively, which entails 0.04% and 4.11% improvements, respectively, over previous methods.

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

↑