Latency-Aware Inference on Convolutional Neural Network Over Homomorphic Encryption

被引:2
作者
Ishiyama, Takumi [1 ]
Suzuki, Takuya [1 ]
Yamana, Hayato [1 ]
机构
[1] Waseda Univ, Shinjuku Ku, 3-4-1 Okubo, Tokyo, Japan
来源
INFORMATION INTEGRATION AND WEB INTELLIGENCE, IIWAS 2022 | 2022年 / 13635卷
关键词
Homomorphic encryption; Privacy-preserving machine learning; Convolutional neural network; Channel pruning;
D O I
10.1007/978-3-031-21047-1_27
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Homomorphic encryption enables privacy-preserving computation in convolutional neural networks (CNNs), keeping their input and output secret from the server; however, it faces long latency because of large overhead of the encryption scheme. This paper tackles shortening the inference latency on homomorphic encryption-enabled CNNs. Since the highest inference accuracy is not always needed depending on real-world applications, finding best-fit combinations of latency and accuracy is also indispensable. We propose a combination of channelwise packing and a structured pruning technique besides changing the active functions to shorten the inference latency while allowing accuracy degradation. Our experimental evaluation shows that we successfully tune the latency from 8.1 s to 12.9 s depending on the accuracy of 66.52% to 80.96% on the CIFAR-10 dataset.
引用
收藏
页码:324 / 337
页数:14
相关论文
共 16 条
[1]   Towards the AlexNet Moment for Homomorphic Encryption: HCNN, the First Homomorphic CNN on Encrypted Data With GPUs [J].
Al Badawi, Ahmad ;
Jin, Chao ;
Lin, Jie ;
Mun, Chan Fook ;
Jie, Sim Jun ;
Tan, Benjamin Hong Meng ;
Nan, Xiao ;
Aung, Khin Mi Mi ;
Chandrasekhar, Vijay Ramaseshan .
IEEE TRANSACTIONS ON EMERGING TOPICS IN COMPUTING, 2021, 9 (03) :1330-1343
[2]  
[Anonymous], 2017, P IACR CRYPT EPRINT
[3]   nGraph-HE: A Graph Compiler for Deep Learning on Homomorphically Encrypted Data [J].
Boemer, Fabian ;
Lao, Yixing ;
Cammarota, Rosario ;
Wierzynski, Casimir .
CF '19 - PROCEEDINGS OF THE 16TH ACM INTERNATIONAL CONFERENCE ON COMPUTING FRONTIERS, 2019, :3-15
[4]  
Cheon Jung Hee, 2018, Sel Areas Cryptogr, V11349, P347, DOI 10.1007/978-3-030-10970-7_16
[5]  
Chou ED, 2018, Arxiv, DOI arXiv:1811.09953
[6]   CHET: An Optimizing Compiler for Fully-Homomorphic Neural-Network Inferencing [J].
Dathathri, Roshan ;
Saarikivi, Olli ;
Chen, Hao ;
Laine, Kim ;
Lauter, Kristin ;
Maleki, Saeed ;
Musuvathi, Madanlal ;
Mytkowicz, Todd .
PROCEEDINGS OF THE 40TH ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '19), 2019, :142-156
[7]  
Dowlin N, 2016, PR MACH LEARN RES, V48
[8]   Fully Homomorphic Encryption Using Ideal Lattices [J].
Gentry, Craig .
STOC'09: PROCEEDINGS OF THE 2009 ACM SYMPOSIUM ON THEORY OF COMPUTING, 2009, :169-178
[9]   Channel Pruning for Accelerating Very Deep Neural Networks [J].
He, Yihui ;
Zhang, Xiangyu ;
Sun, Jian .
2017 IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV), 2017, :1398-1406
[10]   Highly Accurate CNN Inference Using Approximate Activation Functions over Homomorphic Encryption [J].
Ishiyama, Takumi ;
Suzuki, Takuya ;
Yamana, Hayato .
2020 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2020, :3989-3995