Skip to main content
QUICK REVIEW

[論文レビュー] Gradient Adversarial Training of Neural Networks

Ayan Sinha, Zhao Chen|arXiv (Cornell University)|Jun 21, 2018
Adversarial Robustness in Machine LearningComputer Science被引用数 19
ひとこと要約

この論文では、バックプロパゲーション中に勾配テンソルの出どころを分類する補助ネットワークを訓練することで、深層学習モデルの性能を向上させる、新しいフレームワークである勾配 adversarial training (GREAT) を紹介する。主ネットワークは、これらの勾配を敵対的に歪めることで、GREAT は adversarial な例に対する頑健性を向上させ、より効果的な知識蒸留を可能にし、複数タスク学習においてタスク間の勾配を整列させることで性能を向上させる。すべてのタスクにおいてハイパーパrameterのチューニングを必要としない。

ABSTRACT

We propose gradient adversarial training, an auxiliary deep learning framework applicable to different machine learning problems. In gradient adversarial training, we leverage a prior belief that in many contexts, simultaneous gradient updates should be statistically indistinguishable from each other. We enforce this consistency using an auxiliary network that classifies the origin of the gradient tensor, and the main network serves as an adversary to the auxiliary network in addition to performing standard task-based training. We demonstrate gradient adversarial training for three different scenarios: (1) as a defense to adversarial examples we classify gradient tensors and tune them to be agnostic to the class of their corresponding example, (2) for knowledge distillation, we do binary classification of gradient tensors derived from the student or teacher network and tune the student gradient tensor to mimic the teacher's gradient tensor; and (3) for multi-task learning we classify the gradient tensors derived from different task loss functions and tune them to be statistically indistinguishable. For each of the three scenarios we show the potential of gradient adversarial training procedure. Specifically, gradient adversarial training increases the robustness of a network to adversarial attacks, is able to better distill the knowledge from a teacher network to a student network compared to soft targets, and boosts multi-task learning by aligning the gradient tensors derived from the task specific loss functions. Overall, our experiments demonstrate that gradient tensors contain latent information about whatever tasks are being trained, and can support diverse machine learning problems when intelligently guided through adversarialization using a auxiliary network.

研究の動機と目的

  • バックプロパゲーションで訓練される深層ニューラルネットワークにおける一般化の正式な理解の欠如に対処すること。
  • しばしば無視されがちな勾配テンソルが、訓練ダイナミクスの改善に有用な潜在的情報を含んでいるかどうかを調査すること。
  • 敵対的訓練を通じて勾配テンソル情報を利用することにより、複数の学習シナリオにおいてモデル性能を向上させる統一されたフレームワークを開発すること。
  • 知識蒸留とマルチタスク学習におけるハイパーパrameterチューニングへの依存度を低下させることで、自動的な勾配整列を可能にすること。

提案手法

  • バックプロパゲーション中に、勾配テンソルの出どころ(異なるタスク、モデル、データタイプなど)を分類する補助ネットワークを導入する。
  • 勾配反転を用いて、主ネットワークに敵対的シグナルを戻し、異なる出どころからの勾配テンソルを識別不能にするよう促進する。
  • マルチタスク学習における異なる損失関数からの勾配テンソルを明示的に整列させるための勾配整列層(GAL)を採用する。
  • 知識蒸留に対しても同じ敵対的メカニズムを適用し、補助ネットワークが学生モデルと教師モデルの勾配を区別できるように訓練する。
  • 敵対的防御に対しても同じフレームワークを適用し、補助ネットワークがクリーンな例と adversarial な例からの勾配を分類できるように訓練する。
  • 標準的なバックプロパゲーションと逆方向の勾配フローの機能的類似性を活用し、追加計算を伴わずに効果的な正則化を実現する。

実験結果

リサーチクエスチョン

  • RQ1バックプロパゲーション中に得られる勾配テンソルは、モデルの一般化と頑健性の向上に信頼できるシグナルとして機能できるか?
  • RQ2勾配テンソルに対する敵対的訓練は、標的付きおよび非標的付きの adversarial な例に対する防御を向上させられるか?
  • RQ3勾配 adversarial training は、広範なハイパーパrameterチューニングを伴わずに知識蒸留を向上させられるか?
  • RQ4タスク固有の損失関数間の勾配整列は、手動での損失重み付けを伴わずにマルチタスク学習の性能を向上させられるか?
  • RQ5補助ネットワークが勾配の出どころを分類できる能力が、主ネットワークの正則化に利用可能な潜在的構造を明らかにするか?

主な発見

  • GREAT は、訓練時に adversarial データを必要とせず、標的付きおよび非標的付きの adversarial 攻撃に対して強く、顕著な頑健性の向上を達成する。
  • 知識蒸留において、GREAT はソフトラベル蒸留を上回り、ミニ-ImageNet を含むさまざまな学生-教師構成とデータセットで一貫した性能を発揮する。
  • CIFAR-10 では、エッジ検出およびノイズ除去再構成タスクで最高の性能を達成し、カラー化タスクでは最良の手法と 0.5% 以内の誤差で同等の性能を示す。
  • NYUv2 では、深度推定(RMSE 0.779)および表面法線推定(RMSE 0.167)で最低の RMSE を記録し、ベースラインおよび不確実性に基づく手法を上回る。
  • ハイパーパrameterチューニングなしで、GradNorm と同等またはそれを上回る性能を全タスクで達成し、データセットやアーキテクチャの変化に対して頑健であることを示した。
  • この手法により、マルチタスク学習における手動での損失重み付けへの依存度が低下し、スパarsな領域と密な領域の両方で一貫した学習が可能となり、あるデータセットで最適化されたハイパーパrameterが別のデータセットで失敗しても問題なく動作する。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。