TY - GEN
T1 - Efficient Convolution Operator in FHE Using Summed Area Table
AU - Yalavarthi, Bharat
AU - Jutla, Charanjit
AU - Ratha, Nalini
N1 - Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2025.
PY - 2025
Y1 - 2025
N2 - To enhance privacy in Convolutional Neural Network (CNN) based inference methods, fully homomorphic encryption (FHE) is a golden tool. However, high latency and limited multiplicative depth are major problems in building CNNs for FHE. Convolution operations dominate the inference time of CNNs in FHE schemes due to the large number of costly multiplications and accumulation operations required. All the prior works have performed convolution in either the spatial or frequency domain. Alternatively, in this paper, we propose to use a summed area table (SAT) along with kernels approximated with box filters for the computation of convolution in 1D, 2D, and 3D space. The usage of box filters allows us to reduce the number of costly multiplications required to compute convolution. We show that the proposed method computes convolution output with lower latency than the standard spatial convolution method and can be applied with arbitrary kernels. We also show that the speed-up provided by our approach increases with the size of the image or kernel. Through the usage of SATs and box filters, we reduce the number of expensive multiplication operations required in convolution by 20%-52% and latency by 15%-89%.
AB - To enhance privacy in Convolutional Neural Network (CNN) based inference methods, fully homomorphic encryption (FHE) is a golden tool. However, high latency and limited multiplicative depth are major problems in building CNNs for FHE. Convolution operations dominate the inference time of CNNs in FHE schemes due to the large number of costly multiplications and accumulation operations required. All the prior works have performed convolution in either the spatial or frequency domain. Alternatively, in this paper, we propose to use a summed area table (SAT) along with kernels approximated with box filters for the computation of convolution in 1D, 2D, and 3D space. The usage of box filters allows us to reduce the number of costly multiplications required to compute convolution. We show that the proposed method computes convolution output with lower latency than the standard spatial convolution method and can be applied with arbitrary kernels. We also show that the speed-up provided by our approach increases with the size of the image or kernel. Through the usage of SATs and box filters, we reduce the number of expensive multiplication operations required in convolution by 20%-52% and latency by 15%-89%.
KW - CNN
KW - Convolution
KW - Fully Homomorphic Encryption
KW - Summed Area Tables
UR - https://www.scopus.com/pages/publications/85212517559
U2 - 10.1007/978-3-031-78354-8_5
DO - 10.1007/978-3-031-78354-8_5
M3 - Conference contribution
AN - SCOPUS:85212517559
SN - 9783031783531
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 65
EP - 79
BT - Pattern Recognition - 27th International Conference, ICPR 2024, Proceedings
A2 - Antonacopoulos, Apostolos
A2 - Chaudhuri, Subhasis
A2 - Chellappa, Rama
A2 - Liu, Cheng-Lin
A2 - Bhattacharya, Saumik
A2 - Pal, Umapada
PB - Springer Science and Business Media Deutschland GmbH
T2 - 27th International Conference on Pattern Recognition, ICPR 2024
Y2 - 1 December 2024 through 5 December 2024
ER -