Rethinking the Backward Propagation for Adversarial Transferability

Xiaosen Wang, Kangheng Tong, Kun He
2/12/2026

No official code found. Best implementation: Trustworthy-AI-Group/BPA (7 stars, MIT, last commit 2024-02-23).

Abstract

Transfer-based attacks generate adversarial examples on the surrogate model, which can mislead other black-box models without access, making it promising to attack real-world applications. Recently, several works have been proposed to boost adversarial transferability, in which the surrogate model is usually overlooked. In this work, we identify that non-linear layers (e.g., ReLU, max-pooling, etc.) truncate the gradient during backward propagation, making the gradient w.r.t. input image imprecise to the loss function. We hypothesize and empirically validate that such truncation undermines the transferability of adversarial examples. Based on these findings, we propose a novel method called Backward Propagation Attack (BPA) to increase the relevance between the gradient w.r.t. input image and loss function so as to generate adversarial examples with higher transferability. Specifically, BPA adopts a non-monotonic function as the derivative of ReLU and incorporates softmax with temperature to smooth the derivative of max-pooling, thereby mitigating the information loss during the backward propagation of gradients. Empirical results on the ImageNet dataset demonstrate that not only does our method substantially boost the adversarial transferability, but it is also general to existing transfer-based attacks. Code is available at https://github.com/Trustworthy-AI-Group/RPA.

View on arXivView PDF

Code Implementations(1)

MIT

[NeurIPS 2023] Rethinking the Backward Propagation for Adversarial Transferability

72PythonSep 22, 20232 years agoMIT

Similar Papers

Cite this paper

@article{wang2026rethinking,
  title  = {Rethinking the Backward Propagation for Adversarial Transferability},
  author = {Xiaosen Wang and Kangheng Tong and Kun He},
  year   = {2026},
  eprint = {2306.12685},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2306.12685},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.12685.svg)](https://codeofpaper.com/paper/2306.12685)

Discussion