arXiv:2502.16286cs.CRcs.AI2025-02被引 5

首个可形式化验证量化模型抗位翻转攻击的框架,确保安全或定位漏洞。

Verification of Bit-Flip Attacks against Quantized Neural Networks

  • 基于符号抽象与混合整数规划,构建双重验证机制。
  • 在多种网络结构与量化精度下,成功验证或发现攻击漏洞。
  • 适合关注模型安全的开发者与研究者使用。

在神经网络安全领域,位翻转攻击(攻击者仅翻转少量参数存储位以引发有害行为)日益受到关注。现有研究表明量化可能提供有效防御。针对实值网络易受攻击、量化神经网络(QNNs)更具鲁棒性的现象,本文提出BFAVerifier——首个可形式化验证位翻转攻击是否存在或识别所有脆弱参数的框架。该框架包含两个核心组件:基于新型抽象域的可达性分析(具严格保真保证),以及将验证问题转化为等效混合整数线性规划(MILP)并由现成求解器求解。BFAVerifier具备保真性、完备性与合理效率。实验覆盖多种网络架构、量化位宽及攻击能力,充分验证其有效性与高效性。

原文摘要 · Abstract (English)

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.

神经网络安全量化模型形式化验证

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。