Position Information in Transformers: An Overview

Authors

  • Philipp Dufter Ludwig-Maximilians-Universität München
  • Martin Schmitt Ludwig-Maximilians-Universität München
  • Hinrich Schütze Ludwig-Maximilians-Universität München

Abstract

Transformers are arguably the main workhorse in recent Natural Language Processing research. By definition a Transformer is invariant with respect to reordering of the input. However, language is inherently sequential and word order is essential to the semantics and syntax of an utterance. In this article, we provide an overview and theoretical comparison of existing methods to incorporate position information into Transformer models. The objectives of this survey are to (1) showcase that position information in Transformer is a vibrant and extensive research area; (2) enable the reader to compare existing methods by providing a unified notation and systematization of different approaches along important model dimensions; (3) indicate what characteristics of an application should be taken into account when selecting a position encoding; (4) provide stimuli for future research.

Author Biographies

  • Philipp Dufter, Ludwig-Maximilians-Universität München
    PostDoc at Center for Information- and Language Processing at Ludwig-Maximilians-Universität München
  • Martin Schmitt, Ludwig-Maximilians-Universität München
    PhD Student at Center for Information- and Language Processing at Ludwig-Maximilians-Universität München
  • Hinrich Schütze, Ludwig-Maximilians-Universität München
    Professor and Director at Center for Information- and Language Processing at Ludwig-Maximilians-Universität München

Published

2024-11-21