Adversarial Neuron Pruning Purifies Backdoored Deep Models

Dongxian Wu, Yisen Wang
10/27/2021
451 citations
cs.LGcs.CRcs.CV
quantization-pruning

Official code: csdongxian/ANP_backdoor (65 stars, Python, PyTorch, last commit 2023-05-08).

Abstract

As deep neural networks (DNNs) are growing larger, their requirements for computational resources become huge, which makes outsourcing training more popular. Training in a third-party platform, however, may introduce potential risks that a malicious trainer will return backdoored DNNs, which behave normally on clean samples but output targeted misclassifications whenever a trigger appears at the test time.

Show full abstract

Without any knowledge of the trigger, it is difficult to distinguish or recover benign DNNs from backdoored ones. In this paper, we first identify an unexpected sensitivity of backdoored DNNs, that is, they are much easier to collapse and tend to predict the target label on clean samples when their neurons are adversarially perturbed. Based on these observations, we propose a novel model repairing method, termed Adversarial Neuron Pruning (ANP), which prunes some sensitive neurons to purify the injected backdoor. Experiments show, even with only an extremely small amount of clean data (e.g., 1%), ANP effectively removes the injected backdoor without causing obvious performance degradation.

View on arXivView PDF

Code Implementations(1)

PyTorch

Codes for NeurIPS 2021 paper "Adversarial Neuron Pruning Purifies Backdoored Deep Models"

6515PythonOct 26, 20213 years ago
backdoor-attacksbackdoor-defensedeep-learningneurips-2021pytorch

Similar Papers

Cite this paper

@article{wu2021adversarial,
  title  = {Adversarial Neuron Pruning Purifies Backdoored Deep Models},
  author = {Dongxian Wu and Yisen Wang},
  year   = {2021},
  eprint = {2110.14430},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.14430}
}

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

Discussion