# Extending the Context of Pretrained LLMs by Dropping Their Positional Embeddings

- **ID:** 478
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2512.12167
- **Authors:** Yoav Gelberg, Koshi Eguchi, Takuya Akiba, Edoardo Cetin
- **Venue:** arXiv / Sakana AI
- **Published:** 2025
- **Source:** arxiv
- **Language:** en
- **Access:** free
- **License:** CC BY 4.0
- **License family:** Permissive (auto-classified)
- **Tags:** long-context, positional-embeddings, sakana
- **Topics:** long context, positional embeddings, transformers
- **Added:** 2026-08-14
- **Verified:** 2026-08-14
- **Research status:** done
- **Needs deep evaluation:** no
- **Page:** https://papers.projxon.ai/entries/478

## Summary

Argues explicit PEs speed pretraining (NoPE has slower positional-bias gradients) but RoPE-scaling (YaRN/NTK/PI) must compress low frequencies, shifting semantic heads so zero-shot long context matches a cropped-window baseline on NIAH. DroPE trains with RoPE, drops PEs, then recalibrates at the original context. From-scratch 0.5B on 16B FineWeb: last 2B tokens without PE matches full-RoPE perplexity and beats YaRN/NTK/ALiBi/NoPE on RULER NIAH at 2x. SmolLM-360M (600B pretrain): 30-120B recalibration recovers in-context benches; LongBench avg 30.52 vs YaRN 19.94, NIAH 74.92 vs 48.25. SmolLM-1.7B (20B rec, 2 percent of pretrain) and Llama-2-7B (20B, 0.5 percent) also beat YaRN/NTK. NIAH at 8x: DroPE 52.20 vs YaRN 12.18 / LongRoPE2 16.45.

## Attributes

- **Purpose:** Extend pretrained LM context zero-shot by removing rotary embeddings after pretraining and briefly recalibrating at the original length
- **Scale:** 494M FineWeb 16B tokens (2B DroPE); SmolLM-360M 30/60/120B recalibration; SmolLM-1.7B and Llama-2-7B 20B rec; RULER NIAH; LongBench
- **Used for:** Unknown
- **Time period:** 2025-12-13 (arXiv 2512.12167 v1)
- **Author type:** human

## From the source (fetched 2026-10-03)

- **Published:** Dec 13, 2025 (arXiv)
- **arXiv categories:** cs.CL, cs.AI (arXiv)
- **Citations:** 24 (Semantic Scholar)
- **References:** 54 (Semantic Scholar)

## Abstract

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.

## Research notes

- Primary: arxiv abs (CC BY 4.0, cs.CL). Code at github.com/SakanaAI/DroPE (220 stars at check). Gelberg Oxford / Sakana. HF paper page 5 upvotes. Recalibration uses FineWeb/FineWeb-Edu and SmolLM-corpus, not a new dataset; no datasets_local row. Discord posted abs link.

## Cites, within this collection

- [Round and Round We Go! What makes Rotary Positional Encodings useful?](https://papers.projxon.ai/entries/967) (paper 2024, #967)

## Cited by, within this collection

- [Decoupling the Benefits of Subword Tokenization for Language Model Training via Byte-level Simulation](https://papers.projxon.ai/entries/519) (paper 2026, #519)
- [Multi-Stream LLMs: Unblocking Language Models with Parallel Streams of Thoughts, Inputs and Outputs](https://papers.projxon.ai/entries/671) (paper 2026, #671)

## Related entries

- Discussed in: [Long context: three bets and a weak spot in evaluation (overview)](https://papers.projxon.ai/entries/1208) (note, #1208)

## Similar entries

- [Let's (not) just put things in Context: Test-Time Training for Long-Context LLMs](https://papers.projxon.ai/entries/533) (paper, #533)
- [MoBA: Mixture of Block Attention for Long-Context LLMs](https://papers.projxon.ai/entries/707) (paper, #707)
- [Context Language Models](https://papers.projxon.ai/entries/793) (paper, #793)
- [LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoning](https://papers.projxon.ai/entries/821) (paper, #821)
- [Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention](https://papers.projxon.ai/entries/564) (paper, #564)
- [Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling](https://papers.projxon.ai/entries/1244) (paper, #1244)
