paper-with-me

홈 › Papers

Selective Network Linearization for Efficient Private Inference

2022-02-04 · Minsu Cho, Ameya Joshi, Siddharth Garg, Brandon Reagen, Chinmay Hegde

Private inference (PI) enables inference directly on cryptographically secure data.While promising to address many privacy issues, it has seen limited use due to extreme runtimes. Unlike plaintext inference, where latency is dominated by FLOPs, in PI non-linear functions (namely ReLU) are the bottleneck. Thus, practical PI demands novel ReLU-aware optimizations. To reduce PI latency we propose a gradient-based algorithm that selectively linearizes ReLUs while maintaining prediction accuracy. We evaluate our algorithm on several standard PI benchmarks. The results demonstrate up to $4.25\%$ more accuracy (iso-ReLU count at 50K) or $2.2\times$ less latency (iso-accuracy at 70\%) than the current state of the art and advance the Pareto frontier across the latency-accuracy space. To complement empirical results, we present a "no free lunch" theorem that sheds light on how and when network linearization is possible while maintaining prediction accuracy. Public code is available at \url{https://github.com/NYU-DICE-Lab/selective_network_linearization}.

📄 PDF Abstract BibTeX arXiv:2202.02340

Code (1)

nyu-dice-lab/selective_network_linearization 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Coordinate Descent for Network Linearization

2025-11-14 · Vlad Rakhlin, Amir Jevnisek, Shai Avidan arxiv

ReLU activations are the main bottleneck in Private Inference that is based on ResNet networks. This is because they incur significant inference latency. Reducing ReLU count is a discrete optimization problem, and there …

Selective Pre-training for Private Fine-tuning

2023-05-23 · Da Yu, Sivakanth Gopi, Janardhan Kulkarni, Zinan Lin 외

Text prediction models, when used in applications like email clients or word processors, must protect user data privacy and adhere to model size constraints. These constraints are crucial to meet memory and inference tim…

Model CompressionTransfer Learning

SAL-ViT: Towards Latency Efficient Private Inference on ViT using Selective Attention Search with a Learnable Softmax Approximation

2023-01-01 · ICCV 2023 1 · Yuke Zhang, Dake Chen, Souvik Kundu, Chenghao Li 외

Recently, private inference (PI) has addressed the rising concern over data and model privacy in machine learning inference as a service. However, existing PI frameworks suffer from high computational and communicati…

Ensembler: Protect Collaborative Inference Privacy from Model Inversion Attack via Selective Ensemble

2024-01-19 · Dancheng Liu, Chenhui Xu, Jiajie Li, Amir Nassereldine 외

For collaborative inference through a cloud computing platform, it is sometimes essential for the client to shield its sensitive information from the cloud provider. In this paper, we introduce Ensembler, an extensible f…

Cloud ComputingCollaborative Inference

Stochastic Variational Inference with Gradient Linearization

2018-03-28 · CVPR 2018 6 · Tobias Plötz, Anne S. Wannenwetsch, Stefan Roth

Variational inference has experienced a recent surge in popularity owing to stochastic approaches, which have yielded practical tools for a wide range of model classes. A key benefit is that stochastic variational infere…

DenoisingOptical Flow EstimationSurface ReconstructionVariational Inference