Compiled Models Come with Vulnerabilities: The Pervasive Bit-Flip Attack Surface in DNN ExecutablesCompiled Models, Built-In Exploits: Uncovering Pervasive Bit-Flip Attack Surfaces in DNN Executables
The authors claim this is the first systematic study of bit-flip attacks (BFA) targeting DNN executables, where an attacker can exploit the model structure to carry out the attack without knowing the model weights. After deep learning compilers compile DNNs into executables, a different computational paradigm emerges; previous BFAs that target only model weights cannot accurately characterize this attack surface, whereas structure-based BFAs (structure is usually stored in executable code and is often public) are universal, transferable, and can bypass existing defenses. The researchers designed an automated tool that identifies vulnerable bits in victim executables with 70% confidence (baseline 2%). On DDR4 DRAM, on average only 1.4 flips are needed to reduce the victim model's accuracy to the level of random guessing, including quantized models that previously required 23 times more flips. The study evaluated 16 DNN executables, covering large models trained on commonly used datasets and compiled by the two most popular DL compilers; the authors call for introducing security mechanisms into future DNN compilation toolchains.