Length Generalization of Causal Transformers without Position Encoding
Not on the map. Why?
Abstract (arXiv)
Generalizing to longer sentences is important for recent Transformer-based language models. Besides algorithms manipulating explicit position features, the success of Transformers without position encodings (NoPE) provides a new way to overcome the challenge. In this paper, we study the length generalization property of NoPE. We find that although NoPE can extend to longer sequences than the commonly used explicit position encodings, it still has a limited context length. We identify a connection between the failure of NoPE's generalization and the distraction of attention distributions. We propose a parameter-efficient tuning for searching attention heads' best temperature hyper-parameters, which substantially expands NoPE's context size. Experiments on long sequence language modeling, the synthetic passkey retrieval task and real-world long context tasks show that NoPE can achieve competitive performances with state-of-the-art length generalization algorithms. The source code is publicly accessible
Key facts. Cited by 47 papers in the map (data through 14 Oct 2026). Builds on 20 of its 38 references that are in the map. First posted on arXiv 18 Apr 2024.
Builds on
20 of 38 references.
References · 20
- 2017Attention Is All You Needcited by 60,361
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 952
- 2023StarCoder: may the source be with you!cited by 799
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
8 more
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 213
- 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 150
- 2024LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuningcited by 136
- 2022Overcoming a Theoretical Limitation of Self-Attentioncited by 113
- 2024Long Context Compression with Activation Beaconcited by 104
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 72
- 2023A Survey on Long Text Modeling with Transformerscited by 47
- 2023Latent Positional Information is in the Self-Attention Variance of Transformer Language Models Without Positional Embeddingscited by 23
Built on by
Citing papers per year: 2024: 9; 2025: 28; 2026: 10.
47 papers.
Sort:
By area:
- 2024AuroraCap: Efficient, Performant Video Detailed Captioning and a New Benchmarkcited by 140
- 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 115
- 2025Rope to Nope and Back Again: A New Hybrid Attention Strategycited by 47
- 2025LongLLaDA: Unlocking Long Context Capabilities in Diffusion LLMscited by 40
- 2024Fourier Position Embedding: Enhancing Attention's Periodic Extension for Length Generalizationcited by 39
- 2025Understanding Transformer from the Perspective of Associative Memorycited by 34
- 2024DAPE: Data-Adaptive Positional Encoding for Length Extrapolationcited by 31
- 2025Extending the Context of Pretrained LLMs by Dropping Their Positional Embeddingscited by 26
- 2025SWAN-GPT: An Efficient and Scalable Approach for Long-Context Language Modelingcited by 19
- 2024Exploring Context Window of Large Language Models via Decomposed Positional Vectorscited by 18
- 2026Hybrid Linear Attention Done Right: Efficient Distillation and Effective Architectures for Extremely Long Contextscited by 18
- 2024ReAttention: Training-Free Infinite Context with Finite Attention Scopecited by 13
35 more
- 2025Solving Empirical Bayes via Transformerscited by 11
- 2024DAPE V2: Process Attention Score as Feature Map for Length Extrapolationcited by 10
- 2024Efficient Length-Generalizable Attention via Causal Retrieval for Long-Context Language Modelingcited by 9
- 2025Hardware-aligned Hierarchical Sparse Attention for Efficient Long-term Memory Accesscited by 9
- 2025Position Bias Mitigates Position Bias:Mitigate Position Bias Through Inter-Position Knowledge Distillationcited by 9
- 2026RoPE Distinguishes Neither Positions Nor Tokens in Long Contexts, Provablycited by 8
- 2025Whither symbols in the era of advanced neural networks?cited by 7
- 2025Graph-KV: Breaking Sequence via Injecting Structural Biases into Large Language Modelscited by 6
- 2025Deconstructing Positional Information: From Attention Logits to Training Biasescited by 5
- 2025Compressed Convolutional Attention: Efficient Attention in a Compressed Latent Spacecited by 5
- 2025DoPE: Denoising Rotary Position Embeddingcited by 5
- 2025Group Representational Position Encodingcited by 5
- 2025Rethinking Addressing in Language Models via Contexualized Equivariant Positional Encodingcited by 4
- 2025HoPE: Hybrid of Position Embedding for Long Context Vision-Language Modelscited by 4
- 2025The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architecturescited by 4
- 2025RePo: Language Models with Context Re-Positioningcited by 4
- 2024Mitigate Position Bias in Large Language Models via Scaling a Single Dimensioncited by 3
- 2025Language Models, Graph Searching, and Supervision Adulteration: When More Supervision is Less and How to Make More Morecited by 3
- 2025RAT: Bridging RNN Efficiency and Attention Accuracy via Chunk-based Sequence Modelingcited by 3
- 2025A Circular Argument : Does RoPE need to be Equivariant for Vision?cited by 3
- 2025Context-aware Biases for Length Extrapolationcited by 2
- 2025Positional Encoding via Token-Aware Phase Attentioncited by 1
- 2025Head-wise Adaptive Rotary Positional Encoding for Fine-Grained Image Generationcited by 1
- 2026Screening Is Enoughcited by 1
- 2025DocPolarBERT: A Pre-trained Model for Document Understanding with Relative Polar Coordinate Encoding of Layout Structurescited by 0
- 2025Home-made Diffusion Model from Scratch to Hatchcited by 0
- 2025An empirical study on the limitation of Transformers in program trace generationcited by 0
- 2025How Smoothing is N-simplicial Attention?cited by 0
- 2026HopFormer: Sparse Graph Transformers with Explicit Receptive Field Controlcited by 0
- 2026Dual Triangle Attention: Effective Bidirectional Attention Without Positional Embeddingscited by 0
- 2026Cracks in the Foundation: Seemingly Minor Architectural Choices Impact Long Context Extensioncited by 0
- 2026Resilient Concurrent Causal Discovery for Topological Event Sequencescited by 0
- 2026Multi-Head Self Attention is a Parameter Identification Mechanismcited by 0
- 2026VestigeKV: The NoPE-MLA KV Cache Carries Its Own Sparse-Attention Signal in a Vestigial Branchcited by 0
- 2026Asymptotic Behavior of Transformerscited by 0
- 2026Asymptotic Behavior of Transformers14 Oct 2026
- 2026VestigeKV: The NoPE-MLA KV Cache Carries Its Own Sparse-Attention Signal in a Vestigial Branch3 Sep 2026
- 2026Multi-Head Self Attention is a Parameter Identification Mechanism1 Sep 2026
- 2026Resilient Concurrent Causal Discovery for Topological Event Sequences22 Aug 2026
- 2026Cracks in the Foundation: Seemingly Minor Architectural Choices Impact Long Context Extension10 Aug 2026
- 2026RoPE Distinguishes Neither Positions Nor Tokens in Long Contexts, Provably15 May 2026
- 2026Dual Triangle Attention: Effective Bidirectional Attention Without Positional Embeddings9 Apr 2026
- 2026Screening Is Enough1 Apr 2026
- 2026HopFormer: Sparse Graph Transformers with Explicit Receptive Field Control2 Feb 2026
- 2026Hybrid Linear Attention Done Right: Efficient Distillation and Effective Architectures for Extremely Long Contexts29 Jan 2026
- 2025How Smoothing is N-simplicial Attention?17 Dec 2025
- 2025RePo: Language Models with Context Re-Positioning16 Dec 2025
35 more
- 2025Extending the Context of Pretrained LLMs by Dropping Their Positional Embeddings13 Dec 2025
- 2025Group Representational Position Encoding8 Dec 2025
- 2025DoPE: Denoising Rotary Position Embedding12 Nov 2025
- 2025A Circular Argument : Does RoPE need to be Equivariant for Vision?11 Nov 2025
- 2025Head-wise Adaptive Rotary Positional Encoding for Fine-Grained Image Generation12 Oct 2025
- 2025The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures6 Oct 2025
- 2025Compressed Convolutional Attention: Efficient Attention in a Compressed Latent Space6 Oct 2025
- 2025An empirical study on the limitation of Transformers in program trace generation29 Sep 2025
- 2025Positional Encoding via Token-Aware Phase Attention16 Sep 2025
- 2025Home-made Diffusion Model from Scratch to Hatch7 Sep 2025
- 2025Position Bias Mitigates Position Bias:Mitigate Position Bias Through Inter-Position Knowledge Distillation21 Aug 2025
- 2025Whither symbols in the era of advanced neural networks?7 Aug 2025
- 2025DocPolarBERT: A Pre-trained Model for Document Understanding with Relative Polar Coordinate Encoding of Layout Structures11 Jul 2025
- 2025RAT: Bridging RNN Efficiency and Attention Accuracy via Chunk-based Sequence Modeling6 Jul 2025
- 2025LongLLaDA: Unlocking Long Context Capabilities in Diffusion LLMs17 Jun 2025
- 2025Graph-KV: Breaking Sequence via Injecting Structural Biases into Large Language Models9 Jun 2025
- 2025HoPE: Hybrid of Position Embedding for Long Context Vision-Language Models26 May 2025
- 2025Understanding Transformer from the Perspective of Associative Memory26 May 2025
- 2025Deconstructing Positional Information: From Attention Logits to Training Biases19 May 2025
- 2025Hardware-aligned Hierarchical Sparse Attention for Efficient Long-term Memory Access23 Apr 2025
- 2025SWAN-GPT: An Efficient and Scalable Approach for Long-Context Language Modeling11 Apr 2025
- 2025Language Models, Graph Searching, and Supervision Adulteration: When More Supervision is Less and How to Make More More13 Mar 2025
- 2025Context-aware Biases for Length Extrapolation11 Mar 2025
- 2025Solving Empirical Bayes via Transformers14 Feb 2025
- 2025Rope to Nope and Back Again: A New Hybrid Attention Strategy30 Jan 2025
- 2025Rethinking Addressing in Language Models via Contexualized Equivariant Positional Encoding1 Jan 2025
- 2024Fourier Position Embedding: Enhancing Attention's Periodic Extension for Length Generalization23 Dec 2024
- 2024Round and Round We Go! What makes Rotary Positional Encodings useful?8 Oct 2024
- 2024DAPE V2: Process Attention Score as Feature Map for Length Extrapolation7 Oct 2024
- 2024AuroraCap: Efficient, Performant Video Detailed Captioning and a New Benchmark4 Oct 2024
- 2024Efficient Length-Generalizable Attention via Causal Retrieval for Long-Context Language Modeling2 Oct 2024
- 2024ReAttention: Training-Free Infinite Context with Finite Attention Scope21 Jul 2024
- 2024Mitigate Position Bias in Large Language Models via Scaling a Single Dimension4 Jun 2024
- 2024Exploring Context Window of Large Language Models via Decomposed Positional Vectors28 May 2024
- 2024DAPE: Data-Adaptive Positional Encoding for Length Extrapolation23 May 2024
- 2025LongLLaDA: Unlocking Long Context Capabilities in Diffusion LLMscited by 40
- 2025Home-made Diffusion Model from Scratch to Hatchcited by 0
- 2025Home-made Diffusion Model from Scratch to Hatch7 Sep 2025
- 2025LongLLaDA: Unlocking Long Context Capabilities in Diffusion LLMs17 Jun 2025
- 2024AuroraCap: Efficient, Performant Video Detailed Captioning and a New Benchmarkcited by 140
- 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 115
- 2025Rope to Nope and Back Again: A New Hybrid Attention Strategycited by 47
- 2024Fourier Position Embedding: Enhancing Attention's Periodic Extension for Length Generalizationcited by 39
- 2025Understanding Transformer from the Perspective of Associative Memorycited by 34
- 2024DAPE: Data-Adaptive Positional Encoding for Length Extrapolationcited by 31
- 2025Extending the Context of Pretrained LLMs by Dropping Their Positional Embeddingscited by 26
- 2025SWAN-GPT: An Efficient and Scalable Approach for Long-Context Language Modelingcited by 19
- 2024Exploring Context Window of Large Language Models via Decomposed Positional Vectorscited by 18
- 2026Hybrid Linear Attention Done Right: Efficient Distillation and Effective Architectures for Extremely Long Contextscited by 18
- 2024ReAttention: Training-Free Infinite Context with Finite Attention Scopecited by 13
- 2025Solving Empirical Bayes via Transformerscited by 11
12 most cited of 39 All 39 (JSON)
- 2026Asymptotic Behavior of Transformers14 Oct 2026
- 2026Multi-Head Self Attention is a Parameter Identification Mechanism1 Sep 2026
- 2026Resilient Concurrent Causal Discovery for Topological Event Sequences22 Aug 2026
- 2026Cracks in the Foundation: Seemingly Minor Architectural Choices Impact Long Context Extension10 Aug 2026
- 2026RoPE Distinguishes Neither Positions Nor Tokens in Long Contexts, Provably15 May 2026
- 2026Dual Triangle Attention: Effective Bidirectional Attention Without Positional Embeddings9 Apr 2026
- 2026Screening Is Enough1 Apr 2026
- 2026HopFormer: Sparse Graph Transformers with Explicit Receptive Field Control2 Feb 2026
- 2026Hybrid Linear Attention Done Right: Efficient Distillation and Effective Architectures for Extremely Long Contexts29 Jan 2026
- 2025How Smoothing is N-simplicial Attention?17 Dec 2025
- 2025RePo: Language Models with Context Re-Positioning16 Dec 2025
- 2025Extending the Context of Pretrained LLMs by Dropping Their Positional Embeddings13 Dec 2025
12 newest of 39 All 39 (JSON)