On the Sub-Layer Functionalities of Transformer Decoder
Not on the map. Why?
Abstract (arXiv)
There have been significant efforts to interpret the encoder of Transformer-based encoder-decoder architectures for neural machine translation (NMT); meanwhile, the decoder remains largely unexamined despite its critical role. During translation, the decoder must predict output tokens by considering both the source-language text from the encoder and the target-language prefix produced in previous steps. In this work, we study how Transformer-based decoders leverage information from the source and target languages -- developing a universal probe task to assess how information is propagated through each module of each decoder layer. We perform extensive experiments on three major translation datasets (WMT En-De, En-Fr, and En-Zh). Our analysis provides insight on when and where decoders leverage different sources. Based on these insights, we demonstrate that the residual feed-forward module in each Transformer decoder layer can be dropped with minimal loss of performance -- a significant reduction in computation and number of parameters, and consequently a significant boost to both training and inference speed.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). First posted on arXiv 6 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 3; 2023: 3; 2024: 3; 2025: 1.
12 papers.
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
- 2021A Survey of Transformerscited by 399
- 2024Understanding LLMs: A Comprehensive Overview from Training to Inferencecited by 58
- 2021Improving Multilingual Translation by Representation and Gradient Regularizationcited by 31
- 2022Can Transformer be Too Compositional? Analysing Idiom Processing in Neural Machine Translationcited by 28
- 2024Salute the Classic: Revisiting Challenges of Machine Translation in the Age of Large Language Modelscited by 17
- 2024Decoder-only Streaming Transformer for Simultaneous Translationcited by 11
- 2023ChatGPT-Like Large-Scale Foundation Models for Prognostics and Health Management: A Survey and Roadmapscited by 8
- 2022Unveiling the Black Box of PLMs with Semantic Anchors: Towards Interpretable Neural Semantic Parsingcited by 5
- 2025Predicate Renaming via Large Language Modelscited by 2
- 2023Predicting Human Translation Difficulty with Neural Machine Translationcited by 1
- 2023Greedy Ordering of Layer Weight Matrices in Transformers Improves Translationcited by 0
- 2025Predicate Renaming via Large Language Models29 Oct 2025
- 2024Decoder-only Streaming Transformer for Simultaneous Translation6 Jun 2024
- 2024Salute the Classic: Revisiting Challenges of Machine Translation in the Age of Large Language Models16 Jan 2024
- 2024Understanding LLMs: A Comprehensive Overview from Training to Inference4 Jan 2024
- 2023Predicting Human Translation Difficulty with Neural Machine Translation19 Dec 2023
- 2023ChatGPT-Like Large-Scale Foundation Models for Prognostics and Health Management: A Survey and Roadmaps10 May 2023
- 2023Greedy Ordering of Layer Weight Matrices in Transformers Improves Translation4 Feb 2023
- 2022Unveiling the Black Box of PLMs with Semantic Anchors: Towards Interpretable Neural Semantic Parsing4 Oct 2022
- 2022Can Transformer be Too Compositional? Analysing Idiom Processing in Neural Machine Translation30 May 2022
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Space28 Mar 2022
- 2021Improving Multilingual Translation by Representation and Gradient Regularization10 Sep 2021
- 2021A Survey of Transformers8 Jun 2021