arXiv reaDer
パッチベースの負の増強によるビジョン トランスフォーマーのロバスト性の理解と改善
Understanding and Improving Robustness of Vision Transformers through Patch-based Negative Augmentation
ビジョン トランスフォーマー (ViTs) の堅牢性を、特殊なパッチ ベースのアーキテクチャ構造のレンズを通して調査します。つまり、画像を一連の画像パッチとして処理します。変換が元のセマンティクスを大幅に破壊し、画像を人間が認識できないようにする場合でも、ViT はパッチベースの変換に対して驚くほど鈍感であることがわかります。これは、ViT がそのような変換を生き延びた機能を多用していることを示していますが、一般的に人間にとってセマンティック クラスを示すものではありません。さらなる調査により、これらの機能は有用ですが、堅牢ではないことが示されています。これらの機能でトレーニングされた ViT は、分布内で高い精度を達成できますが、分布シフトの下では機能しなくなるからです。この理解から、これらの機能への依存を減らすようにモデルをトレーニングすると、ViT の堅牢性と分散外のパフォーマンスが向上するのでしょうか?パッチベースの操作で変換された画像を負の拡張ビューとして使用し、損失を提供して、堅牢でない機能を使用しないようにトレーニングを正規化します。これは、モデルの不変性を強化するためにセマンティック保存変換で入力を増強することに主に焦点を当てている既存の研究を補完する見解です。パッチベースの負の増強が、ImageNet ベースの堅牢性ベンチマークの幅広いセット全体で ViT の堅牢性を一貫して向上させることを示します。さらに、パッチベースの負の拡張が従来の (正の) データ拡張を補完し、一緒になってパフォーマンスをさらに向上させることがわかりました。
We investigate the robustness of vision transformers (ViTs) through the lens of their special patch-based architectural structure, i.e., they process an image as a sequence of image patches. We find that ViTs are surprisingly insensitive to patch-based transformations, even when the transformation largely destroys the original semantics and makes the image unrecognizable by humans. This indicates that ViTs heavily use features that survived such transformations but are generally not indicative of the semantic class to humans. Further investigations show that these features are useful but non-robust, as ViTs trained on them can achieve high in-distribution accuracy, but break down under distribution shifts. From this understanding, we ask: can training the model to rely less on these features improve ViT robustness and out-of-distribution performance? We use the images transformed with our patch-based operations as negatively augmented views and offer losses to regularize the training away from using non-robust features. This is a complementary view to existing research that mostly focuses on augmenting inputs with semantic-preserving transformations to enforce models' invariance. We show that patch-based negative augmentation consistently improves robustness of ViTs across a wide set of ImageNet based robustness benchmarks. Furthermore, we find our patch-based negative augmentation are complementary to traditional (positive) data augmentation, and together boost the performance further.
updated: Wed Feb 22 2023 06:45:58 GMT+0000 (UTC)
published: Fri Oct 15 2021 04:53:18 GMT+0000 (UTC)
参考文献 (このサイトで利用可能なもの) / References (only if available on this site)
被参照文献 (このサイトで利用可能なものを新しい順に) / Citations (only if available on this site, in order of most recent)
Amazon.co.jpアソシエイト