Optimized Layerwise Approximation for Efficient Private Inference on Fully Homomorphic Encryption
Junghyun Lee, Eunsang Lee, Young-Sik Kim, Yongwoo Lee, Joon-Woo Lee, Yongjune Kim, Jong-Seon No

TL;DR
This paper introduces an optimized layerwise approximation framework for private inference with homomorphic encryption, significantly reducing inference time while maintaining accuracy by customizing polynomial degrees per layer.
Contribution
It proposes a systematic, layerwise polynomial approximation method with a dynamic programming solution for efficient private inference without retraining.
Findings
Reduces inference time for ResNet models by over 2.8 times.
Successfully classifies CIFAR-10 with low-degree polynomials replacing GELU.
Achieves high accuracy without retraining by layerwise optimization.
Abstract
Recent studies have explored the deployment of privacy-preserving deep neural networks utilizing homomorphic encryption (HE), especially for private inference (PI). Many works have attempted the approximation-aware training (AAT) approach in PI, changing the activation functions of a model to low-degree polynomials that are easier to compute on HE by allowing model retraining. However, due to constraints in the training environment, it is often necessary to consider post-training approximation (PTA), using the pre-trained parameters of the existing plaintext model without retraining. Existing PTA studies have uniformly approximated the activation function in all layers to a high degree to mitigate accuracy loss from approximation, leading to significant time consumption. This study proposes an optimized layerwise approximation (OLA), a systematic framework that optimizes both accuracy…
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
TopicsCryptography and Data Security · Stochastic Gradient Optimization Techniques · Privacy-Preserving Technologies in Data
MethodsConvNeXt
