Saved in:
Bibliographic Details
Main Authors: Shrivastava, Nivedita, Sarangi, Smruti R.
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2407.13383
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914876370190336
author Shrivastava, Nivedita
Sarangi, Smruti R.
author_facet Shrivastava, Nivedita
Sarangi, Smruti R.
contents Securing deep neural networks (DNNs) from side-channel attacks is an important problem as of today, given the substantial investment of time and resources in acquiring the raw data and training complex models. All published countermeasures (CMs) add noise N to a signal X (parameter of interest such as the net memory traffic that is leaked). The adversary observes X+N ; we shall show that it is easy to filter this noise out using targeted measurements, statistical analyses and different kinds of reasonably-assumed side information. We present a novel CM NeuroPlug that is immune to these attack methodologies mainly because we use a different formulation CX + N . We introduce a multiplicative variable C that naturally arises from feature map compression; it plays a key role in obfuscating the parameters of interest. Our approach is based on mapping all the computations to a 1-D space filling curve and then performing a sequence of tiling, compression and binning-based obfuscation operations. We follow up with proposing a theoretical framework based on Mellin transforms that allows us to accurately quantify the size of the search space as a function of the noise we add and the side information that an adversary possesses. The security guarantees provided by NeuroPlug are validated using a battery of statistical and information theory-based tests. We also demonstrate a substantial performance enhancement of 15% compared to the closest competing work.
format Preprint
id arxiv_https___arxiv_org_abs_2407_13383
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle NeuroPlug: Plugging Side-Channel Leaks in NPUs using Space Filling Curves
Shrivastava, Nivedita
Sarangi, Smruti R.
Cryptography and Security
Securing deep neural networks (DNNs) from side-channel attacks is an important problem as of today, given the substantial investment of time and resources in acquiring the raw data and training complex models. All published countermeasures (CMs) add noise N to a signal X (parameter of interest such as the net memory traffic that is leaked). The adversary observes X+N ; we shall show that it is easy to filter this noise out using targeted measurements, statistical analyses and different kinds of reasonably-assumed side information. We present a novel CM NeuroPlug that is immune to these attack methodologies mainly because we use a different formulation CX + N . We introduce a multiplicative variable C that naturally arises from feature map compression; it plays a key role in obfuscating the parameters of interest. Our approach is based on mapping all the computations to a 1-D space filling curve and then performing a sequence of tiling, compression and binning-based obfuscation operations. We follow up with proposing a theoretical framework based on Mellin transforms that allows us to accurately quantify the size of the search space as a function of the noise we add and the side information that an adversary possesses. The security guarantees provided by NeuroPlug are validated using a battery of statistical and information theory-based tests. We also demonstrate a substantial performance enhancement of 15% compared to the closest competing work.
title NeuroPlug: Plugging Side-Channel Leaks in NPUs using Space Filling Curves
topic Cryptography and Security
url https://arxiv.org/abs/2407.13383