mlsanityData to 14 Oct 2026

Attention Transfer Is Not Universally Effective for Vision Transformers

arXiv 2605.07191 ↗First posted 8 May 2026cs.CV cs.LGcited by 3

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

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2023Segment Anythingcited by 8,234
  4. 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
  5. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  6. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  7. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
  8. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  9. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,864
  10. 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,109
  11. 2024SAM 2: Segment Anything in Images and Videoscited by 2,863
  12. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
36 more
  1. 2020Improved Baselines with Momentum Contrastive Learningcited by 2,287
  2. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  3. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
  4. 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,616
  5. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
  6. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
  7. 2025DINOv3cited by 1,414
  8. 2019Natural Adversarial Examplescited by 1,408
  9. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  10. 2025SigLIP 2: Multilingual Vision-Language Encoders with Improved Semantic Understanding, Localization, and Dense Featurescited by 1,188
  11. 2021SimMIM: A Simple Framework for Masked Image Modelingcited by 1,153
  12. 2016Paying More Attention to Attention: Improving the Performance of Convolutional Neural Networks via Attention Transfercited by 1,077
  13. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,013
  14. 2025SAM 3: Segment Anything with Conceptscited by 906
  15. 2021iBOT: Image BERT Pre-Training with Online Tokenizercited by 903
  16. 2023Vision Transformers Need Registerscited by 871
  17. 2021Going deeper with Image Transformerscited by 764
  18. 2022DeiT III: Revenge of the ViTcited by 419
  19. 2022BEiT v2: Masked Image Modeling with Vector-Quantized Visual Tokenizerscited by 303
  20. 2024Rotary Position Embedding for Vision Transformercited by 236
  21. 2023What Do Self-Supervised Vision Transformers Learn?cited by 93
  22. 2022Three things everyone should know about Vision Transformerscited by 90
  23. 2023Mimetic Initialization of Self-Attention Layerscited by 54
  24. 2023Rosetta Neurons: Mining the Common Units in a Model Zoocited by 46
  25. 2022Teaching Matters: Investigating the Role of Supervision in Vision Transformerscited by 45
  26. 2025Vision Transformers Don't Need Trained Registerscited by 41
  27. 2023Initializing Models with Larger Onescited by 39
  28. 2024On the Surprising Effectiveness of Attention Transfer for Vision Transformerscited by 17
  29. 2022Attention Distillation: self-supervised vision transformer students need more guidancecited by 16
  30. 2024ScaleKD: Strong Vision Transformers Could Be Excellent Teacherscited by 11
  31. 2025Perspective-Aware Teaching: Adapting Knowledge for Heterogeneous Distillationcited by 5
  32. 2025Data Efficient Any Transformer-to-Mamba Distillation via Attention Bridgecited by 4
  33. 2026Mimetic Initialization of MLPscited by 2
  34. 2025Beyond Instance Consistency: Investigating View Diversity in Self-supervised Learningcited by 1
  35. 2025Revisiting Cross-Architecture Distillation: Adaptive Dual-Teacher Transfer for Lightweight Video Modelscited by 1
  36. 2025From Per-Image Low-Rank to Encoding Mismatch: Rethinking Feature Distillation in Vision Transformerscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 3.

3 papers.