Skip to main content
QUICK REVIEW

[論文レビュー] Rethinking the Backward Propagation for Adversarial Transferability

Xiaosen Wang, Kangheng Tong|arXiv (Cornell University)|Jun 22, 2023
Adversarial Robustness in Machine Learning被引用数 8
ひとこと要約

この論文は非線形層からの勾配の切り捨てが敵対的サンプルの転移性を妨げることを示し、Backward Propagation Attack (BPA) を提案してこれを緩和します。ReLU に対して SiLU ベースの勾配を、max-pooling に対してソフトマックスベースの勾配を用いることで転移性を改善し、モデル間および攻撃間での転移性を向上させます。

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.

研究の動機と目的

  • バックワード伝搬中に非線形層が勾配を切り捨て、敵対的サンプルの転移性を低下させる仕組みを特定する。
  • 勾配情報を保存するために BPA を提案し、モデル間の転移性を改善する。
  • ImageNet 上で Untargeted および Targeted 攻撃に対する BPA の有効性をデモンストレーションする。

提案手法

  • Backpropagation 中に ReLU と max-pooling による勾配切り捨てが損失入力の関連性を抑制することを示す。
  • 切り捨てを緩和するために BPA を提案:a) ReLU の逆伝播計算に SiLU の微分を用いる;b) 最大プーリングの微分を温度付きソフトマックスで計算する。
  • 修正勾配の式化:ReLU 勾配を SiLU ベースの微分 ∂zi+1/∂zi = σ(zi) · (1 + zi · (1 − σ(zi))) に置換;最大プーリングの勾配は各ウィンドウ内でのソフトマックスにより計算 ∂zk+1/∂zk = exp(t · zk,i,j) / sum_{υ∈w} exp(t · υ)(温度 t)
  • ImageNet 上で複数の代替モデルと被害モデルに対して広範な実験で BPA を検証。
  • BPA をベースラインの SGM、LinBP、Ghost と比較し、Untargeted および Targeted のシナリオで攻撃の転移性を向上させることを示す。

実験結果

リサーチクエスチョン

  • RQ1非線形層からの勾配切り捨てはモデル間の敵対的転移性を低下させるか。
  • RQ2勾配情報を保存するようにバックワード伝搬を修正することで、敵対的サンプルの転移性は改善されるか。
  • RQ3ImageNet における Untargeted および Targeted 攻撃と防御に対して BPA はどの程度機能するか。

主な発見

AttackerInc-v3IncRes-v2DenseNetMobileNetPNASNetSENetInc-v3ens3Inc-v3ens4IncRes-v2ens
PGDN/A16.3413.3836.8636.1213.4617.1410.249.465.52
SGM23.6819.8251.6655.4422.1230.3413.7812.387.90
LinBP27.2223.0459.3459.7422.6833.7216.2413.587.88
Ghost17.7413.6842.3641.0613.9219.1011.6010.346.04
BPA35.3630.1270.7068.9032.5242.0222.7219.2812.40
MI-FGSMN/A26.2021.5051.5049.6822.9230.1216.2214.589.00
SGM33.7828.8463.0665.8431.9041.5419.5617.4810.98
LinBP35.9229.8268.6669.7230.2441.6819.9816.589.94
Ghost29.7623.6857.2856.1025.0034.7617.1014.769.50
BPA47.5841.2280.5479.4044.7054.2832.0625.9817.46
ILAN/A29.1026.0858.0259.1027.6039.1615.1212.30
SGM35.6432.3465.2071.2234.2046.7217.1013.869.08
LinBP37.3634.2471.9872.8435.1248.8019.3814.109.28
Ghost30.0626.5060.5261.7428.6840.4614.8412.547.90
BPA47.6243.5081.7480.8847.8860.6427.9420.6414.76
SSAN/A35.7829.5860.4664.7025.6634.1820.6417.30
SGM45.2238.9870.2278.4435.3046.0626.2821.6414.50
LinBP48.4841.9075.0278.3036.6649.5828.7623.6415.46
Ghost36.4428.6261.1266.8024.9033.9820.5816.8410.82
BPA51.3644.7076.2479.6639.3850.0032.1026.4418.20
  • BPA は ImageNet の九つの被害モデルに対してベースラインより一貫して転移性を向上させる。
  • Untargeted 攻撃(PGD、MI-FGSM、VMI-FGSM、ILA、SSA)全体で、BPA は既存のモデル関連手法より顕著な利得を示す。
  • BPA はロジット損失を最適化する場合、Targeted 攻撃でも全ベースラインを上回り転移性を高める。
  • 最後の ReLU 層を修正する Ablation で転移性が大幅に向上し、ReLU と max-pooling の修正を組み合わせると最良の結果となる。
  • BPA は HGD、R&P、NIPS-r3、JPEG、RS、NRP などの防御に対する攻撃の頑健性を高める。

より良い研究を、今すぐ始めましょう

論文設計から論文執筆まで、研究時間を劇的に削減しましょう。

クレジットカード登録不要

このレビューはAIが作成し、人間の編集者が確認しました。