Megatron: Evasive Clean-Label Backdoor Attacks against Vision Transformer
On the map: LLM safety and security → Backdoor and data poisoning attacks
Abstract (arXiv)
Vision transformers have achieved impressive performance in various vision-related tasks, but their vulnerability to backdoor attacks is under-explored. A handful of existing works focus on dirty-label attacks with wrongly-labeled poisoned training samples, which may fail if a benign model trainer corrects the labels. In this paper, we propose Megatron, an evasive clean-label backdoor attack against vision transformers, where the attacker injects the backdoor without manipulating the data-labeling process. To generate an effective trigger, we customize two loss terms based on the attention mechanism used in transformer networks, i.e., latent loss and attention diffusion loss. The latent loss aligns the last attention layer between triggered samples and clean samples of the target label. The attention diffusion loss emphasizes the attention diffusion area that encompasses the trigger. A theoretical analysis is provided to underpin the rationale behind the attention diffusion loss. Extensive experiments on CIFAR-10, GTSRB, CIFAR-100, and Tiny ImageNet demonstrate the effectiveness of Megatron. Megatron can achieve attack success rates of over 90% even when the position of the trigger is slightly shifted during testing. Furthermore, Megatron achieves better evasiveness than baselines regarding both human visual inspection and defense strategies (i.e., DBAVT, BAVT, Beatrix, TeCo, and SAGE).
Key facts. No citing papers in the map yet (data through 13 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. First posted on arXiv 6 Dec 2024.
Builds on
0 of 0 references.
No references here yet.
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026PASTA: A Patch-Agnostic Twofold-Stealthy Backdoor Attack on Vision Transformers
- 2024One Pixel is All I Need
- 2022Defending Backdoor Attacks on Vision Transformer via Patch Processing
- 2024Backdoor Attack Against Vision Transformers via Attention Gradient-Based Image Erosion
- 2024An Effective and Resilient Backdoor Attack Framework against Deep Neural Networks and Vision Transformers
- 2026Backdoor Directions in Vision Transformers
- 2025Pruning and Malicious Injection: A Retraining-Free Backdoor Attack on Transformer Models
- 2024Context is the Key: Backdoor Attacks for In-Context Learning with Vision Transformers