Skip to main content
QUICK REVIEW

[Paper Review] Backpropagating Linearly Improves Transferability of Adversarial Examples

Yiwen Guo, Qizhang Li|arXiv (Cornell University)|Dec 7, 2020
Adversarial Robustness in Machine LearningComputer Science5 references35 citations
TL;DR

The paper introduces LinBP, a linear backpropagation method that increases the transferability of adversarial examples by backpropagating loss as if nonlinear activations were not encountered, achieving state-of-the-art results on CIFAR-10 and ImageNet. It also analyzes linearity's role and proposes gradient renormalization for networks with skip connections.

ABSTRACT

The vulnerability of deep neural networks (DNNs) to adversarial examples has drawn great attention from the community. In this paper, we study the transferability of such examples, which lays the foundation of many black-box attacks on DNNs. We revisit a not so new but definitely noteworthy hypothesis of Goodfellow et al.'s and disclose that the transferability can be enhanced by improving the linearity of DNNs in an appropriate manner. We introduce linear backpropagation (LinBP), a method that performs backpropagation in a more linear fashion using off-the-shelf attacks that exploit gradients. More specifically, it calculates forward as normal but backpropagates loss as if some nonlinear activations are not encountered in the forward pass. Experimental results demonstrate that this simple yet effective method obviously outperforms current state-of-the-arts in crafting transferable adversarial examples on CIFAR-10 and ImageNet, leading to more effective attacks on a variety of DNNs.

Motivation & Objective

  • Investigate the role of linearity in adversarial transferability across DNNs.
  • Assess how removing or linearizing nonlinear activations affects cross-model transferability.
  • Develop a practical method (LinBP) to improve transferability without extensive fine-tuning.
  • Handle architectural features like residuals and branching to preserve accuracy while increasing transferability.

Proposed method

  • Revisit the linearity hypothesis of adversarial transferability.
  • Introduce LinS to create more linear source models by removing some nonlinear activations, then study transferability.
  • Develop LinBP to backpropagate loss linearly, treating activations as if not encountered in the forward pass.
  • Apply gradient renormalization to residual blocks to preserve gradient flow when linearizing, especially with skip connections.
  • Evaluate transferability using FGSM and I-FGSM across CIFAR-10 and ImageNet with various victim architectures.
  • Explore combinations of LinBP with existing methods like SGM and ILA to boost effectiveness.

Experimental results

Research questions

  • RQ1Does increasing model linearity (via activation removal or LinBP) improve cross-model transferability of adversarial examples?
  • RQ2Can LinBP outperform state-of-the-art transfer-based attacks across diverse victim architectures on CIFAR-10 and ImageNet?
  • RQ3How should linear backpropagation be adapted for networks with residual connections and multiple branches?
  • RQ4Is LinBP complementary to existing transferability techniques (e.g., ILA, SGM) when combined?

Key findings

  • LinBP markedly improves transferability of adversarial examples across victim models compared to baselines.
  • Removing nonlinear activations in later blocks (LinS) increases transferability after a short fine-tuning period, with LinBP achieving strong results without fine-tuning.
  • LinBP outperforms competitors on CIFAR-10 and ImageNet for I-FGSM and FGSM back-ends, often approaching or matching white-box transferability in some cases.
  • Gradient renormalization for residual units helps maintain effective gradient flow, preserving transferability in branched architectures.
  • Combining LinBP with ILA and/or SGM yields further improvements across multiple datasets and models.
  • LinBP can achieve high average transfer success rates (e.g., near 85% in some ImageNet settings when combined with other 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.