What Do Position Embeddings Learn? An Empirical Study of Pre-Trained Language Model Positional Encoding

By Yu-An Wang, Yun-Nung Chen. 2020

116 citations recorded by the source corpus.

In recent years, pre-trained Transformers have dominated the majority of NLP benchmark tasks. Many variants of pre-trained Transformers have kept breaking out, and most focus on designing different pre-training objectives or variants of self-attention. Embedding the position information in the self-attention mechanism is also an indispensable factor in Transformers however is often discussed at will. Therefore, this paper carries out an empirical study on position embeddings of mainstream pre-trained Transformers, which mainly focuses on two questions: 1) Do position embeddings really learn the meaning of positions? 2) How do these different learned position embeddings affect Transformers for NLP tasks? This paper focuses on providing a new insight of pre-trained position embeddings through feature-level analysis and empirical experiments on most of iconic NLP tasks. It is believed that our experimental results can guide the future work to choose the suitable positional encoding function for specific tasks given the application property.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Natural Language Processing, Model Architectures

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Naser Ahmadi
  2. Ghulam Rasool
  3. Preslav Nakov
  4. Ravi Prakash Ramachandran
  5. Paolo Papotti
  6. Shamoon Siddiqui
  7. Mohammed Saeed
  8. Ian E. Nielsen

In Computer Vision and Pattern Recognition

  1. Ghulam Rasool
  2. Preslav Nakov
  3. Ravi Prakash Ramachandran
  4. Paolo Papotti
  5. Shamoon Siddiqui
  6. Mohammed Saeed
  7. Ian E. Nielsen
  8. Aakash Tripathi

In Natural Language Processing

  1. Preslav Nakov
  2. Paolo Papotti
  3. Mohammed Saeed
  4. Naser Ahmadi
  5. Neema Kotonya
  6. Francesca Toni
  7. Todor Mihaylov
  8. Yonatan Belinkov

In Model Architectures

  1. Ghulam Rasool
  2. Preslav Nakov
  3. Ravi Prakash Ramachandran
  4. Shamoon Siddiqui
  5. Ian E. Nielsen
  6. Aakash Tripathi
  7. Sabeen Ahmed

Citations in the corpus