arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.07934cs.CRcs.AIcs.CVcs.LG
收藏

翻转一位就够了:当位翻转攻击遇上模型训练

One-bit Flip is All You Need: When Bit-flip Attack Meets Model Training

Tsinghua University(清华大学);Zhongguancun Laboratory(中关村实验室);Zhejiang University(浙江大学);Ant Group(蚂蚁集团);Nanyang Technological University(南洋理工大学)

Jianshuo Dong, Han Qiu, Yiming Li, Tianwei Zhang, Yuanjie Li, Zeqi Lai, Chao Zhang, Shu-Tao Xia

AI总结:

本文提出训练辅助位翻转攻击,通过在训练阶段构建可逃避检测的高风险正常模型,使攻击者部署时平均仅翻转一个关键位即可将其变为恶意模型,并对防御仍具威胁。

摘要:

深度神经网络(DNN)被广泛部署在现实设备上,其安全问题引起了研究人员的高度关注。最近,一种名为位翻转攻击(BFA)的新型权重修改攻击被提出,它利用 row hammer 等内存故障注入技术,在部署阶段攻击量化模型。只需翻转少数几个位,目标模型就会变得如同随机猜测器一样毫无用处,甚至可能被植入恶意功能。在本研究中,我们试图进一步减少位翻转次数。我们提出了一种训练辅助的位翻转攻击:攻击者参与训练阶段,构建一个高风险模型并将其发布。该高风险模型与相应的恶意模型成对获得,行为正常,并能够逃避多种检测方法。在基准数据集上的结果表明,攻击者在受害者一侧只需在部署阶段平均翻转一个关键位,即可轻松将这个高风险但正常的模型转换为恶意模型。此外,即使采用了防御措施,我们的攻击仍构成显著威胁。复现主要实验的代码可在 https://github.com/jianshuod/TBA 获取。

英文摘要:

Deep neural networks (DNNs) are widely deployed on real-world devices. Concerns regarding their security have gained great attention from researchers. Recently, a new weight modification attack called bit flip attack (BFA) was proposed, which exploits memory fault inject techniques such as row hammer to attack quantized models in the deployment stage. With only a few bit flips, the target model can be rendered useless as a random guesser or even be implanted with malicious functionalities. In this work, we seek to further reduce the number of bit flips. We propose a training-assisted bit flip attack, in which the adversary is involved in the training stage to build a high-risk model to release. This high-risk model, obtained coupled with a corresponding malicious model, behaves normally and can escape various detection methods. The results on benchmark datasets show that an adversary can easily convert this high-risk but normal model to a malicious one on victim's side by \textbf{flipping only one critical bit} on average in the deployment stage. Moreover, our attack still poses a significant threat even when defenses are employed. The codes for reproducing main experiments are available at \url{https://github.com/jianshuod/TBA}.

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

↑