# Attention Transfer Is Not Universally Effective for Vision Transformers

*Huaiyuan Qin, Muli Yang, Gabriel James Goenawan, Peng Hu, Chen Gong, Xi Peng, Hongyuan Zhu*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/156052) · [OpenReview](https://openreview.net/forum?id=0o4UJkkMvY) · [Open on the map](../papers.html#p156052)

Category: [Vision-Language Models](../pcat/0.md) › [Cross-Modal Alignment and Representation Learning](../pgroup/454.md) · Type: empirical study · Keywords: Vision Transformers, attention transfer, model architecture mismatch, empirical analysis, computer vision

## Summary
The paper shows that Attention Transfer fails for some Vision Transformer families and demonstrates that adding the teacher's native architectural components to the student restores performance, revealing the importance of architectural match.

## Explained to a 5-year-old
Some smart computer programs learn to look at pictures using a special way of paying attention. When we try to copy that attention from a big program to a smaller one, sometimes the smaller one doesn't work as well. The researchers found that the problem happens when the two programs have different shapes. They fixed it by giving the small program a tiny piece of the big program's shape. Now the small program can learn just as well as the big one.

## Explained to a 5-year-old, longer
Computers can be taught to recognize pictures by paying attention to certain parts. One trick is to copy how an older, bigger computer looks at those parts. Researchers tried this trick on many different kinds of picture-looking computers. They discovered that sometimes the trick does not help at all. The problem occurs when the two computers have different internal structures. By adding a small piece of the bigger computer's structure to the smaller one, the trick starts working. This extra piece does not make the bigger computer learn faster on its own. The improvement only helps when we are copying the attention. The study shows that copying attention is not enough by itself. It also shows that matching the computer's shape is very important. These findings help us understand how to make smaller computers learn from bigger ones. In the end, the research gives a simple way to fix the copying trick for many picture-looking computers.

## For a technical reader
The work evaluates whether copying only the attention patterns of a pre-trained Vision Transformer to a fresh student model is enough to retain the teacher’s performance. Across a wide range of model families, the authors discover that this transfer sometimes hurts, with some families falling up to 5.1% below a no-transfer baseline. They trace the failure to architectural mismatch between teacher and student and show that adding the teacher’s native architectural components restores performance for the affected families. The findings highlight that attention transfer alone is insufficient without compatible model structures.

## Problem
When only attention patterns are transferred from a teacher Vision Transformer to a student, the student may not achieve the expected performance gains. This raises questions about the conditions under which attention transfer is effective.

## Method
The authors evaluate Attention Transfer across 20 teachers from 11 ViT families, identify families where transfer fails, and show that the failure is linked to architectural mismatch. They then add the teacher's native architectural components to the student to restore performance, confirming that architectural alignment is key.

## Results
Four out of 11 ViT families failed to benefit from Attention Transfer, performing up to 5.1% below the from-scratch baseline, while adding the teacher's architectural components fully recovered performance for these families. The failure persisted across model sizes, training durations, and out-of-distribution settings.

## Contributions
The paper provides a large-scale empirical analysis revealing that Attention Transfer is not universally effective and identifies architectural mismatch as the root cause. It proposes a simple fix-adding the teacher's native architectural components-to unlock the teacher's attention for mismatched students.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/156052)
