Orca: FSS-based Secure Training and Inference with GPUs
Authors:
- 19 May 2024
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 597-616
Abstract
Secure Two-party Computation (2PC) allows two parties to compute any function on their private inputs without revealing their inputs to each other. In the offline/on- line model for 2PC, correlated randomness that is independent of all inputs to the computation, is generated in a preprocessing (offline) phase and this randomness is then utilized in the online phase once the inputs to the parties become available. Most 2PC works focus on optimizing the online time as this overhead lies on the critical path. A recent paradigm for obtaining efficient 2PC protocols with low online cost is based on the cryptographic technique of function secret sharing (FSS).We build an end-to-end system Orca to accelerate the computation of FSS-based 2PC protocols with GPUs. Next, we observe that the main performance bottleneck in such accelerated protocols is in storage (due to the large amount of correlated randomness), and we design new FSS-based 2PC protocols for several key functionalities in ML which reduce storage by up to 5×. Compared to prior state-of-the-art on secure training accelerated with GPUs in the same computation model (PIRANHA, Usenix Security 2022), we show that Orca has 4% higher accuracy, 98 × lesser communication, and is 22 × faster on CIFAR-10. For secure ImageNet inference, Orca achieves sub-second latency for VGG-16 and ResNet-50 and outperforms the state-of-the-art by 8 — 103 ×.Keywords
This publication has 36 references indexed in Scilit:
- End-to-end privacy preserving deep learning on multi-institutional medical imagingNature Machine Intelligence, 2021
- Optimization of Advanced Encryption Standard on Graphics Processing UnitsIEEE Access, 2021
- Maliciously Secure Matrix Multiplication with Applications to Private Deep Learning2020
- Improved Primitives for MPC over Mixed Arithmetic-Binary Circuits2020
- Secure Computation with Preprocessing via Function Secret Sharing2019
- How to Simulate It – A Tutorial on the Simulation Proof Technique2017
- Function Secret Sharing2015
- Faster Maliciously Secure Two-Party Computation Using the GPULecture Notes in Computer Science, 2014
- ImageNet: A large-scale hierarchical image database2009
- Security and Composition of Multiparty Cryptographic ProtocolsJournal of Cryptology, 2000