scimeatlas

Research map / Large language models / Instruction and fine-tuning

How to Train Long-Context Language Models (Effectively)

Tianyu Gao, Alexander Wettig, Howard Yen, Danqi Chen

ACL 2025Large language models › Instruction and fine-tuningapproach: Efficient LLM fine-tuning systemsopen problems in this approach215 citations (OpenAlex)

Princeton University

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

14measured effects
9improved
4hurt
1mixed

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
combine books and code repositories as long data (1:1) (ablation)Llama-3-8B-Base continued training · HELMET long-context avgavg score: books only 53.8, code repos only 52.3 -> 1:1 mix 54.6Improved
train on 100% long data instead of mixing in short data (ablation)ProLong continued training · HELMET after SFTlong-context performanceHurt
use 60% long / 40% short data ratio (ablation)ProLong continued training · HELMET after SFTavg scoreImproved
use ProLong ShortMix instead of other short data sources (ablation)Llama-3-8B-Base continued training · HELMET long-context avgavg score: SlimPajama 52.9, FineWeb-Edu 53.0, DCLM 52.0 -> 54.6Improved
use only FineWeb-Edu as short data (ablation)Llama-3-8B-Base continued training · short-context avgavg accuracy: 65.5 (ShortMix) -> 63.0Hurt
switch to 512K training length after 64K training (ablation)ProLong 64K (20B) · HELMET at 64K evalRe-rank: 28.0 -> 32.9Improved
mix synthetic long-context instruction data into UltraChat SFT (ablation)ProLong base · long-context avgavg score: 55.7 (0%) -> 54.1 (1%) -> 43.3 (50%)Hurt
generate synthetic SFT data with Llama-3-70B instead of 8B (ablation)ProLong SFT with 3% synthetic · long-context avgavg score: 3%: 53.5 (8B) -> 55.4 (70B); 10%: 53.9 -> 53.6Mixed
use UltraChat instead of Tulu v2 or ShareGPT for SFT (ablation)ProLong base · long-context avgavg score: Tulu v2 49.1, ShareGPT 45.2 -> 55.7Improved
raise RoPE frequency base (0.5e6 to 8e6 at 64K) (ablation)Llama-3-8B-Base continued training · HELMET long-context avgavg score: 29.1 -> 54.6Improved
disable cross-document attention (document masks) (ablation)Llama-3-8B-Base continued training · HELMET long-context avgavg score: 53.6 -> 54.6Improved
initialize from Llama-3-8B-Instruct instead of Base (ablation)ProLong continued training · short-context avgavg accuracy: 65.5 -> 67.7 (long-context 54.6 -> 55.0)Improved

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