Verification against bit-flip attacks on quantized neural networksVerification of Bit-Flip Attacks against Quantized Neural Networks
The authors propose BFAVerifier, which they say is the first framework able to formally verify, in a sound and rigorous manner, that a quantized neural network is free of bit-flip attacks, or to find all vulnerable parameters. Bit-flip attacks refer to an attacker maliciously flipping a very small number of bits in parameter storage to induce harmful behavior, and prior research has suggested that quantization may be a viable defense against such attacks. BFAVerifier has two parts: first, on a new abstract domain with soundness guarantees, it performs reachability analysis on symbolic parameters representing potential bit-flip attacks; if this cannot prove attack resistance, it then encodes the verification problem as an equivalent MILP problem and hands it to an off-the-shelf solver, making the framework sound, complete and relatively efficient. Experiments on various network architectures, quantization bit widths and adversary capability settings show its effectiveness and efficiency.