Lune

USENIX Security2024顶会

Fast and Private Inference of Deep Neural Networks by Co-designing Activation Functions

Abdulrahman Diaa, Lucas Fenaux, Thomas Humphries, Marian Dietz, Faezeh Ebrahimianghazani, Bailey Kacsmar, Xinda Li, Nils Lukas, Rasoul Akhavan Mahdavi, Simon Oya, Ehsan Amjadian, Florian Kerschbaum

摘要

Machine Learning as a Service (MLaaS) is an increasingly popular design where a company with abundant computing resources trains a deep neural network and offers query access for tasks like image classification. The challenge with this design is that MLaaS requires the client to reveal their potentially sensitive queries to the company hosting the model. Multi-party computation (MPC) protects the client's data by allowing encrypted inferences. However, current approaches suffer from prohibitively large inference times. The inference time bottleneck in MPC is the evaluation of non-linear layers such as ReLU activation functions. Motivated by the success of previous work co-designing machine learning and MPC, we develop an activation function co-design. We replace all ReLUs with a polynomial approximation and evaluate them with single-round MPC protocols, which give state-of-the-art inference times in wide-area networks. Furthermore, to address the accuracy issues previously encountered with polynomial activations, we propose a novel training algorithm that gives accuracy competitive with plaintext models. Our evaluation shows between 33 and 110×110\times speedups in inference time on large models with up to 2323 million parameters while maintaining competitive inference accuracy.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Oblivious Neural Network Predictions via MiniONN Transformations 引用了 Stealing Machine Learning Models via Prediction APIs
  • Oblivious Neural Network Predictions via MiniONN Transformations 引用了 Deep Learning with Differential Privacy
  • Oblivious Neural Network Predictions via MiniONN Transformations 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • Kangaroo: A Private and Amortized Inference Framework over WAN for Large-Scale Decision Tree Evaluation 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
  • CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
  • CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 Deep Learning with Differential Privacy
  • CrypTen: Secure Multi-Party Computation Meets Machine Learning 引用了 SecureML: A System for Scalable Privacy-Preserving Machine Learning
  • PAPER: Privacy-Preserving Convolutional Neural Networks using Low-Degree Polynomial Approximations and Structural Optimizations on Leveled FHE 引用了 Oblivious Neural Network Predictions via MiniONN Transformations
  • PAPER: Privacy-Preserving Convolutional Neural Networks using Low-Degree Polynomial Approximations and Structural Optimizations on Leveled FHE 引用了 Stealing Machine Learning Models via Prediction APIs
  • SecureML: A System for Scalable Privacy-Preserving Machine Learning 引用了 Deep Learning with Differential Privacy
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. Kangaroo: A Private and Amortized Inference Framework over WAN for Large-Scale Decision Tree EvaluationWei Xu, Hui Zhu, Yandong Zheng, Song Bian 等NDSS 2026 · 3 次引用
  2. ULD-Net: Enabling Ultra-Low-Degree Fully Polynomial Networks for Homomorphically Encrypted InferenceXi Xie, Ran Ran, Jiahui Zhao, Bin Lei 等ICLR 2026
  3. PAPER: Privacy-Preserving Convolutional Neural Networks using Low-Degree Polynomial Approximations and Structural Optimizations on Leveled FHEEduardo Chielle, Manaar Alam, Jinting Liu, Jovan Kascelan 等CCS 2026

它引用的 Paper17

  1. Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan 等CCS 2016 · 7,620 次引用
  2. SecureML: A System for Scalable Privacy-Preserving Machine LearningPayman Mohassel, Yupeng ZhangS&P 2017 · 2,107 次引用
  3. Stealing Machine Learning Models via Prediction APIsFlorian Tramèr, Fan Zhang, Ari Juels, Michael K. Reiter 等USENIX Security 2016 · 2,088 次引用
  4. Oblivious Neural Network Predictions via MiniONN TransformationsJian Liu, Mika Juuti, Yao Lu, N. AsokanCCS 2017 · 800 次引用
  5. CrypTen: Secure Multi-Party Computation Meets Machine LearningBrian Knott, Shobha Venkataraman, Awni Y. Hannun, Shubho Sengupta 等NeurIPS 2021 · 573 次引用

相关 Paper

  1. SLOTHE : Lazy Approximation of Non-Arithmetic Neural Network Functions over Encrypted DataKevin Nam, Youyeon Joo, Seungjin Ha, Yunheung PaekUSENIX Security 2025
  2. United We Stand: Accelerating Privacy-Preserving Neural Inference by Conjunctive Optimization with Interleaved NexusQiao Zhang, Tao Xiang, Chunsheng Xin, Hongyi WuAAAI 2024
  3. From Individual Computation to Allied Optimization: Remodeling Privacy-Preserving Neural Inference with Function Input TuningQiao Zhang, Tao Xiang, Chunsheng Xin, Hongyi WuS&P 2024 · 12 次引用
  4. Secure Quantized Training for Deep LearningMarcel Keller, Ke SunICML 2022 · 84 次引用
  5. AutoReP: Automatic ReLU Replacement for Fast Private Network InferenceHongwu Peng, Shaoyi Huang, Tong Zhou, Yukui Luo 等ICCV 2023 · 44 次引用
黄昏的海面,两侧是细线勾勒的悬崖