mlsanityData to 14 Oct 2026

Scaling Instruction-Tuned LLMs to Million-Token Contexts via Hierarchical Synthetic Data Generation

arXiv 2504.12637 ↗First posted 17 Apr 2025cs.CL cs.AIcited by 4

On the map: LLM reasoning → Reasoning benchmarks and evaluation

also in 1 more
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

  1. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  2. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  3. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  4. 2020Longformer: The Long-Document Transformercited by 3,413
  5. 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
  6. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  7. 2022Emergent Abilities of Large Language Modelscited by 2,512
  8. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  9. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  10. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  11. 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,125
  12. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
11 more
  1. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
  2. 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
  3. 2023Effective Long-Context Scaling of Foundation Modelscited by 303
  4. 2021LongT5: Efficient Text-To-Text Transformer for Long Sequencescited by 232
  5. 2023LooGLE: Can Long-Context Language Models Understand Long Contexts?cited by 202
  6. 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 200
  7. 2022A Length-Extrapolatable Transformercited by 127
  8. 2024Base of RoPE Bounds Context Lengthcited by 52
  9. 2024Block Transformer: Global-to-Local Language Modeling for Fast Inferencecited by 32
  10. 2024Automatic Instruction Evolving for Large Language Modelscited by 26
  11. 2024LongSkywork: A Training Recipe for Efficiently Extending Context Length in Large Language Modelscited by 19

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 3.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025From 128K to 4M: Efficient Training of Ultra-Long Context Large Language Models
  2. 2025LongMagpie: A Self-synthesis Method for Generating Large-scale Long-context Instructions
  3. 2025Generalizing From Short to Long: Effective Data Synthesis for Long-Context Instruction Tuning
  4. 2024CodecLM: Aligning Language Models with Tailored Synthetic Data
  5. 2024MAmmoTH2: Scaling Instructions from the Web
  6. 2024LongAlign: A Recipe for Long Context Alignment of Large Language Models
  7. 2024Seed-Free Synthetic Data Generation Framework for Instruction-Tuning LLMs: A Case Study in Thai
  8. 2026LongCrafter: Towards Diverse Long-Context Understanding via Evidence-Graph-Guided Instruction Synthesis