Skip to main content
QUICK REVIEW

[Paper Review] Out of Distribution Performance of State of Art Vision Model

Salman Rahman, Wonkwon Lee|arXiv (Cornell University)|Jan 25, 2023
Advanced Neural Network ApplicationsComputer Science3 citations
TL;DR

This paper conducts a comprehensive, fair benchmark of 58 state-of-the-art vision models—including CNNs, Vision Transformers, hybrid architectures, MLP-Mixer, MobileNet, RegNet, and Sequencer—under a unified training setup to evaluate their out-of-distribution (OOD) robustness. It finds that ViT's claimed superiority over CNNs is context-dependent: under identical training conditions, CNNs perform comparably, and models like DeiT-3, ConvNeXt, and Sequencer show top OOD performance, challenging the assumption that self-attention inherently ensures robustness.

ABSTRACT

The vision transformer (ViT) has advanced to the cutting edge in the visual recognition task. Transformers are more robust than CNN, according to the latest research. ViT's self-attention mechanism, according to the claim, makes it more robust than CNN. Even with this, we discover that these conclusions are based on unfair experimental conditions and just comparing a few models, which did not allow us to depict the entire scenario of robustness performance. In this study, we investigate the performance of 58 state-of-the-art computer vision models in a unified training setup based not only on attention and convolution mechanisms but also on neural networks based on a combination of convolution and attention mechanisms, sequence-based model, complementary search, and network-based method. Our research demonstrates that robustness depends on the training setup and model types, and performance varies based on out-of-distribution type. Our research will aid the community in better understanding and benchmarking the robustness of computer vision models.

Motivation & Objective

  • To provide a fair and comprehensive evaluation of out-of-distribution robustness across diverse state-of-the-art vision models.
  • To challenge the prevailing claim that Vision Transformers are inherently more robust than CNNs by comparing models under identical training conditions.
  • To identify which model architectures and training paradigms yield the best OOD generalization performance.
  • To establish a publicly available benchmark for future research on vision model robustness.

Proposed method

  • A unified training setup was applied to all models, using the same optimizer (Adam), initial learning rate (0.01), and 100 training epochs on ImageNet.
  • 58 SOTA models were evaluated across five OOD benchmark datasets: ImageNet-A, ImageNet-R, ImageNet-O, ImageNet-Sketch, and Stylized ImageNet.
  • Models were grouped into categories: convolution-based (e.g., ResNet, DenseNet), attention-based (e.g., ViT, DeiT), hybrid (e.g., ConViT, ConvNeXt), MLP-based (MLP-Mixer), NAS-based (MobileNetV3), and sequence-based (Sequencer).
  • Pre-trained weights were used for models that were too costly to train from scratch, ensuring consistency across model families.
  • Robustness was measured via top-1 accuracy on OOD datasets, with performance compared across model types and training recipes.
  • A teacher-student distillation approach was used in DeiT-3, contributing to its strong OOD performance.

Experimental results

Research questions

  • RQ1Does the Vision Transformer’s reported robustness over CNNs hold under fair, unified training conditions?
  • RQ2How do different model architectures—especially hybrid and sequence-based models—perform on out-of-distribution data compared to pure CNNs and ViTs?
  • RQ3Which training recipe or architectural choice leads to the most robust generalization across diverse distribution shifts?
  • RQ4To what extent does model size or pre-training data scale influence OOD robustness across different architectures?

Key findings

  • DeiT-3 achieved the highest OOD robustness across all benchmarks, with 35.36% accuracy on ImageNet-A and 48.56% on ImageNet-R, outperforming most other models.
  • ConvNeXt, a pure convolution-based model, achieved 51.04% accuracy on ImageNet-R and 37.13% on ImageNet-Sketch, demonstrating strong OOD generalization.
  • The sequence-based model Sequencer achieved 48.56% on ImageNet-R and 35.87% on ImageNet-Sketch, outperforming most CNNs and ViTs.
  • MLP-Mixer and MobileNetV3 showed poor OOD performance, scoring only 5.79% and 4.59% on ImageNet-A, respectively.
  • Base CNNs like ResNet-50 and VGG-16 performed poorly on OOD data (e.g., 11.51% on ImageNet-A), contradicting assumptions of inherent CNN robustness.
  • Robustness is not inherently tied to attention mechanisms; models like ConViT and EdgeNeXt, which combine convolution and attention, matched or exceeded ViT performance on several OOD benchmarks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.