mlsanityData to 14 Oct 2026

Alternative positional encoding functions for neural transformers

arXiv 2512.19323 ↗First posted 22 Dec 2025cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

A key module in neural transformer-based deep architectures is positional encoding. This module enables a suitable way to encode positional information as input for transformer neural layers. This success has been rooted in the use of sinusoidal functions of various frequencies, in order to capture recurrent patterns of differing typical periods. In this work, an alternative set of periodic functions is proposed for positional encoding. These functions preserve some key properties of sinusoidal ones, while they depart from them in fundamental ways. Some tentative experiments are reported, where the original sinusoidal version is substantially outperformed. This strongly suggests that the alternative functions may have a wider use in other transformer architectures.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 8 of its 10 references that are in the map. First posted on arXiv 22 Dec 2025.

Builds on

8 of 10 references.

References · 8

  1. 2017Attention Is All You Needcited by 60,361
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  4. 2018Self-Attention with Relative Position Representationscited by 1,120
  5. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
  6. 2016Multi30K: Multilingual English-German Image Descriptionscited by 250
  7. 2021Position Information in Transformers: An Overviewcited by 103
  8. 2022KERPLE: Kernelized Relative Positional Embedding for Length Extrapolationcited by 86

Built on by

Not cited yet.