AutoReP: Automatic ReLU Replacement for Fast Private Network Inference

08/20/2023
by   Hongwu Peng, et al.
0

The growth of the Machine-Learning-As-A-Service (MLaaS) market has highlighted clients' data privacy and security issues. Private inference (PI) techniques using cryptographic primitives offer a solution but often have high computation and communication costs, particularly with non-linear operators like ReLU. Many attempts to reduce ReLU operations exist, but they may need heuristic threshold selection or cause substantial accuracy loss. This work introduces AutoReP, a gradient-based approach to lessen non-linear operators and alleviate these issues. It automates the selection of ReLU and polynomial functions to speed up PI applications and introduces distribution-aware polynomial approximation (DaPa) to maintain model expressivity while accurately approximating ReLUs. Our experimental results demonstrate significant accuracy improvements of 6.12 12.9K ReLU budget, CIFAR-100), and 9.45 Tiny-ImageNet) over current state-of-the-art methods, e.g., SNL. Morever, AutoReP is applied to EfficientNet-B2 on ImageNet dataset, and achieved 75.55 accuracy with 176.1 times ReLU budget reduction.

READ FULL TEXT
research
06/15/2020

CryptoNAS: Private Inference on a ReLU Budget

Machine learning as a service has given raise to privacy concerns surrou...
research
02/04/2022

Selective Network Linearization for Efficient Private Inference

Private inference (PI) enables inference directly on cryptographically s...
research
04/20/2023

DeepReShape: Redesigning Neural Networks for Efficient Private Inference

The increasing demand for privacy and security has driven the advancemen...
research
06/17/2021

Sphynx: ReLU-Efficient Network Design for Private Inference

The emergence of deep learning has been accompanied by privacy concerns ...
research
06/15/2021

Circa: Stochastic ReLUs for Private Deep Learning

The simultaneous rise of machine learning as a service and concerns over...
research
03/02/2021

DeepReDuce: ReLU Reduction for Fast Private Inference

The recent rise of privacy concerns has led researchers to devise method...
research
01/28/2021

Reducing ReLU Count for Privacy-Preserving CNN Speedup

Privacy-Preserving Machine Learning algorithms must balance classificati...

Please sign up or login with your details

Forgot password? Click here to reset