Training Vision Transformers to Focus: Emergence of Spatial Attention Head Specialization
Abstract
Self-supervised learning in Vision Transformer models, such as DINO, enables robust visual perception without requiring labeled data by leveraging large-scale image datasets. However, these models lack a focusing mechanism during training, resulting in perceptual representations that are often ambiguous or overly similar. In this work, we introduce two visual focusing loss functions designed to establish correspondence between the model's attention and specific regions within images. Specifically, we leverage the multi-head attention mechanism within the model to selectively steer the model's focus, leading to the emergence of spatial attention head specialization, characterized by diverse and spatially focused perceptual capabilities without requiring annotations. Through both qualitative and quantitative evaluations, we demonstrate that our method substantially increases the spatial selectivity and diversity of attention heads, improving both interpretability and performance on dense prediction tasks such as zero-shot image segmentation.
Create a lesson
Metadata
- Comments
- Accepted at NeurIPS 2026. Project page: https://yuji-nozawa.github.io/ReFoCo/
Related papers
Spec^2R: Recovering Emergent Properties in Supervised Vision Transformers
Shared title terminologycs.CVAdam Wróbel, Jacek Tabor, Bartosz Zieliński et al.
Token Pruning Needs a Protected Sink Token: Coherent Spatial Aggregation in Vision Transformers
Shared title terminologycs.CVJulian Wyatt, James Willoughby, Allison Clement et al.
Modern Self-Supervised Vision Transformers Are Pareidolic
Shared title terminologycs.CVZihang Lin, Huaiyuan Qin, Liangli Zhen et al.
RSLiveBench-UAV: A Continually Evolving Vision-Language Benchmark for Aerial Spatial Intelligence
Shared title terminologycs.CVYue Zhou, Jiawei Liu, Jue Chen et al.
Sophon: A Procedural Diagnostic for Spatial Reasoning in Vision-Language Models
Shared title terminologycs.CVJ. Zach Gazak, Ryan Swindle, Justin Fletcher
Spatial-Spectral Coupling as Attention: Scaling Shape Correspondence to High-Resolution Surfaces
Shared title terminologycs.CVBence Demeter, Kilian Ehrenreich, Amelie Kleber et al.