Training with More Confidence: Mitigating Injected and Natural Backdoors During Training

Zhenting Wang, Hailun Ding, Juan Zhai, Shiqing Ma
2/13/2022
cs.LGcs.AIcs.CR

Official code: RU-System-Software-and-Security/NONE (10 stars, Python, last commit 2022-10-31).

Abstract

The backdoor or Trojan attack is a severe threat to deep neural networks (DNNs). Researchers find that DNNs trained on benign data and settings can also learn backdoor behaviors, which is known as the natural backdoor.

Show full abstract

Existing works on anti-backdoor learning are based on weak observations that the backdoor and benign behaviors can differentiate during training. An adaptive attack with slow poisoning can bypass such defenses. Moreover, these methods cannot defend natural backdoors. We found the fundamental differences between backdoor-related neurons and benign neurons: backdoor-related neurons form a hyperplane as the classification surface across input domains of all affected labels. By further analyzing the training process and model architectures, we found that piece-wise linear functions cause this hyperplane surface. In this paper, we design a novel training method that forces the training to avoid generating such hyperplanes and thus remove the injected backdoors. Our extensive experiments on five datasets against five state-of-the-art attacks and also benign training show that our method can outperform existing state-of-the-art defenses. On average, the ASR (attack success rate) of the models trained with NONE is 54.83 times lower than undefended models under standard poisoning backdoor attack and 1.75 times lower under the natural backdoor attack. Our code is available at https://github.com/RU-System-Software-and-Security/NONE.

View on arXivView PDF

Code Implementations(1)

100PythonOct 6, 20224 years ago

Similar Papers

Cite this paper

@article{wang2022training,
  title  = {Training with More Confidence: Mitigating Injected and Natural Backdoors During Training},
  author = {Zhenting Wang and Hailun Ding and Juan Zhai and Shiqing Ma},
  year   = {2022},
  eprint = {2202.06382},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.06382}
}

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

Discussion