分類タスクにおける強化学習に基づくアプローチは、より優れた汎化性能と敵対的精度をもたらす可能性がある
Reinforcement Based Learning on Classification Task Could Yield Better Generalization and Adversarial Accuracy
Reinforcement Based Learning on Classification Task Could Yield Better Generalization and Adversarial Accuracy
@misc{gupta2020reinforcement,
title = {Reinforcement Based Learning on Classification Task Could Yield Better Generalization and Adversarial Accuracy},
author = {Shashi Kant Gupta},
year = {2020},
eprint = {2012.04353},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/2012.04353}
}
Gupta, S. K. (2020). Reinforcement Based Learning on Classification Task Could Yield Better Generalization and Adversarial Accuracy [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2012.04353
GUPTA SK. Reinforcement Based Learning on Classification Task Could Yield Better Generalization and Adversarial Accuracy[EB/OL]. (2020-12-08)[2026-11-30]. https://arxiv.org/abs/2012.04353.
要旨
ディープラーニングは、コンピュータビジョン分野において人種レベルに近い、あるいはそれ以上の性能を達成する様々なビジョンタスクで興味深く普及している。しかし、最近の研究では、これらのディープニューラルネットワークが敵対的サンプル(元データと自然に類似しているが、モデルが分類を誤らせる入力)に対して非常に脆弱であることが示されている。人間はこのような摂動に対して非常に頑健であり、その理由の一つは、人間が「目標ラベル」と「予測ラベル」の誤差に基づいて分類を学習するのではなく、予測に対して受ける強化学習に基づいて学習している可能性がある。本稿では、画像分類タスクにおいてディープラーニングモデルを訓練するための新しい手法を提案する。我々は、従来のクロスエントロピー損失関数ではなく、強化学習で使われるバニラなポリシー勾配法に類似した報酬ベースの最適化関数を用いてモデルを訓練した。CIFAR-10 データセットにおける実証評価では、クロスエントロピー損失関数(敵対的訓練)を用いて同じモデルアーキテクチャで訓練されたモデルと比較して、我々の手法がより頑健な分類器を学習することが示された。同時に、クロスエントロピー手法とは異なり、テスト精度と訓練精度の差 < 2% が多くの場合より小さい傾向を示し、クロスエントロピー手法ではその差 > 2% が多くの場合残存する。
Deep Learning has become interestingly popular in computer vision, mostly attaining near or above human-level performance in various vision tasks. But recent work has also demonstrated that these deep neural networks are very vulnerable to adversarial examples (adversarial examples - inputs to a model which are naturally similar to original data but fools the model in classifying it into a wrong class). Humans are very robust against such perturbations; one possible reason could be that humans do not learn to classify based on an error between "target label" and "predicted label" but possibly due to reinforcements that they receive on their predictions. In this work, we proposed a novel method to train deep learning models on an image classification task. We used a reward-based optimization function, similar to the vanilla policy gradient method used in reinforcement learning, to train our model instead of conventional cross-entropy loss. An empirical evaluation on the cifar10 dataset showed that our method learns a more robust classifier than the same model architecture trained using cross-entropy loss function (on adversarial training). At the same time, our method shows a better generalization with the difference in test accuracy and train accuracy < 2% for most of the time compared to the cross-entropy one, whose difference most of the time remains > 2%.