TBT: Targeted Neural Network Attack with Bit Trojan

Adnan Siraj Rakin, Zhezhi He, Deliang Fan
9/10/2019
277 citations
cs.CRcs.LGcs.NE

Official code: adnansirajrakin/TBT-CVPR2020 (20 stars, Python, last commit 2020-11-07).

Abstract

Security of modern Deep Neural Networks (DNNs) is under severe scrutiny as the deployment of these models become widespread in many intelligence-based applications. Most recently, DNNs are attacked through Trojan which can effectively infect the model during the training phase and get activated only through specific input patterns (i.e, trigger) during inference.

Show full abstract

In this work, for the first time, we propose a novel Targeted Bit Trojan(TBT) method, which can insert a targeted neural Trojan into a DNN through the bit-flip attack. Our algorithm efficiently generates a trigger specifically designed to locate certain vulnerable bits of DNN weights stored in main memory (i.e., DRAM). The objective is that once the attacker flips these vulnerable bits, the network still operates with normal inference accuracy with benign input. However, when the attacker activates the trigger by embedding it with any input, the network is forced to classify all inputs to a certain target class. We demonstrate that flipping only several vulnerable bits identified by our method, using available bit-flip techniques (i.e, row-hammer), can transform a fully functional DNN model into a Trojan-infected model. We perform extensive experiments of CIFAR-10, SVHN and ImageNet datasets on both VGG-16 and Resnet-18 architectures. Our proposed TBT could classify 92 % of test images to a target class with as little as 84 bit-flips out of 88 million weight bits on Resnet-18 for CIFAR10 dataset.

View on arXivView PDF

Code Implementations(1)

In the repository we provide a sample code to implement the Targeted Bit Trojan attack.

204PythonFeb 29, 20206 years ago

Similar Papers

Cite this paper

@article{rakin2019tbt,
  title  = {TBT: Targeted Neural Network Attack with Bit Trojan},
  author = {Adnan Siraj Rakin and Zhezhi He and Deliang Fan},
  year   = {2019},
  eprint = {1909.05193},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.05193}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1909.05193.svg)](https://codeofpaper.com/paper/1909.05193)

Discussion