Research map / Architectures and efficiency / Attention and transformers
How Much Attention Do You Need? A Granular Analysis of Neural Machine Translation Architectures
Tobias Domhan
Amazon
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
- WMT14 En-De newstest2014 leaderboard BLEU 27.5 · rank 29 of 36 papers
This paper tried a common change: Add positional encoding
add positional embeddings · WMT'17 EN-DE · BLEU: 24.4 -> 24.1 Hurt
What 733 accepted papers report for this change
- 590 improved
- 67 no clear effect
- 9 mixed
- 67 hurt
- Learning-Augmented Scalable Linear Assignment Problem Optimization via Neural Dual Warm-Starts ICML 2026 · add positional encodings to features (d=13 -> d=21) · Block-structured, N=4096 · speedupImproved
- Mesh Based Simulations with Spatial and Temporal awareness ICML 2026 · use learned positional embedding, learnable relative bias or weighted adjacency instead of RoPE · Aneurysm · RMSEHurt
- Sparse ActionGen: Accelerating Diffusion Policy with Real-time Pruning ICML 2026 · add sinusoidal positional encoding to the pruner · Robomimic Tool Hang · success rate (%): 28 -> 54Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add residual upscaling feed-forward layers (ablation) | RNN-based NMT · WMT'17 EN-DE | BLEU: 25.5 -> 26.7 | Improved |
| add multiple source attention layers (one after each RNN layer) (ablation) | RNN-based NMT · WMT'17 EN-DE | BLEU: 24.0 -> 25.5 | Improved |
| add multi-head attention (single source attention) (ablation) | RNN-based NMT · WMT'17 EN-DE | BLEU: 23.8 -> 24.4 | Improved |
| add layer normalization on residual block inputs (ablation) | RNN-based NMT · WMT'17 EN-DE | BLEU: 24.1 -> 24.0 | Hurt |
| add positional embeddings (ablation) | RNN-based NMT · WMT'17 EN-DE | BLEU: 24.4 -> 24.1 | Hurt |
| attend to different encoder blocks (increasing or decreasing) instead of top block (ablation) | Transformer source attention · WMT'17 EN-DE | BLEU: 27.6 -> 27.3 (increasing), 27.1 (decreasing) | Hurt |
| add residual feed-forward layers (ablation) | CNN-based NMT · WMT'17 EN-DE | BLEU: 25.4 -> 26.8 (GLU) | Improved |
| replace CNN-GLU with CNN-ReLU after adding norm, mh and ff (ablation) | CNN-based NMT · WMT'17 EN-DE | BLEU: 26.8 vs 26.9 | No clear effect |
| replace self-attention with RNN or CNN on decoder side (ablation) | Transformer · WMT'17 EN-DE | BLEU: 27.6 -> 27.4 (RNN), 27.6 (CNN) | No clear effect |
| replace self-attention with RNN or CNN on encoder side (ablation) | Transformer · WMT'17 EN-DE / LV-EN | BLEU: up to 1.5 BLEU drop, e.g. 18.3 -> 16.8 on LV-EN with CNN | Hurt |
| remove decoder self-attention entirely (ablation) | Transformer · WMT'17 EN-DE | BLEU: 27.6 -> 25.3 | Hurt |
| CNN-based final model vs Transformer | Transformer-style CNN · WMT'17 EN-DE | BLEU: 27.6 -> 26.8 | 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
- Recurrent Attention for Neural Machine Translation (EMNLP 2021 · similarity 0.93)
- Why Self-Attention? A Targeted Evaluation of Neural Machine Translation Architectures (EMNLP 2018 · similarity 0.90)
- Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Pruned (ACL 2019 · similarity 0.90)
- Fixed Encoder Self-Attention Patterns in Transformer-Based Machine Translation (EMNLP 2020 · similarity 0.90)
- Training Deeper Neural Machine Translation Models with Transparent Attention (EMNLP 2018 · similarity 0.89)
- Attention is All you Need (NeurIPS 2017 · similarity 0.89)
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.