Vision Transformers are Robust Learners

By Sayak Paul, Pin-Yu Chen. 2021

386 citations recorded by the source corpus.

Transformers, composed of multiple self-attention layers, hold strong promises toward a generic learning primitive applicable to different data modalities, including the recent breakthroughs in computer vision achieving state-of-the-art (SOTA) standard accuracy. What remains largely unexplored is their robustness evaluation and attribution. In this work, we study the robustness of the Vision Transformer (ViT) (Dosovitskiy et al. 2021) against common corruptions and perturbations, distribution shifts, and natural adversarial examples. We use six different diverse ImageNet datasets concerning robust classification to conduct a comprehensive performance comparison of ViT(Dosovitskiy et al. 2021) models and SOTA convolutional neural networks (CNNs), Big-Transfer (Kolesnikov et al. 2020). Through a series of six systematically designed experiments, we then present analyses that provide both quantitative andqualitative indications to explain why ViTs are indeed more robust learners. For example, with fewer parameters and similar dataset and pre-training combinations, ViT gives a top-1accuracy of 28.10% on ImageNet-A which is 4.3x higher than a comparable variant of BiT. Our analyses on image masking, Fourier spectrum sensitivity, and spread on discrete cosine energy spectrum reveal intriguing properties of ViT attributing to improved robustness. Code for reproducing our experiments is available at https://git.io/J3VO0.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Safety, Robustness & Interpretability

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Luc Van Gool
  2. Alan L. Yuille
  3. Ziwei Liu
  4. Fahad Shahbaz Khan
  5. Quoc V. Le
  6. Ming-Hsuan Yang
  7. Jiashi Feng
  8. Trevor Darrell

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Ming-Hsuan Yang
  3. Dacheng Tao
  4. Alan L. Yuille
  5. Xiaogang Wang
  6. Trevor Darrell
  7. Fahad Shahbaz Khan
  8. Bernt Schiele

In Safety, Robustness & Interpretability

  1. Alan L. Yuille
  2. Stanislav Fort
  3. Fahad Shahbaz Khan
  4. Muzammal Naseer
  5. Cihang Xie
  6. Salman Hameed Khan
  7. Ziwei Liu
  8. Jie Jessie Ren

Citations in the corpus