Reproduce “Training Vision Transformers to Focus: Emergence of Spatial Attention Head Specialization” 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
Yuji Nozawa, Yu-Chieh Lin, Youyang Ng
The authors introduce ReFoCo, a self-supervised method that trains vision transformers to associate image regions with selected attention heads. By combining inside-focus and outside-focus losses with DINOv2’s objectives, they encourage different heads to attend to different spatial locations without object-position labels. On zero-shot ImageNet-Segmentation, ViT-L/16-Reg reaches 67.29% mIoU, versus 63.67% for DINOv2, while its k-NN accuracy is lower.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.