mlsanityData to 14 Oct 2026

Teaching Matters: Investigating the Role of Supervision in Vision Transformers

arXiv 2212.03862 ↗First posted 7 Dec 2022cs.CV cs.LGcited by 45

Not on the map. Why?

Abstract (arXiv)

Vision Transformers (ViTs) have gained significant popularity in recent years and have proliferated into many applications. However, their behavior under different learning paradigms is not well explored. We compare ViTs trained through different methods of supervision, and show that they learn a diverse range of behaviors in terms of their attention, representations, and downstream performance. We also discover ViT behaviors that are consistent across supervision, including the emergence of Offset Local Attention Heads. These are self-attention heads that attend to a token adjacent to the current token with a fixed directional offset, a phenomenon that to the best of our knowledge has not been highlighted in any prior work. Our analysis shows that ViTs are highly flexible and learn to process local and global information in different orders depending on their training method. We find that contrastive self-supervised methods learn features that are competitive with explicitly supervised features, and they can even be superior for part-level tasks. We also find that the representations of reconstruction-based models show non-trivial similarity to contrastive self-supervised models. Project website (https://www.cs.umd.edu/~sakshams/vit_analysis) and code (https://www.github.com/mwalmer-umd/vit_analysis) are publicly available.

Key facts. Cited by 45 papers in the map (data through 14 Oct 2026). Builds on 62 of its 76 references that are in the map. First posted on arXiv 7 Dec 2022.

Builds on

62 of 76 references.

References · 62

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  7. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  8. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  9. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  10. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  11. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
  12. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
38 more
  1. 2016Feature Pyramid Networks for Object Detectioncited by 5,036
  2. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,750
  3. 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,857
  4. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
  5. 2020Improved Baselines with Momentum Contrastive Learningcited by 2,287
  6. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,269
  7. 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,845
  8. 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,838
  9. 2019Similarity of Neural Network Representations Revisitedcited by 1,755
  10. 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,616
  11. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
  12. 2019Contrastive Multiview Codingcited by 1,301
  13. 2018Learning deep representations by mutual information estimation and maximizationcited by 1,273
  14. 2017The 2017 DAVIS Challenge on Video Object Segmentationcited by 957
  15. 2019Self-Supervised Learning of Pretext-Invariant Representationscited by 808
  16. 2019Learning Representations by Maximizing Mutual Information Across Viewscited by 734
  17. 2014Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognitioncited by 720
  18. 2017Network Dissection: Quantifying Interpretability of Deep Visual Representationscited by 708
  19. 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 675
  20. 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 569
  21. 2020Understanding the Behaviour of Contrastive Losscited by 398
  22. 2020SCAN: Learning to Classify Images without Labelscited by 352
  23. 2021Deep ViT Features as Dense Visual Descriptorscited by 330
  24. 2022How Do Vision Transformers Work?cited by 307
  25. 2020Do Wide and Deep Networks Learn the Same Things? Uncovering How Neural Network Representations Vary with Width and Depthcited by 245
  26. 2022Unsupervised Semantic Segmentation by Distilling Feature Correspondencescited by 241
  27. 2020Space-Time Correspondence as a Contrastive Random Walkcited by 239
  28. 2021Localizing Objects with Self-Supervised Transformers and no Labelscited by 230
  29. 2021Vision Transformers are Robust Learnerscited by 207
  30. 2018Revisiting Oxford and Paris: Large-Scale Image Retrieval Benchmarkingcited by 191
  31. 2020Compositional Explanations of Neuronscited by 172
  32. 2021Benchmarking Representation Learning for Natural World Image Collectionscited by 168
  33. 2022Self-Supervised Transformers for Unsupervised Object Discovery using Normalized Cutcited by 167
  34. 2019SPair-71k: A Large-scale Benchmark for Semantic Correspondencecited by 146
  35. 2022Understanding The Robustness in Vision Transformerscited by 144
  36. 2020Demystifying Contrastive Self-Supervised Learning: Invariances, Augmentations and Dataset Biasescited by 143
  37. 2021Benchmarking Detection Transfer Learning with Vision Transformerscited by 131
  38. 2021PartImageNet: A Large, High-Quality Dataset of Partscited by 107

50 most cited of 62 All 62 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 12; 2024: 15; 2025: 8; 2026: 10.

45 papers.

Sort:

By area:

  1. 2025Perception Encoder: The best visual embeddings are not at the output of the networkcited by 326
  2. 2024Probing the 3D Awareness of Visual Foundation Modelscited by 177
  3. 2024Measuring Style Similarity in Diffusion Modelscited by 109
  4. 2023CLIP-DINOiser: Teaching CLIP a few DINO tricks for open-vocabulary semantic segmentationcited by 96
  5. 2023Which Tokens to Use? Investigating Token Reduction in Vision Transformerscited by 60
  6. 2023Diffusion Models Beat GANs on Image Classificationcited by 58
  7. 2024MVSFormer++: Revealing the Devil in Transformer's Details for Multi-View Stereocited by 50
  8. 2023Improving Semantic Correspondence with Viewpoint-Guided Spherical Mapscited by 34
  9. 2023Do text-free diffusion models learn discriminative visual representations?cited by 33
  10. 2024An Image is Worth More Than 16x16 Patches: Exploring Transformers on Individual Pixelscited by 33
  11. 2024LiFT: A Surprisingly Simple Lightweight Feature Transform for Dense ViT Descriptorscited by 27
  12. 2025Can Masked Autoencoders Also Listen to Birds?cited by 26
33 more
  1. 2024ImageNet3D: Towards General-Purpose Object-Level 3D Understandingcited by 25
  2. 2024Understanding Video Transformers via Universal Concept Discoverycited by 23
  3. 2024Transformer for Object Re-Identification: A Surveycited by 22
  4. 2023ConvNet vs Transformer, Supervised vs CLIP: Beyond ImageNet Accuracycited by 19
  5. 2024MIM-Refiner: A Contrastive Learning Boost from Intermediate Pre-Trained Representationscited by 19
  6. 2024On the Surprising Effectiveness of Attention Transfer for Vision Transformerscited by 17
  7. 2023Contrastive Tuning: A Little Help to Make Masked Autoencoders Forgetcited by 15
  8. 2023Brain Decodes Deep Netscited by 14
  9. 2024Beyond Scalars: Concept-Based Alignment Analysis in Vision Transformerscited by 11
  10. 2023Guide Your Agent with Adaptive Multimodal Rewardscited by 10
  11. 2026Efficient Universal Perception Encodercited by 10
  12. 2025Register and [CLS] tokens yield a decoupling of local and global features in large ViTscited by 9
  13. 2024Superpixel Tokenization for Vision Transformers: Preserving Semantic Integrity in Visual Tokenscited by 7
  14. 2023Improving Robustness and Reliability in Medical Image Classification with Latent-Guided Diffusion and Nested-Ensemblescited by 4
  15. 2024Self-Explainable Affordance Learning with Embodied Captioncited by 4
  16. 2025Achieving More with Less: Additive Prompt Tuning for Rehearsal-Free Class-Incremental Learningcited by 4
  17. 2025Fantastic Features and Where to Find Them: A Probing Method to combine Features from Multiple Foundation Modelscited by 3
  18. 2026Attention Transfer Is Not Universally Effective for Vision Transformerscited by 3
  19. 2024ViTGuard: Attention-aware Detection against Adversarial Examples for Vision Transformercited by 2
  20. 2025Communication Efficient Split Learning of ViTs with Attention-based Double Compressioncited by 2
  21. 2026UPLiFT: Efficient Pixel-Dense Feature Upsampling with Local Attenderscited by 2
  22. 2025Dynamic Embedding of Hierarchical Visual Features for Efficient Vision-Language Fine-Tuningcited by 1
  23. 2025VIPAMIN: Visual Prompt Initialization via Embedding Selection and Subspace Expansioncited by 1
  24. 2026Visual prompting reimagined: The power of the Activation Promptscited by 1
  25. 2023Multi-entity Video Transformers for Fine-Grained Video Representation Learningcited by 0
  26. 2023Meta-Prior: Meta learning for Adaptive Inverse Problem Solverscited by 0
  27. 2024Local-to-Global Self-Supervised Representation Learning for Diabetic Retinopathy Gradingcited by 0
  28. 2026IOTA: Corrective Knowledge-Guided Prompt Learning via Black-White Box Frameworkcited by 0
  29. 2026Unsupervised Semantic Segmentation Facilitates Model Understandingcited by 0
  30. 2026The Cross-Architecture Substrate: A Domain-Transcendent, Calibration-Surviving Geometric Invariant of Modern Vision Encoderscited by 0
  31. 2026REDI: Corpus Aware Patch Ranking for DINOv3 Token Reductioncited by 0
  32. 2026What, Where, and How: Probing Spatiotemporal Representations in Video Foundation Modelscited by 0
  33. 2026Does the VGGT Family Need All Its Layers?cited by 0