Skip to main content
QUICK REVIEW

[Paper Review] Skip Connections Matter: On the Transferability of Adversarial Examples Generated with ResNets

Dongxian Wu, Yisen Wang|arXiv (Cornell University)|Feb 14, 2020
Adversarial Robustness in Machine LearningComputer Science175 citations
TL;DR

The paper reveals that skip connections in ResNet-like architectures facilitate highly transferable adversarial examples and introduces Skip Gradient Method (SGM) to bias gradients toward skip connections, yielding large transferability gains across many models and attack settings.

ABSTRACT

Skip connections are an essential component of current state-of-the-art deep neural networks (DNNs) such as ResNet, WideResNet, DenseNet, and ResNeXt. Despite their huge success in building deeper and more powerful DNNs, we identify a surprising security weakness of skip connections in this paper. Use of skip connections allows easier generation of highly transferable adversarial examples. Specifically, in ResNet-like (with skip connections) neural networks, gradients can backpropagate through either skip connections or residual modules. We find that using more gradients from the skip connections rather than the residual modules according to a decay factor, allows one to craft adversarial examples with high transferability. Our method is termed Skip Gradient Method(SGM). We conduct comprehensive transfer attacks against state-of-the-art DNNs including ResNets, DenseNets, Inceptions, Inception-ResNet, Squeeze-and-Excitation Network (SENet) and robustly trained DNNs. We show that employing SGM on the gradient flow can greatly improve the transferability of crafted attacks in almost all cases. Furthermore, SGM can be easily combined with existing black-box attack techniques, and obtain high improvements over state-of-the-art transferability methods. Our findings not only motivate new research into the architectural vulnerability of DNNs, but also open up further challenges for the design of secure DNN architectures.

Motivation & Objective

  • Identify architectural factors that influence adversarial transferability in skip-connected networks.
  • Propose a simple gradient-based attack enhancement (SGM) that biases gradients toward skip connections.
  • Evaluate SGM across multiple source/target model pairs and against robustly trained models.
  • Show how SGM combines with existing transfer techniques to improve transferability benchmarks.

Proposed method

  • Decompose gradients along skip connections and residual modules in ResNet-like networks.
  • Introduce a decay factor gamma to progressively downweight gradients from residual modules while preserving skip-path gradients.
  • Define the Skip Gradient Method (SGM) by modifying the FGSM/PGD update with the biased gradient term.
  • Demonstrate SGM on BIM/PGD-style attacks and evaluate transferability across 8 source models and 7 target models (secured and unsecured).
  • Conduct a case study showing transfer gains when using SGM on black-box attacks against Inception V3 as target.
  • Explore combinations of SGM with MI, DI, TI and ensemble-based attacks to assess compatibility and improvements.

Experimental results

Research questions

  • RQ1How do skip connections influence gradient flow and transferability of adversarial examples?
  • RQ2Can biasing gradient backpropagation toward skip connections (via SGM) improve cross-model transferability?
  • RQ3How does SGM interact with existing transfer techniques (MI, DI, TI) and with robustly trained targets?
  • RQ4Does the presence of more skip connections (e.g., DenseNets) amplify the transferability benefits of SGM?

Key findings

  • SGM substantially improves black-box transferability across most source models and target architectures (e.g., from DN201 to Inception V3, transfer rises from 35.48% to 65.38%).
  • More skip connections generally yield greater transferability gains under SGM, with clear improvements across ResNet and DenseNet families.
  • SGM can be combined with MI, DI, and TI to achieve new transferability benchmarks (e.g., MI+DI+SGM reaching or exceeding 80% on several targets).
  • Attacks crafted on robustly trained targets remain more resistant, but TI tends to be the strongest standalone transfer method against secured models, with SGM providing additional gains when combined.
  • The decay parameter gamma can be tuned on the source model to optimize transferability across multiple potential targets, and ensemble-based attacks with SGM maintain strong performance.
  • SGM requires no extra computation beyond standard backpropagation, since it only scales gradients along residual paths during the backward pass.

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.