Research map / Large language models / Instruction and fine-tuning
Attention Alignment and Flexible Positional Embeddings Improve Transformer Length Extrapolation
Ta-Chung Chi, Ting-Han Fan, Alexander I. Rudnicky
Carnegie Mellon 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 |
|---|---|---|---|
| add maximum probability alignment (temperature scaling) at inference | Flan-T5-Large · long-context retrieval (avg accuracy) | accuracy: 76 -> 92 | Improved |
| add entropy alignment instead of Pmax alignment (ablation) | Flan-T5-Large · long-context retrieval (avg accuracy) | accuracy: 76 -> 48 | Hurt |
| add maximum probability alignment | Flan-T5-XL · long-context retrieval (avg accuracy) | accuracy: 87 -> 93 | Improved |
| add maximum probability alignment | Flan-T5-XXL · long-context retrieval (avg accuracy) | accuracy: 97 -> 98 | Improved |
| add length-only temperature log_{Lex}Ltr (ablation) | Flan-T5-Large · long-context retrieval (avg accuracy) | accuracy: 76 -> 76 | No clear effect |
| add maximum probability alignment | T5-XXL-LM · language modeling perplexity | perplexity: >1k -> 34.5 avg | Improved |
| use length-only temperature log_{Lex}Ltr instead of alignment (ablation) | T5-XXL-LM · language modeling perplexity | perplexity: 34.5 (Pmax) -> 77.5 avg | Hurt |
| add maximum probability alignment | Flan-T5-XL · multi-document QA, 30 docs | avg accuracy: 46.5 -> 50.3 | Improved |
| add maximum probability alignment when golden document is at position 29 | Flan-T5-Large · multi-document QA, 30 docs | accuracy: 37.9 -> 37.0 | Hurt |
| add entropy alignment instead of Pmax alignment (ablation) | Flan-T5-XL · multi-document QA, 30 docs | avg accuracy: 50.3 (Pmax) -> 44.9 | Hurt |
| add maximum probability alignment | CodeT5+ · code completion exact match, 6k context | exact match: 0.0 -> 22.7 | Improved |
| use extrapolation with Pmax alignment instead of truncating to 768 tokens (ablation) | CodeT5+ · code completion exact match, 6k context | exact match: 21.4 -> 22.7 | 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.
- CodeT5+ — CodeT: Code Generation with Generated Tests (ICLR 2023) · better on 2 of 2 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 efficient LLM fine-tuning systems
Do efficient fine-tuning methods keep their gains on larger models, other languages and open-ended tasks, and what do they cost?
- Larger models than 8B to 30B were not tested. · 20 papers state it
- Experiments cover English or a few languages only. · 12 papers state it
- The method adds training, memory or inference cost. · 12 papers state it
Closest papers by meaning
- Mitigating Position Bias in Transformers via Layer-Specific Positional Embedding Scaling (ACL 2026 · similarity 0.91)
- Exploring Context Window of Large Language Models via Decomposed Positional Vectors (NeurIPS 2024 · similarity 0.90)
- Curse of High Dimensionality Issue in Transformer for Long Context Modeling (ICML 2025 · similarity 0.90)
- Beyond Attention: Breaking the Limits of Transformer Context Length with Recurrent Memory (AAAI 2024 · similarity 0.89)
- Mesa-Extrapolation: A Weave Position Encoding Method for Enhanced Extrapolation in LLMs (NeurIPS 2024 · similarity 0.89)
- A Training-Free Sub-quadratic Cost Transformer Model Serving Framework with Hierarchically Pruned Attention (ICLR 2025 · 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.