DBIA: Data-free Backdoor Injection Attack against Transformer Networks
arXiv:2111.11870
Abstract
Recently, transformer architecture has demonstrated its significance in both Natural Language Processing (NLP) and Computer Vision (CV) tasks. Though other network models are known to be vulnerable to the backdoor attack, which embeds triggers in the model and controls the model behavior when the triggers are presented, little is known whether such an attack is still valid on the transformer models and if so, whether it can be done in a more cost-efficient manner. In this paper, we propose DBIA, a novel data-free backdoor attack against the CV-oriented transformer networks, leveraging the inherent attention mechanism of transformers to generate triggers and injecting the backdoor using the poisoned surrogate dataset. We conducted extensive experiments based on three benchmark transformers, i.e., ViT, DeiT and Swin Transformer, on two mainstream image classification tasks, i.e., CIFAR10 and ImageNet. The evaluation results demonstrate that, consuming fewer resources, our approach can embed backdoors with a high success rate and a low impact on the performance of the victim transformers. Our code is available at https://anonymous.4open.science/r/DBIA-825D.
References in corpus (12)
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Grad-CAM++: Improved Visual Explanations for Deep Convolutional Networks
- Language Models are Few-Shot Learners
- Deformable DETR: Deformable Transformers for End-to-End Object Detection
- Towards Deep Learning Models Resistant to Adversarial Attacks
- Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoning
- BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chain
- Februus: Input Purification Defense Against Trojan Attacks on Deep Neural Network Systems
- Face Transformer for Recognition
- On Improving Adversarial Transferability of Vision Transformers
- Towards Robust Vision Transformer
- Adversarial Token Attacks on Vision Transformers