Lune

CCS2020Top-tier venue

CrypTFlow2: Practical 2-Party Secure Inference

Deevashwer Rathee, Mayank Rathee, Nishant Kumar, Nishanth Chandran, Divya Gupta, Aseem Rastogi, Rahul Sharma

Abstract

We present CrypTFlow2, a cryptographic framework for secure inference over realistic Deep Neural Networks (DNNs) using secure 2-party computation. CrypTFlow2 protocols are both correct -- i.e., their outputs are bitwise equivalent to the cleartext execution -- and efficient -- they outperform the state-of-the-art protocols in both latency and scale. At the core of CrypTFlow2, we have new 2PC protocols for secure comparison and division, designed carefully to balance round and communication complexity for secure inference tasks. Using CrypTFlow2, we present the first secure inference over ImageNet-scale DNNs like ResNet50 and DenseNet121. These DNNs are at least an order of magnitude larger than those considered in the prior work of 2-party DNN inference. Even on the benchmarks considered by prior work, CrypTFlow2 requires an order of magnitude less communication and 20x-30x less time than the state-of-the-art.

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.

89 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

  • SiRnn: A Math Library for Secure RNN Inference cites Oblivious Neural Network Predictions via MiniONN Transformations
  • SiRnn: A Math Library for Secure RNN Inference cites ABY3: A Mixed Protocol Framework for Machine Learning
  • SiRnn: A Math Library for Secure RNN Inference cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • SiRnn: A Math Library for Secure RNN Inference cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Cerebro: A Platform for Multi-Party Cryptographic Collaborative Learning cites Oblivious Neural Network Predictions via MiniONN Transformations
  • Cerebro: A Platform for Multi-Party Cryptographic Collaborative Learning cites Muse: Secure Inference Resilient to Malicious Clients
  • Cerebro: A Platform for Multi-Party Cryptographic Collaborative Learning cites ABY3: A Mixed Protocol Framework for Machine Learning
  • Cerebro: A Platform for Multi-Party Cryptographic Collaborative Learning cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • Cerebro: A Platform for Multi-Party Cryptographic Collaborative Learning cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Oblivious Neural Network Predictions via MiniONN Transformations cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Iron: Private Inference on Transformers cites SiRnn: A Math Library for Secure RNN Inference
  • Iron: Private Inference on Transformers cites Muse: Secure Inference Resilient to Malicious Clients
  • Iron: Private Inference on Transformers cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • Iron: Private Inference on Transformers cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Muse: Secure Inference Resilient to Malicious Clients cites Oblivious Neural Network Predictions via MiniONN Transformations
  • Muse: Secure Inference Resilient to Malicious Clients cites ABY3: A Mixed Protocol Framework for Machine Learning
  • Muse: Secure Inference Resilient to Malicious Clients cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers cites SiRnn: A Math Library for Secure RNN Inference
  • BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers cites Cerebro: A Platform for Multi-Party Cryptographic Collaborative Learning
  • BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers cites Iron: Private Inference on Transformers
  • BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers cites Muse: Secure Inference Resilient to Malicious Clients
  • BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
  • BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • GAZELLE: A Low Latency Framework for Secure Neural Network Inference cites Oblivious Neural Network Predictions via MiniONN Transformations
  • 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 papers89

  1. Iron: Private Inference on TransformersMeng Hao, Hongwei Li, Hanxiao Chen, Pengzhi Xing et al.NeurIPS 2022 · 209 citations
  2. SiRnn: A Math Library for Secure RNN InferenceDeevashwer Rathee, Mayank Rathee, Rahul Kranti Kiran Goli, Divya Gupta et al.S&P 2021 · 154 citations
  3. BOLT: Privacy-Preserving, Accurate and Efficient Inference for TransformersQi Pang, Jinhao Zhu, Helen Möllering, Wenting Zheng et al.S&P 2024 · 149 citations
  4. Muse: Secure Inference Resilient to Malicious ClientsRyan Lehmkuhl, Pratyush Mishra, Akshayaram Srinivasan, Raluca Ada PopaUSENIX Security 2021 · 115 citations
  5. Cerebro: A Platform for Multi-Party Cryptographic Collaborative LearningWenting Zheng, Ryan Deng, Weikeng Chen, Raluca Ada Popa et al.USENIX Security 2021 · 85 citations

Builds on15

  1. SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 citations
  2. GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 citations
  3. ABY3: A Mixed Protocol Framework for Machine LearningPayman Mohassel, Peter RindalCCS 2018 · 898 citations
  4. Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 citations
  5. Data-Free Quantization Through Weight Equalization and Bias CorrectionMarkus Nagel, Mart van Baalen, Tijmen Blankevoort, Max WellingICCV 2019 · 622 citations

Related papers

  1. Cheetah: Lean and Fast Secure Two-Party Deep Neural Network InferenceZhicong Huang, Wen-jie Lu, Cheng Hong, Jiansheng DingUSENIX Security 2022
  2. CoPriv: Network/Protocol Co-Optimization for Communication-Efficient Private InferenceWenxuan Zeng, Meng Li, Haichuan Yang, Wen-jie Lu et al.NeurIPS 2023 · 19 citations
  3. SecFloat: Accurate Floating-Point meets Secure 2-Party ComputationDeevashwer Rathee, Anwesh Bhattacharya, Rahul Sharma, Divya Gupta et al.S&P 2022 · 65 citations
  4. COINN: Crypto/ML Codesign for Oblivious Inference via Neural NetworksSiam Umar Hussain, Mojan Javaheripi, Mohammad Samragh, Farinaz KoushanfarCCS 2021 · 25 citations
  5. CrypTFlow: Secure TensorFlow InferenceNishant Kumar, Mayank Rathee, Nishanth Chandran, Divya Gupta et al.S&P 2020 · 276 citations
Dusk over the sea between two cliffs drawn in fine vertical lines