Research map / Architectures and efficiency / Attention and transformers
When Shift Operation Meets Vision Transformer: An Extremely Simple Alternative to Attention Mechanism
Guangting Wang, Yucheng Zhao, Chuanxin Tang, Chong Luo, Wenjun Zeng
University of Science and Technology of China · Microsoft Research Asia
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- ImageNet leaderboard accuracy 83.3 · rank 178 of 937 papers
- ADE20K leaderboard mIoU (val) 47.9 · rank 42 of 125 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Replace attention layers with shift operations at matched model size | ShiftViT vs Swin Transformer · ImageNet-1k, COCO, ADE20k | Top-1 accuracy, APb, mIoU: 81.3 -> 81.7; 46.0 -> 47.1; 44.5 -> 46.3 (Shift-T); 83.5 -> 83.3; 48.7 -> 48.0; 48.1 -> 47.9 (Shift-B) | Mixed |
| Add blocks to match Swin model size rather than retaining the lightweight configuration (ablation) | ShiftViT · ImageNet-1k | Top-1 accuracy: 79.4 -> 81.7 (Shift-T); 81.6 -> 82.8 (Shift-S); 82.3 -> 83.3 (Shift-B) | Improved |
| Reduce MLP expand ratio to increase network depth (ablation) | Shift-T · COCO | APb: 44.0 -> 45.4 -> 45.2 | Mixed |
| Reduce MLP expand ratio to increase network depth (ablation) | Shift-T · ADE20k | mIoU: 44.4 -> 47.3 | Improved |
| Reduce MLP expand ratio to increase network depth (ablation) | Shift-T · ImageNet-1k | Top-1 accuracy: 81.3 -> 81.8 | Improved |
| Vary the percentage of shifted channels from 20% to 50% (ablation) | Shift-T · ImageNet-1k | Top-1 accuracy: 25% causes 0.3% absolute loss compared to the best setting | No clear effect |
| Remove spatial shifting (ablation) | ShiftViT · ImageNet-1k | Top-1 accuracy: 81.7 -> 72.9 | Hurt |
| Shift channels by two pixels rather than one (ablation) | ShiftViT · ImageNet-1k | Top-1 accuracy: 81.7 -> 80.2 | Hurt |
| Use the ViT-style training schedule of 300 epochs instead of the CNN-style 90 epochs (ablation) | ShiftViT · ImageNet-1k | Top-1 accuracy: 78.4 -> 81.7 | Improved |
| Use AdamW instead of SGD (ablation) | ShiftViT · ImageNet-1k | Top-1 accuracy: 76.4 -> 77.9 | Improved |
| Use GELU instead of ReLU (ablation) | ShiftViT · ImageNet-1k | Top-1 accuracy: 77.9 -> 78.5 | Improved |
| Use layer normalization instead of batch normalization (ablation) | ShiftViT · ImageNet-1k | Top-1 accuracy: 78.5 -> 78.4 | No clear effect |
Open problems in hybrid and interpretable ViT designs
Do hybrid and efficient vision transformer designs hold up on larger models, other tasks and real hardware?
- Reported speedups are theoretical or not measured on target hardware. · 7 papers state it
- Only small ViTs were tested and larger models are left open. · 6 papers state it
- Gains over the strongest baselines are modest. · 6 papers state it
Closest papers by meaning
- You Only Need Less Attention at Each Stage in Vision Transformers (CVPR 2024 · similarity 0.89)
- Making Vision Transformers Truly Shift-Equivariant (CVPR 2024 · similarity 0.87)
- Attention Guided CAM: Visual Explanations of Vision Transformer Guided by Self-Attention (AAAI 2024 · similarity 0.86)
- Statistical Test for Attention Maps in Vision Transformers (ICML 2024 · similarity 0.86)
- Attention Transfer Is Not Universally Effective for Vision Transformers (NeurIPS 2026 · similarity 0.86)
- On the Surprising Effectiveness of Attention Transfer for Vision Transformers (NeurIPS 2024 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.