RP-PGD: Boosting Segmentation Robustness with a Region-and-Prototype Based Adversarial Attack

Abstract

Adversarial attack and defense have been extensively explored in classification tasks, but their study in semantic segmentation remains limited. Moreover, current attacks fail to act as strong underlying attacks for adversarial training (AT), making it difficult to achieve segmentation robustness against strong attacks. In this paper, we present RP-PGD, a novel Region-and-Prototype based Projected Gradient Descent attack tailored to fool segmentation models. In particular, we propose a region-based attack, which leverages a spatial-temporal way to separate the pixels into three disjoint regions, and highlights the attack on the crucial True Region and Boundary Region. Moreover, we introduce a prototype-based attack to disrupt the feature space, further enhancing the attack capability. To boost the robustness of segmentation models, we inject adversaries generated by RP-PGD into the clean data and perform AT. Extensive experiments on multiple datasets showcase that RP-PGD generates adversaries with faster convergence and stronger attack effectiveness, surpassing state-of-the-art attacks by a large margin. Consequently, RP-PGD serves as a strong underlying attack for segmentation models to perform AT, assisting them in defending against a variety of strong attacks without incurring additional computational costs during inference.

Cite

Text

Zhang et al. "RP-PGD: Boosting Segmentation Robustness with a Region-and-Prototype Based Adversarial Attack." AAAI Conference on Artificial Intelligence, 2025. doi:10.1609/AAAI.V39I10.33122

Markdown

[Zhang et al. "RP-PGD: Boosting Segmentation Robustness with a Region-and-Prototype Based Adversarial Attack." AAAI Conference on Artificial Intelligence, 2025.](https://mlanthology.org/aaai/2025/zhang2025aaai-rp/) doi:10.1609/AAAI.V39I10.33122

BibTeX

@inproceedings{zhang2025aaai-rp,
  title     = {{RP-PGD: Boosting Segmentation Robustness with a Region-and-Prototype Based Adversarial Attack}},
  author    = {Zhang, Yuxuan and Shi, Zhenbo and Wang, Shuchang and Yang, Wei and Wang, Shaowei and Xue, Yinxing},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2025},
  pages     = {10338-10347},
  doi       = {10.1609/AAAI.V39I10.33122},
  url       = {https://mlanthology.org/aaai/2025/zhang2025aaai-rp/}
}