Research map / Architectures and efficiency / Attention and transformers
Context-aware Biases for Length Extrapolation
Ali Veisi, Hamidreza Amirzadeh, Amir Mansourian
Algonet
Read the paperPlace an idea next to itCheck your own paper ↗
9measured effects
6improved
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 |
|---|---|---|---|
| use CABLE instead of ALiBi | GPT-2 Medium · FineWeb-Edu-10B, length 15360 | perplexity: 17.46 -> 15.41 | Improved |
| add learned bias weights g(X) (full CABLE vs CABLE_NW) (ablation) | CABLE · FineWeb-Edu-10B, length 15360 | perplexity: 16.03 -> 15.41 | Improved |
| use context-aware bias without weights (CABLE_NW) instead of ALiBi (ablation) | CABLE_NW · FineWeb-Edu-10B, length 15360 | perplexity: 17.46 -> 16.03 | Improved |
| use CABLE instead of RoPE at training-length-or-shorter inputs | GPT-2 Tiny · WikiText-103, length 512 | perplexity: 23.66 (RoPE) vs 23.70 (CABLE) | Hurt |
| use CABLE instead of ALiBi for BERT | BERT base · MLDR, length 16384 | nDCG@10: 23.44 -> 25.10 | Improved |
| use CABLE instead of RoPE for BERT at short length | BERT base · MLDR, length 512 | nDCG@10: 15.16 -> 14.96 | Hurt |
| augment CABLE with DAPEv2 | GPT-2 Small · FineWeb-Edu-10B, length 4096 | perplexity: 19.60 -> 18.55 | Improved |
| augment CABLE with DAPEv2 | GPT-2 Small · training throughput | tokens/sec: ~1.9M -> ~0.6M tokens/sec | Hurt |
| use kernelized K-CABLE (-log(b^2+1) kernel) (ablation) | GPT-2 Tiny · WikiText-103 extrapolation | perplexity | Improved |
Open problems this paper states
- “Training takes longer than with RoPE because of CABLE's dynamic bias computation.” → Training costs more or is less stable than a standard transformer. (an open problem in sparse efficient transformers for long context)
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.90)
- DAPE: Data-Adaptive Positional Encoding for Length Extrapolation (NeurIPS 2024 · similarity 0.89)
- A Formal Framework for Understanding Length Generalization in Transformers (ICLR 2025 · similarity 0.88)
- DeciMamba: Exploring the Length Extrapolation Potential of Mamba (ICLR 2025 · similarity 0.88)
- Extrapolation by Association: Length Generalization Transfer In Transformers (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.