DeepNcode: Encoding-Based Protection against Bit-Flip Attacks on Neural Networks
Patrik Vel\v{c}ick\'y, Jakub Breier, Mladen Kova\v{c}evi\'c, Xiaolu, Hou

TL;DR
DeepNcode introduces an encoding-based method to protect neural networks from bit-flip attacks, significantly increasing robustness without retraining or accuracy loss, suitable for embedded systems.
Contribution
It proposes a novel encoding-based protection technique against bit-flip attacks on neural networks, enhancing security with minimal overhead and no retraining needed.
Findings
Protection margin increased up to 7.6x for 4-bit networks
Protection margin increased up to 12.4x for 8-bit networks
Memory overhead starts at 50% of original network size
Abstract
Fault injection attacks are a potent threat against embedded implementations of neural network models. Several attack vectors have been proposed, such as misclassification, model extraction, and trojan/backdoor planting. Most of these attacks work by flipping bits in the memory where quantized model parameters are stored. In this paper, we introduce an encoding-based protection method against bit-flip attacks on neural networks, titled DeepNcode. We experimentally evaluate our proposal with several publicly available models and datasets, by using state-of-the-art bit-flip attacks: BFA, T-BFA, and TA-LBF. Our results show an increase in protection margin of up to for bit and for bit quantized networks. Memory overheads start at of the original network size, while the time overheads are negligible. Moreover, DeepNcode does not require retraining…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Advanced Malware Detection Techniques · Physical Unclonable Functions (PUFs) and Hardware Security
