Precise Approximation of Convolutional Neural Networks for Homomorphically Encrypted Data

被引:6
|
作者
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
相关论文
共 50 条
  • [1] Distributed Aggregation over Homomorphically Encrypted Data under Switching Networks
    Lee, Donggil
    Kim, Junsoo
    Shim, Hyungbo
    [J]. 2020 59TH IEEE CONFERENCE ON DECISION AND CONTROL (CDC), 2020, : 5495 - 5500
  • [2] FedHEONN: Federated and homomorphically encrypted learning method for one-layer neural networks
    Fontenla-Romero, Oscar
    Guijarro-Berdinas, Bertha
    Hernandez-Pereira, Elena
    Perez-Sanchez, Beatriz
    [J]. FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2023, 149 : 200 - 211
  • [3] Private Substring Search on Homomorphically Encrypted Data
    Ishimaki, Yu
    Imabayashi, Hiroki
    Yamana, Hayato
    [J]. 2017 IEEE INTERNATIONAL CONFERENCE ON SMART COMPUTING (SMARTCOMP), 2017, : 457 - 462
  • [4] CryptoGCN: Fast and Scalable Homomorphically Encrypted Graph Convolutional Network Inference
    Ran, Ran
    Xu, Nuo
    Wang, Wei
    Quan, Gang
    Yin, Jieming
    Wen, Wujie
    [J]. arXiv, 2022,
  • [5] CryptoGCN: Fast and Scalable Homomorphically Encrypted Graph Convolutional Network Inference
    Ran, Ran
    Xu, Nuo
    Wang, Wei
    Quan, Gang
    Yin, Jieming
    Wen, Wujie
    [J]. ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,
  • [6] LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted Inference
    Peng, Hongwu
    Ran, Ran
    Luo, Yukui
    Zhao, Jiahui
    Huang, Shaoyi
    Thorat, Kiran
    Geng, Tong
    Wang, Chenghong
    Xu, Xiaolin
    Wen, Wujie
    Ding, Caiwen
    [J]. ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,
  • [7] Approximation Analysis of Convolutional Neural Networks
    Bao, Chenglong
    Li, Qianxiao
    Shen, Zuowei
    Tai, Cheng
    Wu, Lei
    Xiang, Xueshuang
    [J]. EAST ASIAN JOURNAL ON APPLIED MATHEMATICS, 2023, 13 (03) : 524 - 549
  • [8] A Computing-in-Memory Engine for Searching on Homomorphically Encrypted Data
    Reis, Dayane
    Niemier, Michael T.
    Hu, Xiaobo Sharon
    [J]. IEEE JOURNAL ON EXPLORATORY SOLID-STATE COMPUTATIONAL DEVICES AND CIRCUITS, 2019, 5 (02): : 123 - 131
  • [9] A Trend-following Trading Indicator on Homomorphically Encrypted Data
    Weng, Haotian
    Lenskiy, Artem
    [J]. PROCEEDINGS OF THE 17TH INTERNATIONAL JOINT CONFERENCE ON E-BUSINESS AND TELECOMMUNICATIONS (SECRYPT), VOL 1, 2020, : 602 - 607
  • [10] Data Hiding in Homomorphically Encrypted Medical Images for Verifying Their Reliability in both Encrypted and Spatial Domains
    Bouslimi, D.
    Bellafqira, R.
    Coatrieux, G.
    [J]. 2016 38TH ANNUAL INTERNATIONAL CONFERENCE OF THE IEEE ENGINEERING IN MEDICINE AND BIOLOGY SOCIETY (EMBC), 2016, : 2496 - 2499