paper-with-me

Papers

Rethinking Positional Encoding

2021-07-06 · Jianqiao Zheng, Sameera Ramasinghe, Simon Lucey

It is well noted that coordinate based MLPs benefit -- in terms of preserving high-frequency information -- through the encoding of coordinate positions as an array of Fourier features. Hitherto, the rationale for the effectiveness of these positional encodings has been solely studied through a Fourier lens. In this paper, we strive to broaden this understanding by showing that alternative non-Fourier embedding functions can indeed be used for positional encoding. Moreover, we show that their performance is entirely determined by a trade-off between the stable rank of the embedded matrix and the distance preservation between embedded coordinates. We further establish that the now ubiquitous Fourier feature mapping of position is a special case that fulfills these conditions. Consequently, we present a more general theory to analyze positional encoding in terms of shifted basis functions. To this end, we develop the necessary theoretical formulae and empirically verify that our theoretical claims hold in practice. Codes available at https://github.com/osiriszjq/Rethinking-positional-encoding.

📄 PDF Abstract BibTeX arXiv:2107.02561

Code (1)

osiriszjq/Rethinking-positional-encoding 공식 구현

Similar Papers 제목 키워드 기반

DPPE: Rethinking Camera-Based Positional Encoding for Scaling Multi-View Transformers

2026-06-30 · Shun Kenney, Teppei Suzuki arxiv

The remarkable scalability of Transformers has expanded their application to 3D computer vision, where camera-aware positional encoding is crucial for providing spatial cues in multi-view geometry. Recent advancements ha…

Novel View Synthesis

Rethinking Addressing in Language Models via Contexualized Equivariant Positional Encoding

2025-01-01 · Jiajun Zhu, Peihao Wang, Ruisi Cai, Jason D. Lee 외

Transformers rely on both content-based and position-based addressing mechanisms to make predictions, but existing positional encoding techniques often diminish the effectiveness of position-based addressing. Many curren…

Arithmetic ReasoningLanguage ModelingLanguage Modellingparameter-efficient fine-tuning+1

Rethinking Positional Encoding for Neural Vehicle Routing

2026-05-12 · Chuanbo Hua, Federico Berto, Andre Hottung, Nayeli Gast Zepeda 외 arxiv

Transformer-based models have become the dominant paradigm for neural combinatorial optimization (NCO) of vehicle routing problems (VRPs), yet the role of positional encoding (PE) in these architectures remains largely u…

Rethinking Positional Encoding in Language Pre-training

2020-06-28 · ICLR 2021 1 · Guolin Ke, Di He, Tie-Yan Liu

In this work, we investigate the positional encoding methods used in language pre-training (e.g., BERT) and identify several problems in the existing formulations. First, we show that in the absolute positional encoding,…

Natural Language UnderstandingSentenceWord Embeddings

Rethinking the Role of Positional Encoding: Sliding-Window Transformers without PE Remain Turing Complete

2026-06-01 · Qian Li, Xinyu Mao, Shang-Hua Teng arxiv

Positional encoding (PE) is widely viewed as necessary for transformers to process ordered sequences: without them, the next-token map appears permutation-invariant in its context tokens. This intuition underlies all pri…