Communication Efficient Secure Three-Party Computation Using Lookup Tables for RNN Inference
Open Access
- 28 February 2025
- journal article
- research article
- Published by MDPI AG in Electronics
- Vol. 14 (5) , 985
Abstract
Many leading technology companies currently offer Machine Learning as a Service Platform, enabling developers and organizations to access the inference capabilities of pre-trained models via API calls. However, due to concerns over user data privacy, inter-enterprise competition, and legal and regulatory constraints, directly utilizing pre-trained models in the cloud for inference faces security challenges. In this paper, we propose communication-efficient secure three-party protocols for recurrent neural network (RNN) inference. First, we design novel three-party secret-sharing protocols for digit decomposition, B2A conversion, enabling efficient transformation of secret shares between Boolean and arithmetic rings. Then, we propose the lookup table-based secure three-party protocol. Unlike the intuitive way of directly looking up tables to obtain results, we compute the results by utilizing the inherent mathematical properties of binary lookup tables, and the communication complexity of the lookup table protocol is only related to the output bit width. We also design secure three-party protocols for key functions in the RNN, including matrix multiplication, sigmoid function, and Tanh function. Our protocol divides the computation into online and offline phase, and places most of the computations locally. The theoretical analysis shows that the communication round of our work was reduced from four rounds to one round. The experiment results show that compared with the current SOTA-SIRNN, the online communication overhead of sigmoid and tanh functions decreased by 80.39% and 79.94%, respectively.Keywords
Funding Information
- Colleges and Universities Stable Support Project of Shenzhen, China (GXWD20220811170225001, 62402142, 2022B1212010005)
- National Natural Science Foundation of China (GXWD20220811170225001, 62402142, 2022B1212010005)
- Guangdong Provincial Key Laboratory of Novel Security Intelligence Technologies (GXWD20220811170225001, 62402142, 2022B1212010005)
This publication has 27 references indexed in Scilit:
- NANO: Cryptographic Enforcement of Readability and Editability Governance in Blockchain DatabasesIEEE Transactions on Dependable and Secure Computing, 2023
- POTA: Privacy-Preserving Online Multi-Task Assignment With Path PlanningIEEE Transactions on Mobile Computing, 2023
- Achieving Privacy-Preserving and Verifiable Support Vector Machine Training in the CloudIEEE Transactions on Information Forensics and Security, 2023
- Achieving Efficient and Privacy-Preserving Neural Network Training and Prediction in Cloud EnvironmentsIEEE Transactions on Dependable and Secure Computing, 2022
- Falcon: Honest-Majority Maliciously Secure Framework for Private Deep LearningProceedings on Privacy Enhancing Technologies, 2020
- SecureNN: 3-Party Secure Computation for Neural Network TrainingProceedings on Privacy Enhancing Technologies, 2019
- FastGRNN: A Fast, Accurate, Stable and Tiny Kilobyte Sized Gated Recurrent Neural NetworkarXiv, 2019
- Speech Commands: A Dataset for Limited-Vocabulary Speech RecognitionarXiv, 2018
- On the Power of Correlated Randomness in Secure Computation2013
- What every computer scientist should know about floating-point arithmeticACM Computing Surveys, 1991