NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Attending on Attention (A2): Smaller Self-Supervised ViTs Localize Better Than Larger Ones

Sreehari Rammohan, Huy Ha, Carl Vondrick

NeurIPS page · Open on the map

Category: Vision-Language Models › Vision Transformer Attention Optimization · Type: new method · Keywords: visual classification, object localization, attention maps, self-supervised ViT, inverse scaling, pretrained features

Areas: Model Architectures & Sequence Modeling › Vision and Generative Architectures › Efficient Vision Transformers; Computer Vision & 3D › Visual Multimodal Perception › Vision Transformers

Summary

A2 is a simple method that crops around attention peaks from a small self-supervised ViT and embeds the crops with a larger ViT to achieve both good localization and rich representations.

Explained to a 5-year-old

We have two computers that look at pictures, one small and one big. The small computer points to where the main thing is by drawing a dot. We cut out that part and show it to the big computer. The big computer knows more details, so the picture becomes clear and has lots of information. It works without teaching the computers new things for each new picture.

Explained to a 5-year-old, longer

When we look at a picture, we want to find the main object and ignore the stuff around it. Usually, bigger computer models understand more details, but they sometimes point to the wrong place. Smaller models are better at pointing to where the main object is. The researchers noticed this and called it an interesting surprise. They decided to use both ideas: the small model to find where to look, and the big model to understand what is there. First, the small model looks at the whole picture and draws dots where it thinks the important part is. Then they cut out the area around those dots to make a smaller picture. This smaller picture is given to the big model, which can see more details and richer information. The big model creates a strong description of the cropped area. Finally, the description is used for tasks like classifying the image or recognizing the object. All of this works without having to train the models again for each new dataset. This simple trick helps the picture be both accurate in location and rich in information.

For a technical reader

The paper observes that smaller vision transformers produce attention maps that localize objects more accurately than larger ones, while larger models capture richer patch representations. To combine these strengths, they propose a two-stage pipeline that first uses a pretrained small model to generate attention peaks and crops the image around those peaks. The cropped regions are then processed by a separate pretrained large model to obtain high-quality embeddings. This approach requires no additional training or per-dataset tuning, making it easy to integrate into existing systems. Experiments on five benchmarks show the method matches state-of-the-art loss-level techniques and outperforms end-to-end attention training under stronger distribution shifts.

Problem

Robust visual classification requires localizing foreground objects while ignoring distractors, but smaller models localize better while larger models capture richer representations, creating a trade-off.

Method

The approach uses a pretrained small self-supervised ViT to generate attention maps, crops the image around the attention peaks, and then processes the crops with a separate pretrained large ViT to obtain richer embeddings, all without additional training.

Results

The approach is competitive with loss-level methods like DFR on five benchmarks and outperforms end-to-end attention training under stronger distribution shifts.

Contributions

The paper identifies an inverse scaling phenomenon where smaller ViTs localize better and proposes a simple two-stage pipeline that leverages pretrained attention maps and larger embeddings to achieve both localization and rich representations without extra training.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction