Passer à la navigation principale Passer à la recherche Passer au contenu principal

The Locality and Symmetry of Positional Encodings

  • INRIA Institut National de Recherche en Informatique et en Automatique

Résultats de recherche: Le chapitre dans un livre, un rapport, une anthologie ou une collectionContribution à une conférenceRevue par des pairs

Résumé

Positional Encodings (PEs) are used to inject word-order information into transformer-based language models. While they can significantly enhance the quality of sentence representations, their specific contribution to language models is not fully understood, especially given recent findings that various positional encodings are insensitive to word order. In this work, we conduct a systematic study of positional encodings in Bidirectional Masked Language Models (BERT-style), which complements existing work in three aspects: (1) We uncover the core function of PEs by identifying two common properties, Locality and Symmetry; (2) We show that the two properties are closely correlated with the performances of downstream tasks; (3) We quantify the weakness of current PEs by introducing two new probing tasks, on which current PEs perform poorly. We believe that these results are the basis for developing better PEs for transformer-based language models. The code is available at https://github.com/tigerchen52/locality_symmetry.

langue originaleAnglais
titreFindings of the Association for Computational Linguistics
Sous-titreEMNLP 2023
EditeurAssociation for Computational Linguistics (ACL)
Pages14313-14331
Nombre de pages19
ISBN (Electronique)9798891760615
Les DOIs
étatPublié - 1 janv. 2023
Evénement2023 Findings of the Association for Computational Linguistics: EMNLP 2023 - Hybrid, Singapour
Durée: 6 déc. 202310 déc. 2023

Série de publications

NomFindings of the Association for Computational Linguistics: EMNLP 2023

Une conférence

Une conférence2023 Findings of the Association for Computational Linguistics: EMNLP 2023
Pays/TerritoireSingapour
La villeHybrid
période6/12/2310/12/23

Empreinte digitale

Examiner les sujets de recherche de « The Locality and Symmetry of Positional Encodings ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation