MACPruning:用于缓解侧信道DNN模型窃取的动态运算剪枝
MACPruning: Dynamic Operation Pruning to Mitigate Side-Channel DNN Model Extraction
AI总结:
针对边缘设备上DNN模型易遭DEMA侧信道参数窃取、传统防御方法性能损耗大的问题,提出轻量级防御MACPruning,通过随机剪枝部分输入像素的MAC运算并结合重要性感知像素映射保精度,实现低开销抗攻击。
摘要:
随着深度学习的普及,边缘物联网设备上预训练深度神经网络(DNN)模型的部署量激增。这些DNN属于宝贵的知识产权,面临着来自侧信道分析(SCA)的重大机密性威胁,尤其是非侵入式差分电磁(EM)分析(DEMA),该技术可从模型推理期间收集的电磁轨迹中提取单个模型参数。传统的SCA缓解方法(如掩码和打乱)虽仍可应用于DNN推理,但由于运算和参数量庞大,会导致显著的性能下降。基于DNN模型具有高冗余度且对输入变化具备鲁棒性的洞见,我们提出MACPruning——一种利用DNN执行特性、抵御基于DEMA的参数窃取攻击的新型轻量级防御方案。MACPruning的设计原理是随机停用输入像素,并剪枝这些像素对应的运算(通常为乘累加运算,即MAC)。该技术可消除部分泄漏,并从时间上整体重新分布与权重相关的电磁泄漏,从而有效缓解DEMA攻击。为维持DNN性能,我们提出一种感知重要性的像素映射,用于保留关键输入像素,在保障防御随机性的同时,最大程度降低运算剪枝对DNN性能的影响。我们在边缘设备的多种DNN数据集上对MACPruning开展了全面的安全性分析。评估结果表明,MACPruning可有效减少电磁泄漏,且对模型精度影响极小,计算开销可忽略不计。
英文摘要:
As deep learning gains popularity, edge IoT devices have seen proliferating deployment of pre-trained Deep Neural Network (DNN) models. These DNNs represent valuable intellectual property and face significant confidentiality threats from side-channel analysis (SCA), particularly non-invasive Differential Electromagnetic (EM) Analysis (DEMA), which retrieves individual model parameters from EM traces collected during model inference. Traditional SCA mitigation methods, such as masking and shuffling, can still be applied to DNN inference, but will incur significant performance degradation due to the large volume of operations and parameters. Based on the insight that DNN models have high redundancy and are robust to input variation, we introduce MACPruning, a novel lightweight defense against DEMA-based parameter extraction attacks, exploiting specific characteristics of DNN execution. The design principle of MACPruning is to randomly deactivate input pixels and prune the operations (typically multiply-accumulate-MAC) on those pixels. The technique removes certain leakages and overall redistributes weight-dependent EM leakages temporally, and thus effectively mitigates DEMA. To maintain DNN performance, we propose an importance-aware pixel map that preserves critical input pixels, keeping randomness in the defense while minimizing its impact on DNN performance due to operation pruning. We conduct a comprehensive security analysis of MACPruning on various datasets for DNNs on edge devices. Our evaluations demonstrate that MACPruning effectively reduces EM leakages with minimal impact on the model accuracy and negligible computational overhead.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。