A Framework to Optimize the Energy Cost of Securing Neural Network Inference

With the rise of deep neural networks (NNs), Machine Learning as a Service (MLaaS) gained significant attention. In MLaaS, a service provider offers inference with a pre-trained NN to clients, allowing them to obtain the inference output without the need for computationally intensive training. However, MLaaS introduces data privacy and security concerns for both clients and service providers. Clients’ sensitive data in the input and output must be kept private, and the NN representing the service provider’s intellectual property should not be shared with clients. Secure Neural Network Inference (SNNI) addresses these concerns by ensuring that the client learns only the output, and the service provider remains oblivious to the input and output.Many SNNI approaches proposed in recent years are mainly based on advanced cryptographic techniques such as Secure Multiparty Computation (MPC) and Homomorphic Encryption (HE). These approaches incur an overhead due to the underlying cryptographic primitives, making them significantly more compute-intensive and thus more energy-hungry than conventional inference. Optimization approaches for SNNI mainly focused on maximizing accuracy and minimizing execution time. However, amidst growing climate concerns, energy consumption becomes a crucial aspect when determining optimal deployments of SNNI. Thus, conducting a comprehensive investigation into energy-friendly SNNI approaches remains an open challenge.We design and develop a framework for determining the optimal deployment of SNNI. Given a machine learning (ML) inference task, the framework selects the SNNI approach and NN that minimize energy consumption while considering additional constraints, such as the desired level of accuracy and execution time. This knowledge-based framework distills information from experiments involving combinations of SNNIs and NNs, subsequently identifying the best deployment option, i.e., the (near-) optimal choice of SNNI and NN, based on the client’s request.

Authors

Institutions

Publication Details

Published
2024-08-19
DOI
https://doi.org/10.1109/ithings-greencom-cpscom-smartdata-cybermatics62450.2024.00073
Citations
1
Primary Topic
Brain Tumor Detection and Classification
Type
article
Field-Weighted Citation Impact
0.25

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Framework to Optimize the Energy Cost of Securing Neural Network Inference

Ana Oprescu, Zoltán Ádám Mann, Tanjina Islam, S. Klous
1 citations
Brain Tumor Detection and Classification
0.25
article

A Framework to Optimize the Energy Cost of Securing Neural Network Inference

Ana Oprescu, Zoltán Ádám Mann, Tanjina Islam, S. Klous
article en
1 citations

Abstract

With the rise of deep neural networks (NNs), Machine Learning as a Service (MLaaS) gained significant attention. In MLaaS, a service provider offers inference with a pre-trained NN to clients, allowing them to obtain the inference output without the need for computationally intensive training. However, MLaaS introduces data privacy and security concerns for both clients and service providers. Clients’ sensitive data in the input and output must be kept private, and the NN representing the service provider’s intellectual property should not be shared with clients. Secure Neural Network Inference (SNNI) addresses these concerns by ensuring that the client learns only the output, and the service provider remains oblivious to the input and output.Many SNNI approaches proposed in recent years are mainly based on advanced cryptographic techniques such as Secure Multiparty Computation (MPC) and Homomorphic Encryption (HE). These approaches incur an overhead due to the underlying cryptographic primitives, making them significantly more compute-intensive and thus more energy-hungry than conventional inference. Optimization approaches for SNNI mainly focused on maximizing accuracy and minimizing execution time. However, amidst growing climate concerns, energy consumption becomes a crucial aspect when determining optimal deployments of SNNI. Thus, conducting a comprehensive investigation into energy-friendly SNNI approaches remains an open challenge.We design and develop a framework for determining the optimal deployment of SNNI. Given a machine learning (ML) inference task, the framework selects the SNNI approach and NN that minimize energy consumption while considering additional constraints, such as the desired level of accuracy and execution time. This knowledge-based framework distills information from experiments involving combinations of SNNIs and NNs, subsequently identifying the best deployment option, i.e., the (near-) optimal choice of SNNI and NN, based on the client’s request.

University of Amsterdam (NL)
European Commission
Affordable and clean energy
Openalex Percentile: Top 42%
Brain Tumor Detection and Classification
0.25
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.