Skip to main content
QUICK REVIEW

[Paper Review] SegPGD: An Effective and Efficient Adversarial Attack for Evaluating and Boosting Segmentation Robustness

Jindong Gu, Hengshuang Zhao|arXiv (Cornell University)|Jul 25, 2022
Adversarial Robustness in Machine LearningComputer Science5 citations
TL;DR

This paper proposes SegPGD, a novel adversarial attack method tailored for semantic segmentation that improves both effectiveness and efficiency over standard PGD. By leveraging segmentation-specific gradient dynamics and a dynamic weighting schedule, SegPGD achieves superior adversarial example quality with fewer iterations, enabling stronger robustness evaluation and state-of-the-art performance in adversarial training for segmentation models on PASCAL VOC and Cityscapes datasets.

ABSTRACT

Deep neural network-based image classifications are vulnerable to adversarial perturbations. The image classifications can be easily fooled by adding artificial small and imperceptible perturbations to input images. As one of the most effective defense strategies, adversarial training was proposed to address the vulnerability of classification models, where the adversarial examples are created and injected into training data during training. The attack and defense of classification models have been intensively studied in past years. Semantic segmentation, as an extension of classifications, has also received great attention recently. Recent work shows a large number of attack iterations are required to create effective adversarial examples to fool segmentation models. The observation makes both robustness evaluation and adversarial training on segmentation models challenging. In this work, we propose an effective and efficient segmentation attack method, dubbed SegPGD. Besides, we provide a convergence analysis to show the proposed SegPGD can create more effective adversarial examples than PGD under the same number of attack iterations. Furthermore, we propose to apply our SegPGD as the underlying attack method for segmentation adversarial training. Since SegPGD can create more effective adversarial examples, the adversarial training with our SegPGD can boost the robustness of segmentation models. Our proposals are also verified with experiments on popular Segmentation model architectures and standard segmentation datasets.

Motivation & Objective

  • To address the challenge of creating effective adversarial examples for semantic segmentation models, which require significantly more attack iterations than classification models.
  • To improve the efficiency and effectiveness of adversarial robustness evaluation by reducing the number of iterations needed to generate strong adversarial examples.
  • To enhance adversarial training for segmentation models by using a more powerful attack method that generates higher-quality adversarial examples.
  • To demonstrate that SegPGD enables state-of-the-art robustness in segmentation models through superior adversarial training.

Proposed method

  • SegPGD introduces a segmentation-specific attack strategy that modifies the PGD optimization process to better align with pixel-wise classification objectives.
  • It employs a dynamic weighting schedule (weight-dyn-linear) that adaptively balances the loss across different classes during the attack, improving gradient signal quality.
  • The method is generalized to single-step attacks via SegFGSM, enabling fast yet effective adversarial example generation.
  • A theoretical convergence analysis shows that SegPGD converges faster and to better solutions than standard PGD under the same number of iterations.
  • SegPGD is integrated into adversarial training (SegPGD-AT), where adversarial examples are generated during training to improve model robustness.
  • The approach is evaluated across multiple architectures (PSPNet, DeepLabV3) and datasets (PASCAL VOC, Cityscapes) under white-box and black-box attack settings.

Experimental results

Research questions

  • RQ1Can a segmentation-specific attack method outperform standard PGD in terms of both effectiveness and efficiency for generating adversarial examples?
  • RQ2How does the dynamic weighting schedule in SegPGD improve convergence and attack quality compared to uniform or fixed weighting schemes?
  • RQ3To what extent can SegPGD enhance the robustness of segmentation models when used in adversarial training?
  • RQ4How does SegPGD-AT compare to existing adversarial training methods like DDCAT in terms of robustness under strong attacks?
  • RQ5Does the improved attack capability of SegPGD translate into better generalization under black-box transfer-based attacks?

Key findings

  • SegPGD reduces mIoU to near zero on adversarially trained PSPNet under 100 PGD iterations, demonstrating the vulnerability of models trained with weaker attacks.
  • Adversarial training with SegPGD-AT achieves state-of-the-art robustness, outperforming PGD-AT and DDCAT by a large margin, with 18.24 mIoU vs. 10.98 on VOC under PGD100.
  • On Cityscapes, SegPGD-AT improves mIoU from 3.95 (PGD-AT) to 13.04 under PGD100, showing significant robustness gains.
  • The model trained with SegPGD-AT shows superior performance against transfer-based black-box attacks, outperforming models trained with PGD or DDCAT.
  • The convergence analysis confirms that SegPGD reaches better adversarial examples faster than PGD under the same number of iterations.
  • The dynamic linear weighting schedule in SegPGD leads to more effective gradient updates, resulting in stronger attack performance than baseline methods.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.