PBCAT: Patch-based composite adversarial training against physically realizable attacks on object detection

Xiao Li, Yiming Zhu, Yifan Huang, Wei Zhang, Yingzhe He, Jie Shi, Xiaolin Hu · DOI

Abstract

Object detection systems are increasingly deployed in safety-critical environments, yet they remain vulnerable to adversarial attacks. While digital perturbations are well-studied, physically realizable attacks—such as adversarial patches and textures—present a more tangible threat. This paper presents PBCAT (Patch-Based Composite Adversarial Training), a defense mechanism that combines gradient-guided patch selection with global imperceptible noise. PBCAT achieves state-of-the-art robustness against diverse physical attacks while maintaining training efficiency comparable to standard, non-robust models.

Introduction

Object detection is a cornerstone of modern computer vision, powering autonomous vehicles and security surveillance. However, these systems are notoriously fragile when faced with adversarial examples. Recent research has shifted focus from invisible digital noise to physically realizable attacks. These typically manifest as adversarial patches (localized, high-intensity patterns like stickers) or adversarial textures (pervasive patterns covering large areas, such as specialized clothing).

Existing defenses usually target a single attack modality and often incur prohibitive computational costs during training. PBCAT addresses these challenges by introducing a composite training strategy that generalizes across attack types without sacrificing efficiency.

The PBCAT Methodology

The core of PBCAT lies in its "composite" approach to adversarial training. Rather than defending against a single perturbation type, the model is trained against a combination of localized and global noise.

Composite Perturbations

PBCAT applies a high-intensity adversarial patch to a localized area of an object while simultaneously adding low-intensity, global $l_\infty$-bounded noise across the entire image. This dual approach prevents the model from overfitting to specific patch geometries and improves generalization to large-area texture attacks.

Gradient-Guided Selection

To maximize the effectiveness of training, PBCAT identifies and "attacks" the model's most vulnerable regions. The potential patch area is partitioned into a grid, and the gradient norm is calculated for each sub-patch. A mask $M$ is then generated to select the top 50% most vulnerable regions for perturbation.

Overview of the PBCAT training process, illustrating the composite perturbation of global noise and gradient-guided patch selection.

Efficient Training via FreeAT

To mitigate the computational overhead of adversarial training in object detection, PBCAT adopts the "FreeAT" strategy. By computing adversarial gradients and model parameter updates in a single backward pass, the training time remains nearly identical to standard, non-adversarial training.

Experimental Evaluation

The robustness of PBCAT was evaluated across multiple benchmarks, including MS-COCO (2017), the Inria Person Dataset, and a Synthetic Texture Dataset featuring 3D-rendered humans in adversarial clothing.

Visualization of adversarial patches on diverse object categories, demonstrating the types of localized attacks PBCAT defends against.

Key Results

PBCAT demonstrated significant performance gains over previous state-of-the-art defenses:

  • Texture Robustness: Against "AdvTexture" attacks, PBCAT improved detection accuracy (AP50) by 29.7% compared to existing methods.
  • Patch Defense: On the Inria Person dataset, it achieved 77.6% AP50 under adaptive patch attacks, outperforming both heuristic and other AT-based defenses.
  • Generalization: The inclusion of global $l_\infty$ noise acted as a powerful regularizer, bridging the gap between localized patch defense and large-area texture robustness.

Discussion and Insights

A critical finding of this work is that vulnerability is non-uniform across an object. By targeting high-gradient regions, PBCAT provides a more substantial boost to robustness than random patch placement. Furthermore, the method is architecture-agnostic, showing success across two-stage (Faster R-CNN), one-stage (FCOS), and transformer-based (DN-DETR) detectors.

While PBCAT introduces a slight "robustness tax" (a minor decrease in accuracy on clean images), its ability to maintain consistent detections in real-world video footage of adversarial clothing marks a significant step forward in practical computer vision security.

Conclusion

PBCAT offers a robust and efficient framework for securing object detectors against physical adversarial attacks. By combining composite perturbations with gradient-guided selection, it provides a universal strategy that is both effective and computationally feasible for large-scale deployment.

Summary updated

BibTeX
@misc{li2025pbcat,
  author = {Xiao Li and Yiming Zhu and Yifan Huang and Wei Zhang and Yingzhe He and Jie Shi and Xiaolin Hu},
  title = {{PBCAT: Patch-based composite adversarial training against physically realizable attacks on object detection}},
  year = {2025},
  eprint = {2506.23581},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.23581},
}
Figure