scimeatlas

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

NAACL 2024Large language models › Instruction and fine-tuningapproach: Efficient LLM fine-tuning systemsopen problems in this approach7 citations (OpenAlex)

Carnegie Mellon University

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
8improved
1no clear effect
4hurt

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 changedWhereMeasuredEffect
add maximum probability alignment (temperature scaling) at inferenceFlan-T5-Large · long-context retrieval (avg accuracy)accuracy: 76 -> 92Improved
add entropy alignment instead of Pmax alignment (ablation)Flan-T5-Large · long-context retrieval (avg accuracy)accuracy: 76 -> 48Hurt
add maximum probability alignmentFlan-T5-XL · long-context retrieval (avg accuracy)accuracy: 87 -> 93Improved
add maximum probability alignmentFlan-T5-XXL · long-context retrieval (avg accuracy)accuracy: 97 -> 98Improved
add length-only temperature log_{Lex}Ltr (ablation)Flan-T5-Large · long-context retrieval (avg accuracy)accuracy: 76 -> 76No clear effect
add maximum probability alignmentT5-XXL-LM · language modeling perplexityperplexity: >1k -> 34.5 avgImproved
use length-only temperature log_{Lex}Ltr instead of alignment (ablation)T5-XXL-LM · language modeling perplexityperplexity: 34.5 (Pmax) -> 77.5 avgHurt
add maximum probability alignmentFlan-T5-XL · multi-document QA, 30 docsavg accuracy: 46.5 -> 50.3Improved
add maximum probability alignment when golden document is at position 29Flan-T5-Large · multi-document QA, 30 docsaccuracy: 37.9 -> 37.0Hurt
add entropy alignment instead of Pmax alignment (ablation)Flan-T5-XL · multi-document QA, 30 docsavg accuracy: 50.3 (Pmax) -> 44.9Hurt
add maximum probability alignmentCodeT5+ · code completion exact match, 6k contextexact match: 0.0 -> 22.7Improved
use extrapolation with Pmax alignment instead of truncating to 768 tokens (ablation)CodeT5+ · code completion exact match, 6k contextexact match: 21.4 -> 22.7Improved

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.

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?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy