Lune

ICLR2021Top-tier venue

SAFENet: A Secure, Accurate and Fast Neural Network Inference

Qian Lou, Yilin Shen, Hongxia Jin, Lei Jiang

Abstract

The advances in neural networks have driven many companies to provide prediction services to users in a wide range of applications. However, current prediction systems raise privacy concerns regarding the user's private data. A cryptographic neural network inference service is an efficient way to allow two parties to execute neural network inference without revealing either party’s data or model. Nevertheless, existing cryptographic neural network inference services suffer from huge running latency; in particular, the latency of communication-expensive cryptographic activation function is 3 orders of magnitude higher than plaintext-domain activation function. And activations are the necessary components of the modern neural networks. Therefore, slow cryptographic activation has become the primary obstacle of efficient cryptographic inference. In this paper, we propose a new technique, called SAFENet, to enable a Secure, Accurate and Fast nEural Network inference service. To speedup secure inference and guarantee inference accuracy, SAFENet includes channel-wise activation approximation with multiple-degree options. This is implemented by keeping the most useful activation channels and replacing the remaining, less useful, channels with various-degree polynomials. SAFENet also supports mixed-precision activation approximation by automatically assigning different replacement ratios to various layer; further increasing the approximation ratio and reducing inference latency. Our experimental results show SAFENet obtains the state-of-the-art inference latency and performance, reducing latency by 38%∼61%38\% \sim 61\% or improving accuracy by 1.8%∼4%1.8\% \sim 4\% over prior techniques on various encrypted datasets.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

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

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • AutoReP: Automatic ReLU Replacement for Fast Private Network Inference cites DeepReDuce: ReLU Reduction for Fast Private Inference
  • AutoReP: Automatic ReLU Replacement for Fast Private Network Inference cites Selective Network Linearization for Efficient Private Inference
  • LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted Inference cites AutoReP: Automatic ReLU Replacement for Fast Private 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
  • CryptoGCN: Fast and Scalable Homomorphically Encrypted Graph Convolutional Network Inference cites DeepReDuce: ReLU Reduction for Fast Private Inference
  • Selective Network Linearization for Efficient Private Inference cites DeepReDuce: ReLU Reduction for Fast Private Inference
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers23

  1. DeepReDuce: ReLU Reduction for Fast Private InferenceNandan Kumar Jha, Zahra Ghodsi, Siddharth Garg, Brandon ReagenICML 2021 · 108 citations
  2. LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted InferenceHongwu Peng, Ran Ran, Yukui Luo, Jiahui Zhao et al.NeurIPS 2023 · 57 citations
  3. Selective Network Linearization for Efficient Private InferenceMinsu Cho, Ameya Joshi, Brandon Reagen, Siddharth Garg et al.ICML 2022 · 55 citations
  4. CryptoGCN: Fast and Scalable Homomorphically Encrypted Graph Convolutional Network InferenceRan Ran, Wei Wang, Quan Gang, Jieming Yin et al.NeurIPS 2022 · 52 citations
  5. AutoReP: Automatic ReLU Replacement for Fast Private Network InferenceHongwu Peng, Shaoyi Huang, Tong Zhou, Yukui Luo et al.ICCV 2023 · 44 citations

Related papers

  1. AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHEWei Ao, Vishnu Naresh BoddetiUSENIX Security 2024 · 43 citations
  2. Delphi: A Cryptographic Inference Service for Neural NetworksPratyush Mishra, Ryan Lehmkuhl, Akshayaram Srinivasan, Wenting Zheng et al.USENIX Security 2020
  3. Falcon: Fast Spectral Inference on Encrypted DataQian Lou, Wen-jie Lu, Cheng Hong, Lei JiangNeurIPS 2020 · 50 citations
  4. Fast and Private Inference of Deep Neural Networks by Co-designing Activation FunctionsAbdulrahman Diaa, Lucas Fenaux, Thomas Humphries, Marian Dietz et al.USENIX Security 2024 · 13 citations
  5. CrypTFlow2: Practical 2-Party Secure InferenceDeevashwer Rathee, Mayank Rathee, Nishant Kumar, Nishanth Chandran et al.CCS 2020 · 294 citations
Dusk over the sea between two cliffs drawn in fine vertical lines