AutoPrivacy: Automated Layer-wise Parameter Selection for Secure Neural Network Inference

06/07/2020
by   Qian Lou, et al.
0

Hybrid Privacy-Preserving Neural Network (HPPNN) implementing linear layers by Homomorphic Encryption (HE) and nonlinear layers by Garbled Circuit (GC) is one of the most promising secure solutions to emerging Machine Learning as a Service (MLaaS). Unfortunately, a HPPNN suffers from long inference latency, e.g., ∼100 seconds per image, which makes MLaaS unsatisfactory. Because HE-based linear layers of a HPPNN cost 93% inference latency, it is critical to select a set of HE parameters to minimize computational overhead of linear layers. Prior HPPNNs over-pessimistically select huge HE parameters to maintain large noise budgets, since they use the same set of HE parameters for an entire network and ignore the error tolerance capability of a network. In this paper, for fast and accurate secure neural network inference, we propose an automated layer-wise parameter selector, AutoPrivacy, that leverages deep reinforcement learning to automatically determine a set of HE parameters for each linear layer in a HPPNN. The learning-based HE parameter selection policy outperforms conventional rule-based HE parameter selection policy. Compared to prior HPPNNs, AutoPrivacy-optimized HPPNNs reduce inference latency by 53%∼70% with negligible loss of accuracy.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/31/2021

HEMET: A Homomorphic-Encryption-Friendly Privacy-Preserving Mobile Neural Network Architecture

Recently Homomorphic Encryption (HE) is used to implement Privacy-Preser...
research
06/01/2019

SHE: A Fast and Accurate Privacy-Preserving Deep Neural Network Via Leveled TFHE and Logarithmic Data Representation

Homomorphic Encryption (HE) is one of the most promising security soluti...
research
09/14/2022

SEEK: model extraction attack against hybrid secure inference protocols

Security concerns about a machine learning model used in a prediction-as...
research
10/22/2020

CryptoGRU: Low Latency Privacy-Preserving Text Analysis With GRU

Billions of text analysis requests containing private emails, personal t...
research
07/07/2022

HE-PEx: Efficient Machine Learning under Homomorphic Encryption using Pruning, Permutation and Expansion

Privacy-preserving neural network (NN) inference solutions have recently...
research
12/27/2018

Low Latency Privacy Preserving Inference

When applying machine learning to sensitive data, one has to balance bet...
research
02/17/2023

Towards Automated Homomorphic Encryption Parameter Selection with Fuzzy Logic and Linear Programming

Homomorphic Encryption (HE) is a set of powerful properties of certain c...

Please sign up or login with your details

Forgot password? Click here to reset