Shredder: Learning Noise Distributions to Protect Inference Privacy
Fatemehsadat Mireshghallah, Mohammadkazem Taram, Prakash Ramrakhyani, Ali Jalali, Dean M. Tullsen, Hadi Esmaeilzadeh
摘要
A wide variety of deep neural applications increasingly rely on the cloud to perform their compute-heavy inference. This common practice requires sending private and privileged data over the network to remote servers, exposing it to the service provider and potentially compromising its privacy. Even if the provider is trusted, the data can still be vulnerable over communication channels or via side-channel attacks in the cloud. To that end, this paper aims to reduce the information content of the communicated data with as little as possible compromise on the inference accuracy by making the sent data noisy. An undisciplined addition of noise can significantly reduce the accuracy of inference, rendering the service unusable. To address this challenge, this paper devises Shredder, an end-to-end framework, that, without altering the topology or the weights of a pre-trained network, learns additive noise distributions that significantly reduce the information content of communicated data while maintaining the inference accuracy. The key idea is finding the additive noise distributions by casting it as a disjoint offline learning process with a loss function that strikes a balance between accuracy and information degradation. The loss function also exposes a knob for a disciplined and controlled asymmetric trade-off between privacy and accuracy. While keeping the DNN intact, Shredder divides inference between the cloud and the edge device, striking a balance between computation and communication. In the separate phase of inference, the edge device takes samples from the Laplace distributions that were collected during the proposed offline learning phase and populates a noise tensor with these sampled elements. Then, the edge device merely adds this populated noise tensor to the intermediate results to be sent to the cloud. As such, Shredder enables accurate inference on noisy intermediate data without the need to update the model or the cloud, or any training process during inference. We also formally show that Shredder maximizes privacy with minimal impact on DNN accuracy while the tradeoff between privacy and accuracy is controlled through a mathematical knob. Experimentation with six real-world DNNs from text processing and image classification shows that Shredder reduces the mutual information between the input and the communicated data to the cloud by 74.70% compared to the original execution while only sacrificing 1.58% loss in accuracy. On average, Shredder also offers a speedup of 1.79x over Wi-Fi and 2.17x over LTE compared to cloud-only execution when using an off-the-shelf mobile GPU (Tegra X2) on the edge.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Practical Secure Aggregation for Privacy-Preserving Machine Learning 引用了 Deep Learning with Differential Privacy
- DarKnight: An Accelerated Framework for Privacy and Integrity Preserving Deep Learning Using Trusted Hardware 引用了 Practical Secure Aggregation for Privacy-Preserving Machine Learning
- DarKnight: An Accelerated Framework for Privacy and Integrity Preserving Deep Learning Using Trusted Hardware 引用了 Deep Learning with Differential Privacy
- DarKnight: An Accelerated Framework for Privacy and Integrity Preserving Deep Learning Using Trusted Hardware 引用了 Not All Features Are Equal: Discovering Essential Features for Preserving Prediction Privacy
- DarKnight: An Accelerated Framework for Privacy and Integrity Preserving Deep Learning Using Trusted Hardware 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device ML 引用了 Spectre Attacks: Exploiting Speculative Execution
- No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device ML 引用了 DarKnight: An Accelerated Framework for Privacy and Integrity Preserving Deep Learning Using Trusted Hardware
- Meltdown: Reading Kernel Memory from User Space 引用了 Spectre Attacks: Exploiting Speculative Execution
- Cheetah: Optimizing and Accelerating Homomorphic Encryption for Private Inference 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- Not All Features Are Equal: Discovering Essential Features for Preserving Prediction Privacy 引用了 Practical Secure Aggregation for Privacy-Preserving Machine Learning
- Not All Features Are Equal: Discovering Essential Features for Preserving Prediction Privacy 引用了 Spectre Attacks: Exploiting Speculative Execution
- Not All Features Are Equal: Discovering Essential Features for Preserving Prediction Privacy 引用了 Meltdown: Reading Kernel Memory from User Space
- Not All Features Are Equal: Discovering Essential Features for Preserving Prediction Privacy 引用了 Deep Learning with Differential Privacy
- Not All Features Are Equal: Discovering Essential Features for Preserving Prediction Privacy 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
- SecureML: A System for Scalable Privacy-Preserving Machine Learning 引用了 Deep Learning with Differential Privacy
引用它的顶会 Paper11
- INFaaS: Automated Model-less Inference ServingFrancisco Romero, Qian Li, Neeraja J. Yadwadkar, Christos KozyrakisUSENIX ATC 2021 · 325 次引用
- Cheetah: Optimizing and Accelerating Homomorphic Encryption for Private InferenceBrandon Reagen, Wooseok Choi, Yeongil Ko, Vincent T. Lee 等HPCA 2021 · 147 次引用
- Not All Features Are Equal: Discovering Essential Features for Preserving Prediction PrivacyFatemehsadat Mireshghallah, Mohammadkazem Taram, Ali Jalali, Ahmed Taha Elthakeb 等WWW 2021 · 59 次引用
- No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device MLZiqi Zhang, Chen Gong, Yifeng Cai, Yuanyuan Yuan 等S&P 2024 · 53 次引用
- DarKnight: An Accelerated Framework for Privacy and Integrity Preserving Deep Learning Using Trusted HardwareHanieh Hashemi, Yongqin Wang, Murali AnnavaramMICRO 2021 · 51 次引用
它引用的 Paper11
- Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan 等CCS 2016 · 7,620 次引用
- Practical Secure Aggregation for Privacy-Preserving Machine LearningKallista A. Bonawitz, Vladimir Ivanov, Ben Kreuter, Antonio Marcedone 等CCS 2017 · 3,936 次引用
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
- SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 次引用
- Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher 等USENIX Security 2018 · 1,456 次引用
相关 Paper
- When Deep Learning Meets Steganography: Protecting Inference Privacy in the DarkQin Liu, Jiamin Yang, Hongbo Jiang, Jie Wu 等INFOCOM 2022 · 8 次引用
- PMC: A Privacy-preserving Deep Learning Model Customization Framework for Edge ComputingBingyan Liu, Yuanchun Li, Yunxin Liu, Yao Guo 等UbiComp 2021 · 96 次引用
- InfoDecom: Decomposing Information for Defending Against Privacy Leakage in Split InferenceRuijun Deng, Zhihui Lu, Qiang DuanAAAI 2026
- XONN: XNOR-based Oblivious Deep Neural Network InferenceM. Sadegh Riazi, Mohammad Samragh, Hao Chen, Kim Laine 等USENIX Security 2019 · 314 次引用
- Split-and-Denoise: Protect large language model inference with local differential privacyPeihua Mai, Ran Yan, Zhe Huang, Youjia Yang 等ICML 2024 · 41 次引用
