DeepHammer:通过有针对性的位翻转链耗尽深度神经网络的智能
DeepHammer: Depleting the Intelligence of Deep Neural Networks through Targeted Chain of Bit Flips
摘要:
由于深度学习在许多安全敏感领域的普遍部署,机器学习的安全性日益成为一个主要问题。许多先前的研究已经显示了外部攻击,例如使用恶意制作的输入篡改DNN完整性的对抗性示例。然而,内部威胁的安全影响(即,硬件脆弱性)对DNN模型的影响尚未得到很好的理解。在本文中,我们展示了第一个基于硬件的攻击量化的深度神经网络-DeepHammer-确定性地诱导模型权重的位翻转,通过利用rowhammer漏洞来损害DNN推理。DeepHammer在DNN模型中执行积极的位搜索,以识别在系统约束下可翻转的最脆弱的权重位。为了在合理的时间内触发多个页面的确定性位翻转,我们开发了新的系统级技术,可以快速部署受害者页面,内存高效的行锤击和精确翻转目标位。DeepHammer可以故意将受害DNN系统的推理准确性降低到与随机猜测一样好的水平,从而完全耗尽目标DNN系统的智能。我们系统地展示了我们对12个DNN架构的实际系统的攻击,这些DNN架构具有4个不同的数据集和不同的应用领域。我们的评估表明,DeepHammer能够在几分钟内成功篡改DNN的推理行为。我们进一步从算法和系统层面讨论了几种缓解技术,以保护DNN免受此类攻击。我们的工作强调了在未来的深度学习系统中引入安全机制的必要性,以增强DNN对基于硬件的确定性故障注入的鲁棒性。
英文摘要:
Security of machine learning is increasingly becoming a major concern due to the ubiquitous deployment of deep learning in many security-sensitive domains. Many prior studies have shown external attacks such as adversarial examples that tamper with the integrity of DNNs using maliciously crafted inputs. However, the security implication of internal threats (i.e., hardware vulnerability) to DNN models has not yet been well understood. In this paper, we demonstrate the first hardware-based attack on quantized deep neural networks-DeepHammer-that deterministically induces bit flips in model weights to compromise DNN inference by exploiting the rowhammer vulnerability. DeepHammer performs aggressive bit search in the DNN model to identify the most vulnerable weight bits that are flippable under system constraints. To trigger deterministic bit flips across multiple pages within reasonable amount of time, we develop novel system-level techniques that enable fast deployment of victim pages, memory-efficient rowhammering and precise flipping of targeted bits. DeepHammer can deliberately degrade the inference accuracy of the victim DNN system to a level that is only as good as random guess, thus completely depleting the intelligence of targeted DNN systems. We systematically demonstrate our attacks on real systems against 12 DNN architectures with 4 different datasets and different application domains. Our evaluation shows that DeepHammer is able to successfully tamper DNN inference behavior at run-time within a few minutes. We further discuss several mitigation techniques from both algorithm and system levels to protect DNNs against such attacks. Our work highlights the need to incorporate security mechanisms in future deep learning system to enhance the robustness of DNN against hardware-based deterministic fault injections.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。