NeuroPlug: Plugging Side-Channel Leaks in NPUs using Space Filling Curves
Nivedita Shrivastava, Smruti R. Sarangi
TL;DR
NeuroPlug tackles side-channel leakage in DNN NPUs by introducing a multiplicative noise factor $C$ derived from feature-map compression, and mapping computations to a 1-D space via space-filling curves (SFCs) for tiling, compression, and binning. The authors develop a Mellin-transform based framework to quantify the adversary's search space under observed data and side-information, proving that the effective space dramatically increases while maintaining performance. Empirical results show NeuroPlug delivers about 15% performance improvement over the nearest competing scheme and achieves near-random leakage profiles under multiple attacks, including HuffDuff and Reverse Engg. The approach combines theoretical rigor with hardware realizations (ASIC/FPGA) and demonstrates robust defense across SS, KK, and SI class attacks, offering a scalable, tunable security mechanism for NN accelerators. The work advances the state-of-the-art in DNN architecture protection by integrating mathematical obfuscation with practical 1-D computation and compression, enabling secure, efficient NN inference in resource-constrained devices.
Abstract
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.
