Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Examples on Segmentation Models Can be Easy to Transfer

Jindong Gu, Hengshuang Zhao|arXiv (Cornell University)|Nov 22, 2021
Adversarial Robustness in Machine LearningComputer Science45 references5 citations
TL;DR

This paper demonstrates that adversarial examples on semantic segmentation models can be highly transferable, contrary to prior assumptions. By introducing dynamic scaling—randomly resizing inputs and masks during attack iterations—it achieves strong transferability across models and scales, even without overfitting, making black-box attacks on segmentation models feasible and effective.

ABSTRACT

Deep neural network-based image classification can be misled by adversarial examples with small and quasi-imperceptible perturbations. Furthermore, the adversarial examples created on one classification model can also fool another different model. The transferability of the adversarial examples has recently attracted a growing interest since it makes black-box attacks on classification models feasible. As an extension of classification, semantic segmentation has also received much attention towards its adversarial robustness. However, the transferability of adversarial examples on segmentation models has not been systematically studied. In this work, we intensively study this topic. First, we explore the overfitting phenomenon of adversarial examples on classification and segmentation models. In contrast to the observation made on classification models that the transferability is limited by overfitting to the source model, we find that the adversarial examples on segmentations do not always overfit the source models. Even when no overfitting is presented, the transferability of adversarial examples is limited. We attribute the limitation to the architectural traits of segmentation models, i.e., multi-scale object recognition. Then, we propose a simple and effective method, dubbed dynamic scaling, to overcome the limitation. The high transferability achieved by our method shows that, in contrast to the observations in previous work, adversarial examples on a segmentation model can be easy to transfer to other segmentation models. Our analysis and proposals are supported by extensive experiments.

Motivation & Objective

  • To investigate the transferability of adversarial examples on semantic segmentation models, challenging the assumption that they are inherently non-transferable.
  • To analyze why adversarial examples on segmentation models do not always overfit the source model, unlike in image classification.
  • To identify architectural traits in segmentation models—particularly multi-scale feature extraction—as a key factor limiting transferability.
  • To propose a simple yet effective method to enhance transferability of adversarial examples on segmentation models.
  • To demonstrate that adversarial examples on segmentation models can be made easy to transfer, enabling practical black-box attacks.

Proposed method

  • Propose a dynamic scaling attack method that applies random scaling to both input images and ground-truth masks during each attack iteration.
  • Use a large number of attack iterations (up to 10,000) with dynamic scaling to prevent overfitting and improve transferability.
  • Apply the method across different backbone architectures (VGG and ResNet) and model scales (50%, 75%, 100%, multi-scale) to evaluate robustness.
  • Integrate dynamic scaling into standard FGSM-based attacks to generate adversarial examples that generalize across models.
  • Conduct ablation studies on scaling ratios (e.g., 0.1 to 0.5) to determine optimal perturbation diversity for transferability.
  • Compare the dynamic scaling method against standard FGSM and iterative FGSM (FS) attacks in transferability benchmarks.

Experimental results

Research questions

  • RQ1Do adversarial examples on segmentation models overfit the source model as they do in image classification?
  • RQ2Why is transferability of adversarial examples on segmentation models limited, even when overfitting is absent?
  • RQ3Can architectural characteristics such as multi-scale feature extraction hinder adversarial transferability?
  • RQ4Is it possible to design a simple method that significantly improves adversarial transferability on segmentation models?
  • RQ5Can adversarial examples be made highly transferable across different models, scales, and defense mechanisms?

Key findings

  • Adversarial examples on segmentation models with VGG backbones do not overfit the source model even after 10,000 attack iterations, unlike those with ResNet backbones.
  • The dynamic scaling method prevents overfitting and achieves high transferability, even on ResNet-based models where overfitting is severe.
  • On FCN8s-VGG16, the dynamic scaling method reduced mIoU on target models from 50.74 (FS attack) to 10.40 at 50% scale, showing significant improvement.
  • On PSPNet-Res50, the dynamic scaling method reduced mIoU from 64.0 (FS) to 21.85 at 50% scale, demonstrating strong cross-scale transferability.
  • The method maintains high transferability across multi-scale and adversarially trained models, with mIoU values of 0.52 and 2.72 respectively, outperforming standard attacks.
  • Scaling ratios of 0.1 to 0.5 significantly improve transferability, with no further gains beyond 0.5, indicating optimal perturbation diversity.

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.