atlas

Research map / Large language models / Language, safety and interpretability

Scaling Instruction-tuned LLMs to Million-token Contexts via Hierarchical Synthetic Data Generation

ICLR 2025 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Generates long-context instruction data from short-context LLMs via hierarchical chunk summarization and multi-document concatenation, then fine-tunes LLaMA-3.1-8B-Instruct with stepwise RoPE scaling to a 1M-token context.

Problem

Long-context LLMs lack open instruction-tuning data with contexts beyond 100K tokens, and annotating long-context data is scarce and expensive.

Approach

Use short-context LLMs to summarize chunks hierarchically and generate diverse, ordered QA pairs, then concatenate multiple documents (with revisiting follow-up questions) to build arbitrarily long instruction data, trained via stepwise RoPE scaling (180K→350K→650K→1M).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fine-tune with hierarchical and diverse synthetic QA data and extend the context to 180KLLaMA-3.1-8B-Instruct · InfiniteBench (100K tokens), Averageaverage score: 51.31 -> 59.45Helped
Fine-tune with hierarchical and diverse synthetic QA data and extend the context to 1MLLaMA-3.1-8B-Instruct · RULER, 1 000 000 tokensaccuracy: 48.81 % -> 62.95%Helped
Extend context to 1M using stepwise RoPE scaling and synthetic QA tuningLLaMA-3.1-8B-Instruct · LongBench (10K tokens), Allscore: 48.11 -> 46.42Hurt
Extend context to 1M using stepwise RoPE scaling and synthetic QA tuningLLaMA-3.1-8B-Instruct · MMLU, mmluscore: 68.21 ± 0.37 -> 65.08 ± 0.38Hurt
Fix question counts instead of randomizing them (ablation)180K synthetic QA tuning · InfiniteBench, Averageaverage score: 58.51 -> 59.45Helped
Combine hierarchical questions with diverse and complex questions (ablation)180K synthetic QA tuning · InfiniteBench, Averageaverage score: 58.14 -> 59.45Helped
Add global summarization (ablation)180K synthetic QA tuning · InfiniteBench, Averageaverage score: 58.03 -> 58.58Helped
Use 1M-context training with different synthetic-data generator sizesLLaMA-3.1-8B-Instruct · InfiniteBenchaverage scoreMixed

Surprising findings

Limitations

Experimental setup

Datasets: Together long books dataset (Long-Data-Collections) RULER InfiniteBench LongBench MMLU

Benchmarks: RULER InfiniteBench LongBench MMLU

Metrics: accuracy average score across tasks effective context length

Baselines: LLaMA-3.1-8B-Instruct gradientai/Llama-3-8B-Instruct-Gradient-1048k zero-shot RoPE scaling input truncation

Builds on: RoPE Positional Interpolation NTK-aware scaling RoPE Self-Instruct Evol-Instruct

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