Transformer Language Models without Positional Encodings Still Learn Positional Information
Not on the map. Why?
Abstract (arXiv)
Causal transformer language models (LMs), such as GPT-3, typically require some form of positional encoding, such as positional embeddings. However, we show that LMs without any explicit positional encoding are still competitive with standard models, and that this phenomenon is robust across different datasets, model sizes, and sequence lengths. Probing experiments reveal that such models acquire an implicit notion of absolute positions throughout the network, effectively compensating for the missing information. We conjecture that causal attention enables the model to infer the number of predecessors that each token can attend to, thereby approximating its absolute position. Our findings indicate that causal LMs might derive positional awareness not only from the explicit positioning mechanism, but also from the effects of the causal mask.
Key facts. Cited by 148 papers in the map (data through 7 Oct 2026). Builds on 18 of its 26 references that are in the map. First posted on arXiv 30 Mar 2022.
Builds on
18 of 26 references.
References · 18
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
6 more
- 2017Convolutional Sequence to Sequence Learningcited by 550
- 2018Adaptive Input Representations for Neural Language Modelingcited by 226
- 2021Masked Language Modeling and the Distributional Hypothesis: Order Word Matters Pre-training for Littlecited by 176
- 2019The Bottom-up Evolution of Representations in the Transformer: A Study with Machine Translation and Language Modeling Objectivescited by 139
- 2019Language Modeling with Deep Transformerscited by 96
- 2019Improving Transformer Models by Reordering their Sublayerscited by 52
Built on by
Citing papers per year: 2022: 13; 2023: 22; 2024: 41; 2025: 50; 2026: 22.
148 papers.
Sort:
By area:
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 390
- 2024SANA: Efficient High-Resolution Image Synthesis with Linear Diffusion Transformerscited by 331
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
- 2022Transformers Learn Shortcuts to Automatacited by 260
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
- 2023Focused Transformer: Contrastive Training for Context Scalingcited by 133
- 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 111
- 2023PoSE: Efficient Context Window Extension of LLMs via Positional Skip-wise Trainingcited by 109
38 more
- 2023Language Model Behavior: A Comprehensive Surveycited by 92
- 2023Neurons in Large Language Models: Dead, N-gram, Positionalcited by 88
- 2024Transformers Can Achieve Length Generalization But Not Robustlycited by 82
- 2023In-Context Learning through the Bayesian Prismcited by 78
- 2023Exposing Attention Glitches with Flip-Flop Language Modelingcited by 74
- 2024Contextual Position Encoding: Learning to Count What's Importantcited by 53
- 2024Length Generalization of Causal Transformers without Position Encodingcited by 46
- 2025Rope to Nope and Back Again: A New Hybrid Attention Strategycited by 46
- 2025Massive Values in Self-Attention Modules are the Key to Contextual Knowledge Understandingcited by 44
- 2024A Theoretical Understanding of Self-Correction through In-context Alignmentcited by 43
- 2024Number Cookbook: Number Understanding of Language Models and How to Improve Itcited by 41
- 2025Weight-sparse transformers have interpretable circuitscited by 40
- 2024Mechanistic Understanding and Mitigation of Language Model Non-Factual Hallucinationscited by 38
- 2023Length Extrapolation of Transformers: A Survey from the Perspective of Positional Encodingcited by 32
- 2024The What, Why, and How of Context Length Extension Techniques in Large Language Models -- A Detailed Surveycited by 32
- 2024Graph Transformers: A Surveycited by 32
- 2024In-Context Fine-Tuning for Time-Series Foundation Modelscited by 31
- 2024A phase transition between positional and semantic learning in a solvable model of dot-product attentioncited by 30
- 2024DAPE: Data-Adaptive Positional Encoding for Length Extrapolationcited by 30
- 2022Multitrack Music Transformercited by 28
- 2024V2PE: Improving Multimodal Long-Context Capability of Vision-Language Models with Variable Visual Position Encodingcited by 28
- 2024Circuit Complexity Bounds for RoPE-based Transformer Architecturecited by 26
- 2024Language Models Need Inductive Biases to Count Inductivelycited by 25
- 2024Universal Length Generalization with Turing Programscited by 25
- 2023Latent Positional Information is in the Self-Attention Variance of Transformer Language Models Without Positional Embeddingscited by 23
- 2024Two Stones Hit One Bird: Bilevel Positional Encoding for Better Length Extrapolationcited by 23
- 2025Extending the Context of Pretrained LLMs by Dropping Their Positional Embeddingscited by 23
- 2022Language model acceptability judgements are not always robust to contextcited by 22
- 2024Transformers Provably Learn Sparse Token Selection While Fully-Connected Nets Cannotcited by 21
- 2022Systematic Generalization and Emergent Structures in Transformers Trained on Structured Taskscited by 19
- 2023Window Attention is Bugged: How not to Interpolate Position Embeddingscited by 18
- 2024Exploring Context Window of Large Language Models via Decomposed Positional Vectorscited by 18
- 2022The Curious Case of Absolute Position Embeddingscited by 17
- 2025SWAN-GPT: An Efficient and Scalable Approach for Long-Context Language Modelingcited by 16
- 2024Scaling Stick-Breaking Attention: An Efficient Implementation and In-depth Studycited by 13
- 2025Blending Complementary Memory Systems in Hybrid Quadratic-Linear Transformerscited by 12
- 2024DAPE V2: Process Attention Score as Feature Map for Length Extrapolationcited by 10
- 2025HoPE: Hyperbolic Rotary Positional Encoding for Stable Long-Range Dependency Modeling in Large Language Modelscited by 10
50 most cited of 148 All 148 (JSON)
- 2026Shifting Mechanisms: How Positional Encoding Choice Shapes In-Context Retrieval29 Sep 2026
- 2026How Local Mixing Encodes Relative Position in Global NoPE Attention29 Sep 2026
- 2026RoPE is Dead, Long Live RoPE: Towards Scalable Data-aware Positional Encodings28 Sep 2026
- 2026Log-Depth Recurrent Language Modeling23 Sep 2026
- 2026ReCache: Efficient KV Cache Reuse and Compression for Tool-Augmented LLM Agents20 Aug 2026
- 2026Autoregressive latent diffusion for 3D molecule generation10 Jul 2026
- 2026Active Spatial Guidance: Eliminating Injected Positional Mechanisms in Vision Transformers1 Jul 2026
- 2026Temporal Context Reinstatement Drives Episodic-Like Order Memory in Long-Context Language Models5 Jun 2026
- 2026PJ-RoPE: A Fourier-Jet-Affine Position Space for Relative Attention3 Jun 2026
- 2026Graphical einops: bridging tensor networks and computation graphs29 May 2026
- 2026Key-Value Means: Transformers with Expandable Block-Recurrent Compressed Memory11 May 2026
- 2026Dual Triangle Attention: Effective Bidirectional Attention Without Positional Embeddings9 Apr 2026
38 more
- 2026A Foundation Model for Instruction-Conditioned In-Context Time Series Tasks23 Mar 2026
- 2026Seeking SOTA: Time-Series Forecasting Must Adopt Taxonomy-Specific Evaluation to Dispel Illusory Gains16 Mar 2026
- 2026RAT+: Train Dense, Infer Sparse -- Recurrence Augmented Attention for Dilated Inference20 Feb 2026
- 2026Competition for attention predicts good-to-bad tipping in AI16 Feb 2026
- 2026Character-aware Transformers Learn an Irregular Morphological Pattern Yet None Generalize Like Humans15 Feb 2026
- 2026Position Encoding with Random Float Sampling Enhances Length Generalization of Transformers15 Feb 2026
- 2026Seq2Seq2Seq: Lossless Data Compression via Discrete Latent Transformers and Reinforcement Learning12 Feb 2026
- 2026HopFormer: Sparse Graph Transformers with Explicit Receptive Field Control2 Feb 2026
- 2026ViT Registers and Fractal ViT21 Jan 2026
- 2026From Word Sequences to Behavioral Sequences: Adapting Modeling and Evaluation Paradigms for Longitudinal NLP12 Jan 2026
- 2025Deep learning for pedestrians: backpropagation in Transformers29 Dec 2025
- 2025Extending the Context of Pretrained LLMs by Dropping Their Positional Embeddings13 Dec 2025
- 2025Group Representational Position Encoding8 Dec 2025
- 2025DABench-LLM: Standardized and In-Depth Benchmarking of Post-Moore Dataflow AI Accelerators for LLMs4 Dec 2025
- 2025CafeQ: Calibration-free Quantization via Learned Transformations and Adaptive Rounding24 Nov 2025
- 2025Weight-sparse transformers have interpretable circuits17 Nov 2025
- 2025DoPE: Denoising Rotary Position Embedding12 Nov 2025
- 2025A Circular Argument : Does RoPE need to be Equivariant for Vision?11 Nov 2025
- 2025Robotic Classification of Divers' Swimming States using Visual Pose Keypoints as IMUs15 Oct 2025
- 2025Head-wise Adaptive Rotary Positional Encoding for Fine-Grained Image Generation12 Oct 2025
- 2025Efficient Autoregressive Inference for Transformer Probabilistic Models10 Oct 2025
- 2025LayerNorm Induces Recency Bias in Transformer Decoders25 Sep 2025
- 2025ExPe: Exact Positional Encodings for Generative Transformer Models with Extrapolating Capabilities23 Sep 2025
- 2025Language Modeling with Learned Meta-Tokens18 Sep 2025
- 2025Positional Encoding via Token-Aware Phase Attention16 Sep 2025
- 2025HoPE: Hyperbolic Rotary Positional Encoding for Stable Long-Range Dependency Modeling in Large Language Models5 Sep 2025
- 2025CEHR-XGPT: A Scalable Multi-Task Foundation Model for Electronic Health Records3 Sep 2025
- 2025BALM-TSF: Balanced Multimodal Alignment for LLM-Based Time Series Forecasting30 Aug 2025
- 2025Enhancing compact convolutional transformers with super attention26 Aug 2025
- 2025Position Bias Mitigates Position Bias:Mitigate Position Bias Through Inter-Position Knowledge Distillation21 Aug 2025
- 2025Multispin Physics of AI Tipping Points and Hallucinations1 Aug 2025
- 2025Graph Neural Networks as a Substitute for Transformers in Single-Cell Transcriptomics5 Jul 2025
- 2025SeqPE: Transformer with Sequential Position Encoding16 Jun 2025
- 2025Revisiting Transformers with Insights from Image Filtering and Boosting12 Jun 2025
- 2025Graph-KV: Breaking Sequence via Injecting Structural Biases into Large Language Models9 Jun 2025
- 2025Blending Complementary Memory Systems in Hybrid Quadratic-Linear Transformers31 May 2025
- 2025Bayesian Attention Mechanism: A Probabilistic Framework for Positional Encoding and Context Length Extrapolation28 May 2025
- 2025HoPE: Hybrid of Position Embedding for Long Context Vision-Language Models26 May 2025
50 newest of 148 All 148 (JSON)
- 2024SANA: Efficient High-Resolution Image Synthesis with Linear Diffusion Transformerscited by 331
- 2025Scalable Autoregressive 3D Molecule Generationcited by 7
- 2025LEDiT: Your Length-Extrapolatable Diffusion Transformer without Positional Encodingcited by 3
- 2025Unlocking the Power of Diffusion Models in Sequential Recommendation: A Simple and Effective Approachcited by 3
- 2026Autoregressive latent diffusion for 3D molecule generationcited by 0
- 2026Autoregressive latent diffusion for 3D molecule generation10 Jul 2026
- 2025Unlocking the Power of Diffusion Models in Sequential Recommendation: A Simple and Effective Approach26 May 2025
- 2025Scalable Autoregressive 3D Molecule Generation20 May 2025
- 2025LEDiT: Your Length-Extrapolatable Diffusion Transformer without Positional Encoding6 Mar 2025
- 2024SANA: Efficient High-Resolution Image Synthesis with Linear Diffusion Transformers14 Oct 2024
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2024A Theoretical Understanding of Self-Correction through In-context Alignmentcited by 43
- 2023Retrieval-Augmented Chain-of-Thought in Semi-structured Domainscited by 4
- 2025Rethinking Addressing in Language Models via Contexualized Equivariant Positional Encodingcited by 4
- 2022Achieving and Understanding Out-of-Distribution Generalization in Systematic Reasoning in Small-Scale Transformerscited by 2
- 2025Rethinking Addressing in Language Models via Contexualized Equivariant Positional Encoding1 Jan 2025
- 2024A Theoretical Understanding of Self-Correction through In-context Alignment28 May 2024
- 2023Retrieval-Augmented Chain-of-Thought in Semi-structured Domains22 Oct 2023
- 2023Code Llama: Open Foundation Models for Code24 Aug 2023
- 2022Achieving and Understanding Out-of-Distribution Generalization in Systematic Reasoning in Small-Scale Transformers7 Oct 2022
- 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 390
- 2024Jamba: A Hybrid Transformer-Mamba Language Model28 Mar 2024
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
- 2022Transformers Learn Shortcuts to Automatacited by 260
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
- 2023Focused Transformer: Contrastive Training for Context Scalingcited by 133
- 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 111
- 2023PoSE: Efficient Context Window Extension of LLMs via Positional Skip-wise Trainingcited by 109
- 2023Language Model Behavior: A Comprehensive Surveycited by 92
- 2023Neurons in Large Language Models: Dead, N-gram, Positionalcited by 88
- 2024Transformers Can Achieve Length Generalization But Not Robustlycited by 82
- 2023In-Context Learning through the Bayesian Prismcited by 78
12 most cited of 131 All 131 (JSON)
- 2026Shifting Mechanisms: How Positional Encoding Choice Shapes In-Context Retrieval29 Sep 2026
- 2026How Local Mixing Encodes Relative Position in Global NoPE Attention29 Sep 2026
- 2026RoPE is Dead, Long Live RoPE: Towards Scalable Data-aware Positional Encodings28 Sep 2026
- 2026Log-Depth Recurrent Language Modeling23 Sep 2026
- 2026Active Spatial Guidance: Eliminating Injected Positional Mechanisms in Vision Transformers1 Jul 2026
- 2026Temporal Context Reinstatement Drives Episodic-Like Order Memory in Long-Context Language Models5 Jun 2026
- 2026PJ-RoPE: A Fourier-Jet-Affine Position Space for Relative Attention3 Jun 2026
- 2026Graphical einops: bridging tensor networks and computation graphs29 May 2026
- 2026Key-Value Means: Transformers with Expandable Block-Recurrent Compressed Memory11 May 2026
- 2026Dual Triangle Attention: Effective Bidirectional Attention Without Positional Embeddings9 Apr 2026
- 2026A Foundation Model for Instruction-Conditioned In-Context Time Series Tasks23 Mar 2026
- 2026Seeking SOTA: Time-Series Forecasting Must Adopt Taxonomy-Specific Evaluation to Dispel Illusory Gains16 Mar 2026
12 newest of 131 All 131 (JSON)