An Efficient Transformer Decoder with Compressed Sub-layers
Not on the map. Why?
Abstract (arXiv)
The large attention-based encoder-decoder network (Transformer) has become prevailing recently due to its effectiveness. But the high computation complexity of its decoder raises the inefficiency issue. By examining the mathematic formulation of the decoder, we show that under some mild conditions, the architecture could be simplified by compressing its sub-layers, the basic building block of Transformer, and achieves a higher parallelism. We thereby propose Compressed Attention Network, whose decoder layer consists of only one sub-layer instead of three. Extensive experiments on 14 WMT machine translation tasks show that our model is 1.42x faster with performance on par with a strong baseline. This strong baseline is already 2x faster than the widely used standard baseline without loss in performance.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 27 of its 35 references that are in the map. First posted on arXiv 3 Jan 2021.
Builds on
27 of 35 references.
References · 27
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2016Layer Normalizationcited by 5,579
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2016Identity Mappings in Deep Residual Networkscited by 1,960
- 2020Reformer: The Efficient Transformercited by 1,658
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
- 2017Mixed Precision Trainingcited by 1,135
- 2016Deep Networks with Stochastic Depthcited by 973
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2016Sequence-Level Knowledge Distillationcited by 761
15 more
- 2018Universal Transformerscited by 613
- 2017Non-Autoregressive Neural Machine Translationcited by 457
- 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
- 2019Learning Deep Transformer Models for Machine Translationcited by 309
- 2019Massively Multilingual Neural Machine Translationcited by 246
- 2018Adaptive Input Representations for Neural Language Modelingcited by 226
- 2018The Best of Both Worlds: Combining Recent Advances in Neural Machine Translationcited by 101
- 2019Improving Deep Transformer with Depth-Scaled Initialization and Merged Attentioncited by 59
- 2018Training Deeper Neural Machine Translation Models with Transparent Attentioncited by 37
- 2020Shallow-to-Deep Training for Neural Machine Translationcited by 36
- 2020Towards Fully 8-bit Integer Inference for the Transformer Modelcited by 35
- 2019Sharing Attention Weights for Fast Transformercited by 34
- 2018Accelerating Neural Transformer via an Average Attention Networkcited by 22
- 2018Findings of the Second Workshop on Neural Machine Translation and Generationcited by 5
- 2020Neural Machine Translation with Joint Representationcited by 2
Built on by
Citing papers per year: 2021: 6; 2022: 2; 2023: 2.
10 papers.
- 2021Towards Continual Knowledge Learning of Language Modelscited by 172
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 101
- 2021Instantaneous Grammatical Error Correction with Shallow Aggressive Decodingcited by 53
- 2023UniTabE: A Universal Pretraining Protocol for Tabular Foundation Model in Data Sciencecited by 28
- 2021RankNAS: Efficient Neural Architecture Search by Pairwise Rankingcited by 12
- 2021Efficient Inference for Multilingual Neural Machine Translationcited by 10
- 2022Building Multilingual Machine Translation Systems That Serve Arbitrary X-Y Translationscited by 4
- 2021Bag of Tricks for Optimizing Transformer Efficiencycited by 3
- 2022Probing Structured Pruning on Multilingual Pre-trained Models: Settings, Algorithms, and Efficiencycited by 3
- 2021The NiuTrans System for the WMT21 Efficiency Taskcited by 2
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systems23 Dec 2023
- 2023UniTabE: A Universal Pretraining Protocol for Tabular Foundation Model in Data Science18 Jul 2023
- 2022Building Multilingual Machine Translation Systems That Serve Arbitrary X-Y Translations30 Jun 2022
- 2022Probing Structured Pruning on Multilingual Pre-trained Models: Settings, Algorithms, and Efficiency6 Apr 2022
- 2021Towards Continual Knowledge Learning of Language Models7 Oct 2021
- 2021The NiuTrans System for the WMT21 Efficiency Task16 Sep 2021
- 2021RankNAS: Efficient Neural Architecture Search by Pairwise Ranking15 Sep 2021
- 2021Efficient Inference for Multilingual Neural Machine Translation14 Sep 2021
- 2021Bag of Tricks for Optimizing Transformer Efficiency9 Sep 2021
- 2021Instantaneous Grammatical Error Correction with Shallow Aggressive Decoding9 Jun 2021