Bicoptor: Two-round Secure Three-party Non-linear Computation without Preprocessing for Privacy-preserving Machine Learning
Lijing Zhou, Ziyu Wang, Hongrui Cui, Qingrui Song, Yu Yu
Abstract
The overhead of non-linear functions dominates the performance of the secure multiparty computation (MPC) based privacy-preserving machine learning (PPML). This work introduces a family of novel secure three-party computation (3PC) protocols, Bicoptor, which improve the efficiency of evaluating non-linear functions. The basis of Bicoptor is a new sign determination protocol, which relies on a clever use of the truncation protocol proposed in SecureML (S&P 2017). Our 3PC sign determination protocol only requires two communication rounds, and does not involve any preprocessing. Such sign determination protocol is well-suited for computing non-linear functions in PPML, e.g. the activation function ReLU, Maxpool, and their variants. We develop suitable protocols for these non-linear functions, which form a family of GPU-friendly protocols, Bicoptor. All Bicoptor protocols only require two communication rounds without preprocessing. We evaluate Bicoptor under a 3-party LAN network over a public cloud, and achieve more than 370,000 DReLU/ReLU or 41,000 Maxpool (find the maximum value of nine inputs) operations per second. Under the same settings and environment, our ReLU protocol has a one or even two orders of magnitude improvement to the state-of-the-art works, Falcon (PETS 2021) or Edabits (CRYPTO 2020), respectively without batch processing.
In this updated version of our paper, which was originally presented at S&P 2023 [1], we address certain security concerns raised by Xu et al [2] in his paper regarding our DReLU protocol (Alg. 2). The concerns stem from an omission of a standard step: resharing, in our protocol. In MPC, resharing is free and default. In this latest version, we have included a detailed explanation of this aspect in App. E. 1. For example, for ξ = x = 23 = 0b00010111, ℓx = 8, λ = 5, and ξ λ-1 = ξ 4 .
-
In general, MPC offline phase includes both preprocessing and distributing shared randomness. The overhead of distributing shared randomness (usually one time) is much cheaper than that of preprocessing. It is worth distinguishing between these two ideas for the rest of the paper. Most previous MPC-based PPML works [14], [15], [16], [18], [20], [21], [22], [23], [27] require preprocessing which is heavily computed.
-
We select the honest-majority and passive-secure settings in Edabits and Falcon. Edabits [27] does not have a Maxpool design.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 191d296d-8080-47b9-a0b4-0081bf515eb4Cited by top-tier papers5
- Ents: An Efficient Three-party Training Framework for Decision Trees by Communication OptimizationGuopeng Lin, Weili Han, Wenqiang Ruan, Ruisheng Zhou et al.CCS 2024 · 3 citations
- On Probabilistic Truncation in Privacy-preserving Machine LearningLijing Zhou, Bingsheng Zhang, Ziyu Wang, Tianpei Lu et al.AAAI 2025 · 2 citations
- Shechi: A Secure Distributed Computation Compiler Based on Multiparty Homomorphic EncryptionHaris Smajlovic, David Froelicher, Ariya Shajii, Bonnie Berger et al.USENIX Security 2025
- Efficient 2PC for Constant Round Secure Equality Testing and ComparisonTianpei Lu, Xin Kang, Bingsheng Zhang, Zhuo Ma et al.USENIX Security 2025
- Improved Secure Two-party Computation from a Geometric PerspectiveHao Guo, Liqiang Peng, Haiyang Xue, Li Peng et al.USENIX Security 2025
Builds on13
- 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
- ABY3: A Mixed Protocol Framework for Machine LearningPayman Mohassel, Peter RindalCCS 2018 · 898 citations
- ABY2.0: Improved Mixed-Protocol Secure Two-Party ComputationArpita Patra, Thomas Schneider, Ajith Suresh, Hossein YalameUSENIX Security 2021 · 307 citations
- CrypTFlow2: Practical 2-Party Secure InferenceDeevashwer Rathee, Mayank Rathee, Nishant Kumar, Nishanth Chandran et al.CCS 2020 · 294 citations
Related papers
- SEAF: Secure Evaluation on Activation Functions with Dynamic Precision for Secure Two-Party InferenceHao Guo, Zhaoqian Liu, Ximing Fu, Zhusen LiuUSENIX Security 2025
- Generalizing the SPDZ Compiler For Other ProtocolsToshinori Araki, Assi Barak, Jun Furukawa, Marcel Keller et al.CCS 2018 · 54 citations
- Fast and Private Inference of Deep Neural Networks by Co-designing Activation FunctionsAbdulrahman Diaa, Lucas Fenaux, Thomas Humphries, Marian Dietz et al.USENIX Security 2024 · 13 citations
- Secure Floating-Point TrainingDeevashwer Rathee, Anwesh Bhattacharya, Divya Gupta, Rahul Sharma et al.USENIX Security 2023
- Meteor: Improved Secure 3-Party Neural Network Inference with Reducing Online Communication CostsYe Dong, Xiaojun Chen, Weizhan Jing, Kaiyun Li et al.WWW 2023 · 27 citations
