[論文レビュー] Self-Ensemble Adversarial Training for Improved Robustness
本稿では、自己アンサンブル adversarial training (SEAT) を提案する。この手法は、標準的な adversarial training の過程で複数の履歴モデルの重みを平均することで、1回のトレーニングランのみで CIFAR-10 および CIFAR-100 において最先端のロバスト性を達成する。交差エントロピー損失関数を用いる。
Due to numerous breakthroughs in real-world applications brought by machine intelligence, deep neural networks (DNNs) are widely employed in critical applications. However, predictions of DNNs are easily manipulated with imperceptible adversarial perturbations, which impedes the further deployment of DNNs and may result in profound security and privacy implications. By incorporating adversarial samples into the training data pool, adversarial training is the strongest principled strategy against various adversarial attacks among all sorts of defense methods. Recent works mainly focus on developing new loss functions or regularizers, attempting to find the unique optimal point in the weight space. But none of them taps the potentials of classifiers obtained from standard adversarial training, especially states on the searching trajectory of training. In this work, we are dedicated to the weight states of models through the training process and devise a simple but powerful \emph{Self-Ensemble Adversarial Training} (SEAT) method for yielding a robust classifier by averaging weights of history models. This considerably improves the robustness of the target model against several well known adversarial attacks, even merely utilizing the naive cross-entropy loss to supervise. We also discuss the relationship between the ensemble of predictions from different adversarially trained models and the prediction of weight-ensembled models, as well as provide theoretical and empirical evidence that the proposed self-ensemble method provides a smoother loss landscape and better robustness than both individual models and the ensemble of predictions from different classifiers. We further analyze a subtle but fatal issue in the general settings for the self-ensemble model, which causes the deterioration of the weight-ensembled method in the late phases.
研究の動機と目的
- 標準的な adversarial training が最適な重み点を1つだけ探索するのに対し、中間のトレーニング状態を活用しないという限界を解決すること。
- 複数の別々のモデルをトレーニングする必要がある従来のアンサンブル手法の高い計算コストと冗長性を克服すること。
- 最適化軌道に沿ったモデル重みのアンサンブルが、予測ベースのアンサンブルや個々のモデルよりも優れたロバスト性をもたらすかどうかを調査すること。
- 最終段階の自己アンサンブルモデルで性能劣化を引き起こす、学習率スケジューリングにおけるわずかだが重要な問題を特定・解決すること。
- 重みアンサンブルが複数の攻撃タイプにわたる滑らかな損失関数の形状をもたらし、ロバスト性が向上することを実証すること。
提案手法
- 標準的な adversarial training のプロセス中に収集した複数のスナップショットから得られるモデル重みを平均する、自己アンサンブル手法である SEAT を提案する。
- 初期の poorly trained モデルを除外するための設定可能な初期保護期間を備えた指数移動平均 (EMA) を用いて、履歴モデル重みを結合する。
- エポックベースまたはイテレーションベースのアンサンブル戦略を導入し、モデルスナップショット収集の頻度を制御する。
- 本手法は、複数のモデルを再トレーニングする必要がなく、1回のエンドツーエンド adversarial training ランで十分である。
- 理論的分析により、重みアンサンブルは個々のモデルや予測ベースのアンサンブルと比較して、滑らかな損失関数の形状をもたらすことが示された。
- 学習率スケジューリングが自己アンサンブル性能に与える影響を調査し、標準的な戦略に起因する深刻な欠陥を同定した。
実験結果
リサーチクエスチョン
- RQ1adversarial training 中の途中のモデル状態を活用することで、最終モデルの重みに依存するのとは対照的に、ロバスト性がより効果的に向上するか?
- RQ2重みベースのアンサンブルは、予測ベースのアンサンブルと比較して、ロバスト性および一般化性能においてどのように異なるか?
- RQ3学習率スケジューリングが自己アンサンブルモデルの性能に与える影響は何か?標準的な設定に内在的な欠陥があるか?
- RQ4重みアンサンブルを用いた1回の adversarial training ランで、複数の独立したモデルをトレーニングした場合と同等またはそれ以上のロバスト性を達成できるか?
- RQ5提案された SEAT メソッドは滑らかな損失関数の形状をもたらすか?その形状がロバスト性向上にどのように寄与するか?
主な発見
- ResNet18 を用いた CIFAR-10 における AutoAttack に対する robust accuracy は 57.77% を達成し、個々のモデルや予測ベースのアンサンブルを上回った。
- MART および CutMix と組み合わせた SEAT は、CIFAR-10 全体の攻撃において最高または第2位のロバスト性を示し、AutoAttack における robust accuracy は 58.01% を記録した。
- イテレーションベースのアンサンブルはエポックベースのアンサンブルに比べ、自然な精度およびロバスト性の劣化率でわずかに優れていたが、両者の性能はほぼ同等であった。
- 大きな初期保護期間 (c) を設定すると、初期のトレーニング状態をあまりに多く破棄するため、ロバスト性が悪化することが確認され、適切な数の履歴モデルを保持することが重要であることが示された。
- 理論的および実験的分析により、SEAT は個々のモデルや予測ベースのアンサンブルと比較して、滑らかな損失関数の形状をもたらすことが確認された。これはロバスト性の向上に寄与している。
- 学習率スケジューリングにおけるわずかだが深刻な問題が特定された:標準的な戦略は、最終段階の自己アンサンブルモデルの性能劣化を引き起こす。これは適切なデータ拡張または再トレーニング戦略によって緩和可能である。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。