AutoPrivacy: Automated Layer-wise Parameter Selection for Secure Neural Network Inference
Abstract
Hybrid Privacy-Preserving Neural Network (HPPNN) implementing linear layers by Homomorphic Encryption (HE) and nonlinear layers by Garbled Circuit (GC) is one of the most promising secure solutions to emerging Machine Learning as a Service (MLaaS). Unfortunately, a HPPNN suffers from long inference latency, e.g., seconds per image, which makes MLaaS unsatisfactory. Because HE-based linear layers of a HPPNN cost inference latency, it is critical to select a set of HE parameters to minimize computational overhead of linear layers. Prior HPPNNs over-pessimistically select huge HE parameters to maintain large noise budgets, since they use the same set of HE parameters for an entire network and ignore the error tolerance capability of a network. In this paper, for fast and accurate secure neural network inference, we propose an automated layer-wise parameter selector, AutoPrivacy, that leverages deep reinforcement learning to automatically determine a set of HE parameters for each linear layer in a HPPNN. The learning-based HE parameter selection policy outperforms conventional rule-based HE parameter selection policy. Compared to prior HPPNNs, AutoPrivacy-optimized HPPNNs reduce inference latency by with negligible loss of accuracy.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Oblivious Neural Network Predictions via MiniONN Transformations cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
- CHLOE: Loop Transformation over Fully Homomorphic Encryption via Multi-Level Vectorization and Control-Path Reduction cites Delphi: A Cryptographic Inference Service for Neural Networks
- CHLOE: Loop Transformation over Fully Homomorphic Encryption via Multi-Level Vectorization and Control-Path Reduction cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- DataSeal: Ensuring the Verifiability of Private Computation on Encrypted Data cites AutoQ: Automated Kernel-Wise Neural Network Quantization
- DataSeal: Ensuring the Verifiability of Private Computation on Encrypted Data cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- Not All Features Are Equal: Discovering Essential Features for Preserving Prediction Privacy cites Oblivious Neural Network Predictions via MiniONN Transformations
- Not All Features Are Equal: Discovering Essential Features for Preserving Prediction Privacy cites Delphi: A Cryptographic Inference Service for Neural Networks
- Not All Features Are Equal: Discovering Essential Features for Preserving Prediction Privacy cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- Not All Features Are Equal: Discovering Essential Features for Preserving Prediction Privacy cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
- Delphi: A Cryptographic Inference Service for Neural Networks cites Oblivious Neural Network Predictions via MiniONN Transformations
- Delphi: A Cryptographic Inference Service for Neural Networks cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- Delphi: A Cryptographic Inference Service for Neural Networks cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
- GAZELLE: A Low Latency Framework for Secure Neural Network Inference cites Oblivious Neural Network Predictions via MiniONN Transformations
- GAZELLE: A Low Latency Framework for Secure Neural Network Inference cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
- Primer: Fast Private Transformer Inference on Encrypted Data cites Delphi: A Cryptographic Inference Service for Neural Networks
- Primer: Fast Private Transformer Inference on Encrypted Data cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- LOHEN: Layer-wise Optimizations for Neural Network Inferences over Encrypted Data with High Performance or Accuracy cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
Cited by top-tier papers5
- Not All Features Are Equal: Discovering Essential Features for Preserving Prediction PrivacyFatemehsadat Mireshghallah, Mohammadkazem Taram, Ali Jalali, Ahmed Taha Elthakeb et al.WWW 2021 · 59 citations
- Primer: Fast Private Transformer Inference on Encrypted DataMengxin Zheng, Qian Lou, Lei JiangDAC 2023 · 26 citations
- CHLOE: Loop Transformation over Fully Homomorphic Encryption via Multi-Level Vectorization and Control-Path ReductionSong Bian, Zian Zhao, Ruiyu Shen, Zhou Zhang et al.S&P 2025
- DataSeal: Ensuring the Verifiability of Private Computation on Encrypted DataMuhammad Husni Santriaji, Jiaqi Xue, Yancheng Zhang, Qian Lou et al.S&P 2025
- LOHEN: Layer-wise Optimizations for Neural Network Inferences over Encrypted Data with High Performance or AccuracyKevin Nam, Youyeon Joo, Dongju Lee, Seungjin Ha et al.USENIX Security 2025
Builds on5
- SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 citations
- GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 citations
- Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 citations
- AutoQ: Automated Kernel-Wise Neural Network QuantizationQian Lou, Feng Guo, Minje Kim, Lantao Liu et al.ICLR 2020 · 121 citations
- Delphi: A Cryptographic Inference Service for Neural NetworksPratyush Mishra, Ryan Lehmkuhl, Akshayaram Srinivasan, Wenting Zheng et al.USENIX Security 2020
Related papers
- SpENCNN: Orchestrating Encoding and Sparsity for Fast Homomorphically Encrypted Neural Network InferenceRan Ran, Xinwei Luo, Wei Wang, Tao Liu et al.ICML 2023 · 17 citations
- Falcon: Fast Spectral Inference on Encrypted DataQian Lou, Wen-jie Lu, Cheng Hong, Lei JiangNeurIPS 2020 · 50 citations
- FxHENN: FPGA-based acceleration framework for homomorphic encrypted CNN inferenceYilan Zhu, Xinyao Wang, Lei Ju, Shanqing GuoHPCA 2023 · 39 citations
- AHEC: End-to-end Compiler Framework for Privacy-preserving Machine Learning AccelerationHuili Chen, Rosario Cammarota, Felipe Valencia, Francesco Regazzoni et al.DAC 2020 · 10 citations
- AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHEWei Ao, Vishnu Naresh BoddetiUSENIX Security 2024 · 43 citations
