CRLGJun 7, 2020

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

arXiv:2006.04219v240 citations
AI Analysis

This work addresses the slow inference speed in secure machine learning as a service (MLaaS) for privacy-sensitive applications, representing an incremental improvement over prior methods.

The paper tackles the problem of long inference latency in Hybrid Privacy-Preserving Neural Networks (HPPNNs) by proposing AutoPrivacy, an automated layer-wise parameter selector using deep reinforcement learning, which reduces inference latency by 53% to 70% with negligible accuracy loss.

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., $\sim100$ 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\%\sim70\%$ with negligible loss of accuracy.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes