paper-with-me

홈 › Papers

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

2023-06-14 · 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 $3$ and $110\times$ speedups in inference time on large models with up to $23$ million parameters while maintaining competitive inference accuracy.

📄 PDF Abstract BibTeX arXiv:2306.08538

Code (1)

lucasfenaux/pillar-espn 공식 구현 pytorch

Tasks

image-classificationImage Classification

Methods 이 논문이 사용한 방법론

Golden Queue Managers 설명 없음

Similar Papers 제목 키워드 기반

Comet: Accelerating Private Inference for Large Language Model by Predicting Activation Sparsity

2025-05-12 · Guang Yan, Yuhui Zhang, Zimu Guo, Lutan Zhao 외

With the growing use of large language models (LLMs) hosted on cloud platforms to offer inference services, privacy concerns about the potential leakage of sensitive information are escalating. Secure multi-party computa…

Language ModelingLanguage ModellingLarge Language Model

Reconstructing Test Labels from Noisy Loss Functions

2021-07-07 · Abhinav Aggarwal, Shiva Prasad Kasiviswanathan, Zekun Xu, Oluwaseyi Feyisetan 외

Machine learning classifiers rely on loss functions for performance evaluation, often on a private (hidden) dataset. In a recent line of research, label inference was introduced as the problem of reconstructing the groun…

AESPA: Accuracy Preserving Low-degree Polynomial Activation for Fast Private Inference

2022-01-18 · Jaiyoung Park, Michael Jaemin Kim, Wonkyung Jung, Jung Ho Ahn

Hybrid private inference (PI) protocol, which synergistically utilizes both multi-party computation (MPC) and homomorphic encryption, is one of the most prominent techniques for PI. However, even the state-of-the-art PI …

Regularized PolyKervNets: Optimizing Expressiveness and Efficiency for Private Inference in Deep Neural Networks

2023-12-23 · Toluwani Aremu

Private computation of nonlinear functions, such as Rectified Linear Units (ReLUs) and max-pooling operations, in deep neural networks (DNNs) poses significant challenges in terms of storage, bandwidth, and time consumpt…

Privacy Preserving

CryptGPU: Fast Privacy-Preserving Machine Learning on the GPU

2021-04-22 · Sijun Tan, Brian Knott, Yuan Tian, David J. Wu

We introduce CryptGPU, a system for privacy-preserving machine learning that implements all operations on the GPU (graphics processing unit). Just as GPUs played a pivotal role in the success of modern deep learning, the…

BIG-bench Machine LearningCPUGPUPrivacy Preserving+1