scimeatlas

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

ACL 2023Architectures and efficiency › Attention and transformersapproach: Attention head and block redesignopen problems in this approach4 citations (OpenAlex)

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 changedWhereMeasuredEffect
use efficient attention variants instead of vanilla at typical input lengthstext and speech Transformers · inference latency / max-memorylatency, memory: tipping point 1750-2000 tokensHurt
use efficient variants for training max-memorytext Transformers · training max-memorymemory: tipping point ~1500 tokensMixed
use efficient variants for training max-memoryspeech Transformers (L-HuBERT) · training max-memorymemory: tipping point ~0-250 tokensImproved
use efficient variants (Swin)image Transformers · all metrics except throughputlatency, memory: tipping point 500-700 pixelsMixed
use efficient variantsall modalities · throughputthroughputHurt
pad inputs to multiples of 512 (Longformer) or 224 (Swin)Longformer, Swin · short inputslatency, memory, throughputHurt
replace full self-attention with sliding window in HuBERT without pretrainingL-HuBERT · SUPERB ASR frozenWER: 7.09 -> 14.48 (window 100)Hurt
finetune L-HuBERT instead of freezingL-HuBERT window 100 · SUPERB ASRWER: 14.48 -> 7.39Improved
use larger window (100 instead of 32) (ablation)L-HuBERT · SUPERB ASRWER: 21.06 -> 14.48 (frozen); 8.52 -> 7.39 (finetune)Improved
Longformer using two sets of QKV projectionsLongformer · parameter countparameters: 109M -> 148M vs BERTHurt

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy