Lune

S&P2021顶会

SiRnn: A Math Library for Secure RNN Inference

Deevashwer Rathee, Mayank Rathee, Rahul Kranti Kiran Goli, Divya Gupta, Rahul Sharma, Nishanth Chandran, Aseem Rastogi

摘要

Complex machine learning (ML) inference algorithms like recurrent neural networks (RNNs) use standard functions from math libraries like exponentiation, sigmoid, tanh, and reciprocal of square root. Although prior work on secure 2-party inference provides specialized protocols for convolutional neural networks (CNNs), existing secure implementations of these math operators rely on generic 2-party computation (2PC) protocols that suffer from high communication. We provide new specialized 2PC protocols for math functions that crucially rely on lookup-tables and mixed-bitwidths to address this performance overhead; our protocols for math functions communicate up to 423× less data than prior work. Furthermore, our math implementations are numerically precise, which ensures that the secure implementations preserve model accuracy of cleartext. We build on top of our novel protocols to build SiRnn, a library for end-to-end secure 2-party DNN inference, that provides the first secure implementations of an RNN operating on time series sensor data, an RNN operating on speech data, and a state-of-the-art ML architecture that combines CNNs and RNNs for identifying all heads present in images. Our evaluation shows that SiRnn achieves up to three orders of magnitude of performance improvement when compared to inference of these models using an existing state-of-the-art 2PC framework.

问 Lune

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

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

已有 47 篇顶会 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 引用了 CrypTen: Secure Multi-Party Computation Meets Machine Learning
  • 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
  • MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attention 引用了 Iron: Private Inference on Transformers
  • MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attention 引用了 ABY3: A Mixed Protocol Framework for Machine Learning
  • MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attention 引用了 CrypTen: Secure Multi-Party Computation Meets Machine Learning
  • MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attention 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
  • CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 ABY3: A Mixed Protocol Framework for Machine Learning
  • CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Nimbus: Secure and Efficient Two-Party Inference for Transformers 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
  • Nimbus: Secure and Efficient Two-Party Inference for Transformers 引用了 Iron: Private Inference on Transformers
  • Nimbus: Secure and Efficient Two-Party Inference for Transformers 引用了 MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous Attention
  • Nimbus: Secure and Efficient Two-Party Inference for Transformers 引用了 CrypTen: Secure Multi-Party Computation Meets Machine Learning
  • Nimbus: Secure and Efficient Two-Party Inference for Transformers 引用了 BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers
  • Nimbus: Secure and Efficient Two-Party Inference for Transformers 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers 引用了 Iron: Private Inference on Transformers
  • BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers 引用了 CrypTen: Secure Multi-Party Computation Meets Machine Learning
  • BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • 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 引用了 CrypTen: Secure Multi-Party Computation Meets Machine Learning
  • 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
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper47

  1. Iron: Private Inference on TransformersMeng Hao, Hongwei Li, Hanxiao Chen, Pengzhi Xing 等NeurIPS 2022 · 209 次引用
  2. BOLT: Privacy-Preserving, Accurate and Efficient Inference for TransformersQi Pang, Jinhao Zhu, Helen Möllering, Wenting Zheng 等S&P 2024 · 149 次引用
  3. AutoFHE: Automated Adaption of CNNs for Efficient Evaluation over FHEWei Ao, Vishnu Naresh BoddetiUSENIX Security 2024 · 43 次引用
  4. MPCViT: Searching for Accurate and Efficient MPC-Friendly Vision Transformer with Heterogeneous AttentionWenxuan Zeng, Meng Li, Wenjie Xiong, Tong Tong 等ICCV 2023 · 38 次引用
  5. Nimbus: Secure and Efficient Two-Party Inference for TransformersZhengyi Li, Kang Yang, Jin Tan, Wen-jie Lu 等NeurIPS 2024 · 34 次引用

它引用的 Paper24

  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. ABY3: A Mixed Protocol Framework for Machine LearningPayman Mohassel, Peter RindalCCS 2018 · 898 次引用
  4. Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 次引用
  5. CrypTen: Secure Multi-Party Computation Meets Machine LearningBrian Knott, Shobha Venkataraman, Awni Y. Hannun, Shubho Sengupta 等NeurIPS 2021 · 573 次引用

相关 Paper

  1. SecFloat: Accurate Floating-Point meets Secure 2-Party ComputationDeevashwer Rathee, Anwesh Bhattacharya, Rahul Sharma, Divya Gupta 等S&P 2022 · 65 次引用
  2. CrypTFlow2: Practical 2-Party Secure InferenceDeevashwer Rathee, Mayank Rathee, Nishant Kumar, Nishanth Chandran 等CCS 2020 · 294 次引用
  3. CoPriv: Network/Protocol Co-Optimization for Communication-Efficient Private InferenceWenxuan Zeng, Meng Li, Haichuan Yang, Wen-jie Lu 等NeurIPS 2023 · 19 次引用
  4. Secure Floating-Point TrainingDeevashwer Rathee, Anwesh Bhattacharya, Divya Gupta, Rahul Sharma 等USENIX Security 2023
  5. Cheetah: Lean and Fast Secure Two-Party Deep Neural Network InferenceZhicong Huang, Wen-jie Lu, Cheng Hong, Jiansheng DingUSENIX Security 2022
黄昏的海面,两侧是细线勾勒的悬崖