Research map / Architectures and efficiency / Attention and transformers
A Length-Extrapolatable Transformer
Yutao Sun, Li Dong, Barun Patra, Shuming Ma, Shaohan Huang, Alon Benhaim, Vishrav Chaudhary, Xia Song, Furu Wei
Tsinghua University · Microsoft
Read the paperPlace an idea next to itCheck your own paper ↗
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 |
|---|---|---|---|
| add blockwise causal attention to xPos at inference (ablation) | xPos · arXiv, eval length 4096 | perplexity: 28.43 -> 20.73 | Improved |
| add blockwise causal attention to RoPE at inference (ablation) | RoPE · arXiv, eval length 4096 | perplexity: 294.45 -> 25.65 | Improved |
| add blockwise causal attention to Alibi at inference (ablation) | Alibi · arXiv, eval length 4096 | perplexity: 24.26 -> 25.37 | Hurt |
| add blockwise causal attention to Alibi at inference (ablation) | Alibi · arXiv, eval length 2048 | perplexity: 23.14 -> 24.6 | Hurt |
| add blockwise causal attention to LeX at inference (ablation) | LeX · Resolution, length 2048 | attention resolution: 0.54 -> 1.08 | Improved |
| add rotation to the exponential decay in xPos (ablation) | xPos · Validation split, length 1k | perplexity: 33.68 -> 17.54 | Improved |
| use xPos instead of RoPE | Transformer · Validation split, length 1k | perplexity: 17.74 -> 17.54 | Improved |
| use LeX position design instead of Roformer for extrapolation | Transformer LM · arXiv, eval length 4096 | perplexity: 294.45 -> 20.73 | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- Transformer — TranSFormer: Slow-Fast Transformer for Machine Translation (ACL 2023) · better on 5 of 5 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in sparse efficient transformers for long context
Do sparse and efficient long-context attention methods keep their quality and speed at larger model scale?
- Not tested on models larger than a few billion parameters. · 12 papers state it
- Training costs more or is less stable than a standard transformer. · 7 papers state it
- Quality still falls behind softmax attention or the teacher model. · 6 papers state it
Closest papers by meaning
- Exploring Transformer Extrapolation (AAAI 2024 · similarity 0.91)
- Functional Interpolation for Relative Positions improves Long Context Transformers (ICLR 2024 · similarity 0.88)
- A Formal Framework for Understanding Length Generalization in Transformers (ICLR 2025 · similarity 0.88)
- LEDiT: Your Length-Extrapolatable Diffusion Transformer without Positional Encoding (NeurIPS 2025 · similarity 0.88)
- Extrapolation by Association: Length Generalization Transfer In Transformers (NeurIPS 2025 · similarity 0.87)
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025 · similarity 0.87)
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.