Accelerating Neural Transformer via an Average Attention Network
Not on the map. Why?
Abstract (arXiv)
With parallelizable attention networks, the neural Transformer is very fast to train. However, due to the auto-regressive architecture and self-attention in the decoder, the decoding procedure becomes slow. To alleviate this issue, we propose an average attention network as an alternative to the self-attention network in the decoder of the neural Transformer. The average attention network consists of two layers, with an average layer that models dependencies on previous positions and a gating layer that is stacked over the average layer to enhance the expressiveness of the proposed attention network. We apply this network on the decoder part of the neural Transformer to replace the original target-side self-attention model. With masking tricks and dynamic programming, our model enables the neural Transformer to decode sentences over four times faster than its original version with almost no loss in training time and translation performance. We conduct a series of experiments on WMT17 translation tasks, where on 6 different language pairs, we obtain robust and consistent speed-ups in decoding.
Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). First posted on arXiv 2 May 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 8; 2022: 10; 2023: 0; 2024: 3; 2025: 0; 2026: 1.
22 papers.
Sort:
By area:
- 2021A Survey of Transformerscited by 399
- 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inferencecited by 115
- 2022Enable Deep Learning on Mobile Devices: Methods, Systems, and Applicationscited by 32
- 2021Gender Bias Amplification During Speed-Quality Optimization in Neural Machine Translationcited by 28
- 2022Examining Scaling and Transfer of Language Model Architectures for Machine Translationcited by 26
- 2022QaNER: Prompting Question Answering Models for Few-shot Named Entity Recognitioncited by 15
- 2022Multilingual Neural Machine Translation with Deep Encoder and Multiple Shallow Decoderscited by 12
- 2021WeChat Neural Machine Translation Systems for WMT21cited by 11
- 2021An Efficient Transformer Decoder with Compressed Sub-layerscited by 10
- 2022CAB: Comprehensive Attention Benchmarking on Long Sequence Modelingcited by 10
- 2022Non-Autoregressive Neural Machine Translation: A Call for Claritycited by 5
- 2024Cross-layer Attention Sharing for Pre-trained Large Language Modelscited by 5
10 more
- 2021Bag of Tricks for Optimizing Transformer Efficiencycited by 3
- 2022The Devil is in the Details: On the Pitfalls of Vocabulary Selection in Neural Machine Translationcited by 3
- 2021Discrete Cosine Transform as Universal Sentence Encodercited by 2
- 2021Distributionally Robust Recurrent Decoders with Random Network Distillationcited by 2
- 2022FL-Tuning: Layer Tuning for Feed-Forward Network in Transformercited by 2
- 2021Recurrent Stacking of Layers in Neural Networks: An Application to Neural Machine Translationcited by 1
- 2022BJTU-WeChat's Systems for the WMT22 Chat Translation Taskcited by 1
- 2024Dual-Pipeline with Low-Rank Adaptation for New Language Integration in Multilingual ASRcited by 1
- 2026Greedy-Gnorm: A Gradient Matrix Norm-Based Alternative to Attention Entropy for Head Pruningcited by 1
- 2022Summer: WeChat Neural Machine Translation Systems for the WMT22 Biomedical Translation Taskcited by 0
- 2026Greedy-Gnorm: A Gradient Matrix Norm-Based Alternative to Attention Entropy for Head Pruning4 Feb 2026
- 2024Cross-layer Attention Sharing for Pre-trained Large Language Models4 Aug 2024
- 2024Dual-Pipeline with Low-Rank Adaptation for New Language Integration in Multilingual ASR12 Jun 2024
- 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inference14 Mar 2024
- 2022Summer: WeChat Neural Machine Translation Systems for the WMT22 Biomedical Translation Task28 Nov 2022
- 2022BJTU-WeChat's Systems for the WMT22 Chat Translation Task28 Nov 2022
- 2022CAB: Comprehensive Attention Benchmarking on Long Sequence Modeling14 Oct 2022
- 2022FL-Tuning: Layer Tuning for Feed-Forward Network in Transformer30 Jun 2022
- 2022Multilingual Neural Machine Translation with Deep Encoder and Multiple Shallow Decoders5 Jun 2022
- 2022Non-Autoregressive Neural Machine Translation: A Call for Clarity21 May 2022
- 2022The Devil is in the Details: On the Pitfalls of Vocabulary Selection in Neural Machine Translation13 May 2022
- 2022Enable Deep Learning on Mobile Devices: Methods, Systems, and Applications25 Apr 2022
10 more
- 2022QaNER: Prompting Question Answering Models for Few-shot Named Entity Recognition3 Mar 2022
- 2022Examining Scaling and Transfer of Language Model Architectures for Machine Translation1 Feb 2022
- 2021Distributionally Robust Recurrent Decoders with Random Network Distillation25 Oct 2021
- 2021Bag of Tricks for Optimizing Transformer Efficiency9 Sep 2021
- 2021WeChat Neural Machine Translation Systems for WMT215 Aug 2021
- 2021Recurrent Stacking of Layers in Neural Networks: An Application to Neural Machine Translation18 Jun 2021
- 2021A Survey of Transformers8 Jun 2021
- 2021Discrete Cosine Transform as Universal Sentence Encoder2 Jun 2021
- 2021Gender Bias Amplification During Speed-Quality Optimization in Neural Machine Translation1 Jun 2021
- 2021An Efficient Transformer Decoder with Compressed Sub-layers3 Jan 2021
- 2021A Survey of Transformerscited by 399
- 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inferencecited by 115
- 2022Enable Deep Learning on Mobile Devices: Methods, Systems, and Applicationscited by 32
- 2021Gender Bias Amplification During Speed-Quality Optimization in Neural Machine Translationcited by 28
- 2022Examining Scaling and Transfer of Language Model Architectures for Machine Translationcited by 26
- 2022QaNER: Prompting Question Answering Models for Few-shot Named Entity Recognitioncited by 15
- 2022Multilingual Neural Machine Translation with Deep Encoder and Multiple Shallow Decoderscited by 12
- 2021WeChat Neural Machine Translation Systems for WMT21cited by 11
- 2021An Efficient Transformer Decoder with Compressed Sub-layerscited by 10
- 2022CAB: Comprehensive Attention Benchmarking on Long Sequence Modelingcited by 10
- 2022Non-Autoregressive Neural Machine Translation: A Call for Claritycited by 5
- 2021Bag of Tricks for Optimizing Transformer Efficiencycited by 3
12 most cited of 21 All 21 (JSON)
- 2026Greedy-Gnorm: A Gradient Matrix Norm-Based Alternative to Attention Entropy for Head Pruning4 Feb 2026
- 2024Dual-Pipeline with Low-Rank Adaptation for New Language Integration in Multilingual ASR12 Jun 2024
- 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inference14 Mar 2024
- 2022Summer: WeChat Neural Machine Translation Systems for the WMT22 Biomedical Translation Task28 Nov 2022
- 2022BJTU-WeChat's Systems for the WMT22 Chat Translation Task28 Nov 2022
- 2022CAB: Comprehensive Attention Benchmarking on Long Sequence Modeling14 Oct 2022
- 2022FL-Tuning: Layer Tuning for Feed-Forward Network in Transformer30 Jun 2022
- 2022Multilingual Neural Machine Translation with Deep Encoder and Multiple Shallow Decoders5 Jun 2022
- 2022Non-Autoregressive Neural Machine Translation: A Call for Clarity21 May 2022
- 2022The Devil is in the Details: On the Pitfalls of Vocabulary Selection in Neural Machine Translation13 May 2022
- 2022Enable Deep Learning on Mobile Devices: Methods, Systems, and Applications25 Apr 2022
- 2022QaNER: Prompting Question Answering Models for Few-shot Named Entity Recognition3 Mar 2022
12 newest of 21 All 21 (JSON)