mlsanityData to 7 Oct 2026

PoPE: Legendre Orthogonal Polynomials Based Position Encoding for Large Language Models

arXiv 2405.04585 ↗First posted 29 Apr 2024cs.CL cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

There are several improvements proposed over the baseline Absolute Positional Encoding (APE) method used in original transformer. In this study, we aim to investigate the implications of inadequately representing positional encoding in higher dimensions on crucial aspects of the attention mechanism, the model's capacity to learn relative positional information, and the convergence of models, all stemming from the choice of sinusoidal basis functions. Through a combination of theoretical insights and empirical analyses, we elucidate how these challenges extend beyond APEs and may adversely affect the performance of Relative Positional Encoding (RPE) methods, such as Rotatory Positional Encoding (RoPE). Subsequently, we introduce an innovative solution termed Orthogonal Polynomial Based Positional Encoding (PoPE) to address some of the limitations associated with existing methods. The PoPE method encodes positional information by leveraging Orthogonal Legendre polynomials. Legendre polynomials as basis functions offers several desirable properties for positional encoding, including improved correlation structure, non-periodicity, orthogonality, and distinct functional forms among polynomials of varying orders. Our experimental findings demonstrate that transformer models incorporating PoPE outperform baseline transformer models on the Multi30k English-to-German translation task, thus establishing a new performance benchmark. Furthermore, PoPE-based transformers exhibit significantly accelerated convergence rates. Additionally, we will present novel theoretical perspectives on position encoding based on the superior performance of PoPE.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 12 of its 20 references that are in the map. First posted on arXiv 29 Apr 2024.

Builds on

12 of 20 references.

References · 12

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  4. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
  5. 2018Self-Attention with Relative Position Representationscited by 1,112
  6. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
  7. 2016Multi30K: Multilingual English-German Image Descriptionscited by 250
  8. 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
  9. 2021A Simple and Effective Positional Encoding for Transformerscited by 37
  10. 2020Dynamic Context-guided Capsule Network for Multimodal Machine Translationcited by 36
  11. 2019Multimodal Machine Translation through Visuals and Speechcited by 29
  12. 2022Distill the Image to Nowhere: Inversion Knowledge Distillation for Multimodal Machine Translationcited by 13

Built on by

Not cited yet.