Accelerator Design and Performance Modeling for Homomorphic Encrypted CNN Inference
Accelerator Design and Performance Modeling for Homomorphic Encrypted CNN Inference
复制标题
DOI:
10.1109/hpec43674.2020.9286219
复制
发表时间:
2020-09
期刊:
影响因子:
--
通讯作者:
Tian Ye;R. Kannan;V. Prasanna
中科院分区:
文献类型:
--
作者:
Tian Ye;R. Kannan;V. Prasanna
The rapid advent of cloud computing has brought with it concerns on data security and privacy. Fully Homomorphic Encryption (FHE) is a technique for enabling data security that allows arbitrary computations to be performed directly on encrypted data. In particular, FHE can be used with convolutional neural networks (CNN) to perform inference as a service on homomorphic encrypted input data. However, the high computational demands of FHE inference require a careful understanding of the tradeoffs between various parameters such as security level, hardware resources and performance. In this paper, we propose a parameterized accelerator for homomorphic encrypted CNN inference. We first develop parallel algorithms to implement CNN operations via FHE primitives. We then develop a parameterized model to evaluate the performance of our CNN design. The model accepts inputs in terms of available hardware resources and security parameters and outputs performance estimates. As an illustration, for a typical image classification task on CIFAR-10 dataset with a seven-layer CNN model, we show that a batch of 4K encrypted images can be classified within 1 second on a device operating at 2 GHz clock rate with 16K MACs, 64 MB on-chip memory and 256 GB/s external memory bandwidth.