SkyLadder: Better and Faster Pretraining via Context Window Scheduling
Not on the map. Why?
Abstract (arXiv)
Recent advancements in LLM pretraining have featured ever-expanding context windows to process longer sequences. However, our pilot study reveals that models pretrained with shorter context windows consistently outperform their long-context counterparts under a fixed token budget. This finding motivates us to explore an optimal context window scheduling strategy to better balance long-context capability with pretraining efficiency. To this end, we propose SkyLadder, a simple yet effective approach that implements a short-to-long context window transition. SkyLadder preserves strong standard benchmark performance, while matching or exceeding baseline results on long context tasks. Through extensive experiments, we pre-train 1B-parameter models (up to 32K context) and 3B-parameter models (8K context) on 100B tokens, demonstrating that SkyLadder yields consistent gains of up to 3.7% on common benchmarks, while achieving up to 22% faster training speeds compared to baselines. The code is at https://github.com/sail-sg/SkyLadder.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 55 of its 71 references that are in the map. First posted on arXiv 19 Mar 2025.
Builds on
55 of 71 references.
References · 55
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
38 more
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
- 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
- 2023StarCoder: may the source be with you!cited by 799
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
- 2015Cyclical Learning Rates for Training Neural Networkscited by 629
- 2024TinyLlama: An Open-Source Small Language Modelcited by 618
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
- 2023Effective Long-Context Scaling of Foundation Modelscited by 303
- 2021QuALITY: Question Answering with Long Input Texts, Yes!cited by 208
- 2024When Attention Sink Emerges in Language Models: An Empirical Viewcited by 208
- 2024Data Engineering for Scaling Language Models to 128K Contextcited by 186
- 2024How to Train Long-Context Language Models (Effectively)cited by 146
- 2024LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuningcited by 136
- 2024HELMET: How to Evaluate Long-Context Language Models Effectively and Thoroughlycited by 125
- 2024OLMES: A Standard for Language Model Evaluationscited by 106
- 2023In-context Pretraining: Language Modeling Beyond Document Boundariescited by 79
- 2024Why Does the Effective Context Length of LLMs Fall Short?cited by 63
- 2024Base of RoPE Bounds Context Lengthcited by 52
- 2024Programming Every Example: Lifting Pre-training Data Quality Like Experts at Scalecited by 37
- 2021The Stability-Efficiency Dilemma: Investigating Sequence Length Warmup for Training GPT Modelscited by 36
- 2024Fewer Truncations Improve Language Modelingcited by 35
- 2024Dataset Decomposition: Faster LLM Training with Variable Sequence Length Curriculumcited by 26
- 2024A Controlled Study on Long Context Extension and Generalization in LLMscited by 26
- 2024Attention Entropy is a Key Factor: An Analysis of Parallel Context Encoding with Full-attention-based Pre-trained Language Modelscited by 26
- 2024Analysing The Impact of Sequence Composition on Language Model Pre-Trainingcited by 25
- 2017Supervised and Unsupervised Transfer Learning for Question Answeringcited by 24
50 most cited of 55 All 55 (JSON)
Built on by
Citing papers per year: 2025: 1; 2026: 5.
6 papers.
- 2025Training Optimal Large Diffusion Language Modelscited by 25
- 2026Gated Differentiable Working Memory for Long-Context Language Modelingcited by 6
- 2026Proxy Compression for Language Modelingcited by 3
- 2026OctoLong: Mid-Training On Cross-Repository Code Contexts Enhances Long-Context Modelingcited by 2
- 2026FlashCP: Load-Balanced Communication-Efficient Context Parallelism for LLM Trainingcited by 1
- 2026Information Abundance Paradox: Long-Context Training Undermines Parametric Knowledgecited by 1
- 2026Information Abundance Paradox: Long-Context Training Undermines Parametric Knowledge12 Aug 2026
- 2026OctoLong: Mid-Training On Cross-Repository Code Contexts Enhances Long-Context Modeling5 Aug 2026
- 2026FlashCP: Load-Balanced Communication-Efficient Context Parallelism for LLM Training7 Jun 2026
- 2026Proxy Compression for Language Modeling4 Feb 2026
- 2026Gated Differentiable Working Memory for Long-Context Language Modeling19 Jan 2026
- 2025Training Optimal Large Diffusion Language Models28 Sep 2025