From Local to Contextually-Enriched Local Representations: A Mechanism for Holistic Processing in DINOv2 ViTs
Abstract
Self-supervised Vision Transformers (ViTs) such as DINOv2 achieve robust holistic shape processing, but the transformations that support this ability remain unclear. Probing with visual anagrams, we find that DINOv2’s intermediate layers constitute a necessary stage for holistic vision. Our analyses reveal a structured sequence of computations. First, attention heads progressively extend their range, producing a systematic local-to-global transition. Second, content information of patches becomes more contextually enriched with depth. Third, positional signals are not merely lost with depth but are retained in mid-level layers. Models without these properties, such as supervised ViTs, fail on holistic tasks. Finally, when register tokens are present, high-norm global activations are redirected into these tokens rather than overwriting low-information patch embeddings, allowing patches to maintain their positional identity, also leading to improvements on holistic tasks. Together, these findings show that holistic vision in ViTs emerges from a structured progression of representational transformations that preserve both content and spatial information while enabling global integration.
BibTeX
@inproceedings{doshi2025from,
author = {Fenil R. Doshi and Thomas Fel and Talia Konkle and George A. Alvarez},
title = {{From Local to Contextually-Enriched Local Representations: A Mechanism for Holistic Processing in DINOv2 ViTs}},
booktitle = {MechInterp @ NeurIPS},
year = {2025},
url = {https://openreview.net/forum?id=2XA7zVjoej},
}Ask Althea to put this paper to the test.
Loading related content...