Research map / Architectures and efficiency / Attention and transformers
On Sparsifying Encoder Outputs in Sequence-to-Sequence Models
Biao Zhang, Ivan Titov, Rico Sennrich
University of Edinburgh · University of Amsterdam · University of Zurich
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 leaderboard BLEU 27.06 · rank 169 of 210 papers
- CNN/DailyMail leaderboard ROUGE-L 36.51 · rank 66 of 73 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| prune about 40% of source encodings with the L0 sparsity layer | Transformer base · WMT14 En-De / CNN/DM | BLEU / ROUGE-L: -0.5 BLEU and -0.1 ROUGE-L | No clear effect |
| prune about 70% of source encodings | Transformer base · summarization vs translation | ROUGE-L / BLEU: -1.89 ROUGE-L versus -3.0 BLEU | Hurt |
| use the sparsity layer for decoding on long-input summarization | Transformer base · WikiSum | decoding speedup: 1.00x -> 1.65x | Improved |
| use the sparsity layer for decoding on translation | Transformer base · WMT14 En-De / WMT18 Zh-En | decoding speedup: 1.01x and 0.98x | No clear effect |
| train the sparsity layer from scratch instead of finetuning (ablation) | Transformer base · WMT14 En-De | BLEU: 27.03 vs 27.04 | No clear effect |
| insert sparsity layers between every adjacent encoder layer pair (ablation) | Transformer base · WMT14 En-De | BLEU: 27.04 -> 26.74 | Hurt |
| replace learned gates with POS rule pattern (ablation) | sparsity layer · WMT14 En-De | BLEU: 27.06 -> 27.11 | No clear effect |
| replace learned gates with frequency rule pattern (ablation) | sparsity layer · WMT14 En-De | BLEU: 27.06 -> 26.98 | No clear effect |
| drop rare words instead of frequent words (Inv Freq) (ablation) | rule-based pattern · WMT14 En-De | BLEU: -0.64 BLEU | Hurt |
| replace learned gates with rule patterns developed on translation (ablation) | sparsity layer · CNN/Daily Mail | ROUGE-L: -5.82 to -0.84 RL | Hurt |
| replace learned gates with Group (odd positions) pattern (ablation) | sparsity layer · CNN/Daily Mail | ROUGE-L: 36.51 -> 30.69 | Hurt |
| add the sparsity layer (47% sparsity) to Transformer | Transformer base · WMT14 En-De | share of source words with attention weight < 0.6: 49.7% -> 4.5% | Improved |
Open problems in efficient language transformers
Which efficient transformer designs keep their quality, speed and memory gains at larger scale and in more languages?
- Experiments stop at small models, often 1B parameters or fewer. · 10 papers state it
- The method is slower or heavier than its baseline in training or inference. · 10 papers state it
- Only English or alphabetic languages were tested. · 9 papers state it
Closest papers by meaning
- Sparse Sequence-to-Sequence Models (ACL 2019 · similarity 0.86)
- Trainable Decoding of Sets of Sequences for Neural Sequence Models (ICML 2019 · similarity 0.86)
- A causal framework for explaining the predictions of black-box sequence-to-sequence models (EMNLP 2017 · similarity 0.84)
- Von Mises-Fisher Loss for Training Sequence to Sequence Models with Continuous Outputs (ICLR 2019 · similarity 0.84)
- Non-autoregressive Sequence-to-Sequence Vision-Language Models (CVPR 2024 · similarity 0.83)
- Progressive Inference: Explaining Decoder-Only Sequence Classification Models Using Intermediate Predictions (ICML 2024 · similarity 0.83)
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.