Lune

ICCV2023Top-tier venue

AutoReP: Automatic ReLU Replacement for Fast Private Network Inference

Hongwu Peng, Shaoyi Huang, Tong Zhou, Yukui Luo, Chenghong Wang, Zigeng Wang, Jiahui Zhao, Xi Xie, Ang Li, Tony Geng, Kaleel Mahmood, Wujie Wen

Abstract

The growth of the Machine-Learning-As-A-Service (MLaaS) market has highlighted clients' data privacy and security issues. Private inference (PI) techniques using cryptographic primitives offer a solution but often have high computation and communication costs, particularly with non-linear operators like ReLU. Many attempts to reduce ReLU operations exist, but they may need heuristic threshold selection or cause substantial accuracy loss. This work introduces AutoReP, a gradient-based approach to lessen non-linear operators and alleviate these issues. It automates the selection of ReLU and polynomial functions to speed up PI applications and introduces distributionaware polynomial approximation (DaPa) to maintain model expressivity while accurately approximating ReLUs. Our experimental results demonstrate significant accuracy improvements of 6.12% (94.31%, 12.9K ReLU budget, CIFAR-10), 8.39% (74.92%, 12.9K ReLU budget, CIFAR-100), and 9.45% (63.69%, 55K ReLU budget, Tiny-ImageNet) over current state-of-the-art methods, e.g., SNL. Morever, Au-toReP is applied to EfficientNet-B2 on ImageNet dataset, and achieved 75.55% accuracy with 176.1 × ReLU budget reduction. The codes are shared on Github 1 .

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.

7 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 CrypTen: Secure Multi-Party Computation Meets Machine Learning
  • HawkEye: Statically and Accurately Profiling the Communication Cost of Models in Multi-party Learning cites CrypTen: Secure Multi-Party Computation Meets Machine Learning
  • HawkEye: Statically and Accurately Profiling the Communication Cost of Models in Multi-party Learning cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • XONN: XNOR-based Oblivious Deep Neural Network Inference cites Practical Secure Aggregation for Privacy-Preserving Machine Learning
  • 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
  • PrivCirNet: Efficient Private Inference via Block Circulant Transformation cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • PrivCirNet: Efficient Private Inference via Block Circulant Transformation cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • ReLUPruner: Rethinking ReLU Importance with Taylor Expansion for Efficient Private Inference cites CrypTen: Secure Multi-Party Computation Meets Machine Learning
  • ReLUPruner: Rethinking ReLU Importance with Taylor Expansion for Efficient Private Inference cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • ReLUPruner: Rethinking ReLU Importance with Taylor Expansion for Efficient Private Inference cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • CrypTen: Secure Multi-Party Computation Meets Machine Learning cites XONN: XNOR-based Oblivious Deep Neural Network Inference
  • CrypTen: Secure Multi-Party Computation Meets Machine Learning cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • CrypTen: Secure Multi-Party Computation Meets Machine Learning cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • 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 papers7

  1. LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted InferenceHongwu Peng, Ran Ran, Yukui Luo, Jiahui Zhao et al.NeurIPS 2023 · 57 citations
  2. PrivCirNet: Efficient Private Inference via Block Circulant TransformationTianshi Xu, Lemeng Wu, Runsheng Wang, Meng LiNeurIPS 2024 · 21 citations
  3. Muffin: A Framework Toward Multi-Dimension AI Fairness by Uniting Off-the-Shelf ModelsYi Sheng, Junhuan Yang, Lei Yang, Yiyu Shi et al.DAC 2023 · 3 citations
  4. HawkEye: Statically and Accurately Profiling the Communication Cost of Models in Multi-party LearningWenqiang Ruan, Xin Lin, Ruisheng Zhou, Guopeng Lin et al.USENIX Security 2025
  5. ReLUPruner: Rethinking ReLU Importance with Taylor Expansion for Efficient Private InferenceZhenpeng Li, Jinshuo Liu, Xinyan Wang, Lina Wang et al.AAAI 2026

Builds on25

  1. Practical Secure Aggregation for Privacy-Preserving Machine LearningKallista A. Bonawitz, Vladimir Ivanov, Ben Kreuter, Antonio Marcedone et al.CCS 2017 · 3,936 citations
  2. SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 citations
  3. GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 citations
  4. CrypTen: Secure Multi-Party Computation Meets Machine LearningBrian Knott, Shobha Venkataraman, Awni Y. Hannun, Shubho Sengupta et al.NeurIPS 2021 · 573 citations
  5. XONN: XNOR-based Oblivious Deep Neural Network InferenceM. Sadegh Riazi, Mohammad Samragh, Hao Chen, Kim Laine et al.USENIX Security 2019 · 314 citations

Related papers

  1. CryptoNAS: Private Inference on a ReLU BudgetZahra Ghodsi, Akshaj Kumar Veldanda, Brandon Reagen, Siddharth GargNeurIPS 2020 · 103 citations
  2. Selective Network Linearization for Efficient Private InferenceMinsu Cho, Ameya Joshi, Brandon Reagen, Siddharth Garg et al.ICML 2022 · 55 citations
  3. Circa: Stochastic ReLUs for Private Deep LearningZahra Ghodsi, Nandan Kumar Jha, Brandon Reagen, Siddharth GargNeurIPS 2021 · 41 citations
  4. 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
  5. DeepReDuce: ReLU Reduction for Fast Private InferenceNandan Kumar Jha, Zahra Ghodsi, Siddharth Garg, Brandon ReagenICML 2021 · 108 citations
Dusk over the sea between two cliffs drawn in fine vertical lines