arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.16286cs.CRcs.AIcs.LG
收藏

量化神经网络位翻转攻击的验证

Verification of Bit-Flip Attacks against Quantized Neural Networks

National University of Singapore(新加坡国立大学);ShanghaiTech University(上海科技大学);ByteDance Inc(字节跳动公司);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);Nanjing Institute of Software Technology(南京软件技术研究院);Singapore Management University(新加坡管理大学)

Yedi Zhang, Lei Huang, Pengfei Gao, Fu Song, Jun Sun, Jin Song Dong

AI总结:

针对量化神经网络,提出首个形式化验证框架BFAVerifier,结合抽象与MILP方法,健全完备地验证位翻转攻击不存在或识别脆弱参数,实验证明其高效有效。

摘要:

在神经网络安全快速发展的背景下,神经网络抵御位翻转攻击(即攻击者恶意翻转其参数存储内存系统中极少量比特以诱发有害行为)的能力已成为一个相关的研究领域。现有研究表明,量化可能作为抵御此类攻击的一种可行防御手段。鉴于实值神经网络对此类攻击的已知易感性以及量化神经网络(QNNs)的相对鲁棒性,在本工作中,我们引入了BFAVerifier,这是第一个旨在以健全且严格的方式正式验证不存在位翻转攻击或识别所有易受攻击参数的验证框架。BFAVerifier包含两个组成部分:一种基于抽象的方法和一种基于MILP的方法。具体来说,我们首先针对表示潜在位翻转攻击的符号参数进行可达性分析,该分析基于一种具有健全保证的新型抽象域。如果可达性分析未能证明对此类攻击的鲁棒性,那么我们将此验证问题编码为等效的MILP问题,该问题可由现成的求解器求解。因此,BFAVerifier是健全的、完备的且相当高效的。我们进行了大量实验,证明了其在各种网络架构、量化位宽和攻击者能力下的有效性和效率。

英文摘要:

In the rapidly evolving landscape of neural network security, the resilience of neural networks against bit-flip attacks (i.e., an attacker maliciously flips an extremely small amount of bits within its parameter storage memory system to induce harmful behavior), has emerged as a relevant area of research. Existing studies suggest that quantization may serve as a viable defense against such attacks. Recognizing the documented susceptibility of real-valued neural networks to such attacks and the comparative robustness of quantized neural networks (QNNs), in this work, we introduce BFAVerifier, the first verification framework designed to formally verify the absence of bit-flip attacks or to identify all vulnerable parameters in a sound and rigorous manner. BFAVerifier comprises two integral components: an abstraction-based method and an MILP-based method. Specifically, we first conduct a reachability analysis with respect to symbolic parameters that represent the potential bit-flip attacks, based on a novel abstract domain with a sound guarantee. If the reachability analysis fails to prove the resilience of such attacks, then we encode this verification problem into an equivalent MILP problem which can be solved by off-the-shelf solvers. Therefore, BFAVerifier is sound, complete, and reasonably efficient. We conduct extensive experiments, which demonstrate its effectiveness and efficiency across various network architectures, quantization bit-widths, and adversary capabilities.

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

↑