A Multi-Layer Parallel Hardware Architecture for Homomorphic Computation in Machine Learning

被引:12
作者
Xin, Guozhu [1 ]
Zhao, Yifan [1 ]
Han, Jun [1 ]
机构
[1] Fudan Univ, State Key Lab ASIC & Syst, Shanghai 201203, Peoples R China
来源
2021 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS) | 2021年
基金
中国国家自然科学基金;
关键词
Homomorphic encryption; machine learning; parallelism; hardware acceleration; FPGA; PROCESSOR;
D O I
10.1109/ISCAS51556.2021.9401623
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Homomorphic Encryption (HE) allows untrusted parties to process encrypted data without revealing its content. People could encrypt the data locally and send it to the cloud to conduct neural network training or inferencing, which achieves data privacy in AI. However, the combined AI and HE computation could be extremely slow. To deal with it, we propose a multi-level parallel hardware accelerator for homomorphic computations in machine learning. The vectorized Number Theoretic Transform (NTT) unit is designed to form the low-level parallelism, and we apply a Residue Number System (RNS) to form the mid-level parallelism in one polynomial. Finally, a fully pipelined and parallel accelerator for two ciphertext operands is proposed to form the high-level parallelism. To address the core computation (matrix-vector multiplication) in neural networks, our work is designed to support Multiply-Accumulate (MAC) operations natively between ciphertexts. We have analyzed our design on FPGA ZCU102, and experimental results show that it outperforms previous works and achieves over an order of magnitude acceleration than software implementations.
引用
收藏
页数:5
相关论文
共 18 条
[1]  
Albrecht M., 2018, Technical report
[2]  
[Anonymous], 2012, IACR Cryptol. ePrint Arch.
[3]  
[Anonymous], 2020, MICROSOFT SEAL RELEA
[4]  
Cathebras Joel., 2018, IACR Trans. Cryptogr. Hardw. Embedded Syst., P69
[5]   High-Speed Polynomial Multiplication Architecture for Ring-LWE and SHE Cryptosystems [J].
Chen, Donald Donglong ;
Mentes, Nele ;
Vercauteren, Frederik ;
Roy, Sujoy Sinha ;
Cheung, Ray C. C. ;
Pao, Derek ;
Verbauwhede, Ingrid .
IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS I-REGULAR PAPERS, 2015, 62 (01) :157-166
[6]   Homomorphic Encryption for Arithmetic of Approximate Numbers [J].
Cheon, Jung Hee ;
Kim, Andrey ;
Kim, Miran ;
Song, Yongsoo .
ADVANCES IN CRYPTOLOGY - ASIACRYPT 2017, PT I, 2017, 10624 :409-437
[7]  
Dai W., 2015, CuHE: A Homomorphic Encryption Accelerator Library
[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]  
Halevi S, 2014, LECT NOTES COMPUT SC, V8616, P554, DOI 10.1007/978-3-662-44371-2_31
[10]   Design and Implementation of Encryption/Decryption Architectures for BFV Homomorphic Encryption Scheme [J].
Mert, Ahmet Can ;
Ozturk, Erdinc ;
Savas, Erkay .
IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2020, 28 (02) :353-362