A methodology for training homomorphicencryption friendly neural networks
Moran Baruch, Nir Drucker, Lev Greenberg, Guy Moshkowich

TL;DR
This paper presents a methodology for training neural networks compatible with homomorphic encryption by replacing ReLU with quadratic activations, using transfer learning and knowledge distillation to maintain accuracy in privacy-preserving inference.
Contribution
The authors introduce a structured approach to develop HE-friendly neural networks, including activation function replacement and training techniques to preserve accuracy.
Findings
Reduced accuracy gap to within 0.32-5.3% using the proposed method.
Achieved 7% accuracy and F1 improvements over other HE-friendly training methods.
Demonstrated effectiveness on AlexNet and SqueezeNet architectures for COVID-19 detection.
Abstract
Privacy-preserving deep neural network (DNN) inference is a necessity in different regulated industries such as healthcare, finance and retail. Recently, homomorphic encryption (HE) has been used as a method to enable analytics while addressing privacy concerns. HE enables secure predictions over encrypted data. However, there are several challenges related to the use of HE, including DNN size limitations and the lack of support for some operation types. Most notably, the commonly used ReLU activation is not supported under some HE schemes. We propose a structured methodology to replace ReLU with a quadratic polynomial activation. To address the accuracy degradation issue, we use a pre-trained model that trains another HE-friendly model, using techniques such as trainable activation functions and knowledge distillation. We demonstrate our methodology on the AlexNet architecture, using…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsPrivacy-Preserving Technologies in Data · Cryptography and Data Security · Pharmacological Effects and Toxicity Studies
Methods*Communicated@Fast*How Do I Communicate to Expedia? · Dropout · 1x1 Convolution · Average Pooling · Fire Module · Max Pooling · Convolution · Softmax · Residual Connection · Global Average Pooling
