[論文レビュー] Revisiting and Advancing Fast Adversarial Training Through The Lens of Bi-Level Optimization
本稿では、勾配符号法や明示的正則化に依存せずに、安定性と耐性を向上させる、バイレベル最適化(BLO)に基づく新しい高速 adversarial training 法 Fast-BAT を提案する。 adversarial training を BLO 問題としてモデル化し、implicit gradient 計算を活用することで、CIFAR-10、CIFAR-100、Tiny-ImageNet において、Fast-AT よりも高速な収束とより低い catastrophic overfitting を達成し、最先端の耐性精度を実現する。
Adversarial training (AT) is a widely recognized defense mechanism to gain the robustness of deep neural networks against adversarial attacks. It is built on min-max optimization (MMO), where the minimizer (i.e., defender) seeks a robust model to minimize the worst-case training loss in the presence of adversarial examples crafted by the maximizer (i.e., attacker). However, the conventional MMO method makes AT hard to scale. Thus, Fast-AT (Wong et al., 2020) and other recent algorithms attempt to simplify MMO by replacing its maximization step with the single gradient sign-based attack generation step. Although easy to implement, Fast-AT lacks theoretical guarantees, and its empirical performance is unsatisfactory due to the issue of robust catastrophic overfitting when training with strong adversaries. In this paper, we advance Fast-AT from the fresh perspective of bi-level optimization (BLO). We first show that the commonly-used Fast-AT is equivalent to using a stochastic gradient algorithm to solve a linearized BLO problem involving a sign operation. However, the discrete nature of the sign operation makes it difficult to understand the algorithm performance. Inspired by BLO, we design and analyze a new set of robust training algorithms termed Fast Bi-level AT (Fast-BAT), which effectively defends sign-based projected gradient descent (PGD) attacks without using any gradient sign method or explicit robust regularization. In practice, we show our method yields substantial robustness improvements over baselines across multiple models and datasets. Codes are available at https://github.com/OPTML-Group/Fast-BAT.
研究の動機と目的
- 人気のある高速 adversarial training 法である Fast-AT の不安定性と catastrophic overfitting 問題を解決すること。
- バイレベル最適化(BLO)の視点から高速 adversarial training を再定式化し、理論的根拠とアルゴリズムの改善を提供すること。
- 明示的な勾配整合正則化なしに PGD や AutoAttack に対して耐性を高める手法を開発すること。
- BLO における implicit gradient 計算が自然に勾配整合を促進し、損失関数の地形を平坦化することで、過学習を軽減できることを示すこと。
- 計算効率を維持しながら、複数のデータセットで最先端の耐性精度を達成すること。
提案手法
- 下位最適化の目的関数に符号操作を含む線形化バイレベル最適化(BLO)問題として Fast-AT を再定式化する。
- explicit 勾配符号計算を回避する implicit gradient descent を用いて BLO 問題を解く新しい耐性学習フレームワーク Fast-BAT を提案する。
- Hessian を使わない implicit gradient 計算を用いることで、性能を維持しつつ計算オーバーヘッドを低減する。
- BLO 問題の構造を活用し、implicit に勾配整合を促進し、損失関数の地形を平坦化することで、過学習を低減する。
- cyclic learning rate などのヒューリスティクスに依存せずに、BLO に基づく最適化により、敵対的摂動に動的に適応する学習アルゴリズムを設計する。
- 最小限のハイパーパrameterチューニングで高い耐性を達成する、安定的かつ効率的な学習ループを実装する。
実験結果
リサーチクエスチョン
- RQ1バイレベル最適化は、高速 adversarial training の安定性と耐性を向上させる理論的根拠を提供できるか?
- RQ2BLO 形式における implicit gradient 計算は、自然に勾配整合を促進し、catastrophic overfitting を低減するか?
- RQ3Fast-BAT は Fast-AT や Fast-AT-GA と比較して、耐性精度、学習安定性、計算効率の面でどのように異なるか?
- RQ4implicit gradient 計算における Hessian を使わない仮定は、実用的な adversarial training において妥当で効率的か?
- RQ5obfuscated gradients が生じない状況でも、Fast-BAT は適応的・転送攻撃に対して十分に一般化できるか?
主な発見
- CIFAR-10 において、ε=8/255、PGD-50-10 攻撃に対して、PreActResNet-18 を用いて 48.83% の耐性精度を達成し、Fast-AT(45.49%)と Fast-AT-GA(47.27%)を上回った。
- Tiny-ImageNet では、ε=16/255 で 33.78% の耐性精度を達成し、Fast-AT(31.38%)と Fast-AT-GA(29.17%)を顕著に上回った。
- Fast-BAT は訓練全体を通じて高い勾配整合(GA)スコアを維持しており、明示的正則化を用いる Fast-AT-GA と同等の水準であった。
- catastrophic overfitting が低減されており、平坦な敵対的損失関数の地形と、複数のランダムシードにおける一貫性のある性能から裏付けられた。
- Hessian を考慮した Fast-BAT は Hessian を使わない Fast-BAT に対して僅か 0.3% の耐性精度向上を示したが、学習時間は 30% 増加したため、Hessian を使わない仮定の妥当性が裏付けられた。
- Fast-BAT は obfuscated gradients の兆候がなく、適応的(PGD)および転送攻撃の両方でベースラインを一貫して上回り、真の耐性が確認された。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。