scimeatlas

Research map / Architectures and efficiency / Attention and transformers

On Sparsifying Encoder Outputs in Sequence-to-Sequence Models

Biao Zhang, Ivan Titov, Rico Sennrich

ACL 2021Architectures and efficiency › Attention and transformersapproach: Efficient language transformersopen problems in this approach10 citations (OpenAlex)

University of Edinburgh · University of Amsterdam · University of Zurich

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
2improved
5no clear effect
5hurt

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

Measured effects reported in the paper

What was changedWhereMeasuredEffect
prune about 40% of source encodings with the L0 sparsity layerTransformer base · WMT14 En-De / CNN/DMBLEU / ROUGE-L: -0.5 BLEU and -0.1 ROUGE-LNo clear effect
prune about 70% of source encodingsTransformer base · summarization vs translationROUGE-L / BLEU: -1.89 ROUGE-L versus -3.0 BLEUHurt
use the sparsity layer for decoding on long-input summarizationTransformer base · WikiSumdecoding speedup: 1.00x -> 1.65xImproved
use the sparsity layer for decoding on translationTransformer base · WMT14 En-De / WMT18 Zh-Endecoding speedup: 1.01x and 0.98xNo clear effect
train the sparsity layer from scratch instead of finetuning (ablation)Transformer base · WMT14 En-DeBLEU: 27.03 vs 27.04No clear effect
insert sparsity layers between every adjacent encoder layer pair (ablation)Transformer base · WMT14 En-DeBLEU: 27.04 -> 26.74Hurt
replace learned gates with POS rule pattern (ablation)sparsity layer · WMT14 En-DeBLEU: 27.06 -> 27.11No clear effect
replace learned gates with frequency rule pattern (ablation)sparsity layer · WMT14 En-DeBLEU: 27.06 -> 26.98No clear effect
drop rare words instead of frequent words (Inv Freq) (ablation)rule-based pattern · WMT14 En-DeBLEU: -0.64 BLEUHurt
replace learned gates with rule patterns developed on translation (ablation)sparsity layer · CNN/Daily MailROUGE-L: -5.82 to -0.84 RLHurt
replace learned gates with Group (odd positions) pattern (ablation)sparsity layer · CNN/Daily MailROUGE-L: 36.51 -> 30.69Hurt
add the sparsity layer (47% sparsity) to TransformerTransformer base · WMT14 En-Deshare 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?

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