HyPHEN: A Hybrid Packing Method and Its Optimizations for Homomorphic Encryption-based Neural Networks
Year: 2024
Type: dissertation
Abstract: Private inference (PI) has emerged as a promising option for cloud companies, as PI protects their intellectual properties while enabling the provision of private machine learning services for clients. Fully homomorphic encryption (FHE) is a cryptographic primitive that allows the direct computation of diverse functions on encrypted data. This aspect makes FHE well-suited for PI addressing both security and usability. Convolutional neural network (CNN) inference using FHE is a attractive PI solution due to the capability of FHE that enables offloading the whole computation process to the server while protecting the privacy of sensitive user data. Prior FHE-based CNN (HCNN) work has demonstrated the feasibility of constructing deep neural network architectures such as ResNet using FHE. Despite these advancements, HCNN still faces significant challenges in practicality due to the high computational and memory overhead. To overcome these limitations, HyPHEN, a deep HCNN construc- tion incorporates novel convolution algorithms (RAConv and CAConv), data packing methods (2D gap packing and PRCR scheme), and optimization tech- niques tailored to HCNN construction. Such enhancements enable HyPHEN to substantially reduce the memory footprint and the number of expensive homomorphic operations, such as ciphertext rotation and bootstrapping. As a result, HyPHEN brings the latency of HCNN CIFAR-10 inference down to a practical level at 1.4 seconds (ResNet-20) and demonstrates HCNN ImageNet inference for the first time at 14.7 seconds (ResNet-18).
Author: 김동환
Language: English
Subfield: Computer Networks and Communications
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7019764373
