Megatron: Evasive Clean-Label Backdoor Attacks against Vision Transformer

Xueluan Gong, Bowei Tian, Meng Xue, Shuike Li, Yanjiao Chen +1 more
12/6/2024
cs.CVcs.CR

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

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).

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gong2024megatron,
  title  = {Megatron: Evasive Clean-Label Backdoor Attacks against Vision Transformer},
  author = {Xueluan Gong and Bowei Tian and Meng Xue and Shuike Li and Yanjiao Chen and Qian Wang},
  year   = {2024},
  eprint = {2412.04776},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.04776v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.04776.svg)](https://codeofpaper.com/paper/2412.04776)

Discussion