AI Paper Atlas

Research map / Architectures and efficiency / Attention and transformers

The Impact of Positional Encoding on Length Generalization in Transformers

Amirhossein Kazemnejad, Inkit Padhi, Karthikeyan Natesan, Payel Das, Siva Reddy

NeurIPS 2023 · Architectures and efficiency › Attention and transformers · approach: Transformer expressivity and learnability · 32 citations (OpenAlex)

Read the paperCheck your idea against 137,217 papers

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Remove explicit positional encoding (NoPE) instead of using an explicit PEDecoder-only Transformers trained from scratch · Reasoning and mathematical downstream tasks, length extrapolationexact-match accuracyImproved
Use T5 Relative Bias instead of ALiBi, APE, or RotaryDecoder-only Transformers · Reasoning and mathematical downstream tasks, length extrapolationexact-match accuracyImproved
Use Rotary instead of APEDecoder-only Transformers · Downstream tasks, length extrapolationexact-match accuracyImproved
Add scratchpadModels with the evaluated positional encodings · Additionexact-match accuracyImproved
Add scratchpadModels with the evaluated positional encodings · Mathematical and reasoning tasks other than additionexact-match accuracyNo clear effect
Use Rotary instead of NoPE or ALiBi1B Transformers trained on a subset of StarCoder · Language modeling at lengths beyond the training contextperplexityHurt
Use ALiBi instead of NoPE1B Transformers trained on a subset of StarCoder · Language modeling at lengths larger than almost twice the training contextperplexityImproved

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy