Reproduce “Intriguing Properties of Vision Transformers” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Muzammal Naseer, Kanchana Ranasinghe, Salman Khan, Munawar Hayat, Fahad Shahbaz Khan, Ming-Hsuan Yang
This study systematically investigates Vision Transformers' (ViTs) robustness and generalization compared to Convolutional Neural Networks (CNNs), demonstrating ViTs' superior resilience to occlusions and various perturbations, a stronger shape bias, and highly transferable features. It shows ViTs maintaining high accuracy even with 80% image occlusion and achieving state-of-the-art performance in transfer learning using a novel feature ensemble strategy.
Key insights
- ViTs possess a flexible, dynamic, and content-dependent receptive field due to global self-attention, allowing them to adaptively focus on relevant image regions even under severe occlusions.
- ViTs exhibit an inherently stronger shape-bias than CNNs, which can be further enhanced to enable emergent semantic segmentation of foreground objects using only class-token attention maps.
- ViTs' robustness to patch permutation suggests that positional encodings play a limited role in 'recovering' global context, indicating the self-attention mechanism is highly effective at capturing relationships irrespective of strict spatial order.
- Features from deeper ViT blocks are more discriminative, and an ensemble of these features provides highly generalizable representations that significantly outperform CNN features in transfer and few-shot learning.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.