CryptGPU: Fast Privacy-Preserving Machine Learning on the GPU
Sijun Tan, Brian Knott, Yuan Tian, David J. Wu
摘要
We introduce CryptGPU, a system for privacy-preserving machine learning that implements all operations on the GPU (graphics processing unit). Just as GPUs played a pivotal role in the success of modern deep learning, they are also essential for realizing scalable privacy-preserving deep learning. In this work, we start by introducing a new interface to losslessly embed cryptographic operations over secret-shared values (in a discrete domain) into floating-point operations that can be processed by highly-optimized CUDA kernels for linear algebra. We then identify a sequence of "GPU-friendly" cryptographic protocols to enable privacy-preserving evaluation of both linear and non-linear operations on the GPU. Our microbenchmarks indicate that our private GPU-based convolution protocol is over 150× faster than the analogous CPU-based protocol; for non-linear operations like the ReLU activation function, our GPU-based protocol is around 10× faster than its CPU analog. With CryptGPU, we support private inference and training on convolutional neural networks with over 60 million parameters as well as handle large datasets like ImageNet. Compared to the previous state-of-the-art, our protocols achieve a 2× to 8× improvement in private inference for large networks and datasets. For private training, we achieve a 6× to 36× improvement over prior state-of-the-art. Our work not only showcases the viability of performing secure multiparty computation (MPC) entirely on the GPU to newly enable fast privacy-preserving machine learning, but also highlights the importance of designing new MPC primitives that can take full advantage of the GPU’s computing capabilities.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 57 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Iron: Private Inference on Transformers 引用了 CrypTen: Secure Multi-Party Computation Meets Machine Learning
- Iron: Private Inference on Transformers 引用了 Deep Learning with Differential Privacy
- 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
- Waldo: A Private Time-Series Database from Function Secret Sharing 引用了 ABY3: A Mixed Protocol Framework for Machine Learning
- CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 ABY3: A Mixed Protocol Framework for Machine Learning
- CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 Deep Learning with Differential Privacy
- 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
- 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
- GAZELLE: A Low Latency Framework for Secure Neural Network Inference 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- SecureML: A System for Scalable Privacy-Preserving Machine Learning 引用了 Deep Learning with Differential Privacy
引用它的顶会 Paper57
- CrypTen: Secure Multi-Party Computation Meets Machine LearningBrian Knott, Shobha Venkataraman, Awni Y. Hannun, Shubho Sengupta 等NeurIPS 2021 · 573 次引用
- Iron: Private Inference on TransformersMeng Hao, Hongwei Li, Hanxiao Chen, Pengzhi Xing 等NeurIPS 2022 · 209 次引用
- BOLT: Privacy-Preserving, Accurate and Efficient Inference for TransformersQi Pang, Jinhao Zhu, Helen Möllering, Wenting Zheng 等S&P 2024 · 149 次引用
- Poseidon: Practical Homomorphic Encryption AcceleratorYinghao Yang, Huaizhi Zhang, Shengyu Fan, Hang Lu 等HPCA 2023 · 109 次引用
- Waldo: A Private Time-Series Database from Function Secret SharingEmma Dauterman, Mayank Rathee, Raluca Ada Popa, Ion StoicaS&P 2022 · 91 次引用
它引用的 Paper13
- Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan 等CCS 2016 · 7,620 次引用
- SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 次引用
- Stealing Machine Learning Models via Prediction APIsFlorian Tramèr, Fan Zhang, Ari Juels, Michael K. Reiter 等USENIX Security 2016 · 2,088 次引用
- 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 次引用
相关 Paper
- Piranha: A GPU Platform for Secure ComputationJean-Luc Watson, Sameer Wagh, Raluca Ada PopaUSENIX Security 2022
- CrypTFlow2: Practical 2-Party Secure InferenceDeevashwer Rathee, Mayank Rathee, Nishant Kumar, Nishanth Chandran 等CCS 2020 · 294 次引用
- Co-Prime: A Co-design Framework for Privacy Preserving Machine Learning on FPGAShuo Xu, Jiming Xu, Pengfei Xue, Xinyao Wang 等CCS 2025
- Efficient, Secure, Differentially Private Deep Learning in the Two-Server ModelJun Feng, Hong Sun, Pengfei Zhang, Bocheng Ren 等AAAI 2026
- MPC-Pipe: an Efficient Pipeline Scheme for Semi-honest MPC Machine LearningYongqin Wang, Rachit Rajat, Murali AnnavaramASPLOS 2024 · 5 次引用
