Research map / Architectures and efficiency / Attention and transformers
Differentiable Window for Dynamic Local Attention
Thanh-Tung Nguyen, Xuan-Phi Nguyen, Shafiq Joty, Xiaoli Li
Nanyang Technological University · A*STAR · Salesforce
Read the paperPlace an idea next to itCheck your own paper ↗
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.
On benchmark leaderboards
- IMDB leaderboard accuracy 87.98 · rank 117 of 174 papers
- SST leaderboard accuracy 82.13 · rank 20 of 38 papers
- WMT14 En-De newstest2014 leaderboard BLEU 28.25 · rank 26 of 36 papers
- WMT14 En-Fr newstest2014 leaderboard BLEU 40.32 · rank 10 of 13 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add differentiable window attention to encoder, decoder and cross-attention | Transformer base · WMT14 En-De | BLEU: 27.62 -> 28.25 | Improved |
| add differentiable window attention to encoder, decoder and cross-attention | Transformer base with localness · WMT14 En-Fr | BLEU: 39.47 -> 40.32 | Improved |
| add additive window attention to encoder | Transformer encoder · SST | accuracy: 79.73 -> 82.13 | Improved |
| add additive window attention to encoder | Transformer encoder · IMDB | accuracy: 84.61 -> 87.98 | Improved |
| add multiplicative window attention to decoder | Transformer decoder · One Billion Word LM | perplexity: 46.37 -> 44.00 | Improved |
| apply window attention to first 3 layers instead of all 6 (ablation) | Transformer base · WMT14 En-De | BLEU: 27.77 -> 27.90 (AW encoder) | Improved |
| use multiplicative instead of additive window in decoder self-attention (ablation) | Transformer decoder · WMT14 En-De | BLEU: 27.73 -> 27.88 | Improved |
| use additive instead of multiplicative window in encoder self-attention (ablation) | Transformer encoder · WMT14 En-De | BLEU: 27.25 -> 27.77 | Improved |
| use segment-based masking in cross-attention (ablation) | Cr(AW) · WMT14 En-De | BLEU: 27.97 -> 28.13 | Improved |
| use segment-based masking in encoder self-attention (ablation) | Enc(AW)-Dec(MW) · WMT14 En-De | BLEU: 28.11 -> 27.91 | Hurt |
Open problems in long-context KV and memory attention
How can long-context attention be made fast and small in memory without losing quality against full attention?
- Validated only on models up to about 13B parameters. · 8 papers state it
- Speedups are limited because the code is not fused or kernel-optimized. · 5 papers state it
- Compressed or sparse attention still trails full attention. · 4 papers state it
Closest papers by meaning
- Simple Local Attentions Remain Competitive for Long-Context Tasks (NAACL 2022 · similarity 0.84)
- Exploring Context Window of Large Language Models via Decomposed Positional Vectors (NeurIPS 2024 · similarity 0.84)
- Rethinking the Role of Efficient Attention in Hybrid Architectures (EMNLP 2026 · similarity 0.84)
- Cascaded Head-colliding Attention (ACL 2021 · similarity 0.83)
- VSA: Learning Varied-Size Window Attention in Vision Transformers (ECCV 2022 · similarity 0.83)
- Towards Understanding the Word Sensitivity of Attention Layers: A Study via Random Features (ICML 2024 · similarity 0.82)
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.