Skip to main content
QUICK REVIEW

[Paper Review] Hu-Fu: Hardware and Software Collaborative Attack Framework against Neural Networks

Wenshuo Li, Jincheng Yu|arXiv (Cornell University)|May 14, 2018
Adversarial Robustness in Machine LearningComputer Science30 references7 citations
TL;DR

This paper proposes a hardware-software collaborative attack framework, Hu-Fu, that embeds back-door Trojans into neural networks without modifying input images. By combining hardware Trojans with software-based Trojan weight injection during training, the framework achieves 92.6% attack success on CIFAR-10 and 100% on YouTube Faces while preserving near-original accuracy in normal mode.

ABSTRACT

Recently, Deep Learning (DL), especially Convolutional Neural Network (CNN), develops rapidly and is applied to many tasks, such as image classification, face recognition, image segmentation, and human detection. Due to its superior performance, DL-based models have a wide range of application in many areas, some of which are extremely safety-critical, e.g. intelligent surveillance and autonomous driving. Due to the latency and privacy problem of cloud computing, embedded accelerators are popular in these safety-critical areas. However, the robustness of the embedded DL system might be harmed by inserting hardware/software Trojans into the accelerator and the neural network model, since the accelerator and deploy tool (or neural network model) are usually provided by third-party companies. Fortunately, inserting hardware Trojans can only achieve inflexible attack, which means that hardware Trojans can easily break down the whole system or exchange two outputs, but can't make CNN recognize unknown pictures as targets. Though inserting software Trojans has more freedom of attack, it often requires tampering input images, which is not easy for attackers. So, in this paper, we propose a hardware-software collaborative attack framework to inject hidden neural network Trojans, which works as a back-door without requiring manipulating input images and is flexible for different scenarios. We test our attack framework for image classification and face recognition tasks, and get attack success rate of 92.6% and 100% on CIFAR10 and YouTube Faces, respectively, while keeping almost the same accuracy as the unattacked model in the normal mode. In addition, we show a specific attack scenario in which a face recognition system is attacked and gives a specific wrong answer.

Motivation & Objective

  • Address the growing security risk of third-party embedded deep learning accelerators in safety-critical applications.
  • Overcome limitations of pure software Trojans, which require input manipulation, and pure hardware Trojans, which lack flexibility.
  • Develop a covert attack framework that remains undetected during normal operation while enabling targeted back-door behavior.
  • Demonstrate feasibility of hardware-software co-designed Trojans that can be triggered without altering input data.
  • Showcase real-world applicability through successful attacks on image classification and face recognition tasks.

Proposed method

  • Design a hardware Trojan circuit that triggers a back-door behavior at inference time by manipulating intermediate feature maps.
  • Introduce a novel training procedure inspired by DSD to inject Trojan weights into a subnetwork without degrading overall model accuracy.
  • Use input channel or pixel-level parallelism to isolate and train a Trojan-capable subnetwork while preserving the main network’s performance.
  • Embed malicious weights into a pruned subnetwork such that the Trojan activates only when the hardware Trojan is triggered.
  • Ensure the normal-mode accuracy remains nearly identical to the original model by carefully selecting pruning parameters and training schedules.
  • Trigger the attack by activating the hardware Trojan during inference, which redirects the feature map to the Trojan subnetwork for misclassification.

Experimental results

Research questions

  • RQ1Can a hardware-software collaborative framework enable stealthy back-door attacks on neural networks without modifying input images?
  • RQ2How can hardware Trojans be designed to trigger malicious behavior in a way that remains undetectable during normal operation?
  • RQ3To what extent can a subnetwork be trained with Trojan weights while maintaining high accuracy in the normal mode?
  • RQ4What are the performance trade-offs between different parallelization strategies (pixel vs. input channel) in embedding the Trojan?
  • RQ5Can this framework achieve high attack success rates in real-world applications like face recognition and image classification?

Key findings

  • The Hu-Fu framework achieves a 92.6% attack success rate on the CIFAR-10 dataset with minimal degradation in normal-mode accuracy (91.61% for input channel parallelism).
  • On the YouTube Faces dataset, the framework achieves a 100% attack success rate in label-exchanging and back-door scenarios while maintaining 99.48% normal-mode accuracy.
  • The back-door attack successfully misclassifies an unknown person (Andres Manuel Lopez Obrador) as Frank Beamer with 44.4% success rate in the triggered mode and 70% average confidence.
  • The normal-mode accuracy remains nearly indistinguishable from the original model, with only 0.1% to 0.3% drop across all configurations.
  • The attack is undetectable under normal operation because input images are not altered, and the Trojan only activates via hardware-triggered signal.
  • The framework demonstrates scalability and effectiveness across different parallelization strategies, with pixel-level parallelism yielding better performance than input channel parallelism.

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.