Research map / Architectures and efficiency / Attention and transformers
Dissecting Transformer Length Extrapolation via the Lens of Receptive Field Analysis
Ta-Chung Chi, Ting-Han Fan, Alexander I. Rudnicky, Peter J. Ramadge
Carnegie Mellon University · Princeton University
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 |
|---|---|---|---|
| replace ALiBi with Sandwich | 12-layer transformer LM · ArXiv, L_ex=8192 | perplexity: 5.58 -> 5.28 | Improved |
| replace ALiBi with Sandwich | 12-layer transformer LM · OpenWebText2, L_ex=8192 | perplexity: 23.5 -> 24.7 | Hurt |
| shift all ALiBi h by 6 (smaller slopes) (ablation) | ALiBi · ArXiv, L_ex=1024 | perplexity: 5.64 -> 55.4 (Δ=0 vs Δ=6) | Hurt |
| use the same large h=8 for all heads (ablation) | ALiBi · ArXiv, L_ex=8192 | perplexity: 5.95 -> 96.0 (default vs h=8) | Hurt |
| increase windowed attention size from 100 to 160 (ablation) | windowed attention · ArXiv, L_ex=8192 | perplexity: 7.02 -> 67.5 | Hurt |
| increase training length to 2048 to cover the empirical receptive field (ablation) | ALiBi with Δ=6 · ArXiv, L_ex=8192 | perplexity: 96.0 -> 6.2 | Improved |
| increase training length to 1024 (ablation) | windowed attention w=160 · ArXiv, L_ex=8192 | perplexity: 67.5 -> 6.2 | Improved |
| replace Sandwich bias with a fitted log curve (smoothed) (ablation) | Sandwich · ArXiv, L_ex=8192 | perplexity: 5.28 -> 5.45 | No clear effect |
| use Sinusoidal absolute embedding | transformer LM · ArXiv, L_ex=1024 | perplexity: 5.8 (L_ex=512) -> 1070 | Hurt |
| vary Sandwich d-bar away from 128 (ablation) | Sandwich · language modeling | perplexity | Hurt |
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)
- A Formal Framework for Understanding Length Generalization in Transformers (ICLR 2025 · similarity 0.89)
- Dynamical Properties of Tokens in Self-Attention and Effects of Positional Encoding (NeurIPS 2025 · similarity 0.87)
- On the Emergence of Position Bias in Transformers (ICML 2025 · similarity 0.87)
- Beyond Components: Singular Vector-Based Interpretability of Transformer Circuits (NeurIPS 2025 · similarity 0.87)
- Functional Interpolation for Relative Positions improves Long Context Transformers (ICLR 2024 · similarity 0.86)
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.