Precise Approximation of Convolutional Neural Networks for Homomorphically Encrypted Data

被引:8
作者
Lee, Junghyun [1 ]
Lee, Eunsang [2 ]
Lee, Joon-Woo [3 ]
Kim, Yongjune [4 ]
Kim, Young-Sik [5 ]
No, Jong-Seon [1 ]
机构
[1] Seoul Natl Univ, Dept Elect & Comp Engn, INMC, Seoul 08826, South Korea
[2] Sejong Univ, Dept Software, Seoul 05006, South Korea
[3] Chung Ang Univ, Dept Comp Sci & Engn, Seoul 06974, South Korea
[4] Pohang Univ Sci & Technol, Dept Elect Engn, Pohang 37673, South Korea
[5] Chosun Univ, Dept Informat & Commun Engn, Gwangju 61452, South Korea
基金
新加坡国家研究基金会;
关键词
Fully homomorphic encryption; RNS-CKKS; privacy-preserving machine learning; deep learning; cloud computing;
D O I
10.1109/ACCESS.2023.3287564
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Homomorphic encryption (HE) 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 HE, the ReLU and max-pooling functions should be approximated by polynomials for homomorphic operations. Most of the previous studies focus on HE-friendly networks, which approximate the ReLU and max-pooling functions using low-degree polynomials. However, this approximation cannot support deeper neural networks due to large approximation errors in general and can classify only relatively small datasets. Thus, we propose a precise polynomial approximation technique, a composition of minimax approximate polynomials of low degrees for the ReLU and max-pooling functions. If we replace the ReLU and max-pooling functions with the proposed approximate polynomials, standard 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, which makes the proposed method more practical. 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%. Also, we obtain an accuracy of 87.90% for classifying the encrypted CIFAR-10 dataset in the ResNet-20 without any additional training.
引用
收藏
页码:62062 / 62076
页数:15
相关论文
共 38 条
  • [1] Al Badawi A, 2020, Arxiv, DOI arXiv:1811.00778
  • [2] [Anonymous], 2021, MICR SEAL REL 3 7
  • [3] nGraph-HE: A Graph Compiler for Deep Learning on Homomorphically Encrypted Data
    Boemer, Fabian
    Lao, Yixing
    Cammarota, Rosario
    Wierzynski, Casimir
    [J]. CF '19 - PROCEEDINGS OF THE 16TH ACM INTERNATIONAL CONFERENCE ON COMPUTING FRONTIERS, 2019, : 3 - 15
  • [4] Efficient Bootstrapping for Approximate Homomorphic Encryption with Non-sparse Keys
    Bossuat, Jean-Philippe
    Mouchet, Christian
    Troncoso-Pastoriza, Juan
    Hubaux, Jean-Pierre
    [J]. ADVANCES IN CRYPTOLOGY - EUROCRYPT 2021, PT I, 2021, 12696 : 587 - 617
  • [5] Fast Homomorphic Evaluation of Deep Discretized Neural Networks
    Bourse, Florian
    Minelli, Michele
    Minihold, Matthias
    Paillier, Pascal
    [J]. ADVANCES IN CRYPTOLOGY - CRYPTO 2018, PT III, 2018, 10993 : 483 - 512
  • [6] Cheon JH, 2020, LECT NOTES COMPUT SC, V12492, P221, DOI 10.1007/978-3-030-64834-3_8
  • [7] Homomorphic Encryption for Arithmetic of Approximate Numbers
    Cheon, Jung Hee
    Kim, Andrey
    Kim, Miran
    Song, Yongsoo
    [J]. ADVANCES IN CRYPTOLOGY - ASIACRYPT 2017, PT I, 2017, 10624 : 409 - 437
  • [8] TFHE: Fast Fully Homomorphic Encryption Over the Torus
    Chillotti, Ilaria
    Gama, Nicolas
    Georgieva, Mariya
    Izabachene, Malika
    [J]. JOURNAL OF CRYPTOLOGY, 2020, 33 (01) : 34 - 91
  • [9] Chou ED, 2018, Arxiv, DOI [arXiv:1811.09953, 10.48550/ARXIV.1811.09953]
  • [10] CHET: An Optimizing Compiler for Fully-Homomorphic Neural-Network Inferencing
    Dathathri, Roshan
    Saarikivi, Olli
    Chen, Hao
    Laine, Kim
    Lauter, Kristin
    Maleki, Saeed
    Musuvathi, Madanlal
    Mytkowicz, Todd
    [J]. PROCEEDINGS OF THE 40TH ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '19), 2019, : 142 - 156