mlsanityData to 7 Oct 2026

Backdoor Attack Against Vision Transformers via Attention Gradient-Based Image Erosion

arXiv 2410.22678 ↗First posted 30 Oct 2024cs.CV cs.AI cs.CRcited by 2

On the map: LLM safety and security → Backdoor and data poisoning attacks

Abstract (arXiv)

Vision Transformers (ViTs) have outperformed traditional Convolutional Neural Networks (CNN) across various computer vision tasks. However, akin to CNN, ViTs are vulnerable to backdoor attacks, where the adversary embeds the backdoor into the victim model, causing it to make wrong predictions about testing samples containing a specific trigger. Existing backdoor attacks against ViTs have the limitation of failing to strike an optimal balance between attack stealthiness and attack effectiveness. In this work, we propose an Attention Gradient-based Erosion Backdoor (AGEB) targeted at ViTs. Considering the attention mechanism of ViTs, AGEB selectively erodes pixels in areas of maximal attention gradient, embedding a covert backdoor trigger. Unlike previous backdoor attacks against ViTs, AGEB achieves an optimal balance between attack stealthiness and attack effectiveness, ensuring the trigger remains invisible to human detection while preserving the model's accuracy on clean samples. Extensive experimental evaluations across various ViT architectures and datasets confirm the effectiveness of AGEB, achieving a remarkable Attack Success Rate (ASR) without diminishing Clean Data Accuracy (CDA). Furthermore, the stealthiness of AGEB is rigorously validated, demonstrating minimal visual discrepancies between the clean and the triggered images.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 11 of its 21 references that are in the map. First posted on arXiv 30 Oct 2024.

Builds on

11 of 21 references.

Closest ancestors · 3

Same direction, newest first

  1. 2022TrojViT: Trojan Insertion in Vision Transformers27 Aug
  2. 2022Defending Backdoor Attacks on Vision Transformer via Patch Processing24 Jun
  3. 2022Backdoor Attacks on Vision Transformers16 Jun

Other references · 8

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,052
  4. 2017Targeted Backdoor Attacks on Deep Learning Systems Using Data Poisoningcited by 1,012
  5. 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 640
  6. 2020Reflection Backdoor: A Natural Backdoor Attack on Deep Neural Networkscited by 341
  7. 2021DeepViT: Towards Deeper Vision Transformercited by 288
  8. 2024Stealthy Targeted Backdoor Attacks against Image Captioningcited by 8

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.