mlsanityData to 14 Oct 2026

Analyzing Vision Transformers for Image Classification in Class Embedding Space

arXiv 2310.18969 ↗First posted 29 Oct 2023cs.CV cs.AIcited by 26

Not on the map. Why?

Abstract (arXiv)

Despite the growing use of transformer models in computer vision, a mechanistic understanding of these networks is still needed. This work introduces a method to reverse-engineer Vision Transformers trained to solve image classification tasks. Inspired by previous research in NLP, we demonstrate how the inner representations at any level of the hierarchy can be projected onto the learned class embedding space to uncover how these networks build categorical representations for their predictions. We use our framework to show how image tokens develop class-specific representations that depend on attention mechanisms and contextual information, and give insights on how self-attention and MLP layers differentially contribute to this categorical composition. We additionally demonstrate that this method (1) can be used to determine the parts of an image that would be important for detecting the class of interest, and (2) exhibits significant advantages over traditional linear probing approaches. Taken together, our results position our proposed framework as a powerful tool for mechanistic interpretability and explainability research.

Key facts. Cited by 26 papers in the map (data through 14 Oct 2026). Builds on 20 of its 22 references that are in the map. First posted on arXiv 29 Oct 2023.

Builds on

20 of 22 references.

References · 20

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  2. 2016Understanding intermediate layers using linear classifier probescited by 1,353
  3. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  4. 2021Scaling Vision Transformerscited by 999
  5. 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 675
  6. 2020Transformer Interpretability Beyond Attention Visualizationcited by 627
  7. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
  8. 2021ImageNet-21K Pretraining for the Massescited by 613
  9. 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 532
  10. 2021Intriguing Properties of Vision Transformerscited by 446
  11. 2022How Do Vision Transformers Work?cited by 307
  12. 2021Understanding Robustness of Transformers for Image Classificationcited by 249
8 more
  1. 2020Probing the Probing Paradigm: Does Probing Accuracy Entail Task Relevance?cited by 151
  2. 2022Analyzing Transformers in Embedding Spacecited by 132
  3. 2019On Identifiability in Transformerscited by 116
  4. 2021Large-scale Unsupervised Semantic Segmentationcited by 101
  5. 2023Jump to Conclusions: Short-Cutting Transformers With Linear Transformationscited by 90
  6. 2022What do Vision Transformers Learn? A Visual Explorationcited by 76
  7. 2021On Improving Adversarial Transferability of Vision Transformerscited by 70
  8. 2020Overinterpretation reveals image classification model pathologiescited by 28

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 14; 2025: 11; 2026: 1.

26 papers.

Sort:

By area:

  1. 2024Mechanistic Interpretability for AI Safety -- A Reviewcited by 422
  2. 2024Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Modelscited by 235
  3. 2024Towards Interpreting Visual Information Processing in Vision-Language Modelscited by 122
  4. 2025Everything, Everywhere, All at Once: Is Mechanistic Interpretability Identifiable?cited by 34
  5. 2025Pixels Versus Priors: Controlling Knowledge Priors in Vision-Language Models through Visual Counterfactscited by 32
  6. 2024What Do VLMs NOTICE? A Mechanistic Interpretability Pipeline for Gaussian-Noise-free Text-Image Corruption and Evaluationcited by 30
  7. 2024Not All Diffusion Model Activations Have Been Evaluated as Discriminative Featurescited by 25
  8. 2025Prisma: An Open Source Toolkit for Mechanistic Interpretability in Vision and Videocited by 21
  9. 2024Decomposing and Interpreting Image Representations via Text in ViTs Beyond CLIPcited by 20
  10. 2025Block-Recurrent Dynamics in Vision Transformerscited by 20
  11. 2024Beyond the Doors of Perception: Vision Transformers Represent Relations Between Objectscited by 13
  12. 2024Looking Beyond The Top-1: Transformers Determine Top Tokens In Ordercited by 12
14 more
  1. 2024Position: An Inner Interpretability Framework for AI Inspired by Lessons from Cognitive Neurosciencecited by 11
  2. 2024LookHere: Vision Transformers with Directed Attention Generalize and Extrapolatecited by 10
  3. 2024Superpixel Tokenization for Vision Transformers: Preserving Semantic Integrity in Visual Tokenscited by 7
  4. 2025Signatures of human-like processing in Transformer forward passescited by 3
  5. 2025LLMs Can Compensate for Deficiencies in Visual Representationscited by 3
  6. 2026Self-Distillation of Hidden Layers for Self-Supervised Representation Learningcited by 3
  7. 2024Convolutional Neural Networks and Vision Transformers for Fashion MNIST Classification: A Literature Reviewcited by 2
  8. 2025CoRLD: Contrastive Representation Learning Of Deformable Shapes In Imagescited by 2
  9. 2025Communication Efficient Split Learning of ViTs with Attention-based Double Compressioncited by 2
  10. 2024FovEx: Human-Inspired Explanations for Vision Transformers and Convolutional Neural Networkscited by 1
  11. 2025ECG-Soup: Harnessing Multi-Layer Synergy for ECG Foundation Modelscited by 1
  12. 2024Unveiling Transformer Perception by Exploring Input Manifoldscited by 0
  13. 2025How Can Multimodal Remote Sensing Datasets Transform Classification via SpatialNet-ViT?cited by 0
  14. 2025CircuitProbe: Tracing Visual Temporal Evidence Flow in Video Language Modelscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2023A Simple Interpretable Transformer for Fine-Grained Image Classification and Analysis
  2. 2026Interpretable Vision Transformers in Image Classification via SVDA
  3. 2024Decompose the model: Mechanistic interpretability in image models with Generalized Integrated Gradients (GIG)
  4. 2025Analyzing Hierarchical Structure in Vision Models with Sparse Autoencoders
  5. 2024Understanding the Effect of using Semantically Meaningful Tokens for Visual Representation Learning
  6. 2025DEXTER: Diffusion-Guided EXplanations with TExtual Reasoning for Vision Models
  7. 2026Sparse but not Simpler: A Multi-Level Interpretability Analysis of Vision Transformers
  8. 2025PictSure: Pretraining Embeddings Matters for In-Context Learning Image Classifiers