Conference paper Open Access

Analysis of Positional Encodings for Neural Machine Translation

Rosendahl, Jan; Tran, Viet Anh Khoa; Wang, Weiyue; Ney, Hermann

Citation Style Language JSON Export

  "publisher": "Zenodo", 
  "DOI": "10.5281/zenodo.3525024", 
  "author": [
      "family": "Rosendahl, Jan"
      "family": "Tran, Viet Anh Khoa"
      "family": "Wang, Weiyue"
      "family": "Ney, Hermann"
  "issued": {
    "date-parts": [
  "abstract": "<p>In this work we analyze and compare the behavior of the Transformer architecture when using different positional encoding methods. While absolute and relative positional encoding perform equally strong overall, we show that relative positional encoding is vastly superior (4.4% to 11.9% BLEU) when translating a sentence that is longer than any observed training sentence. We further propose and analyze variations of relative positional encoding and observe that the number of trainable parameters can be reduced without a performance loss, by using fixed encoding vectors or by removing some of the positional encoding vectors.</p>", 
  "title": "Analysis of Positional Encodings for Neural Machine Translation", 
  "type": "paper-conference", 
  "id": "3525024"
All versions This version
Views 150151
Downloads 131130
Data volume 63.6 MB63.1 MB
Unique views 136137
Unique downloads 123122


Cite as