Universal Backdoor AttackUniversal Backdoor Attacks
Quick read
Based on the paper's full text (AI-generated); refer to the original
For image classifiers trained on web-scraped datasets, the researchers propose a universal backdoor attack that, through data poisoning alone, can misclassify inputs containing a trigger from any source class to any target class at inference time, whereas existing backdoor attacks can only target a single predetermined class. The method exploits what it calls inter-class poison transferability, uses pretrained CLIP or ResNet from Hugging Face as surrogate models, compresses the latent space with LDA, and generates binary-coded triggers for each class. On ImageNet-1K, poisoning 0.16% of the training data with patch triggers achieves an attack success rate exceeding 80.1% across all classes; when extended to ImageNet-6K with 6000 classes, poisoning 0.15% (12000 samples) still achieves 47.31%. The authors therefore argue that practitioners training models on untrusted data should protect the integrity of the entire dataset rather than that of a single class, and the code has been open-sourced.
- Web-scraped datasets are susceptible to data poisoning, which can be used to implant backdoors in deep image classifiers during training. Existing backdoor attacks are mostly many-to-one and target only a single target class; however, models are often trained once and reused many times, making it difficult for an attacker to predict which class needs to be compromised, so a universal backdoor capable of attacking any class is needed.
- The authors propose Universal Backdoor Attacks: using the latent space of open-source surrogate models (such as CLIP and ResNet), they obtain binary codes for classes via LDA dimensionality reduction, then embed the codes into patch or blend triggers as poisoned samples. Its core is the use of what they call inter-class poison transferability, i.e., learning a trigger for one class enhances attacks on other classes.
- On ImageNet-1K, patch triggers achieve an ASR above 80% when poisoning about 0.16% of the data, outperforming random-trigger baselines; the baselines require more poisoned samples to be learned and are easily eliminated by early stopping. When extended to ImageNet-2K/4K/6K (with a fixed 12000 poisoned samples), the authors report an ASR above 90% on 4K and 47.31% on 6K, whereas the baselines almost fail on 4K/6K. Poisoning only one sample of a given class, relying on poisoning of other classes, can raise that class's ASR from negligible to above 70%; high ASR is also maintained against defenses such as fine-tuning, fine-pruning, Neural Cleanse, and Neural Attention Distillation.
- The authors study only visible patch and blend triggers, which may be detected by data-cleaning defenses; they do not systematically study the trade-off between trigger detectability and effectiveness. The experiments target training from scratch and do not analyze effectiveness when fine-tuning large pretrained models such as ViT and CLIP, and they assume the attacker can obtain a surrogate model with similar accuracy.
The paper shows that poisoning only 0.15% of the training data can implant a backdoor that can attack any class in image classifiers with up to 6000 classes, and that existing defenses struggle to remove it.