Attention Transfer Is Not Universally Effective for Vision Transformers
Not on the map. Why?
Abstract (arXiv)
A recent work shows that Attention Transfer, which transfers only the attention patterns from a pre-trained teacher Vision Transformer (ViT) to a randomly initialized standard student ViT, is sufficient to recover the full benefit of the teacher's pre-trained weights. We revisit this finding on a comprehensive benchmark of 20 teachers from 11 well-known ViT families and reveal that Attention Transfer is not universally effective. While 7 families transfer successfully, 4 consistently fail, falling up to 5.1% below the from-scratch no-transfer baseline. Further results demonstrate that this failure is family-consistent across model sizes, and persists under extended training durations, different transfer datasets, and out-of-distribution evaluations. Controlled analyses then consistently localize the problem to the attention-routing channel, indicating that the key issue is not whether the student can match the teacher's attention patterns, but whether the matched patterns remain functional for the student. Crucially, we identify architectural mismatch between the pre-trained teacher and the standard student as the primary mechanism. By adding only the teacher's native architectural components to the student in a randomly initialized state, we completely reverse the failure for all 4 families. Notably, these components alone do not improve from-scratch training, confirming that they specifically unlock the usability of the teacher's attention. We further show that this failure is not explained by the inadequate choice of transfer loss, differences in pre-training recipes, or the intrinsic quality of attention maps. Our findings refine the prevailing understanding of attention in ViT representations: attention is sufficient textitonly when the student architecture matches the teacher.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 48 of its 51 references that are in the map. First posted on arXiv 8 May 2026.
Builds on
48 of 51 references.
References · 48
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2023Segment Anythingcited by 8,234
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,864
- 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,109
- 2024SAM 2: Segment Anything in Images and Videoscited by 2,863
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
36 more
- 2020Improved Baselines with Momentum Contrastive Learningcited by 2,287
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,616
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
- 2025DINOv3cited by 1,414
- 2019Natural Adversarial Examplescited by 1,408
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
- 2025SigLIP 2: Multilingual Vision-Language Encoders with Improved Semantic Understanding, Localization, and Dense Featurescited by 1,188
- 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,153
- 2016Paying More Attention to Attention: Improving the Performance of Convolutional Neural Networks via Attention Transfercited by 1,077
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,013
- 2025SAM 3: Segment Anything with Conceptscited by 906
- 2021iBOT: Image BERT Pre-Training with Online Tokenizercited by 903
- 2023Vision Transformers Need Registerscited by 871
- 2021Going deeper with Image Transformerscited by 764
- 2022DeiT III: Revenge of the ViTcited by 419
- 2022BEiT v2: Masked Image Modeling with Vector-Quantized Visual Tokenizerscited by 303
- 2024Rotary Position Embedding for Vision Transformercited by 236
- 2023What Do Self-Supervised Vision Transformers Learn?cited by 93
- 2022Three things everyone should know about Vision Transformerscited by 90
- 2023Mimetic Initialization of Self-Attention Layerscited by 54
- 2023Rosetta Neurons: Mining the Common Units in a Model Zoocited by 46
- 2022Teaching Matters: Investigating the Role of Supervision in Vision Transformerscited by 45
- 2025Vision Transformers Don't Need Trained Registerscited by 41
- 2023Initializing Models with Larger Onescited by 39
- 2024On the Surprising Effectiveness of Attention Transfer for Vision Transformerscited by 17
- 2022Attention Distillation: self-supervised vision transformer students need more guidancecited by 16
- 2024ScaleKD: Strong Vision Transformers Could Be Excellent Teacherscited by 11
- 2025Perspective-Aware Teaching: Adapting Knowledge for Heterogeneous Distillationcited by 5
- 2025Data Efficient Any Transformer-to-Mamba Distillation via Attention Bridgecited by 4
- 2026Mimetic Initialization of MLPscited by 2
- 2025Beyond Instance Consistency: Investigating View Diversity in Self-supervised Learningcited by 1
- 2025Revisiting Cross-Architecture Distillation: Adaptive Dual-Teacher Transfer for Lightweight Video Modelscited by 1
- 2025From Per-Image Low-Rank to Encoding Mismatch: Rethinking Feature Distillation in Vision Transformerscited by 1
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026DiD It in 87 Minutes: A Label-Free Softmax-to-Linear Adaptation of Vision Transformers for Object Detectioncited by 1
- 2026What Does Attention Transfer Transfer? Attention Structure and Robustness in Vision Transformerscited by 0
- 2026Copy the Same, Distill the Difference: Initializing Linear Vision Transformerscited by 0
- 2026Copy the Same, Distill the Difference: Initializing Linear Vision Transformers28 Sep 2026
- 2026DiD It in 87 Minutes: A Label-Free Softmax-to-Linear Adaptation of Vision Transformers for Object Detection23 Aug 2026
- 2026What Does Attention Transfer Transfer? Attention Structure and Robustness in Vision Transformers19 Aug 2026