mlsanityData to 7 Oct 2026

Bootstrap Your Own Context Length

arXiv 2412.18860 ↗First posted 25 Dec 2024cs.CL cs.IRcited by 4

On the map: Synthetic data and self-improvement for LLMs → Code and instruction data synthesis

Abstract (arXiv)

We introduce a bootstrapping approach to train long-context language models by exploiting their short-context capabilities only. Our method utilizes a simple agent workflow to synthesize diverse long-context instruction tuning data, thereby eliminating the necessity for manual data collection and annotation. The proposed data synthesis workflow requires only a short-context language model, a text retriever, and a document collection, all of which are readily accessible within the open-source ecosystem. Subsequently, language models are fine-tuned using the synthesized data to extend their context lengths. In this manner, we effectively transfer the short-context capabilities of language models to long-context scenarios through a bootstrapping process. We conduct experiments with the open-source Llama-3 family of models and demonstrate that our method can successfully extend the context length to up to 1M tokens, achieving superior performance across various benchmarks.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Code and instruction data synthesis, one of 13 directions in Synthetic data and self-improvement for LLMs. Builds on 39 of its 44 references that are in the map. First posted on arXiv 25 Dec 2024.

Builds on

39 of 44 references.

References · 39

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  3. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  4. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  6. 2024GPT-4o System Cardcited by 4,467
  7. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  8. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
  9. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  10. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  11. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
  12. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
27 more
  1. 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,758
  2. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  3. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
  4. 2023Instruction-Following Evaluation for Large Language Modelscited by 1,143
  5. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
  6. 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 988
  7. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  8. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
  9. 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 448
  10. 2024Scaling Synthetic Data Creation with 1,000,000,000 Personascited by 397
  11. 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 375
  12. 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 360
  13. 2023Effective Long-Context Scaling of Foundation Modelscited by 301
  14. 2023Improving Text Embeddings with Large Language Modelscited by 295
  15. 2023Camels in a Changing Climate: Enhancing LM Adaptation with Tulu 2cited by 227
  16. 2023LongNet: Scaling Transformers to 1,000,000,000 Tokenscited by 201
  17. 2023MuSR: Testing the Limits of Chain-of-thought with Multistep Soft Reasoningcited by 195
  18. 2024Data Engineering for Scaling Language Models to 128K Contextcited by 183
  19. 2023ZeroSCROLLS: A Zero-Shot Benchmark for Long Text Understandingcited by 175
  20. 2023Self-Alignment with Instruction Backtranslationcited by 149
  21. 2024How to Train Long-Context Language Models (Effectively)cited by 141
  22. 2024You Only Cache Once: Decoder-Decoder Architectures for Language Modelscited by 135
  23. 2024Make Your LLM Fully Utilize the Contextcited by 118
  24. 2024RetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrievalcited by 114
  25. 2024LongRAG: Enhancing Retrieval-Augmented Generation with Long-context LLMscited by 104
  26. 2024Can Long-Context Language Models Subsume Retrieval, RAG, SQL, and More?cited by 53
  27. 2024Quest: Query-centric Data Synthesis Approach for Long-context Scaling of Large Language Modelcited by 15

Built on by

Cited by year

Citing papers per year: 2025: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Generalizing From Short to Long: Effective Data Synthesis for Long-Context Instruction Tuning
  2. 2026Trained Agentic Context Management
  3. 2025Scaling Instruction-Tuned LLMs to Million-Token Contexts via Hierarchical Synthetic Data Generation
  4. 2024ACER: Automatic Language Model Context Extension via Retrieval
  5. 2025From 128K to 4M: Efficient Training of Ultra-Long Context Large Language Models
  6. 2026OctoLong: Mid-Training On Cross-Repository Code Contexts Enhances Long-Context Modeling
  7. 2025Semantic Soft Bootstrapping: Long Context Reasoning in LLMs without Reinforcement Learning
  8. 2025Long-Short Alignment for Effective Long-Context Modeling in LLMs