Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Orion: A Fully Homomorphic Encryption Framework for Deep Learning

About

Fully Homomorphic Encryption (FHE) has the potential to substantially improve privacy and security by enabling computation directly on encrypted data. This is especially true with deep learning, as today, many popular user services are powered by neural networks in the cloud. Beyond its well-known high computational costs, one of the major challenges facing wide-scale deployment of FHE-secured neural inference is effectively mapping these networks to FHE primitives. FHE poses many programming challenges including packing large vectors, managing accumulated noise, and translating arbitrary and general-purpose programs to the limited instruction set provided by FHE. These challenges make building large FHE neural networks intractable using the tools available today. In this paper we address these challenges with Orion, a fully-automated framework for private neural inference using FHE. Orion accepts deep neural networks written in PyTorch and translates them into efficient FHE programs. We achieve this by proposing a novel single-shot multiplexed packing strategy for arbitrary convolutions and through a new, efficient technique to automate bootstrap placement and scale management. We evaluate Orion on common benchmarks used by the FHE deep learning community and outperform state-of-the-art by 2.38x on ResNet-20, the largest network they report. Orion's techniques enable processing much deeper and larger networks. We demonstrate this by evaluating ResNet-50 on ImageNet and present the first high-resolution FHE object detection experiments using a YOLO-v1 model with 139 million parameters. Orion is open-source for all to use at: https://github.com/baahl-nyu/orion

Austin Ebel, Karthik Garimella, Brandon Reagen• 2023

Related benchmarks

TaskDatasetResultRank
Privacy-Preserving InferenceBERT Base (inference)
Total Time (s)32.39
14
Encrypted InferenceImageNet SqueezeNet
Rotation Count674
8
Encrypted InferenceImageNet ResNet18
Rot Count1.89e+3
8
Encrypted InferenceImageNet MobileNet
Rotations Count5.39e+3
8
Encrypted ConvolutionAnalytical Convolutional Layer Model
Amortized Rotation Complexity2
6
CNN Inference (MobileNet)Tiny-ImageNet
Latency892
5
CNN Inference (ResNet-18)Tiny-ImageNet
Latency1.45e+3
5
CNN Inference (ResNet-20)CIFAR-10
Latency301
5
CNN Inference (VGG-16)CIFAR-10
Latency397
5
Encrypted InferenceLeNet
Memory Usage (GB)0.21
4
Showing 10 of 17 rows

Other info

Follow for update