Research map / Architectures and efficiency / Attention and transformers
When to Use Efficient Self Attention? Profiling Text, Speech and Image Transformer Variants
Anuj Diwan, Eunsol Choi, David Harwath
University of Texas at Austin
Read the paperPlace an idea next to itCheck your own paper ↗
10measured effects
3improved
5hurt
2mixed
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use efficient attention variants instead of vanilla at typical input lengths | text and speech Transformers · inference latency / max-memory | latency, memory: tipping point 1750-2000 tokens | Hurt |
| use efficient variants for training max-memory | text Transformers · training max-memory | memory: tipping point ~1500 tokens | Mixed |
| use efficient variants for training max-memory | speech Transformers (L-HuBERT) · training max-memory | memory: tipping point ~0-250 tokens | Improved |
| use efficient variants (Swin) | image Transformers · all metrics except throughput | latency, memory: tipping point 500-700 pixels | Mixed |
| use efficient variants | all modalities · throughput | throughput | Hurt |
| pad inputs to multiples of 512 (Longformer) or 224 (Swin) | Longformer, Swin · short inputs | latency, memory, throughput | Hurt |
| replace full self-attention with sliding window in HuBERT without pretraining | L-HuBERT · SUPERB ASR frozen | WER: 7.09 -> 14.48 (window 100) | Hurt |
| finetune L-HuBERT instead of freezing | L-HuBERT window 100 · SUPERB ASR | WER: 14.48 -> 7.39 | Improved |
| use larger window (100 instead of 32) (ablation) | L-HuBERT · SUPERB ASR | WER: 21.06 -> 14.48 (frozen); 8.52 -> 7.39 (finetune) | Improved |
| Longformer using two sets of QKV projections | Longformer · parameter count | parameters: 109M -> 148M vs BERT | Hurt |
Open problems in attention head and block redesign
Do attention redesigns still help at large scale, or only in small models and carefully set conditions?
- Theory rests on simplifying assumptions that real transformers break. · 13 papers state it
- Tested only on small models, not at LLM scale. · 12 papers state it
- Gains over the baseline attention are small or mixed. · 10 papers state it
Closest papers by meaning
- Understanding the Role of Self Attention for Efficient Speech Recognition (ICLR 2022 · similarity 0.90)
- Theory, Analysis, and Best Practices for Sigmoid Self-Attention (ICLR 2025 · similarity 0.90)
- Efficient Long-Range Transformers: You Need to Attend More, but Not Necessarily at Every Layer (EMNLP 2023 · similarity 0.90)
- Long-Short Transformer: Efficient Transformers for Language and Vision (NeurIPS 2021 · similarity 0.90)
- Curse of High Dimensionality Issue in Transformer for Long Context Modeling (ICML 2025 · similarity 0.88)
- Memorization Capacity of Multi-Head Attention in Transformers (ICLR 2024 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.