potentialpaper

Sequence Length Matters in Data Scheduling for Accelerating Language Model Pretraining

Geng Yu, Jianing Zhu, Jiangchao Yao, Bo Han, Gang Niu, Masashi Sugiyama

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Pretraining large language models (LLMs) is computationally intensive, often requiring billions of tokens and extensive compute to achieve competitive performance. Although recent advances in data selection have shown improvement on training efficiency, it is challenging for these methods to consistently maintain the promise in the context of the scaling law. In this work, we dive into the impact of sequence length with different linguistic structures and semantic continuity on language model pretraining, and propose a length-based online data scheduling method to accelerate the procedure. Specifically, we design a two-stage dense-balanced sequence prioritization framework for pretraining: 1) at the first stage, the model is exposed to uniform-length dense token batches to encourage the formation of global language representations; 2) the second stage incorporates variable-length sequences, which reinforces learned abstractions while significantly reducing the total number of training iterations. We hypothesize and prove that the model internalizes the foundational language knowledge during the dense-token phase, allowing it to optimize more efficiently the latter variable-length sequences. Empirical results show that our approach achieves comparable perplexity to standard pretraining while requiring substantially fewer optimization steps, pinpointing a promising way to reduce the computational burden of LLM pretraining.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…