Lune

NeurIPS2021顶会

Circa: Stochastic ReLUs for Private Deep Learning

Zahra Ghodsi, Nandan Kumar Jha, Brandon Reagen, Siddharth Garg

摘要

The simultaneous rise of machine learning as a service and concerns over user privacy have increasingly motivated the need for private inference (PI). While recent work demonstrates PI is possible using cryptographic primitives, the computational overheads render it impractical. The community is largely unprepared to address these overheads, as the source of slowdown in PI stems from the ReLU operator whereas optimizations for plaintext inference focus on optimizing FLOPs. In this paper we re-think the ReLU computation and propose optimizations for PI tailored to properties of neural networks. Specifically, we reformulate ReLU as an approximate sign test and introduce a novel truncation method for the sign test that significantly reduces the cost per ReLU. These optimizations result in a specific type of stochastic ReLU. The key observation is that the stochastic fault behavior is well suited for the fault-tolerant properties of neural network inference. Thus, we provide significant savings without impacting accuracy. We collectively call the optimizations Circa and demonstrate improvements of up to 4.7× storage and 3× runtime over baseline implementations; we further show that Circa can be used on top of recent PI optimizations to obtain 1.8× additional speedup.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Oblivious Neural Network Predictions via MiniONN Transformations 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Iron: Private Inference on Transformers 引用了 DeepReDuce: ReLU Reduction for Fast Private Inference
  • Iron: Private Inference on Transformers 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • Iron: Private Inference on Transformers 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • XONN: XNOR-based Oblivious Deep Neural Network Inference 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
  • XONN: XNOR-based Oblivious Deep Neural Network Inference 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • XONN: XNOR-based Oblivious Deep Neural Network Inference 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • DeepReDuce: ReLU Reduction for Fast Private Inference 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
  • DeepReDuce: ReLU Reduction for Fast Private Inference 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • DeepReDuce: ReLU Reduction for Fast Private Inference 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • SAL-ViT: Towards Latency Efficient Private Inference on ViT using Selective Attention Search with a Learnable Softmax Approximation 引用了 Iron: Private Inference on Transformers
  • SAL-ViT: Towards Latency Efficient Private Inference on ViT using Selective Attention Search with a Learnable Softmax Approximation 引用了 XONN: XNOR-based Oblivious Deep Neural Network Inference
  • SAL-ViT: Towards Latency Efficient Private Inference on ViT using Selective Attention Search with a Learnable Softmax Approximation 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • SAL-ViT: Towards Latency Efficient Private Inference on ViT using Selective Attention Search with a Learnable Softmax Approximation 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Characterizing and Optimizing End-to-End Systems for Private Inference 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
  • Characterizing and Optimizing End-to-End Systems for Private Inference 引用了 DeepReDuce: ReLU Reduction for Fast Private Inference
  • Characterizing and Optimizing End-to-End Systems for Private Inference 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHE 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
  • AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHE 引用了 Iron: Private Inference on Transformers
  • AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHE 引用了 DeepReDuce: ReLU Reduction for Fast Private Inference
  • AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHE 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • GAZELLE: A Low Latency Framework for Secure Neural Network Inference 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
  • GAZELLE: A Low Latency Framework for Secure Neural Network Inference 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper8

  1. Iron: Private Inference on TransformersMeng Hao, Hongwei Li, Hanxiao Chen, Pengzhi Xing 等NeurIPS 2022 · 209 次引用
  2. AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHEWei Ao, Vishnu Naresh BoddetiUSENIX Security 2024 · 43 次引用
  3. 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 次引用
  4. On the Gini-impurity Preservation For Privacy Random ForestsXinran Xie, Man-Jie Yuan, Xuetong Bai, Wei Gao 等NeurIPS 2023 · 17 次引用
  5. Characterizing and Optimizing End-to-End Systems for Private InferenceKarthik Garimella, Zahra Ghodsi, Nandan Kumar Jha, Siddharth Garg 等ASPLOS 2023 · 15 次引用

它引用的 Paper8

  1. SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 次引用
  2. GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 次引用
  3. Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 次引用
  4. XONN: XNOR-based Oblivious Deep Neural Network InferenceM. Sadegh Riazi, Mohammad Samragh, Hao Chen, Kim Laine 等USENIX Security 2019 · 314 次引用
  5. DeepReDuce: ReLU Reduction for Fast Private InferenceNandan Kumar Jha, Zahra Ghodsi, Siddharth Garg, Brandon ReagenICML 2021 · 108 次引用

相关 Paper

  1. Selective Network Linearization for Efficient Private InferenceMinsu Cho, Ameya Joshi, Brandon Reagen, Siddharth Garg 等ICML 2022 · 55 次引用
  2. ReLUPruner: Rethinking ReLU Importance with Taylor Expansion for Efficient Private InferenceZhenpeng Li, Jinshuo Liu, Xinyan Wang, Lina Wang 等AAAI 2026
  3. AutoReP: Automatic ReLU Replacement for Fast Private Network InferenceHongwu Peng, Shaoyi Huang, Tong Zhou, Yukui Luo 等ICCV 2023 · 44 次引用
  4. CryptoNAS: Private Inference on a ReLU BudgetZahra Ghodsi, Akshaj Kumar Veldanda, Brandon Reagen, Siddharth GargNeurIPS 2020 · 103 次引用
  5. Disparate Impact on Group Accuracy of Linearization for Private InferenceSaswat Das, Marco Romanelli, Ferdinando FiorettoICML 2024 · 4 次引用
黄昏的海面,两侧是细线勾勒的悬崖