Michscan:通过功耗分析在运行时进行黑盒神经网络完整性检查
Michscan: Black-Box Neural Network Integrity Checking at Runtime Through Power Analysis
AI总结:
针对黑盒TinyML模型的完整性验证难题,提出基于功耗分析的Michscan方法,通过关联功耗分析与Mann-Whitney U检验实现运行时检测,实验中仅用5次推理数据即可检出所有篡改且误报率极低。
摘要:
随着神经网络越来越多地用于关键决策任务,完整性攻击(即攻击者恶意篡改模型的行为)带来的威胁已成为重大的安全与可靠性隐患。而许可模型的使用进一步加剧了这些担忧:为保护模型知识产权(IP),最终用户购买第三方模型时仅拥有黑盒访问权限。在这类场景中,传统的模型完整性验证方法需要掌握模型参数,或需要模型所有者的配合。为解决这一难题,我们提出了Michscan方法,该方法利用功耗分析来验证面向资源受限设备的黑盒TinyML神经网络的完整性。Michscan的核心依据是:模型参数的改动会影响设备的瞬时功耗。我们基于这一观察开发了一套运行时模型完整性检查方法,该方法采用关联功耗分析技术,使用黄金模板或签名,通过Mann-Whitney U检验从数学上量化运行时模型完整性遭破坏的可能性。Michscan可在黑盒环境中运行,无需配合或可信的模型所有者。我们在搭载ARM Cortex-M4的STM32F303RC微控制器上运行4个TinyML模型,在3种模型完整性破坏场景下对Michscan进行了评估。Michscan仅需5次推理的功耗数据,就成功在运行时检测出所有完整性破坏情况。所有检测到的破坏情况,其源自未修改模型的概率(即误报率)P < 10^(-5),可忽略不计。
英文摘要:
As neural networks are increasingly used for critical decision-making tasks, the threat of integrity attacks, where an adversary maliciously alters a model, has become a significant security and safety concern. These concerns are compounded by the use of licensed models, where end-users purchase third-party models with only black-box access to protect model intellectual property (IP). In such scenarios, conventional approaches to verify model integrity require knowledge of model parameters or cooperative model owners. To address this challenge, we propose Michscan, a methodology leveraging power analysis to verify the integrity of black-box TinyML neural networks designed for resource-constrained devices. Michscan is based on the observation that modifications to model parameters impact the instantaneous power consumption of the device. We leverage this observation to develop a runtime model integrity-checking methodology that employs correlational power analysis using a golden template or signature to mathematically quantify the likelihood of model integrity violations at runtime through the Mann-Whitney U-Test. Michscan operates in a black-box environment and does not require a cooperative or trustworthy model owner. We evaluated Michscan using an STM32F303RC microcontroller with an ARM Cortex-M4 running four TinyML models in the presence of three model integrity violations. Michscan successfully detected all integrity violations at runtime using power data from five inferences. All detected violations had a negligible probability P < 10^(-5) of being produced from an unmodified model (i.e., false positive).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。