Characterizing and Optimizing End-to-End Systems for Private Inference
Karthik Garimella, Zahra Ghodsi, Nandan Kumar Jha, Siddharth Garg, Brandon Reagen
摘要
In two-party machine learning prediction services, the client's goal is to query a remote server's trained machine learning model to perform neural network inference in some application domain. However, sensitive information can be obtained during this process by either the client or the server, leading to potential collection, unauthorized secondary use, and inappropriate access to personal information. These security concerns have given rise to Private Inference (PI), in which both the client's personal data and the server's trained model are kept confidential. State-of-the-art PI protocols consist of a pre-processing or offline phase and an online phase that combine several cryptographic primitives: Homomorphic Encryption (HE), Secret Sharing (SS), Garbled Circuits (GC), and Oblivious Transfer (OT). Despite the need and recent performance improvements, PI remains largely arcane today and is too slow for practical use.
This paper addresses PI's shortcomings with a detailed characterization of a standard high-performance protocol to build foundational knowledge and intuition in the systems community. Our characterization pinpoints all sources of inefficiency -compute, communication, and storage. In contrast to prior work, we consider inference request arrival rates rather than studying individual inferences in isolation and we find that the pre-processing phase cannot be ignored and is often incurred online as there is insufficient downtime to hide pre-compute latency. Finally, we leverage insights from our characterization and propose three optimizations to address the storage (Client-Garbler), computation (layer-parallel HE), and communication (wireless slot allocation) overheads. Compared to the state-of-the-art PI protocol, these optimizations provide a total PI speedup of 1.8 × with the ability to sustain inference requests up to a 2.24 × greater rate. Looking ahead, we conclude our paper with an analysis of future research innovations and their effects and improvements on PI latency.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Oblivious Neural Network Predictions via MiniONN Transformations 引用了 Deep Learning with Differential Privacy
- CoPriv: Network/Protocol Co-Optimization for Communication-Efficient Private Inference 引用了 ABY3: A Mixed Protocol Framework for Machine Learning
- CoPriv: Network/Protocol Co-Optimization for Communication-Efficient Private Inference 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- PrivCirNet: Efficient Private Inference via Block Circulant Transformation 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- PrivCirNet: Efficient Private Inference via Block Circulant Transformation 引用了 CoPriv: Network/Protocol Co-Optimization for Communication-Efficient Private Inference
- PrivCirNet: Efficient Private Inference via Block Circulant Transformation 引用了 BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers
- PrivCirNet: Efficient Private Inference via Block Circulant Transformation 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- BOLT: Privacy-Preserving, Accurate and Efficient Inference for Transformers 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- HAAC: A Hardware-Software Co-Design to Accelerate Garbled Circuits 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
- HAAC: A Hardware-Software Co-Design to Accelerate Garbled Circuits 引用了 GAZELLE: A Low Latency Framework for Secure Neural Network Inference
- GAZELLE: A Low Latency Framework for Secure Neural Network Inference 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
引用它的顶会 Paper14
- BOLT: Privacy-Preserving, Accurate and Efficient Inference for TransformersQi Pang, Jinhao Zhu, Helen Möllering, Wenting Zheng 等S&P 2024 · 149 次引用
- zPROBE: Zero Peek Robustness Checks for Federated LearningZahra Ghodsi, Mojan Javaheripi, Nojan Sheybani, Xinqiao Zhang 等ICCV 2023 · 27 次引用
- HAAC: A Hardware-Software Co-Design to Accelerate Garbled CircuitsJianqiao Mo, Jayanth Gopinath, Brandon ReagenISCA 2023 · 23 次引用
- PrivCirNet: Efficient Private Inference via Block Circulant TransformationTianshi Xu, Lemeng Wu, Runsheng Wang, Meng LiNeurIPS 2024 · 21 次引用
- CoPriv: Network/Protocol Co-Optimization for Communication-Efficient Private InferenceWenxuan Zeng, Meng Li, Haichuan Yang, Wen-jie Lu 等NeurIPS 2023 · 19 次引用
它引用的 Paper23
- Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan 等CCS 2016 · 7,620 次引用
- Foreshadow: Extracting the Keys to the Intel SGX Kingdom with Transient Out-of-Order ExecutionJo Van Bulck, Marina Minkin, Ofir Weisse, Daniel Genkin 等USENIX Security 2018 · 1,175 次引用
- 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 次引用
- Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 次引用
相关 Paper
- Delphi: A Cryptographic Inference Service for Neural NetworksPratyush Mishra, Ryan Lehmkuhl, Akshayaram Srinivasan, Wenting Zheng 等USENIX Security 2020
- Cheetah: Lean and Fast Secure Two-Party Deep Neural Network InferenceZhicong Huang, Wen-jie Lu, Cheng Hong, Jiansheng DingUSENIX Security 2022
- HEPIC: Private Inference over Homomorphic Encryption with Client InterventionKevin Nam, Youyeon Joo, Seungjin Ha, Hyungon Moon 等ASPLOS 2026
- CRISP: An Efficient Cryptographic Framework for ML Inference Against Malicious ClientsXiaoyu Fang, Shihui Zheng, Lize GuNDSS 2026
- Muse: Secure Inference Resilient to Malicious ClientsRyan Lehmkuhl, Pratyush Mishra, Akshayaram Srinivasan, Raluca Ada PopaUSENIX Security 2021 · 115 次引用
