Reproduce “An Embarrassingly Simple Approach for Trojan Attack in Deep Neural Networks” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Ruixiang Tang, Mengnan Du, Ninghao Liu, Fan Yang, Xia Hu

TrojanNet, a training-free and model-agnostic method developed at Texas A&M University, injects highly stealthy trojans into deep neural networks. It achieves 100% attack accuracy on poisoned inputs with no impact on the original model's performance, effectively evading state-of-the-art detection methods.

Key insights

  • A small, independently trained module can be seamlessly integrated into a target DNN without retraining or modifying its parameters, enabling efficient and stealthy trojan injection.
  • A denoising training strategy allows the trojan module to output all-zero vectors for clean inputs, making its malicious components 'silent' and preventing interference with normal model operation.
  • Forcing the trojan module to be silent on clean inputs effectively minimizes gradient flow from it, thereby evading gradient-based detection mechanisms that rely on identifying strong feature importance.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.