mlsanityData to 14 Oct 2026

Optimized Layerwise Approximation for Efficient Private Inference on Fully Homomorphic Encryption

arXiv 2310.10349 ↗First posted 16 Oct 2023cs.CR cs.AIcited by 4

Not on the map. Why?

Abstract (arXiv)

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 loss and time consumption by using different approximation polynomials for each layer in the PTA scenario. For efficient approximation, we reflect the layerwise impact on the classification accuracy by considering the actual input distribution of each activation function while constructing the optimization problem. Additionally, we provide a dynamic programming technique to solve the optimization problem and achieve the optimized layerwise degrees in polynomial time. As a result, the OLA method reduces inference times for the ResNet-20 model and the ResNet-32 model by 3.02 times and 2.82 times, respectively, compared to prior state-of-the-art implementations employing uniform degree polynomials. Furthermore, we successfully classified CIFAR-10 by replacing the GELU function in the ConvNeXt model with only 3-degree polynomials using the proposed method, without modifying the backbone model.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 16 of its 49 references that are in the map. First posted on arXiv 16 Oct 2023.

Builds on

16 of 49 references.

References · 16

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  4. 2022A ConvNet for the 2020scited by 3,579
  5. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  6. 2022MPCFormer: fast, performant and private Transformer inference with MPCcited by 69
  7. 2021Privacy-Preserving Machine Learning with Fully Homomorphic Encryption for Deep Neural Networkcited by 57
  8. 2021DeepReDuce: ReLU Reduction for Fast Private Inferencecited by 50
  9. 2018Faster CryptoNets: Leveraging Sparsity for Real-World Encrypted Inferencecited by 45
  10. 2019SHE: A Fast and Accurate Deep Neural Network for Encrypted Datacited by 36
  11. 2023AutoReP: Automatic ReLU Replacement for Fast Private Network Inferencecited by 29
  12. 2021Precise Approximation of Convolutional Neural Networks for Homomorphically Encrypted Datacited by 27
4 more
  1. 2018nGraph-HE: A Graph Compiler for Deep Learning on Homomorphically Encrypted Datacited by 24
  2. 2020On Polynomial Approximations for Privacy-Preserving and Verifiable ReLU Networkscited by 19
  3. 2022AESPA: Accuracy Preserving Low-degree Polynomial Activation for Fast Private Inferencecited by 14
  4. 2023HyPHEN: A Hybrid Packing Method and Optimizations for Homomorphic Encryption-Based Neural Networkscited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 3.

4 papers.