Homomorphic encryption is one of the representative solutions to privacy-preserving machine learning (PPML) classification enabling the server to classify private data of clients while guaranteeing privacy. This work focuses on PPML using word-wise fully homomorphic encryption (FHE). In order to implement deep learning on word-wise homomorphic encryption (HE), the ReLU and max-pooling functions should be approximated by some polynomials for homomorphic operations. Most of the previous studies focus on HE-friendly networks, where the ReLU and max-pooling functions are approximated using low-degree polynomials. However, for the classification of the CIFAR-10 dataset, using a low-degree polynomial requires designing a new deep learning model and training. In addition, this approximation by low-degree polynomials cannot support deeper neural networks due to large approximation errors. Thus, we propose a precise polynomial approximation technique for the ReLU and max-pooling functions. Precise approximation using a single polynomial requires an exponentially high-degree polynomial, which results in a significant number of non-scalar multiplications. Thus, we propose a method to approximate the ReLU and max-pooling functions accurately using a composition of minimax approximate polynomials of small degrees. If we replace the ReLU and max-pooling functions with the proposed approximate polynomials, well-studied deep learning models such as ResNet and VGGNet can still be used without further modification for PPML on FHE. Even pre-trained parameters can be used without retraining. We approximate the ReLU and max-pooling functions in the ResNet-152 using the composition of minimax approximate polynomials of degrees 15, 27, and 29. Then, we succeed in classifying the plaintext ImageNet dataset with 77.52% accuracy, which is very close to the original model accuracy of 78.31%.
翻译:基因加密是隐私保存机器学习分类( PPML) 的代表性解决方案之一, 使服务器能够对客户的私人数据进行分类, 同时保障隐私。 这项工作侧重于使用单词完全同质加密( FHE) 的 PPML 。 为了对单词同质加密( HE)、 ReLU 和最大集合功能进行深层次学习, 对于同质操作来说, 可以用一些多数值模型来比较。 先前的研究大多侧重于 He- 友好型网络, 其中 ReLU 和 最大集合值功能使用低度多数值多数值多数值多数值的多数值 。 然而, 使用 CIFAR- 10 数据集的分类需要使用低度完全同质加密( FHE) 。 此外, 低度同质加密和最大集合功能不能支持更深的神经网络网络网络网络。 因此, 我们建议使用精确的多数值方法来取代 ReLU 和最大集合功能。 使用单一多数值的多数值的多数值的多数值中, 将OI- RIL 和最接近值的精确的函数作为我们使用最接近的混合的混合的混合数据。