NeuroPlug: Plugging Side-Channel Leaks in NPUs using Space Filling Curves
<|reference_start|>NeuroPlug: Plugging Side-Channel Leaks in NPUs using Space Filling Curves: 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.<|reference_end|>
@article{shrivastava2024neuroplug:,
    title={NeuroPlug: Plugging Side-Channel Leaks in NPUs using Space Filling
  Curves},
    author={Nivedita Shrivastava and Smruti R. Sarangi},
    journal={arXiv preprint arXiv:2407.13383},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.13383},
    primaryClass={cs.CR}
}