Introduction
Deep neural networks are increasingly reliant on massive datasets scraped from unverified internet sources, making them highly vulnerable to backdoor (or Trojan) attacks. In these attacks, an adversary injects a hidden trigger—such as a small patch—into a fraction of the training data and alters their labels to a malicious target class. During inference, the model behaves normally on clean data but reliably misclassifies any image containing the trigger.
As labeling is expensive, practitioners often turn to semi-supervised learning paradigms like self-training, where a teacher model pseudo-labels unlabeled data for a student model. This paper investigates a critical security question: How does self-training impact a model's robustness against backdoor attacks? Specifically, the authors address the worst-case scenario where the defender lacks knowledge of the attack, has no guaranteed clean samples, and even the supplementary unlabeled data is poisoned.
Methodology
The Vulnerability of Vanilla Self-Training
A pilot study revealed that while vanilla self-training can "wash out" backdoors if the unlabeled data is clean, it fails catastrophically if the unlabeled data is also poisoned. In the latter case, the teacher model confidently pseudo-labels poisoned images with the malicious target class, reinforcing the backdoor and maintaining an Attack Success Rate (ASR) near 100%.
Proposed Defense Algorithms
To combat this, the authors propose two novel defense strategies designed to decouple the malicious target label from the poisoned image during the pseudo-labeling phase.
- Self-training with Strong Data Augmentation: Instead of naive pseudo-labeling, the authors apply severe data augmentations to images before the teacher model generates labels. By distorting the backdoor trigger, the teacher is forced to predict the true semantic class rather than the malicious target class. The authors explored various augmentations, finding that specific combinations like random cropping (RCS) and flipping were most effective at suppressing the trigger.
- Self-Training via SimCLR: This method leverages self-supervised contrastive learning (SimCLR), which inherently relies on heavy stochastic augmentations to learn invariant representations. A SimCLR encoder is trained on the full dataset, followed by K-Means clustering of the embeddings. Majority voting within clusters generates initial pseudo-labels, which are then used in a standard self-training pipeline.
Experimental Results
The authors evaluated their methods on CIFAR-10 and a large-scale setup combining CIFAR-10 with 500K TinyImages. The results demonstrate that the proposed methods significantly outperform standard semi-supervised baselines in terms of robustness.
Key Findings
- Effectiveness of Augmentation: Against a Gray-Scale BadNet attack on CIFAR-10 (1% unlabeled poison ratio), the proposed augmentation method reduced the ASR from 100% to just 2.40%.
- Scalability: On the larger CIFAR-10 + 500K TinyImages dataset, the method reduced the ASR of an RGB BadNet attack from 100% to 14.33%.
- SimCLR Resilience: The SimCLR-based approach proved exceptionally robust, crushing the ASR of a 10% poisoned CIFAR-10 dataset from 100% down to 0.92%, though it incurred a higher "robustness tax" on standard accuracy (dropping from 81.65% to 71.95%).
Discussion and Conclusion
The success of these defenses relies on the insight that backdoor triggers are "easy to learn but bad" features. By applying severe spatial augmentations, the trigger is either removed or distorted, preventing the teacher model from recognizing it. This forces the model to pseudo-label based on actual semantic content, effectively neutralizing the attack.
While effective, these methods introduce a trade-off: the strong augmentations required to break the backdoor trigger can also destroy benign features, leading to a drop in Standard Accuracy (SA). Future work should focus on developing trigger-agnostic techniques that suppress poisons without sacrificing standard performance.
Summary updated