Adversarial Attention Perturbations for Large Object Detection Transformers

Zachary Yahn, S. Tekin, Fatih Ilhan, Si-Hao Hu, Tian-Sheng Huang +3 more
8/1/2025
transformer-attention

No confident code implementation found for this paper.

Abstract

Adversarial perturbations are useful tools for exposing vulnerabilities in neural networks. Existing adversarial perturbation methods for object detection are either limited to attacking CNN-based detectors or weak against transformer-based detectors.

Show full abstract

This paper presents an Attention-Focused Offensive Gradient (AFOG) attack against object detection transformers. By design, AFOG is neural-architecture agnostic and effective for attacking both large transformer-based object detectors and conventional CNN-based detectors with a unified adversarial attention framework. This paper makes three original contributions. First, AFOG utilizes a learnable attention mechanism that focuses perturbations on vulnerable image regions in multi-box detection tasks, increasing performance over non-attention baselines by up to 30.6%. Second, AFOG's attack loss is formulated by integrating two types of feature loss through learnable attention updates with iterative injection of adversarial perturbations. Finally, AFOG is an efficient and stealthy adversarial perturbation method. It probes the weak spots of detection transformers by adding strategically generated and visually imperceptible perturbations which can cause well-trained object detection models to fail. Extensive experiments conducted with twelve large detection transformers on COCO demonstrate the efficacy of AFOG. Our empirical results also show that AFOG outperforms existing attacks on transformer-based and CNN-based object detectors by up to 83% with superior speed and imperceptibility. Code is available at: Link.

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. Any repos shown below are weak matches — 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{yahn2025adversarial,
  title  = {Adversarial Attention Perturbations for Large Object Detection Transformers},
  author = {Zachary Yahn and S. Tekin and Fatih Ilhan and Si-Hao Hu and Tian-Sheng Huang and Yi-Chang Xu and Margaret L Loper and Ling Liu},
  year   = {2025},
  eprint = {2508.02987},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2508.02987},
  journal = {IEEE International Conference on Computer Vision}
}

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/2508.02987.svg)](https://codeofpaper.com/paper/2508.02987)

Discussion