CrypTFlow: Secure TensorFlow Inference
Nishant Kumar, Mayank Rathee, Nishanth Chandran, Divya Gupta, Aseem Rastogi, Rahul Sharma
摘要
We present CrypTFlow, a first of its kind system that converts TensorFlow inference code into Secure Multi-party Computation (MPC) protocols at the push of a button. To do this, we build three components. Our first component, Athos, is an end-to-end compiler from TensorFlow to a variety of semihonest MPC protocols. The second component, Porthos, is an improved semi-honest 3-party protocol that provides significant speedups for TensorFlow like applications. Finally, to provide malicious secure MPC protocols, our third component, Aramis, is a novel technique that uses hardware with integrity guarantees to convert any semi-honest MPC protocol into an MPC protocol that provides malicious security. The malicious security of the protocols output by Aramis relies on integrity of the hardware and semi-honest security of MPC. Moreover, our system matches the inference accuracy of plaintext TensorFlow.We experimentally demonstrate the power of our system by showing the secure inference of real-world neural networks such as ResNet50 and DenseNet121 over the ImageNet dataset with running times of about 30 seconds for semi-honest security and under two minutes for malicious security. Prior work in the area of secure inference has been limited to semi-honest security of small networks over tiny datasets such as MNIST or CIFAR. Even on MNIST/CIFAR, CrypTFlow outperforms prior work.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 57 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Exploiting Unintended Feature Leakage in Collaborative Learning 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- SiRnn: A Math Library for Secure RNN Inference 引用了 CrypTFlow2: Practical 2-Party Secure Inference
- SiRnn: A Math Library for Secure RNN Inference 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- SiRnn: A Math Library for Secure RNN Inference 引用了 ABY3: A Mixed Protocol Framework for Machine Learning
- SiRnn: A Math Library for Secure RNN Inference 引用了 CrypTen: Secure Multi-Party Computation Meets Machine Learning
- SiRnn: A Math Library for Secure RNN Inference 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- SiRnn: A Math Library for Secure RNN Inference 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- CrypTFlow2: Practical 2-Party Secure Inference 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- CrypTFlow2: Practical 2-Party Secure Inference 引用了 ABY3: A Mixed Protocol Framework for Machine Learning
- CrypTFlow2: Practical 2-Party Secure Inference 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- CrypTFlow2: Practical 2-Party Secure Inference 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- CryptGPU: Fast Privacy-Preserving Machine Learning on the GPU 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- CryptGPU: Fast Privacy-Preserving Machine Learning on the GPU 引用了 ABY3: A Mixed Protocol Framework for Machine Learning
- CryptGPU: Fast Privacy-Preserving Machine Learning on the GPU 引用了 CrypTen: Secure Multi-Party Computation Meets Machine Learning
- CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 CryptGPU: Fast Privacy-Preserving Machine Learning on the GPU
- CryptGPU: Fast Privacy-Preserving Machine Learning on the GPU 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- CryptGPU: Fast Privacy-Preserving Machine Learning on the GPU 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- Oblivious Neural Network Predictions via MiniONN Transformations 引用了 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
- Fantastic Four: Honest-Majority Four-Party Secure Computation With Malicious Security 引用了 ABY3: A Mixed Protocol Framework for Machine Learning
- Fantastic Four: Honest-Majority Four-Party Secure Computation With Malicious Security 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- 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
引用它的顶会 Paper57
- CrypTen: Secure Multi-Party Computation Meets Machine LearningBrian Knott, Shobha Venkataraman, Awni Y. Hannun, Shubho Sengupta 等NeurIPS 2021 · 573 次引用
- CrypTFlow2: Practical 2-Party Secure InferenceDeevashwer Rathee, Mayank Rathee, Nishant Kumar, Nishanth Chandran 等CCS 2020 · 294 次引用
- CryptGPU: Fast Privacy-Preserving Machine Learning on the GPUSijun Tan, Brian Knott, Yuan Tian, David J. WuS&P 2021 · 241 次引用
- Fantastic Four: Honest-Majority Four-Party Secure Computation With Malicious SecurityAnders P. K. Dalskov, Daniel Escudero, Marcel KellerUSENIX Security 2021 · 174 次引用
- SiRnn: A Math Library for Secure RNN InferenceDeevashwer Rathee, Mayank Rathee, Rahul Kranti Kiran Goli, Divya Gupta 等S&P 2021 · 154 次引用
它引用的 Paper17
- SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 次引用
- Exploiting Unintended Feature Leakage in Collaborative LearningLuca Melis, Congzheng Song, Emiliano De Cristofaro, Vitaly ShmatikovS&P 2019 · 1,736 次引用
- GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 次引用
- ABY3: A Mixed Protocol Framework for Machine LearningPayman Mohassel, Peter RindalCCS 2018 · 898 次引用
- Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 次引用
相关 Paper
- MPC-Pipe: an Efficient Pipeline Scheme for Semi-honest MPC Machine LearningYongqin Wang, Rachit Rajat, Murali AnnavaramASPLOS 2024 · 5 次引用
- Mosformer: Maliciously Secure Three-Party Inference Framework for Large TransformersKe Cheng, Yuheng Xia, Anxiao Song, Jiaxuan Fu 等CCS 2025
- Secure Quantized Training for Deep LearningMarcel Keller, Ke SunICML 2022 · 84 次引用
- Piranha: A GPU Platform for Secure ComputationJean-Luc Watson, Sameer Wagh, Raluca Ada PopaUSENIX Security 2022
- CRISP: An Efficient Cryptographic Framework for ML Inference Against Malicious ClientsXiaoyu Fang, Shihui Zheng, Lize GuNDSS 2026
