Secure Neural Network Inference as a Service with Resource-Constrained Clients
Open Access
- 4 December 2023
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-10
Abstract
Applying services computing to neural networks, a service provider may provide inference with a pre-trained neural network as a service. Clients use the service to get the neural network's output on their input. To protect sensitive data, secure neural network inference (SNNI) entails that only the client learns the output; the input remains the client's secret and the neural network's parameters remain the service provider's secret. Several SNNI approaches were proposed and evaluated in environments where both service providers and clients used powerful computers. In many real settings, for instance in edge computing, client devices are resource-constrained. This paper is the first to investigate the impact of client-side resource constraints on SNNI. We perform experiments with two state-of-the-art SNNI approaches and three neural networks. We vary the compute and memory capacity of the client device and measure the impact on inference time. Our findings show that client-side resource constraints significantly impact the performance and even the applicability of SNNI approaches. The results indicate the limits of current SNNI approaches for resource-constrained clients. Based on the results, we identify research directions to improve SNNI for resource-constrained clients.Keywords
This publication has 26 references indexed in Scilit:
- Securely Outsourcing Neural Network Inference to the Cloud With Lightweight TechniquesIEEE Transactions on Dependable and Secure Computing, 2022
- Notice of Removal: A Hybrid Deep Learning Architecture for Privacy-Preserving Mobile AnalyticsIEEE Internet of Things Journal, 2020
- Deepsecure2018
- Oblivious Neural Network Predictions via MiniONN Transformations2017
- Densely Connected Convolutional Networks2017
- SecureML: A System for Scalable Privacy-Preserving Machine Learning2017
- Deep Residual Learning for Image Recognition2016
- Oblivious Neural Network Computing via Homomorphic EncryptionEURASIP Journal on Information Security, 2007
- A privacy-preserving protocol for neural-network-based computation2006
- Neural networks and their applicationsReview of Scientific Instruments, 1994