mlsanityData to 7 Oct 2026

From Edges to Depth: Probing the Spatial Hierarchy in Vision Transformers

arXiv 2604.23452 ↗First posted 25 Apr 2026cs.CV cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Vision Transformers trained only on image classification routinely transfer to tasks that demand spatial understanding, yet they receive no spatial supervision during pretraining. We ask where and how robustly such structure is encoded. Probing a frozen ViT-B/16 layerwise for two complementary properties, local patch boundaries (BSDS500) and per-patch depth (NYU Depth V2), reveals a clear hierarchy: boundary structure becomes linearly decodable at layers 5-6 (AP = 0.833), while depth, which requires integrating global cues, peaks two to three layers later at layer 8 (MAE = 0.0875). Both signals collapse at the final classification layer, and random-weight controls confirm the encodings are learned rather than architectural. Causal interventions add specificity: ablating the single direction a linear depth probe reads degrades depth decoding by up to 165%, while ablating any other direction changes it by less than 1%. Targeted activation patching along that direction shows the depth signal is partially re-derived at each layer rather than passively carried in the residual stream, with mid-layer interventions persisting most strongly downstream. The result is that a classification-trained ViT develops an actively maintained spatial hierarchy that mirrors the early-to-late progression observed in the primate visual cortex.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 9 of its 15 references that are in the map. First posted on arXiv 25 Apr 2026.

Builds on

9 of 15 references.

References · 9

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  3. 2016Understanding intermediate layers using linear classifier probescited by 1,279
  4. 2016The Mythos of Model Interpretabilitycited by 716
  5. 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 671
  6. 2019Designing and Interpreting Probes with Control Taskscited by 608
  7. 2023LEACE: Perfect linear concept erasure in closed formcited by 254
  8. 2024How to use and interpret activation patchingcited by 191
  9. 2024EL-VIT: Probing Vision Transformer with Interactive Visualizationcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.