Training Vision Transformers to Focus: Emergence of Spatial Attention Head Specialization

Yuji Nozawa, Yu-Chieh Lin, Youyang Ng

Kioxia Corporation

Published November 9, 2026 · on the feed November 10, 2026 · ▲ 5 · arXiv 2611.11890

Vision & multimodalModel architecture Full code arXiv ↗Hugging Face ↗Weights ↗

The 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.

The Brief

1:32

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Training Vision Transformers to Focus. Emergence of Spatial Attention Head Specialization. By Yuji Nozawa and two others, from Kioxia. Published on the ninth of November.

Self-supervised Vision Transformer models such as DINO learn robust visual perception from large image datasets, with no labels required. What they do not have is a focusing mechanism during training. Without one, the perceptual representations they form are often ambiguous, or too similar to one another to tell apart.

The proposal is to give training that missing focus. Two visual focusing loss functions are introduced, each designed to tie the model's attention to specific regions within an image, so that where the model looks corresponds to something definite in the picture.

The lever is the model's own multi-head attention. The losses use it to steer the model's focus selectively, and what emerges is spatial attention head specialization: heads that become diverse and spatially focused in what they perceive. None of this calls for annotations. The specialization arises from the training objective rather than from labels.

Evaluation is both qualitative and quantitative. The method substantially increases how spatially selective the attention heads are, and how diverse they are from one another. Those gains carry through to interpretability, and to performance on dense prediction tasks, with zero-shot image segmentation given as the example.

Heads that once tended toward overlapping views of an image come out of training each attending to its own region. That division of labour is the specialization of the title, and it is reached through the loss alone, without anyone marking which region belongs to which head.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.