Reproduce “DaViT: Dual Attention 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

Mingyu Ding, Bin Xiao, Noel Codella, Ping Luo, Jingdong Wang, Lu Yuan

DaViT, developed by researchers from The University of Hong Kong, Microsoft, and Baidu, presents a Vision Transformer architecture that combines spatial window attention with a novel channel group attention. This dual attention mechanism efficiently captures both local and global contextual information, achieving linear computational complexity while improving performance across image classification, object detection, and semantic segmentation benchmarks compared to existing methods.

Key insights

  • Both spatial window attention and channel group attention exhibit linear computational complexity with respect to image size, making the architecture efficient for high-resolution inputs.
  • The combination of spatial window attention (local features) and channel group attention (global context) creates a complementary system that enhances overall representation power.
  • Channels are divided into groups before applying self-attention to manage computational cost, similar to how spatial attention divides tokens into windows.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.