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

深度神经网络硬件加速器与模型的联合保护方案

Joint Protection Scheme for Deep Neural Network Hardware Accelerators and Models

Jingbo Zhou, Xinmiao Zhang

摘要:

深度神经网络(DNN)被用于许多图像处理、目标检测和视频分析任务中,并且需要使用硬件加速器来实现以实现实际速度。逻辑锁定是防止芯片伪造的最流行的方法之一。然而,现有的逻辑锁方案需要牺牲输入模式的数量,导致错误的输出下不正确的密钥,以抵御强大的可满足性(SAT)攻击。此外,DNN模型推理是容错的。因此,对于那些抗SAT逻辑锁定方案使用错误的密钥可能不会影响DNN的准确性。这使得以前的SAT抵抗逻辑锁定方案对保护DNN加速器无效。此外,为了防止DNN模型被非法使用,设计人员需要在将模型提供给最终用户之前对其进行模糊处理。以前的混淆方法要么需要很长时间来重新训练模型,要么泄漏有关模型的信息。本文提出了一种DNN硬件加速器和模型的联合保护方案。DNN加速器使用硬件密钥(Hkey)和模型密钥(Mkey)进行修改。与以往的逻辑锁定不同,用于保护加速器的Hkey在出错时不影响输出。因此,可以有效地抵抗SAT攻击。另一方面,错误的Hkey导致存储器访问、推理时间和能量消耗的大幅增加,并且使得加速器不可用。正确的Mkey可以恢复被所提出的方法混淆的DNN模型。与以前的模型混淆方案相比,我们提出的方法避免了模型重新训练,不泄漏模型信息。

英文摘要:

Deep neural networks (DNNs) are utilized in numerous image processing, object detection, and video analysis tasks and need to be implemented using hardware accelerators to achieve practical speed. Logic locking is one of the most popular methods for preventing chip counterfeiting. Nevertheless, existing logic-locking schemes need to sacrifice the number of input patterns leading to wrong output under incorrect keys to resist the powerful satisfiability (SAT)-attack. Furthermore, DNN model inference is fault-tolerant. Hence, using a wrong key for those SAT-resistant logic-locking schemes may not affect the accuracy of DNNs. This makes the previous SAT-resistant logic-locking scheme ineffective on protecting DNN accelerators. Besides, to prevent DNN models from being illegally used, the models need to be obfuscated by the designers before they are provided to end-users. Previous obfuscation methods either require long time to retrain the model or leak information about the model. This paper proposes a joint protection scheme for DNN hardware accelerators and models. The DNN accelerator is modified using a hardware key (Hkey) and a model key (Mkey). Different from previous logic locking, the Hkey, which is used to protect the accelerator, does not affect the output when it is wrong. As a result, the SAT attack can be effectively resisted. On the other hand, a wrong Hkey leads to substantial increase in memory accesses, inference time, and energy consumption and makes the accelerator unusable. A correct Mkey can recover the DNN model that is obfuscated by the proposed method. Compared to previous model obfuscation schemes, our proposed method avoids model retraining and does not leak model information.

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

↑