In one of Kioxia’s experiments, the object that keeps catching the model’s attention is a cardboard box. It contains doughnuts, and a person looking at the photograph can distinguish the pastries from the packaging at a glance. Yet every attention head the researchers examined in their baseline model gave at least some weight to the box. After a change to the way the model was trained, several heads picked out individual doughnuts. Another picked out the cardboard around them. This is the example Yuji Nozawa, Yu-Chieh Lin and Youyang Ng use to explain a result they are scheduled to present at NeurIPS in Sydney on December 8.
An attention head is one of several calculations a vision transformer performs in parallel to decide how much weight to give information from different image patches. The patches matter because a doughnut, its hole and the cardboard visible through that hole can be immediate neighbors in a picture. In the illustration below, the bright ring in the middle panel follows one pastry. The bright patches in the right panel collect around both pastries, across the exposed cardboard. These are schematic maps drawn to explain the experiment. The researchers’ interest lies in how the same input can produce both patterns without anyone assigning a particular head to pastry duty.

The team started with DINOv2, a system that learns visual features by comparing different views of images. They added two exercises. In the first, a teacher network receives a crop. A student network gets the whole picture, with its attention steered toward the corresponding area, and tries to reproduce the teacher’s description of the crop. In the second exercise, the crop is hidden from the teacher. This time the student has to match what the teacher can make out from the area outside it. The training signal comes from the relationship between those views. It takes no hand-drawn doughnut outlines to create it.
There is a useful check on what the brighter patches actually buy. The researchers averaged attention across the final layer’s heads and used a threshold to turn the result into a foreground mask. They could then compare that mask with a human annotation, without training the model on the segmentation task. On ImageNet-Segmentation, the large model’s mean intersection over union, a measure of overlap between the prediction and the reference mask, rose from 63.67% to 67.29%. On PASCAL VOC it rose from 58.10% to 60.68%. Those figures measure how well the model separated foreground from background. In the PASCAL test, all annotated objects counted together as foreground, so the score gives it no extra credit for distinguishing one doughnut from the next.
Asking where something is and asking what the whole picture depicts turned out to reward different behavior. In an ImageNet test that assigned each picture a label by comparing it with similar examples, the ordinary DINOv2 model retained the edge. The researchers suggest that a model trained to notice peripheral regions can lose some of the advantage of concentrating on one dominant object. It’s a useful counterpart to the choices camera designers make about what a sensor records. Here the picture stays the same. What changes is whether the box, the pastries, or both get a say in the answer.