[論文レビュー] Boosting Adversarial Transferability by Achieving Flat Local Maxima
本研究は Penalizing Gradient Norm (PGN) を提案する。これは勾配ノルムペナルティと有限差分ヘシアン近似を用いて、平坦な局所領域にある敵対的例を見つけ、モデル間の転移性を高める攻撃である。
Transfer-based attack adopts the adversarial examples generated on the surrogate model to attack various models, making it applicable in the physical world and attracting increasing interest. Recently, various adversarial attacks have emerged to boost adversarial transferability from different perspectives. In this work, inspired by the observation that flat local minima are correlated with good generalization, we assume and empirically validate that adversarial examples at a flat local region tend to have good transferability by introducing a penalized gradient norm to the original loss function. Since directly optimizing the gradient regularization norm is computationally expensive and intractable for generating adversarial examples, we propose an approximation optimization method to simplify the gradient update of the objective function. Specifically, we randomly sample an example and adopt a first-order procedure to approximate the curvature of Hessian/vector product, which makes computing more efficient by interpolating two neighboring gradients. Meanwhile, in order to obtain a more stable gradient direction, we randomly sample multiple examples and average the gradients of these examples to reduce the variance due to random sampling during the iterative process. Extensive experimental results on the ImageNet-compatible dataset show that the proposed method can generate adversarial examples at flat local regions, and significantly improve the adversarial transferability on either normally trained models or adversarially trained models than the state-of-the-art attacks. Our codes are available at: https://github.com/Trustworthy-AI-Group/PGN.
研究の動機と目的
- 平坦な局所領域にある敵対的例はモデル間でより伝搬しやすいという仮説を動機付ける。
- 敵対的摂動生成中に平坦な局所最大を特定する実用的な手法(PGN)を提案する。
- 勾配ノルムペナルティが通常訓練および敵対訓練済みモデルの転移性を向上させることを示す。
- PGN が既存の勾配ベースおよび入力変換攻撃と統合され、転移性をさらに高められることを示す。
提案手法
- 敵対的例の局所近傍における最大勾配をペナルティする勾配正則化項を導入する。
- 正則化項に必要なヘシアン/ベクトル積を、有限差分法と2つの隣接勾配の補間で近似する。
- 小さな近傍内でランダムサンプリングを用いて局所勾配を推定し、複数サンプルの平均をとって分散を減らす。
- ペナルティ付き勾配に基づく一階法で敵対的摂動を更新し、効率的な最適化を可能にする。
- ペナルティを標準的な反復攻撃(I-FGSM/MI-FGSM)および入力変換と組み合わせた具体的なアルゴリズム(PGN)を提供する。
実験結果
リサーチクエスチョン
- RQ1局所近傍で最大勾配ペナルティを課すと、モデルを横断した転移性の高い敵対的例が得られるか。
- RQ2有限差分と勾配補間によるヘシアンの扱いやすい近似が、敵対的攻撃の実用的な平坦領域最適化を可能にするか。
- RQ3通常訓練済みおよび敵対訓練済みモデルのいずれに対しても、PGN が既存の勾配ベースおよび入力変換攻撃と比較してどう機能するか。
- RQ4PGN はアンサンブル攻撃や他の転移性向上技術の組み合わせと互換性があるか。
主な発見
- 平坦な局所領域に位置する敵対的例は、モデル間で転移性が改善される。
- PGN は通常訓練済みおよび敵対訓練済みの代理モデルの転移性を著しく向上させる(MI-/NI-/VMI-/EMI-/RAP FGSM 系のベースラインと比較して)。
- 単一モデルおよびアンサンブルモデル設定で、PGN はより高い攻撃成功率を達成し、報告された結果の平均的に数パーセントポイント程度の顕著な利得で最良のベースラインを上回る。
- PGN は入力変換攻撃(DIM, TIM, SIM, Admix, SSA)と組み合わせても効果的で、転移性に substantial gains をもたらす。
- 有限差分ベースのヘシアン近似は計算を加速し、直接的なヘシアン最適化と比較して高い攻撃性能を維持する。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。