szagoruyko/attention-transfer
Improving Convolutional Networks via Attention Transfer (ICLR 2017) observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3515
- days_rel: n/a
- days_push: 2975
- n_releases_24m: 0
Adoption not part of the score
1463 stars · 273 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PyTorch reference implementation of the ICLR 2017 paper 'Paying More Attention to Attention', which improves convolutional neural networks by transferring spatial attention maps from a teacher network to a student network. It includes CIFAR-10 and ImageNet experiment code, pretrained ResNet-18 models, and a Jupyter notebook for visualizing attention maps.
Use cases
- implement attention transfer for knowledge distillation in pytorch
- reproduce cifar-10 and imagenet results from the attention transfer paper
- train a smaller student resnet using a larger teacher network
- visualize attention maps of a resnet-34 in a jupyter notebook
- download a pretrained resnet-18 model trained with attention transfer
- compare attention transfer against classic knowledge distillation
When to choose
- you want the official reference code for the attention transfer distillation method
- you are doing research on knowledge distillation or attention-based transfer in CNNs
- you need reproducible CIFAR-10 baselines for teacher-student training in PyTorch
When to avoid
- you need a maintained, production-ready training framework
- you require a permissively licensed dependency - the repo has no explicit license
- you want transformer or NLP attention mechanisms rather than CNN spatial attention
- you need grad-based attention transfer, which was never added to the repo
Facets
library · maturity maintenance
machine-learning deep-learning image-processing computer-vision deep-learning computer-vision machine-learning python pytorch knowledge-distillation attention-maps student-teacher-networks cifar-10 imagenet resnet research-code iclr-2017 jupyter-notebook research gpu
6 sources
- readme: https://github.com/szagoruyko/attention-transfer · fetched 2026-08-28 · 12dbdfc68ffc
- homepage: https://arxiv.org/abs/1612.03928 · fetched 2026-08-29 · b21bffa74ebd
- site_page: https://info.arxiv.org/about/donate.html · fetched 2026-08-29 · cca9c3a11c56
- site_page: https://info.arxiv.org/about/ourmembers.html · fetched 2026-08-29 · 47cbc55ff1de
- site_page: https://info.arxiv.org/about · fetched 2026-08-29 · a1f16f915a9a
- site_page: https://info.arxiv.org/labs/index.html · fetched 2026-08-29 · b14a8d05a0ec
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| szagoruyko/attention-transfer | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="szagoruyko/attention-transfer")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem