CryptoNAS: Private Inference on a ReLU Budget
Zahra Ghodsi, Akshaj Kumar Veldanda, Brandon Reagen, Siddharth Garg
Abstract
Machine learning as a service has given raise to privacy concerns surrounding clients' data and providers' models and has catalyzed research in private inference (PI): methods to process inferences without disclosing inputs. Recently, researchers have adapted cryptographic techniques to show PI is possible, however all solutions increase inference latency beyond practical limits. This paper makes the observation that existing models are ill-suited for PI and proposes a novel NAS method, named CryptoNAS, for finding and tailoring models to the needs of PI. The key insight is that in PI operator latency costs are inverted: non-linear operations (e.g., ReLU) dominate latency, while linear layers become effectively free. We develop the idea of a ReLU budget as a proxy for inference latency and use CryptoNAS to build models that maximize accuracy within a given budget. CryptoNAS improves accuracy by 3.4% and latency by 2.4× over the state-of-the-art.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext abdb6223-7bfb-4113-8d87-1ba7aa1aecf3Cited by top-tier papers24
- Iron: Private Inference on TransformersMeng Hao, Hongwei Li, Hanxiao Chen, Pengzhi Xing et al.NeurIPS 2022 · 209 citations
- DeepReDuce: ReLU Reduction for Fast Private InferenceNandan Kumar Jha, Zahra Ghodsi, Siddharth Garg, Brandon ReagenICML 2021 · 108 citations
- LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted InferenceHongwu Peng, Ran Ran, Yukui Luo, Jiahui Zhao et al.NeurIPS 2023 · 57 citations
- Selective Network Linearization for Efficient Private InferenceMinsu Cho, Ameya Joshi, Brandon Reagen, Siddharth Garg et al.ICML 2022 · 55 citations
- CryptoGCN: Fast and Scalable Homomorphically Encrypted Graph Convolutional Network InferenceRan Ran, Wei Wang, Quan Gang, Jieming Yin et al.NeurIPS 2022 · 52 citations
Builds on6
- 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
- XONN: XNOR-based Oblivious Deep Neural Network InferenceM. Sadegh Riazi, Mohammad Samragh, Hao Chen, Kim Laine et al.USENIX Security 2019 · 314 citations
- Cheetah: Optimizing and Accelerating Homomorphic Encryption for Private InferenceBrandon Reagen, Wooseok Choi, Yeongil Ko, Vincent T. Lee et al.HPCA 2021 · 147 citations
Related papers
- ReLUPruner: Rethinking ReLU Importance with Taylor Expansion for Efficient Private InferenceZhenpeng Li, Jinshuo Liu, Xinyan Wang, Lina Wang et al.AAAI 2026
- AutoReP: Automatic ReLU Replacement for Fast Private Network InferenceHongwu Peng, Shaoyi Huang, Tong Zhou, Yukui Luo et al.ICCV 2023 · 44 citations
- Learning to Linearize Deep Neural Networks for Secure and Efficient Private InferenceSouvik Kundu, Shunlin Lu, Yuke Zhang, Jacqueline Tiffany Liu et al.ICLR 2023 · 3 citations
- Circa: Stochastic ReLUs for Private Deep LearningZahra Ghodsi, Nandan Kumar Jha, Brandon Reagen, Siddharth GargNeurIPS 2021 · 41 citations
- AutoPrivacy: Automated Layer-wise Parameter Selection for Secure Neural Network InferenceQian Lou, Song Bian, Lei JiangNeurIPS 2020 · 41 citations
