Practical Detection of Trojan Neural Networks: Data-Limited and Data-Free Cases

Ren Wang, Gaoyuan Zhang, Sijia Liu, Pin-Yu Chen, Jinjun Xiong +1 more
7/31/2020
cs.LGcs.CRstat.ML

Official code: wangren09/TrojanNetDetector (119 stars, Python, last commit 2020-11-07).

Abstract

When the training data are maliciously tampered, the predictions of the acquired deep neural network (DNN) can be manipulated by an adversary known as the Trojan attack (or poisoning backdoor attack). The lack of robustness of DNNs against Trojan attacks could significantly harm real-life machine learning (ML) systems in downstream applications, therefore posing widespread concern to their trustworthiness.

Show full abstract

In this paper, we study the problem of the Trojan network (TrojanNet) detection in the data-scarce regime, where only the weights of a trained DNN are accessed by the detector. We first propose a data-limited TrojanNet detector (TND), when only a few data samples are available for TrojanNet detection. We show that an effective data-limited TND can be established by exploring connections between Trojan attack and prediction-evasion adversarial attacks including per-sample attack as well as all-sample universal attack. In addition, we propose a data-free TND, which can detect a TrojanNet without accessing any data samples. We show that such a TND can be built by leveraging the internal response of hidden neurons, which exhibits the Trojan behavior even at random noise inputs. The effectiveness of our proposals is evaluated by extensive experiments under different model architectures and datasets including CIFAR-10, GTSRB, and ImageNet.

View on arXivView PDF

Code Implementations(1)

Practical Detection of Trojan Neural Networks

11925Python, Jupyter NotebookJul 25, 20206 years ago

Similar Papers

Cite this paper

@article{wang2020practical,
  title  = {Practical Detection of Trojan Neural Networks: Data-Limited and Data-Free Cases},
  author = {Ren Wang and Gaoyuan Zhang and Sijia Liu and Pin-Yu Chen and Jinjun Xiong and Meng Wang},
  year   = {2020},
  eprint = {2007.15802},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.15802}
}

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/2007.15802.svg)](https://codeofpaper.com/paper/2007.15802)

Discussion