Masking Feedforward Neural Networks Against Power Analysis Attacks
Masking Feedforward Neural Networks Against Power Analysis Attacks
复制标题
DOI:
10.2478/popets-2022-0025
复制
发表时间:
2021-11
影响因子:
--
通讯作者:
Konstantinos Athanasiou;T. Wahl;A. Ding;Yunsi Fei
中科院分区:
文献类型:
--
作者:
Konstantinos Athanasiou;T. Wahl;A. Ding;Yunsi Fei
Abstract Recent advances in machine learning have enabled Neural Network (NN) inference directly on constrained embedded devices. This local approach enhances the privacy of user data, as the inputs to the NN inference are not shared with third-party cloud providers over a communication network. At the same time, however, performing local NN inference on embedded devices opens up the possibility of Power Analysis attacks, which have recently been shown to be effective in recovering NN parameters, as well as their activations and structure. Knowledge of these NN characteristics constitutes a privacy threat, as it enables highly effective Membership Inference and Model Inversion attacks, which can recover information about the sensitive data that the NN model was trained on. In this paper we address the problem of securing sensitive NN inference parameters against Power Analysis attacks. Our approach employs masking, a countermeasure well-studied in the context of cryptographic algorithms. We design a set of gadgets, i.e., masked operations, tailored to NN inference. We prove our proposed gadgets secure against power attacks and show, both formally and experimentally, that they are composable, resulting in secure NN inference. We further propose optimizations that exploit intrinsic characteristics of NN inference to reduce the masking’s runtime and randomness requirements. We empirically evaluate the performance of our constructions, showing them to incur a slowdown by a factor of about 2–5.