AutoPrivacy: Automated Layer-wise Parameter Selection for Secure Neural Network Inference
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Oblivious Neural Network Predictions via MiniONN Transformations 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- CHLOE: Loop Transformation over Fully Homomorphic Encryption via Multi-Level Vectorization and Control-Path Reduction 引用了 Delphi: A Cryptographic Inference Service for Neural Networks
- CHLOE: Loop Transformation over Fully Homomorphic Encryption via Multi-Level Vectorization and Control-Path Reduction 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- DataSeal: Ensuring the Verifiability of Private Computation on Encrypted Data 引用了 AutoQ: Automated Kernel-Wise Neural Network Quantization
- DataSeal: Ensuring the Verifiability of Private Computation on Encrypted Data 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- Not All Features Are Equal: Discovering Essential Features for Preserving Prediction Privacy 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- Not All Features Are Equal: Discovering Essential Features for Preserving Prediction Privacy 引用了 Delphi: A Cryptographic Inference Service for Neural Networks
- Not All Features Are Equal: Discovering Essential Features for Preserving Prediction Privacy 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- Not All Features Are Equal: Discovering Essential Features for Preserving Prediction Privacy 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- Delphi: A Cryptographic Inference Service for Neural Networks 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- Delphi: A Cryptographic Inference Service for Neural Networks 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- Delphi: A Cryptographic Inference Service for Neural Networks 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- GAZELLE: A Low Latency Framework for Secure Neural Network Inference 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- GAZELLE: A Low Latency Framework for Secure Neural Network Inference 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- Primer: Fast Private Transformer Inference on Encrypted Data 引用了 Delphi: A Cryptographic Inference Service for Neural Networks
- Primer: Fast Private Transformer Inference on Encrypted Data 引用了 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 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
引用它的顶会 Paper5
- Not All Features Are Equal: Discovering Essential Features for Preserving Prediction PrivacyFatemehsadat Mireshghallah, Mohammadkazem Taram, Ali Jalali, Ahmed Taha Elthakeb 等WWW 2021 · 59 次引用
- Primer: Fast Private Transformer Inference on Encrypted DataMengxin Zheng, Qian Lou, Lei JiangDAC 2023 · 26 次引用
- CHLOE: Loop Transformation over Fully Homomorphic Encryption via Multi-Level Vectorization and Control-Path ReductionSong Bian, Zian Zhao, Ruiyu Shen, Zhou Zhang 等S&P 2025
- DataSeal: Ensuring the Verifiability of Private Computation on Encrypted DataMuhammad Husni Santriaji, Jiaqi Xue, Yancheng Zhang, Qian Lou 等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 等USENIX Security 2025
它引用的 Paper5
- SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 次引用
- GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 次引用
- Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 次引用
- AutoQ: Automated Kernel-Wise Neural Network QuantizationQian Lou, Feng Guo, Minje Kim, Lantao Liu 等ICLR 2020 · 121 次引用
- Delphi: A Cryptographic Inference Service for Neural NetworksPratyush Mishra, Ryan Lehmkuhl, Akshayaram Srinivasan, Wenting Zheng 等USENIX Security 2020
相关 Paper
- SpENCNN: Orchestrating Encoding and Sparsity for Fast Homomorphically Encrypted Neural Network InferenceRan Ran, Xinwei Luo, Wei Wang, Tao Liu 等ICML 2023 · 17 次引用
- Falcon: Fast Spectral Inference on Encrypted DataQian Lou, Wen-jie Lu, Cheng Hong, Lei JiangNeurIPS 2020 · 50 次引用
- FxHENN: FPGA-based acceleration framework for homomorphic encrypted CNN inferenceYilan Zhu, Xinyao Wang, Lei Ju, Shanqing GuoHPCA 2023 · 39 次引用
- AHEC: End-to-end Compiler Framework for Privacy-preserving Machine Learning AccelerationHuili Chen, Rosario Cammarota, Felipe Valencia, Francesco Regazzoni 等DAC 2020 · 10 次引用
- AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHEWei Ao, Vishnu Naresh BoddetiUSENIX Security 2024 · 43 次引用
