人工知能学会全国大会論文集
Online ISSN : 2758-7347
36th (2022)
セッションID: 3S3-IS-2e-04
会議情報

Robustifying Vision Transformer Without Retraining From Scratch Using Attention Based Test-Time Adaptation
*Takeshi KOJIMAYusuke IWASAWAYutaka MATSUO
著者情報
会議録・要旨集 フリー

詳細
抄録

Vision Transformer (ViT) is becoming more and more popular in the field of image processing. This study aims to improve the robustness against the unknown perturbations without retraining the ViT model from scratch. Since our approach does not alter the training phase, it does not need to repeat computationally heavy pre-training of ViT. Specifically, we use test-time adaptation for this purpose, which corrects its prediction during test-time by itself. We first show the existing test-time adaptation method (Tent), which was only validated for CNN model, is also applicable by proper parameter tuning and gradient clipping. However, we observed Tent sometimes catastrophically fails, especially under severe perturbations. To stabilize the optimization, we propose a new loss function called Attent, which minimizes the distributional differences of the attention entropy between the source and target. Experiments of image classification task on CIFAR-10-C, CIFAR-100-C, and ImageNet-C show that both Tent and Attent are effective on a wide variety of corruptions. The results also show that by combining Attent and Tent, the classification accuracy on corrupted data is further improved.

著者関連情報
© 2022 The Japanese Society for Artificial Intelligence
前の記事 次の記事
feedback
Top