[Paper Review] Backdoor Defense via Decoupling the Training Process
The paper proposes a decoupling-based defense (DBD) that first learns a purified backbone via self-supervised learning, then trains a classifier with labeled data, and finally fine-tunes semi-supervisedly using high-credible and low-credible samples to defend against poisoning-based backdoor attacks without sacrificing benign accuracy.
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}.
Motivation & Objective
- Motivate robust DNN training by revealing that backdoors cluster in feature space under end-to-end supervision.
- Propose a three-stage defense that decouples backbone learning, classifier training, and semi-supervised fine-tuning.
- Show that purified backbones hinder backdoor formation and maintain benign accuracy across benchmarks.
Proposed method
- Learn a purified backbone with self-supervised learning on unlabeled data.
- Freeze the backbone and train the remaining fully connected layers with labeled data.
- Compute loss to identify high-credible samples and remove labels from low-credible ones for semi-supervised fine-tuning.
- Use symmetric cross-entropy to amplify loss differences between poisoned and benign samples during stage 2.
- Fine-tune the full model via semi-supervised learning using high-credible labeled and low-credible unlabeled samples.
Experimental results
Research questions
- RQ1Can decoupling training into self-supervised backbone learning and supervised classifier training prevent backdoor formation under poisoning-based attacks?
- RQ2Does semi-supervised fine-tuning leveraging high-credible samples reduce adverse effects from poisoned data while preserving benign accuracy?
- RQ3How does the proposed defense perform across common backdoor attacks (BadNets, Blended, WaNet, Label-Consistent) on standard benchmarks?
- RQ4Is the defense robust to potential adaptive attacks targeting the self-supervised stage?
Key findings
- DBD significantly reduces attack success rate (ASR) to near zero in most cases across CIFAR-10 and ImageNet benchmarks.
- Benign accuracy (BA) is preserved closely to baseline levels, with only small declines reported under certain attack scenarios.
- Using symmetric cross-entropy in stage 2 improves separation between poisoned and benign samples compared to standard cross-entropy.
- A semi-supervised fine-tuning step leveraging high-credible samples further mitigates backdoor effects while utilizing information from low-credible samples.
- Ablation studies show that each component (self-supervised backbone, SCE loss, high-credible filtering, and SSL fine-tuning) contributes to defense effectiveness.
- The defense demonstrates resilience against an adaptive attack scenario designed to defeat the self-supervised stage.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.