Lune

NeurIPS2020Top-tier venue

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 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.

24 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted Inference cites XONN: XNOR-based Oblivious Deep Neural Network Inference
  • LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted Inference cites DeepReDuce: ReLU Reduction for Fast Private Inference
  • LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted Inference cites CryptoGCN: Fast and Scalable Homomorphically Encrypted Graph Convolutional Network Inference
  • LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted Inference cites Selective Network Linearization for Efficient Private Inference
  • Oblivious Neural Network Predictions via MiniONN Transformations cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Iron: Private Inference on Transformers cites DeepReDuce: ReLU Reduction for Fast Private Inference
  • Iron: Private Inference on Transformers cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • Iron: Private Inference on Transformers cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • XONN: XNOR-based Oblivious Deep Neural Network Inference cites Oblivious Neural Network Predictions via MiniONN Transformations
  • XONN: XNOR-based Oblivious Deep Neural Network Inference cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • XONN: XNOR-based Oblivious Deep Neural Network Inference cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • DeepReDuce: ReLU Reduction for Fast Private Inference cites Oblivious Neural Network Predictions via MiniONN Transformations
  • DeepReDuce: ReLU Reduction for Fast Private Inference cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • DeepReDuce: ReLU Reduction for Fast Private Inference cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • CryptoGCN: Fast and Scalable Homomorphically Encrypted Graph Convolutional Network Inference cites Oblivious Neural Network Predictions via MiniONN Transformations
  • CryptoGCN: Fast and Scalable Homomorphically Encrypted Graph Convolutional Network Inference cites DeepReDuce: ReLU Reduction for Fast Private Inference
  • CryptoGCN: Fast and Scalable Homomorphically Encrypted Graph Convolutional Network Inference cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • CryptoGCN: Fast and Scalable Homomorphically Encrypted Graph Convolutional Network Inference cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Cheetah: Optimizing and Accelerating Homomorphic Encryption for Private Inference cites Oblivious Neural Network Predictions via MiniONN Transformations
  • Cheetah: Optimizing and Accelerating Homomorphic Encryption for Private Inference cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • Cheetah: Optimizing and Accelerating Homomorphic Encryption for Private Inference cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Selective Network Linearization for Efficient Private Inference cites Oblivious Neural Network Predictions via MiniONN Transformations
  • Selective Network Linearization for Efficient Private Inference cites DeepReDuce: ReLU Reduction for Fast Private Inference
  • 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
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers24

  1. Iron: Private Inference on TransformersMeng Hao, Hongwei Li, Hanxiao Chen, Pengzhi Xing et al.NeurIPS 2022 · 209 citations
  2. DeepReDuce: ReLU Reduction for Fast Private InferenceNandan Kumar Jha, Zahra Ghodsi, Siddharth Garg, Brandon ReagenICML 2021 · 108 citations
  3. LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted InferenceHongwu Peng, Ran Ran, Yukui Luo, Jiahui Zhao et al.NeurIPS 2023 · 57 citations
  4. Selective Network Linearization for Efficient Private InferenceMinsu Cho, Ameya Joshi, Brandon Reagen, Siddharth Garg et al.ICML 2022 · 55 citations
  5. 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

  1. SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 citations
  2. GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 citations
  3. Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 citations
  4. XONN: XNOR-based Oblivious Deep Neural Network InferenceM. Sadegh Riazi, Mohammad Samragh, Hao Chen, Kim Laine et al.USENIX Security 2019 · 314 citations
  5. 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

  1. ReLUPruner: Rethinking ReLU Importance with Taylor Expansion for Efficient Private InferenceZhenpeng Li, Jinshuo Liu, Xinyan Wang, Lina Wang et al.AAAI 2026
  2. AutoReP: Automatic ReLU Replacement for Fast Private Network InferenceHongwu Peng, Shaoyi Huang, Tong Zhou, Yukui Luo et al.ICCV 2023 · 44 citations
  3. 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
  4. Circa: Stochastic ReLUs for Private Deep LearningZahra Ghodsi, Nandan Kumar Jha, Brandon Reagen, Siddharth GargNeurIPS 2021 · 41 citations
  5. AutoPrivacy: Automated Layer-wise Parameter Selection for Secure Neural Network InferenceQian Lou, Song Bian, Lei JiangNeurIPS 2020 · 41 citations
Dusk over the sea between two cliffs drawn in fine vertical lines