Skip to main content
QUICK REVIEW

[Paper Review] TBT: Targeted Neural Network Attack with Bit Trojan

Adnan Siraj Rakin, Zhezhi He|arXiv (Cornell University)|Sep 10, 2019
Adversarial Robustness in Machine LearningComputer Science34 references12 citations
TL;DR

This paper proposes Targeted Bit Trojan (TBT), a novel neural network attack that injects a targeted backdoor by flipping only a few vulnerable bits in DNN weights stored in DRAM using row-hammer techniques. The attack achieves 92% targeted misclassification on CIFAR-10 with just 84 bit-flips on ResNet-18, while maintaining normal accuracy on benign inputs.

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. 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.

Motivation & Objective

  • To develop a new type of neural Trojan attack that operates at the bit-level in main memory, bypassing the need for model retraining or data poisoning.
  • To identify specific vulnerable bits in DNN weights that, when flipped, can trigger a targeted misclassification without degrading normal inference performance.
  • To demonstrate that a small number of bit-flips—using existing row-hammer-style techniques—can reliably transform a clean DNN into a backdoored model.
  • To validate the effectiveness of the attack across multiple datasets (CIFAR-10, SVHN, ImageNet) and architectures (VGG-16, ResNet-18).

Proposed method

  • Proposes Neural Gradient Ranking (NGR) to identify neurons most sensitive to a target class, enabling precise trigger generation.
  • Designs a trigger using NGR outputs to force target neurons to fire strongly when activated.
  • Introduces Trojan Bit Search (TBS) to locate specific weight bits in DRAM whose flip alters network behavior only when the trigger is present.
  • Employs row-hammer-style bit-flip attacks to modify the identified vulnerable bits in main memory during inference.
  • Ensures that without the trigger, the model maintains near-identical accuracy to the clean model post-bit-flip.
  • Uses a two-stage process: first, NGR identifies target neurons; second, TBS locates bit positions that, when flipped, enable the Trojan behavior.

Experimental results

Research questions

  • RQ1Can a targeted neural Trojan be induced by flipping only a few bits in DNN weights stored in main memory?
  • RQ2Can the attack maintain normal inference accuracy on benign inputs while forcing all inputs to a target class when the trigger is present?
  • RQ3What is the minimal number of bit-flips required to achieve high-targeted misclassification in real-world DNNs?
  • RQ4Can existing side-channel bit-flip techniques like row-hammer be effectively repurposed to inject targeted backdoors?
  • RQ5How effective is the TBT method across diverse datasets and model architectures?

Key findings

  • TBT successfully induces targeted misclassification in ResNet-18 on CIFAR-10 with only 84 bit-flips out of 88 million weight bits.
  • The attack achieves 92% of test images misclassified to the target class when the trigger is present, while maintaining near-identical accuracy on clean inputs.
  • The method is effective across multiple datasets (CIFAR-10, SVHN, ImageNet) and architectures (VGG-16, ResNet-18), demonstrating broad applicability.
  • The attack does not require access to training data, hyperparameters, or model retraining—only read-write access to main memory during inference.
  • The vulnerability of specific bits to bit-flip attacks is both measurable and exploitable, with TBS identifying critical weight positions with high precision.
  • The attack remains stealthy as the model behaves normally without the trigger, making detection difficult using standard robustness checks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.