--- license: apache-2.0 pipeline_tag: object-detection library_name: transformers --- # Adversarial Attention Perturbations for Large Object Detection Transformers (AFOG) This repository hosts the implementation for the paper [Adversarial Attention Perturbations for Large Object Detection Transformers](https://huggingface.co/papers/2508.02987). **AFOG** (Attention-Focused Offensive Gradient) is a novel adversarial perturbation method designed to attack both large transformer-based object detectors and conventional CNN-based detectors with a unified adversarial attention framework. It leverages a learnable attention mechanism to focus perturbations on vulnerable image regions, significantly increasing attack performance while maintaining visual imperceptibility.