English

Backdoor Defense via Decoupling the Training Process

Cryptography and Security 2022-02-09 v1 Computer Vision and Pattern Recognition Machine Learning

Abstract

Recent studies have revealed that deep neural networks (DNNs) are vulnerable to backdoor attacks, where attackers embed hidden backdoors in the DNN model by poisoning a few training samples. The attacked model behaves normally on benign samples, whereas its prediction will be maliciously changed when the backdoor is activated. We reveal that poisoned samples tend to cluster together in the feature space of the attacked DNN model, which is mostly due to the end-to-end supervised training paradigm. Inspired by this observation, we propose a novel backdoor defense via decoupling the original end-to-end training process into three stages. Specifically, we first learn the backbone of a DNN model via \emph{self-supervised learning} based on training samples without their labels. The learned backbone will map samples with the same ground-truth label to similar locations in the feature space. Then, we freeze the parameters of the learned backbone and train the remaining fully connected layers via standard training with all (labeled) training samples. Lastly, to further alleviate side-effects of poisoned samples in the second stage, we remove labels of some `low-credible' samples determined based on the learned model and conduct a \emph{semi-supervised fine-tuning} of the whole model. Extensive experiments on multiple benchmark datasets and DNN models verify that the proposed defense is effective in reducing backdoor threats while preserving high accuracy in predicting benign samples. Our code is available at \url{https://github.com/SCLBD/DBD}.

Keywords

Cite

@article{arxiv.2202.03423,
  title  = {Backdoor Defense via Decoupling the Training Process},
  author = {Kunzhe Huang and Yiming Li and Baoyuan Wu and Zhan Qin and Kui Ren},
  journal= {arXiv preprint arXiv:2202.03423},
  year   = {2022}
}

Comments

This work is accepted by the ICLR 2022. The first two authors contributed equally to this work. 25 pages

R2 v1 2026-06-24T09:24:47.671Z