Fully homomorphic encryption (FHE) is one of the prospective tools for privacypreserving machine learning (PPML), and several PPML models have been proposed based on various FHE schemes and approaches. Although the FHE schemes are known as suitable tools to implement PPML models, previous PPML models on FHE encrypted data are limited to only simple and non-standard types of machine learning models. These non-standard machine learning models are not proven efficient and accurate with more practical and advanced datasets. Previous PPML schemes replace non-arithmetic activation functions with simple arithmetic functions instead of adopting approximation methods and do not use bootstrapping, which enables continuous homomorphic evaluations. Thus, they could not use standard activation functions and could not employ a large number of layers. The maximum classification accuracy of the existing PPML model with the FHE for the CIFAR-10 dataset was only 77% until now. In this work, we firstly implement the standard ResNet-20 model with the RNS-CKKS FHE with bootstrapping and verify the implemented model with the CIFAR-10 dataset and the plaintext model parameters. Instead of replacing the non-arithmetic functions with the simple arithmetic function, we use state-of-the-art approximation methods to evaluate these non-arithmetic functions, such as the ReLU, with sufficient precision [1]. Further, for the first time, we use the bootstrapping technique of the RNS-CKKS scheme in the proposed model, which enables us to evaluate a deep learning model on the encrypted data. We numerically verify that the proposed model with the CIFAR-10 dataset shows 98.67% identical results to the original ResNet-20 model with non-encrypted data. The classification accuracy of the proposed model is 90.67%, which is pretty close to that of the original ResNet-20 CNN model...
翻译:完全同质加密(FHE)是隐私保存机器学习(PPML)的潜在工具之一,并且根据各种FHE计划和办法提出了若干PPML模型。尽管FHE计划被认为是实施PPML模型的合适工具,但以前FHE加密数据中的PPML模型仅限于简单和非标准的机器学习模型类型。这些非标准机器学习模型证明不有效和准确,使用更实际和先进的数据集。以前的PPML计划用简单的计算功能取代非精密的加密启动功能,而不是采用近似方法,不使用靴式,从而能够持续进行同质评估。因此,他们无法使用标准的激活功能,也不能使用大量的层。到目前为止,与FHEEAR加密数据模型相比,现有的PMLML模型只有77%。在这项工作中,我们首先用RNS-CKKS FHE(RNet)的模型,用更深重的模型,用缩略图来核查已执行的模型,而采用CFAR-10数据设置的缩图样,用直径的模型参数进行正常的模型。我们用这些模型来取代了不精确的模型。