Influence of Parallelism in Vector-Multiplication Units on Correlation Power Analysis
Manuel Brosch, Matthias Probst, Stefan Kögler, Georg Sigl
TL;DR
This work addresses the confidentiality risk of edge-deployed neural networks against power-based side-channel attacks by examining how parallelism in vector-multiplication accelerators affects correlation power analysis (CPA). It develops a theoretical model of power consumption for parallel neuron processing, derives an exponential decay form for the correct-weight correlation with increasing parallelism, and validates the predictions with FPGA-based experiments. The key finding is a practical security boundary: approximately 15 parallel operations in the same-input vector-multiplication unit render CPA using global power ineffective for weight extraction, with real hardware showing lower robustness (around 8 parallel) due to noise and non-ideal effects. These results inform accelerator design and countermeasure choices, suggesting masking or shuffling for small parallelisms and additional protections or local measurements for higher degrees of parallelism.
Abstract
The use of neural networks in edge devices is increasing, which introduces new security challenges related to the neural networks' confidentiality. As edge devices often offer physical access, attacks targeting the hardware, such as side-channel analysis, must be considered. To enhance the performance of neural network inference, hardware accelerators are commonly employed. This work investigates the influence of parallel processing within such accelerators on correlation-based side-channel attacks that exploit power consumption. The focus is on neurons that are part of the same fully-connected layer, which run parallel and simultaneously process the same input value. The theoretical impact of concurrent multiply-and-accumulate operations on overall power consumption is evaluated, as well as the success rate of correlation power analysis. Based on the observed behavior, equations are derived that describe how the correlation decreases with increasing levels of parallelism. The applicability of these equations is validated using a vector-multiplication unit implemented on an FPGA.
