Extending the Context of Pretrained LLMs by Dropping Their Positional Embeddings
Not on the map. Why?
Abstract (arXiv)
So far, expensive finetuning beyond the pretraining sequence length has been a requirement for effectively extending the context of language models (LM). In this work, we break this key bottleneck by Dropping the Positional Embeddings of LMs after training (DroPE). Our simple method is motivated by three key theoretical and empirical observations. First, positional embeddings (PEs) serve a crucial role during pretraining, providing an important inductive bias that significantly facilitates convergence. Second, over-reliance on this explicit positional information is also precisely what prevents test-time generalization to sequences of unseen length, even when using popular PE-scaling methods. Third, positional embeddings are not an inherent requirement of effective language modeling and can be safely removed after pretraining, following a short recalibration phase. Empirically, DroPE yields seamless zero-shot context extension without any long-context finetuning, quickly adapting pretrained LMs without compromising their capabilities in the original training context. Our findings hold across different models and dataset sizes, far outperforming previous specialized architectures and established rotary positional embedding scaling methods.
Key facts. Cited by 26 papers in the map (data through 14 Oct 2026). Builds on 41 of its 54 references that are in the map. First posted on arXiv 13 Dec 2025.
Builds on
41 of 54 references.
References · 41
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2025Qwen3 Technical Reportcited by 8,820
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
29 more
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2020Rethinking Attention with Performerscited by 1,601
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
- 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 457
- 20242 OLMo 2 Furiouscited by 340
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
- 2024LongRoPE: Extending LLM Context Window Beyond 2 Million Tokenscited by 313
- 2020Query-Key Normalization for Transformerscited by 280
- 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 150
- 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 115
- 2024Length Generalization of Causal Transformers without Position Encodingcited by 47
- 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
- 2024DAPE: Data-Adaptive Positional Encoding for Length Extrapolationcited by 31
- 2024A Controlled Study on Long Context Extension and Generalization in LLMscited by 26
- 2025LongRoPE2: Near-Lossless LLM Context Window Scalingcited by 24
- 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
- 2024An Efficient Recipe for Long Context Extension via Middle-Focused Positional Encodingcited by 16
- 2023Attention Alignment and Flexible Positional Embeddings Improve Transformer Length Extrapolationcited by 9
- 2025Wavelet-based Positional Representation for Long Contextcited by 6
Built on by
Citing papers per year: 2025: 1; 2026: 25.
26 papers.
Sort:
By area:
- 2026Olmo Hybrid: From Theory to Practice and Backcited by 22
- 2026Perplexity Cannot Always Tell Right from Wrongcited by 9
- 2026RoPE Distinguishes Neither Positions Nor Tokens in Long Contexts, Provablycited by 8
- 2026ZACH-ViT: Regime-Dependent Inductive Bias in Compact Vision Transformers for Medical Imagingcited by 7
- 2026Priming: Hybrid State Space Models From Pre-trained Transformerscited by 5
- 2025RePo: Language Models with Context Re-Positioningcited by 4
- 2026HydraHead: From Head-Level Functional Heterogeneity to Specialized Attention Hybridizationcited by 4
- 2026AdaSplash-2: Faster Differentiable Sparse Attentioncited by 3
- 2026Multi-Stream LLMs: Unblocking Language Models with Parallel Streams of Thoughts, Inputs and Outputscited by 3
- 2026Decoupling the Benefits of Subword Tokenization for Language Model Training via Byte-level Simulationcited by 2
- 2026Same Architecture, Different Capacity: Optimizer-Induced Spectral Scaling Lawscited by 2
- 2026Prefix Sliding for efficient test-time scalingcited by 2
14 more
- 2026hZACH-ViT: Curved Latent Geometry for Compact Vision Transformers in Low-Data Medical Imagingcited by 1
- 2026DPPE: Rethinking Camera-Based Positional Encoding for Scaling Multi-View Transformerscited by 1
- 2026Disentangling the Expressivity of RoPEcited by 1
- 2026Dual Triangle Attention: Effective Bidirectional Attention Without Positional Embeddingscited by 0
- 2026Long-Context Aware Upcycling: A New Frontier for Hybrid LLM Scalingcited by 0
- 2026On Problems of Implicit Context Compression for Software Engineering Agentscited by 0
- 2026Reversible Foundations: Training a 120B Sparse MoE through State-Preserving Scalingcited by 0
- 2026Does RoPE Prevent or Degrade Retrieval Heads? A Mechanistic Analysis Across Model Familiescited by 0
- 2026Temporal Context Reinstatement Drives Episodic-Like Order Memory in Long-Context Language Modelscited by 0
- 2026V-REX: Efficient Specialist VLM Training for Veterinary X-Rayscited by 0
- 2026Higher-Dimensional Rotary Position Embeddingcited by 0
- 2026Symbiotic Architecture for Post-Hoc Audio Extension of Frozen Language Modelscited by 0
- 2026Shifting Mechanisms: How Positional Encoding Choice Shapes In-Context Retrievalcited by 0
- 2026Not All Answers Are Contextually Persuadable: Inference Dynamics in Large Language Models under Contextual Influencecited by 0
- 2026Not All Answers Are Contextually Persuadable: Inference Dynamics in Large Language Models under Contextual Influence3 Oct 2026
- 2026Shifting Mechanisms: How Positional Encoding Choice Shapes In-Context Retrieval29 Sep 2026
- 2026Symbiotic Architecture for Post-Hoc Audio Extension of Frozen Language Models25 Sep 2026
- 2026Higher-Dimensional Rotary Position Embedding30 Aug 2026
- 2026Prefix Sliding for efficient test-time scaling26 Aug 2026
- 2026V-REX: Efficient Specialist VLM Training for Veterinary X-Rays20 Aug 2026
- 2026Disentangling the Expressivity of RoPE12 Aug 2026
- 2026DPPE: Rethinking Camera-Based Positional Encoding for Scaling Multi-View Transformers30 Jun 2026
- 2026Does RoPE Prevent or Degrade Retrieval Heads? A Mechanistic Analysis Across Model Families19 Jun 2026
- 2026HydraHead: From Head-Level Functional Heterogeneity to Specialized Attention Hybridization18 Jun 2026
- 2026Temporal Context Reinstatement Drives Episodic-Like Order Memory in Long-Context Language Models5 Jun 2026
- 2026Reversible Foundations: Training a 120B Sparse MoE through State-Preserving Scaling5 Jun 2026
14 more
- 2026hZACH-ViT: Curved Latent Geometry for Compact Vision Transformers in Low-Data Medical Imaging30 May 2026
- 2026Same Architecture, Different Capacity: Optimizer-Induced Spectral Scaling Laws20 May 2026
- 2026RoPE Distinguishes Neither Positions Nor Tokens in Long Contexts, Provably15 May 2026
- 2026Multi-Stream LLMs: Unblocking Language Models with Parallel Streams of Thoughts, Inputs and Outputs12 May 2026
- 2026On Problems of Implicit Context Compression for Software Engineering Agents11 May 2026
- 2026Priming: Hybrid State Space Models From Pre-trained Transformers8 May 2026
- 2026Decoupling the Benefits of Subword Tokenization for Language Model Training via Byte-level Simulation29 Apr 2026
- 2026Long-Context Aware Upcycling: A New Frontier for Hybrid LLM Scaling27 Apr 2026
- 2026AdaSplash-2: Faster Differentiable Sparse Attention16 Apr 2026
- 2026Dual Triangle Attention: Effective Bidirectional Attention Without Positional Embeddings9 Apr 2026
- 2026Olmo Hybrid: From Theory to Practice and Back3 Apr 2026
- 2026ZACH-ViT: Regime-Dependent Inductive Bias in Compact Vision Transformers for Medical Imaging20 Feb 2026
- 2026Perplexity Cannot Always Tell Right from Wrong30 Jan 2026
- 2025RePo: Language Models with Context Re-Positioning16 Dec 2025
- 2026Olmo Hybrid: From Theory to Practice and Backcited by 22
- 2026Perplexity Cannot Always Tell Right from Wrongcited by 9
- 2026RoPE Distinguishes Neither Positions Nor Tokens in Long Contexts, Provablycited by 8
- 2026ZACH-ViT: Regime-Dependent Inductive Bias in Compact Vision Transformers for Medical Imagingcited by 7
- 2026Priming: Hybrid State Space Models From Pre-trained Transformerscited by 5
- 2025RePo: Language Models with Context Re-Positioningcited by 4
- 2026HydraHead: From Head-Level Functional Heterogeneity to Specialized Attention Hybridizationcited by 4
- 2026AdaSplash-2: Faster Differentiable Sparse Attentioncited by 3
- 2026Decoupling the Benefits of Subword Tokenization for Language Model Training via Byte-level Simulationcited by 2
- 2026Same Architecture, Different Capacity: Optimizer-Induced Spectral Scaling Lawscited by 2
- 2026hZACH-ViT: Curved Latent Geometry for Compact Vision Transformers in Low-Data Medical Imagingcited by 1
- 2026DPPE: Rethinking Camera-Based Positional Encoding for Scaling Multi-View Transformerscited by 1
12 most cited of 22 All 22 (JSON)
- 2026Not All Answers Are Contextually Persuadable: Inference Dynamics in Large Language Models under Contextual Influence3 Oct 2026
- 2026Shifting Mechanisms: How Positional Encoding Choice Shapes In-Context Retrieval29 Sep 2026
- 2026Symbiotic Architecture for Post-Hoc Audio Extension of Frozen Language Models25 Sep 2026
- 2026Higher-Dimensional Rotary Position Embedding30 Aug 2026
- 2026V-REX: Efficient Specialist VLM Training for Veterinary X-Rays20 Aug 2026
- 2026Disentangling the Expressivity of RoPE12 Aug 2026
- 2026DPPE: Rethinking Camera-Based Positional Encoding for Scaling Multi-View Transformers30 Jun 2026
- 2026Does RoPE Prevent or Degrade Retrieval Heads? A Mechanistic Analysis Across Model Families19 Jun 2026
- 2026HydraHead: From Head-Level Functional Heterogeneity to Specialized Attention Hybridization18 Jun 2026
- 2026Temporal Context Reinstatement Drives Episodic-Like Order Memory in Long-Context Language Models5 Jun 2026
- 2026hZACH-ViT: Curved Latent Geometry for Compact Vision Transformers in Low-Data Medical Imaging30 May 2026
- 2026Same Architecture, Different Capacity: Optimizer-Induced Spectral Scaling Laws20 May 2026
12 newest of 22 All 22 (JSON)