Selective Network Linearization for Efficient Private Inference
Minsu Cho, Ameya Joshi, Brandon Reagen, Siddharth Garg, Chinmay Hegde
摘要
Private inference (PI) enables inference directly on cryptographically secure data.While promising to address many privacy issues, it has seen limited use due to extreme runtimes. Unlike plaintext inference, where latency is dominated by FLOPs, in PI non-linear functions (namely ReLU) are the bottleneck. Thus, practical PI demands novel ReLU-aware optimizations. To reduce PI latency we propose a gradient-based algorithm that selectively linearizes ReLUs while maintaining prediction accuracy. We evaluate our algorithm on several standard PI benchmarks. The results demonstrate up to more accuracy (iso-ReLU count at 50K) or less latency (iso-accuracy at 70%) than the current state of the art and advance the Pareto frontier across the latency-accuracy space. To complement empirical results, we present a"no free lunch"theorem that sheds light on how and when network linearization is possible while maintaining prediction accuracy. Public code is available at https://github.com/NYU-DICE-Lab/selective_network_linearization.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 17 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- AutoReP: Automatic ReLU Replacement for Fast Private Network Inference 引用了 DeepReDuce: ReLU Reduction for Fast Private Inference
- AutoReP: Automatic ReLU Replacement for Fast Private Network Inference 引用了 CryptoNAS: Private Inference on a ReLU Budget
- AutoReP: Automatic ReLU Replacement for Fast Private Network Inference 引用了 SAFENet: A Secure, Accurate and Fast Neural Network Inference
- CrypTFlow2: Practical 2-Party Secure Inference 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted Inference 引用了 AutoReP: Automatic ReLU Replacement for Fast Private Network Inference
- LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted Inference 引用了 DeepReDuce: ReLU Reduction for Fast Private Inference
- LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted Inference 引用了 CryptoNAS: Private Inference on a ReLU Budget
- LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted Inference 引用了 SAFENet: A Secure, Accurate and Fast Neural Network Inference
- DeepReDuce: ReLU Reduction for Fast Private Inference 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- DeepReDuce: ReLU Reduction for Fast Private Inference 引用了 CryptoNAS: Private Inference on a ReLU Budget
- DeepReDuce: ReLU Reduction for Fast Private Inference 引用了 SAFENet: A Secure, Accurate and Fast Neural Network Inference
- PrivCirNet: Efficient Private Inference via Block Circulant Transformation 引用了 AutoReP: Automatic ReLU Replacement for Fast Private Network Inference
- PrivCirNet: Efficient Private Inference via Block Circulant Transformation 引用了 CrypTFlow2: Practical 2-Party Secure Inference
- PrivCirNet: Efficient Private Inference via Block Circulant Transformation 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- PrivCirNet: Efficient Private Inference via Block Circulant Transformation 引用了 DeepReDuce: ReLU Reduction for Fast Private Inference
- SAL-ViT: Towards Latency Efficient Private Inference on ViT using Selective Attention Search with a Learnable Softmax Approximation 引用了 MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attention
- MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attention 引用了 CrypTFlow2: Practical 2-Party Secure Inference
- MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attention 引用了 DeepReDuce: ReLU Reduction for Fast Private Inference
- MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attention 引用了 CryptoNAS: Private Inference on a ReLU Budget
- MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attention 引用了 SAFENet: A Secure, Accurate and Fast Neural Network Inference
- CryptoNAS: Private Inference on a ReLU Budget 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
引用它的顶会 Paper17
- LinGCN: Structural Linearized Graph Convolutional Network for Homomorphically Encrypted InferenceHongwu Peng, Ran Ran, Yukui Luo, Jiahui Zhao 等NeurIPS 2023 · 57 次引用
- AutoReP: Automatic ReLU Replacement for Fast Private Network InferenceHongwu Peng, Shaoyi Huang, Tong Zhou, Yukui Luo 等ICCV 2023 · 44 次引用
- MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous AttentionWenxuan Zeng, Meng Li, Wenjie Xiong, Tong Tong 等ICCV 2023 · 38 次引用
- SAL-ViT: Towards Latency Efficient Private Inference on ViT using Selective Attention Search with a Learnable Softmax ApproximationYuke Zhang, Dake Chen, Souvik Kundu, Chenghao Li 等ICCV 2023 · 30 次引用
- PrivCirNet: Efficient Private Inference via Block Circulant TransformationTianshi Xu, Lemeng Wu, Runsheng Wang, Meng LiNeurIPS 2024 · 21 次引用
它引用的 Paper6
- Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 次引用
- CrypTFlow2: Practical 2-Party Secure InferenceDeevashwer Rathee, Mayank Rathee, Nishant Kumar, Nishanth Chandran 等CCS 2020 · 294 次引用
- DeepReDuce: ReLU Reduction for Fast Private InferenceNandan Kumar Jha, Zahra Ghodsi, Siddharth Garg, Brandon ReagenICML 2021 · 108 次引用
- CryptoNAS: Private Inference on a ReLU BudgetZahra Ghodsi, Akshaj Kumar Veldanda, Brandon Reagen, Siddharth GargNeurIPS 2020 · 103 次引用
- SAFENet: A Secure, Accurate and Fast Neural Network InferenceQian Lou, Yilin Shen, Hongxia Jin, Lei JiangICLR 2021 · 65 次引用
相关 Paper
- Circa: Stochastic ReLUs for Private Deep LearningZahra Ghodsi, Nandan Kumar Jha, Brandon Reagen, Siddharth GargNeurIPS 2021 · 41 次引用
- Learning to Linearize Deep Neural Networks for Secure and Efficient Private InferenceSouvik Kundu, Shunlin Lu, Yuke Zhang, Jacqueline Tiffany Liu 等ICLR 2023 · 3 次引用
- Disparate Impact on Group Accuracy of Linearization for Private InferenceSaswat Das, Marco Romanelli, Ferdinando FiorettoICML 2024 · 4 次引用
- ReLUPruner: Rethinking ReLU Importance with Taylor Expansion for Efficient Private InferenceZhenpeng Li, Jinshuo Liu, Xinyan Wang, Lina Wang 等AAAI 2026
- Characterizing and Optimizing End-to-End Systems for Private InferenceKarthik Garimella, Zahra Ghodsi, Nandan Kumar Jha, Siddharth Garg 等ASPLOS 2023 · 15 次引用
