SEAF: Secure Evaluation on Activation Functions with Dynamic Precision for Secure Two-Party Inference
摘要
Secure evaluation of non-linear functions is one of the most expensive operations in secure two-party computation, particularly for activation functions in privacy preserving machine learning (PPML). This work introduces SEAF, a novel framework for efficient Secure Evaluation on Activation Functions. SEAF is based on the linear approximation approach, but enhances it by introducing two key innovations: Trun-Eq based interval test protocols and linear approximation with dynamic precision, which have the potential for broader applicability. Furthermore, we classify common activation functions into several categories, and present specialized methods to evaluate them using our enhanced techniques. Our implementation of SEAF demonstrates 3.5× to 5.9× speedup on activation functions Tanh and Sigmoid compared to SirNN (S&P'21). When applied on GELU, SEAF outperforms Iron (NeurIPS'22) by more than 10× and Bolt (S&P'24) by up to 3.4×. For end-toend secure inference on BERT, the original GELU accounts for 31.3% and 22.5% of the total runtime in Iron and Bolt, respectively. In contrast, our optimized GELU reduces these proportions to 4.3% and 9.8%, eliminating GELU as a bottleneck in secure inference.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- CrypTFlow2: Practical 2-Party Secure Inference 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- CrypTFlow2: Practical 2-Party Secure Inference 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- Oblivious Neural Network Predictions via MiniONN Transformations 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- ABY2.0: Improved Mixed-Protocol Secure Two-Party Computation 引用了 Efficient Two-Round OT Extension and Silent Non-Interactive Secure Computation
- ABY2.0: Improved Mixed-Protocol Secure Two-Party Computation 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- Efficient and High-Accuracy Secure Two-Party Protocols for a Class of Functions with Real-number Inputs 引用了 CrypTFlow2: Practical 2-Party Secure Inference
- Efficient and High-Accuracy Secure Two-Party Protocols for a Class of Functions with Real-number Inputs 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- Efficient and High-Accuracy Secure Two-Party Protocols for a Class of Functions with Real-number Inputs 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
引用它的顶会 Paper1
它引用的 Paper11
- SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 次引用
- Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 次引用
- ABY2.0: Improved Mixed-Protocol Secure Two-Party ComputationArpita Patra, Thomas Schneider, Ajith Suresh, Hossein YalameUSENIX Security 2021 · 307 次引用
- CrypTFlow2: Practical 2-Party Secure InferenceDeevashwer Rathee, Mayank Rathee, Nishant Kumar, Nishanth Chandran 等CCS 2020 · 294 次引用
- Efficient Two-Round OT Extension and Silent Non-Interactive Secure ComputationElette Boyle, Geoffroy Couteau, Niv Gilboa, Yuval Ishai 等CCS 2019 · 238 次引用
相关 Paper
- Nimbus: Secure and Efficient Two-Party Inference for TransformersZhengyi Li, Kang Yang, Jin Tan, Wen-jie Lu 等NeurIPS 2024 · 34 次引用
- Iron: Private Inference on TransformersMeng Hao, Hongwei Li, Hanxiao Chen, Pengzhi Xing 等NeurIPS 2022 · 209 次引用
- SecFormer: Fast and Accurate Privacy-Preserving Inference for Transformer Models via SMPCJinglong Luo, Yehong Zhang, Zhuo Zhang, Jiaqi Zhang 等ACL Findings 2024 · 23 次引用
- Bicoptor: Two-round Secure Three-party Non-linear Computation without Preprocessing for Privacy-preserving Machine LearningLijing Zhou, Ziyu Wang, Hongrui Cui, Qingrui Song 等S&P 2023
- PCFormer: Accelerating Privacy-preserving Transformer Inference by Partition and CombinationBo Zeng, Zhi Pang, Yuyang Zhang, Kai Zhao 等AAAI 2026
