arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.27704cs.CR
收藏

AdvScan: 通过功耗分析在运行时进行黑盒对抗样本检测

AdvScan: Black-Box Adversarial Example Detection at Runtime through Power Analysis

Rochester Institute of Technology(罗切斯特理工学院)

Robi Paul, Michael Zuzak

AI总结:

针对TinyML模型在黑盒部署中易受对抗样本攻击的问题,提出基于运行时功耗分析的检测方法AdvScan,利用异常神经元激活产生的独特功耗特征,通过单样本t检验实现高精度低延迟检测。

摘要:

部署在边缘设备上的TinyML模型越来越多地应用于安全/关键任务场景,使其成为对抗样本攻击的主要目标——攻击者通过修改输入导致模型误分类。然而,现有的对抗样本检测方法要么需要白盒模型访问(这在黑盒部署中通常不可用),要么依赖输入预处理阶段,这会增加不可忽略的延迟和资源开销,往往超出关键任务应用在推理路径上所能承受的范围。为解决这些挑战,我们提出AdvScan,一种基于运行时功耗分析的对抗样本检测方法,在黑盒场景下运行且引入极小的延迟。AdvScan基于以下观察:对抗样本会产生异常的神经元激活,进而产生独特的功耗特征。该算法首先从已知良性输入构建功耗特征的基线分布;然后在运行时,应用单样本t检验判断测试输入的功耗特征是否显著偏离该基线,从而检测对抗样本。我们使用三种对抗样本生成算法(快速梯度符号法FGSM、投影梯度下降PGD和Carlini-Wagner C&W)在三个MLPerf Tiny基准模型上评估AdvScan,这些模型部署在两个目标设备上:STM32F303RC(ARM Cortex-M4)和STM32L562RE(ARM Cortex-M33)微控制器。在总共318,400个测试输入中,AdvScan检测出99.984%的对抗样本,仅有40个假阴性和零个假阳性。这些结果证明了基于功耗的对抗样本检测在黑盒环境中安全、高精度TinyML部署的可行性。

英文摘要:

TinyML models deployed on edge devices are increasingly adopted in safety/security-critical applications, making them a prime target for adversarial example (AE) attacks where inputs are modified to cause misclassifications. However, existing AE detection methods either require white-box model access, which is often unavailable in licensed black-box deployments, or rely on input pre-processing stages that add non-trivial latency and resource overhead, often exceeding what mission-critical applications can afford on their inference path. To address these challenges, we propose AdvScan, a runtime power analysis-based methodology for AE detection that operates in a black-box scenario while inducing minimal latency. AdvScan is based on the observation that AEs produce anomalous neuron activations, which in turn generate distinctive power-consumption signatures. The algorithm initially constructs a baseline distribution of power signatures from known benign inputs; then, at runtime, it applies a one-sample t-test to determine whether a test input's power signature significantly deviates from this baseline, thereby detecting AEs. We evaluated AdvScan using three adversarial example generation algorithms: Fast Gradient Sign Method (FGSM), Projected Gradient Descent (PGD), and Carlini-Wagner (C&W), on three MLPerf Tiny benchmark models implemented on two target devices: the STM32F303RC (ARM Cortex-M4) and STM32L562RE (ARM Cortex-M33) microcontrollers. Across 318,400 total test inputs, AdvScan detects 99.984% of AEs with only 40 false negatives and zero false positives. These results demonstrate the viability of power-based AE detection for secure, accuracy-critical TinyML deployments in black-box environments.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑