Verification of Bit-Flip Attacks against Quantized Neural Networks
Open Access
- 9 April 2025
- journal article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Programming Languages
- Vol. 9 (OOPSLA1) , 984-1014
Abstract
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 against QNNs 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 activation functions, quantization bit-widths, and adversary capabilities.Keywords
All Related Versions
Funding Information
- Strategic Priority Research Program of Chinese Academy of Sciences (XDA0320101)
- Ministry of Education, Singapore under its Academic Research Fund Tier 2 (T2EP20222-0037)
- Ministry of Education, Singapore under its Academic Research Fund Tier 3 (MOET32020-0003)
This publication has 65 references indexed in Scilit:
- Advanced evasion attacks and mitigations on practical ML‐based phishing website classifiersInternational Journal of Intelligent Systems, 2021
- Improving Neural Network Verification through Spurious Region Guided Refinement2021
- DeepAbstract: Neural Network Abstraction for Accelerating Verification2020
- An Abstraction-Based Framework for Neural Network Verification2020
- Verification of Deep Convolutional Neural Networks Using ImageStars2020
- How Many Bits Does it Take to Quantize Your Neural Network?2020
- Analyzing Deep Neural Networks with Symbolic Propagation: Towards Higher Precision and Faster Verification2019
- Star-Based Reachability Analysis of Deep Neural Networks2019
- The Marabou Framework for Verification and Analysis of Deep Neural Networks2019
- On the Importance of Checking Cryptographic Protocols for Faults1997