Scaling Instruction-Tuned LLMs to Million-Token Contexts via Hierarchical Synthetic Data Generation
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Large Language Models (LLMs) struggle with long-context reasoning, not only due to the quadratic scaling of computational complexity with sequence length but also because of the scarcity and expense of annotating long-context data. There has been barely any open-source work that systematically ablates long-context data, nor is there any openly available instruction tuning dataset with contexts surpassing 100K tokens. To bridge this gap, we introduce a novel post-training synthetic data generation strategy designed to efficiently extend the context window of LLMs while preserving their general task performance. Our approach scalably extends to arbitrarily long context lengths, unconstrained by the length of available real-world data, which effectively addresses the scarcity of raw long-context data. Through a step-by-step rotary position embedding (RoPE) scaling training strategy, we demonstrate that our model, with a context length of up to 1M tokens, performs well on the RULER benchmark and InfiniteBench and maintains robust performance on general language tasks.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 23 of its 24 references that are in the map. First posted on arXiv 17 Apr 2025.
Builds on
23 of 24 references.
References · 23
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2022Emergent Abilities of Large Language Modelscited by 2,512
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,125
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
11 more
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
- 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
- 2023Effective Long-Context Scaling of Foundation Modelscited by 303
- 2021LongT5: Efficient Text-To-Text Transformer for Long Sequencescited by 232
- 2023LooGLE: Can Long-Context Language Models Understand Long Contexts?cited by 202
- 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 200
- 2022A Length-Extrapolatable Transformercited by 127
- 2024Base of RoPE Bounds Context Lengthcited by 52
- 2024Block Transformer: Global-to-Local Language Modeling for Fast Inferencecited by 32
- 2024Automatic Instruction Evolving for Large Language Modelscited by 26
- 2024LongSkywork: A Training Recipe for Efficiently Extending Context Length in Large Language Modelscited by 19
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2025Delta Attention: Fast and Accurate Sparse Attention Inference by Delta Correctioncited by 7
- 2026End-to-End Context Compression at Scalecited by 4
- 2026Masked Diffusion Language Models are Strong and Steerable Text-Based World Models for Agentic RLcited by 1
- 2026Learning to Learn from Context: Synthetic Training from Perturbed Public Documentscited by 0
- 2026Learning to Learn from Context: Synthetic Training from Perturbed Public Documents27 Sep 2026
- 2026End-to-End Context Compression at Scale8 Jun 2026
- 2026Masked Diffusion Language Models are Strong and Steerable Text-Based World Models for Agentic RL7 May 2026
- 2025Delta Attention: Fast and Accurate Sparse Attention Inference by Delta Correction16 May 2025
Similar, not cited
Close in wording, no citation either way
- 2025From 128K to 4M: Efficient Training of Ultra-Long Context Large Language Models
- 2025LongMagpie: A Self-synthesis Method for Generating Large-scale Long-context Instructions
- 2025Generalizing From Short to Long: Effective Data Synthesis for Long-Context Instruction Tuning
- 2024CodecLM: Aligning Language Models with Tailored Synthetic Data
- 2024MAmmoTH2: Scaling Instructions from the Web
- 2024LongAlign: A Recipe for Long Context Alignment of Large Language Models
- 2024Seed-Free Synthetic Data Generation Framework for Instruction-Tuning LLMs: A Case Study in Thai
- 2026LongCrafter: Towards Diverse Long-Context Understanding via Evidence-Graph-Guided Instruction Synthesis