CrypTen: Secure Multi-Party Computation Meets Machine Learning
Brian Knott, Shobha Venkataraman, Awni Y. Hannun, Shubho Sengupta, Mark Ibrahim, Laurens van der Maaten
Abstract
Secure multi-party computation (MPC) allows parties to perform computations on data while keeping that data private. This capability has great potential for machine-learning applications: it facilitates training of machine-learning models on private data sets owned by different parties, evaluation of one party's private model using another party's private data, etc. Although a range of studies implement machine-learning models via secure MPC, such implementations are not yet mainstream. Adoption of secure MPC is hampered by the absence of flexible software frameworks that "speak the language" of machine-learning researchers and engineers. To foster adoption of secure MPC in machine learning, we present CRYPTEN: a software framework that exposes popular secure MPC primitives via abstractions that are common in modern machine-learning frameworks, such as tensor computations, automatic differentiation, and modular neural networks. This paper describes the design of CRYPTEN and measure its performance on state-ofthe-art models for text classification, speech recognition, and image classification. Our benchmarks show that CRYPTEN's GPU support and high-performance communication between (an arbitrary number of) parties allows it to perform efficient private evaluation of modern machine-learning models under a semi-honest threat model. For example, two parties using CRYPTEN can securely predict phonemes in speech recordings using Wav2Letter [18] faster than real-time. We hope that CRYPTEN will spur adoption of secure MPC in the machine-learning community.
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.
91 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- MLP-Mixer: An all-MLP Architecture for Vision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- 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
- CryptGPU: Fast Privacy-Preserving Machine Learning on the GPU cites Deep Learning with Differential Privacy
- CryptGPU: Fast Privacy-Preserving Machine Learning on the GPU cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- CryptGPU: Fast Privacy-Preserving Machine Learning on the GPU 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 CryptGPU: Fast Privacy-Preserving Machine Learning on the GPU
- Iron: Private Inference on Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Iron: Private Inference on Transformers cites Deep Learning with Differential Privacy
- 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
- Leakage of Dataset Properties in Multi-Party Machine Learning cites Deep Learning with Differential Privacy
- Leakage of Dataset Properties in Multi-Party Machine Learning cites GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- Leakage of Dataset Properties in Multi-Party Machine Learning cites SecureML: A System for Scalable Privacy-Preserving Machine Learning
- 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 CryptGPU: Fast Privacy-Preserving Machine Learning on the GPU
- 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 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 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- SecureML: A System for Scalable Privacy-Preserving Machine Learning cites Deep Learning with Differential Privacy
Cited by top-tier papers91
- CryptGPU: Fast Privacy-Preserving Machine Learning on the GPUSijun Tan, Brian Knott, Yuan Tian, David J. WuS&P 2021 · 241 citations
- Iron: Private Inference on TransformersMeng Hao, Hongwei Li, Hanxiao Chen, Pengzhi Xing et al.NeurIPS 2022 · 209 citations
- SiRnn: A Math Library for Secure RNN InferenceDeevashwer Rathee, Mayank Rathee, Rahul Kranti Kiran Goli, Divya Gupta et al.S&P 2021 · 154 citations
- BOLT: Privacy-Preserving, Accurate and Efficient Inference for TransformersQi Pang, Jinhao Zhu, Helen Möllering, Wenting Zheng et al.S&P 2024 · 149 citations
- Leakage of Dataset Properties in Multi-Party Machine LearningWanrong Zhang, Shruti Tople, Olga OhrimenkoUSENIX Security 2021 · 92 citations
Builds on20
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan et al.CCS 2016 · 7,620 citations
- MLP-Mixer: An all-MLP Architecture for VisionIlya O. Tolstikhin, Neil Houlsby, Alexander Kolesnikov, Lucas Beyer et al.NeurIPS 2021 · 3,862 citations
- SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 citations
- GAZELLE: A Low Latency Framework for Secure Neural Network InferenceChiraag Juvekar, Vinod Vaikuntanathan, Anantha P. ChandrakasanUSENIX Security 2018 · 1,075 citations
Related papers
- MPC-Pipe: an Efficient Pipeline Scheme for Semi-honest MPC Machine LearningYongqin Wang, Rachit Rajat, Murali AnnavaramASPLOS 2024 · 5 citations
- Is MPC Secure? Leveraging Neural Network Classifiers to Detect Data Leakage Vulnerabilities in MPC ImplementationsGuopeng Lin, Xiaoning Du, Lushan Song, Weili Han et al.S&P 2025
- SecretFlow-SPU: A Performant and User-Friendly Framework for Privacy-Preserving Machine LearningJunming Ma, Yancheng Zheng, Jun Feng, Derun Zhao et al.USENIX ATC 2023 · 73 citations
- HawkEye: Statically and Accurately Profiling the Communication Cost of Models in Multi-party LearningWenqiang Ruan, Xin Lin, Ruisheng Zhou, Guopeng Lin et al.USENIX Security 2025
- ABY2.0: Improved Mixed-Protocol Secure Two-Party ComputationArpita Patra, Thomas Schneider, Ajith Suresh, Hossein YalameUSENIX Security 2021 · 307 citations
