Research map / Architectures and efficiency / Attention and transformers
Length Generalization of Causal Transformers without Position Encoding
Read the paperPlace an idea next to itCheck your own paper ↗
13measured effects
7improved
3no clear effect
3hurt
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 changed | Where | Measured | Effect |
|---|---|---|---|
| remove explicit position encoding (NoPE vs RoPE) | 1.1B causal LM · PG19 @4K perplexity | perplexity: 491.4 -> 326.9 | Improved |
| remove explicit position encoding (NoPE vs RoPE) | 1.1B causal LM · commonsense reasoning avg | accuracy: 46.1 -> 46.2 | No clear effect |
| scale softmax uniformly by 1.2 | NoPE · 2K->4K length generalization | perplexity: PG19 @4K: 326.9 -> 16.0 | Improved |
| scale softmax temperature | RoPE · length generalization | entropy inflection point | No clear effect |
| use larger uniform scale (1.8) | NoPE · in-domain PG19 @2K | perplexity: 14.6 -> 30.4 | Hurt |
| replace uniform scale with head-based scale (HeadScale) | NoPE · PG19 @16K perplexity | perplexity: 198.8 (uniform 1.8) -> 30.4 | Improved |
| add focus constraint (lambda >= 1/sqrt(d)) (ablation) | HeadScale · passkey retrieval | average accuracy: 53 -> 81 | Improved |
| add focus constraint (ablation) | HeadScale · PG19 @16K | perplexity: 25.9 -> 30.4 | Hurt |
| initialize with best uniform scale (ablation) | HeadScale · passkey retrieval | average accuracy: 26 -> 81 | Improved |
| initialize with best uniform scale (ablation) | HeadScale · LongBench | average score: 15.8 -> 17.0 | Improved |
| position-dependent or piecewise scale instead of uniform (ablation) | NoPE · length generalization | perplexity | No clear effect |
| increase fine-tuning length and tokens for PI/YaRN (ablation) | RoPE baselines · PG19 / Proof-pile | perplexity: YaRN fair PG19 @16K: 15.5 (16K) vs >10^3 (4K) | Improved |
Open problems in attention head mechanisms
Do the attention-head mechanisms and length-generalization results hold in full-scale, real-world models?
- Mechanisms are shown only at small scale, with larger models untested. · 19 papers state it
- Theory covers only one-layer or attention-only transformers. · 14 papers state it
- Findings come from synthetic or toy tasks that may not match natural language. · 12 papers state it
Closest papers by meaning
- The Role of Sparsity for Length Generalization in LLMs (ICML 2025 · similarity 0.92)
- Long-Short Alignment for Effective Long-Context Modeling in LLMs (ICML 2025 · similarity 0.90)
- Extrapolation by Association: Length Generalization Transfer In Transformers (NeurIPS 2025 · similarity 0.90)
- A Formal Framework for Understanding Length Generalization in Transformers (ICLR 2025 · similarity 0.90)
- Functional Interpolation for Relative Positions improves Long Context Transformers (ICLR 2024 · similarity 0.90)
- Beyond Attention: Breaking the Limits of Transformer Context Length with Recurrent Memory (AAAI 2024 · similarity 0.89)
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.