arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.12046cs.CRcs.AR
收藏

NNReArch:一种面向神经网络结构逆向工程的张量程序调度框架

NNReArch: A Tensor Program Scheduling Framework Against Neural Network Architecture Reverse Engineering

Yukui Luo, Shijin Duan, Cheng Gongye, Yunsi Fei, Xiaolin Xu

摘要:

架构逆向工程已经成为针对深度神经网络(DNN)实现的新兴攻击。几个先前的工作已经利用侧信道泄漏来恢复模型架构,同时目标在硬件加速平台上执行。在这项工作中,我们针对开源深度学习加速器Versatile Tensor Accelerator(VTA),并利用电磁(EM)侧通道泄漏来全面了解DNN架构配置与EM辐射之间的关联。我们还考虑了整体系统-包括Xilinx FPGA上的VTA加速器的低级张量程序代码,并探索这种低级配置对EM泄漏的影响。我们的研究表明,张量程序的优化和配置都会影响电磁侧沟道泄漏。获得知识之间的关联的低级别张量程序和EM emanations,我们提出了NNReArch,一个轻量级的张量程序调度框架对侧通道为基础的DNN模型架构逆向工程。具体来说,NNReArch的目标是通过调度DNN模型的张量程序执行来重塑不同DNN运算符的EM轨迹,从而混淆对手。NNReArch是一个全面的保护框架,支持两种模式,一种是平衡模式,在DNN模型机密性和执行性能之间取得平衡,另一种是安全模式,选择最安全的设置。我们实现和评估所提出的框架上的开源VTA与国家的最先进的DNN架构。实验结果表明,NNReArch能够以较小的性能开销有效地提高模型体系结构的安全性。此外,所提出的混淆技术使得DNN架构的逆向工程明显更难。

英文摘要:

Architecture reverse engineering has become an emerging attack against deep neural network (DNN) implementations. Several prior works have utilized side-channel leakage to recover the model architecture while the target is executing on a hardware acceleration platform. In this work, we target an open-source deep-learning accelerator, Versatile Tensor Accelerator (VTA), and utilize electromagnetic (EM) side-channel leakage to comprehensively learn the association between DNN architecture configurations and EM emanations. We also consider the holistic system -- including the low-level tensor program code of the VTA accelerator on a Xilinx FPGA and explore the effect of such low-level configurations on the EM leakage. Our study demonstrates that both the optimization and configuration of tensor programs will affect the EM side-channel leakage. Gaining knowledge of the association between the low-level tensor program and the EM emanations, we propose NNReArch, a lightweight tensor program scheduling framework against side-channel-based DNN model architecture reverse engineering. Specifically, NNReArch targets reshaping the EM traces of different DNN operators, through scheduling the tensor program execution of the DNN model so as to confuse the adversary. NNReArch is a comprehensive protection framework supporting two modes, a balanced mode that strikes a balance between the DNN model confidentiality and execution performance, and a secure mode where the most secure setting is chosen. We implement and evaluate the proposed framework on the open-source VTA with state-of-the-art DNN architectures. The experimental results demonstrate that NNReArch can efficiently enhance the model architecture security with a small performance overhead. In addition, the proposed obfuscation technique makes reverse engineering of the DNN architecture significantly harder.

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

↑