Sensitive Tuning of Large Scale CNNs for E2E Secure Prediction using Homomorphic Encryption

04/26/2023
by   Moran Baruch, et al.
0

Privacy-preserving machine learning solutions have recently gained significant attention. One promising research trend is using Homomorphic Encryption (HE), a method for performing computation over encrypted data. One major challenge in this approach is training HE-friendly, encrypted or unencrypted, deep CNNs with decent accuracy. We propose a novel training method for HE-friendly models, and demonstrate it on fundamental and modern CNNs, such as ResNet and ConvNeXt. After training, we evaluate our models by running encrypted samples using HELayers SDK and proving that they yield the desired results. When running on a GPU over the ImageNet dataset, our ResNet-18/50/101 implementations take only 7, 31 and 57 minutes, respectively, which shows that this solution is practical. Furthermore, we present several insights on handling the activation functions and skip-connections under HE. Finally, we demonstrate in an unprecedented way how to perform secure zero-shot prediction using a CLIP model that we adapted to be HE-friendly.

READ FULL TEXT
research
05/24/2019

Partially Encrypted Machine Learning using Functional Encryption

Machine learning on encrypted data has received a lot of attention thank...
research
06/11/2023

Efficient Skip Connections Realization for Secure Inference on Encrypted Data

Homomorphic Encryption (HE) is a cryptographic tool that allows performi...
research
12/18/2020

NN-EMD: Efficiently Training Neural Networks using Encrypted Multi-sourced Datasets

Training a machine learning model over an encrypted dataset is an existi...
research
02/12/2019

Achieving GWAS with Homomorphic Encryption

One way of investigating how genes affect human traits would be with a g...
research
06/15/2023

High-Resolution Convolutional Neural Networks on Homomorphically Encrypted Data via Sharding Ciphertexts

Recently, Deep Convolutional Neural Networks (DCNNs) including the ResNe...
research
06/14/2021

Privacy-Preserving Machine Learning with Fully Homomorphic Encryption for Deep Neural Network

Fully homomorphic encryption (FHE) is one of the prospective tools for p...
research
09/13/2023

Toward Lossless Homomorphic Encryption for Scientific Computation

This paper presents a comprehensive investigation into encrypted computa...

Please sign up or login with your details

Forgot password? Click here to reset