mlsanityData to 7 Oct 2026

On the Surprising Effectiveness of Attention Transfer for Vision Transformers

arXiv 2411.09702 ↗First posted 14 Nov 2024cs.LG cs.AI cs.CVcited by 16

Not on the map. Why?

Abstract (arXiv)

Conventional wisdom suggests that pre-training Vision Transformers (ViT) improves downstream performance by learning useful representations. Is this actually true? We investigate this question and find that the features and representations learned during pre-training are not essential. Surprisingly, using only the attention patterns from pre-training (i.e., guiding how information flows between tokens) is sufficient for models to learn high quality features from scratch and achieve comparable downstream performance. We show this by introducing a simple method called attention transfer, where only the attention patterns from a pre-trained teacher ViT are transferred to a student, either by copying or distilling the attention maps. Since attention transfer lets the student learn its own features, ensembling it with a fine-tuned teacher also further improves accuracy on ImageNet. We systematically study various aspects of our findings on the sufficiency of attention maps, including distribution shift settings where they underperform fine-tuning. We hope our exploration provides a better understanding of what pre-training accomplishes and leads to a useful alternative to the standard practice of fine-tuning

Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 59 of its 70 references that are in the map. First posted on arXiv 14 Nov 2024.

Builds on

59 of 70 references.

References · 59

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  5. 2020Language Models are Few-Shot Learnerscited by 32,199
  6. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  7. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  8. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  9. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  10. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  11. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  12. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
38 more
  1. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  2. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  3. 2016Layer Normalizationcited by 5,579
  4. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  5. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  6. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  7. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,131
  8. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  9. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
  10. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
  11. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
  12. 2013Rich feature hierarchies for accurate object detection and semantic segmentationcited by 2,160
  13. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  14. 2019Similarity of Neural Network Representations Revisitedcited by 1,695
  15. 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
  16. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
  17. 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
  18. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
  19. 2019Natural Adversarial Examplescited by 1,401
  20. 2016Paying More Attention to Attention: Improving the Performance of Convolutional Neural Networks via Attention Transfercited by 1,059
  21. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
  22. 2016Deep Networks with Stochastic Depthcited by 973
  23. 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 723
  24. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
  25. 2018Exploring the Limits of Weakly Supervised Pretrainingcited by 604
  26. 2022Scaling Language-Image Pre-training via Maskingcited by 317
  27. 2021Neural Attention Distillation: Erasing Backdoor Triggers from Deep Neural Networkscited by 313
  28. 2019What's Hidden in a Randomly Weighted Neural Network?cited by 236
  29. 2022On Feature Learning in the Presence of Spurious Correlationscited by 145
  30. 2022Data Determines Distributional Robustness in Contrastive Language Image Pre-training (CLIP)cited by 137
  31. 2022Revealing the Dark Secrets of Masked Image Modelingcited by 117
  32. 2022Unveiling Transformers with LEGO: a synthetic reasoning taskcited by 105
  33. 2023Scan and Snap: Understanding Training Dynamics and Token Composition in 1-layer Transformercited by 101
  34. 2022Vision Transformers provably learn spatial structurecited by 92
  35. 2023What Do Self-Supervised Vision Transformers Learn?cited by 90
  36. 2020Optimal Lottery Tickets via SubsetSum: Logarithmic Over-Parameterization is Sufficientcited by 81
  37. 2020Logarithmic Pruning is All You Needcited by 71
  38. 2021Learning Efficient Vision Transformers via Fine-Grained Manifold Distillationcited by 60

50 most cited of 59 All 59 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 7; 2026: 9.

16 papers.

Sort:

By area:

  1. 2025REPA Works Until It Doesn't: Early-Stopped, Holistic Alignment Supercharges Diffusion Trainingcited by 33
  2. 2025Structured Initialization for Vision Transformerscited by 6
  3. 2025LookWhere? Efficient Visual Recognition by Learning Where to Look and What to See from Self-Supervisioncited by 5
  4. 2025What Happens During the Loss Plateau? Understanding Abrupt Learning in Transformerscited by 5
  5. 2025Data Efficient Any Transformer-to-Mamba Distillation via Attention Bridgecited by 4
  6. 2026Attention Transfer Is Not Universally Effective for Vision Transformerscited by 3
  7. 2025Kolmogorov-Arnold Attention: Is Learnable Attention Better For Vision Transformers?cited by 2
  8. 2026Mimetic Initialization of MLPscited by 2
  9. 2026Multimodality as Supervision: Self-Supervised Specialization to the Test Environment via Multimodalitycited by 1
  10. 2026DiD It in 87 Minutes: A Label-Free Softmax-to-Linear Adaptation of Vision Transformers for Object Detectioncited by 1
  11. 2025Transferring Visual Explainability of Self-Explaining Models to Prediction-Only Models without Additional Trainingcited by 0
  12. 2026NeuroCanvas: VLLM-Powered Robust Seizure Detection by Reformulating Multichannel EEG as Imagecited by 0
4 more
  1. 2026FAAR: Efficient Frequency-Aware Multi-Task Fine-Tuning via Automatic Rank Selectioncited by 0
  2. 2026What Does Attention Transfer Transfer? Attention Structure and Robustness in Vision Transformerscited by 0
  3. 2026Counterfactual Attention Policy Distillation for Temporal Video Groundingcited by 0
  4. 2026Copy the Same, Distill the Difference: Initializing Linear Vision Transformerscited by 0