Dynamic Position Encoding for Transformers
Not on the map. Why?
Abstract (arXiv)
Recurrent models have been dominating the field of neural machine translation (NMT) for the past few years. Transformers citepvaswani2017attention, have radically changed it by proposing a novel architecture that relies on a feed-forward backbone and self-attention mechanism. Although Transformers are powerful, they could fail to properly encode sequential/positional information due to their non-recurrent nature. To solve this problem, position embeddings are defined exclusively for each time step to enrich word information. However, such embeddings are fixed after training regardless of the task and the word ordering system of the source or target language. In this paper, we propose a novel architecture with new position embeddings depending on the input text to address this shortcoming by taking the order of target words into consideration. Instead of using predefined position embeddings, our solution generates new embeddings to refine each word's position information. Since we do not dictate the position of source tokens and learn them in an end-to-end fashion, we refer to our method as dynamic position encoding (DPE). We evaluated the impact of our model on multiple datasets to translate from English into German, French, and Italian and observed meaningful improvements in comparison to the original Transformer.
Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 9 of its 21 references that are in the map. First posted on arXiv 18 Apr 2022.
Builds on
9 of 21 references.
References · 9
- 2017Attention Is All You Needcited by 60,106
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,910
- 2018Self-Attention with Relative Position Representationscited by 1,116
- 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
- 2019Jointly Learning to Align and Translate with Transformer Modelscited by 75
- 2020Learning to Encode Position for Transformer with Continuous Dynamical Modelcited by 61
- 2015A Survey of Word Reordering in Statistical Machine Translation: Computational Models and Language Phenomenacited by 5
- 2015LSTM Neural Reordering Feature for Statistical Machine Translationcited by 3
- 2020Explicit Reordering for Neural Machine Translationcited by 1
Built on by
Not cited yet.