DataOrchestra: Learning to Orchestrate Per-Example Curation of Pretraining Data
The paper introduces DataOrchestra, a framework for example-specific processing of pretraining data for Large Language Models, achieving stable gains and reducing compute.
Proposing a framework for adaptive pretraining data processing
Before reading this…
Applications
- →Pretraining large language models
To understand this paper, make sure you know these concepts first:
- Understanding of pretraining data processing, large language modelsfind papers →
Abstract
More Like ThisPretraining data processing is critical to the downstream performance of Large Language Models (LLMs). However, many existing approaches define a fixed processing strategy at the corpus or domain level and apply it uniformly to many examples, without adapting to the needs of each example. We propose DataOrchestra, a framework that unifies different processing operations and orchestrates an example-specific pipeline for each example. Given a chunk of pretraining data, an orchestrator decides whether to drop, untouch, or clean it. For a chunk to be cleaned, it selects one or more downstream operations, ranging from programmatic editing to different forms of LLM-based rewriting. For each rewriting step, it further generates a concrete instruction, which is executed by the corresponding downstream tool model. We pretrain models from 0.5B to 7B from scratch on web data processed by DataOrchestra and observe stable average gains over individual data-processing methods across 11 benchmarks. DataOrchestra is also effective for math continued pretraining and outperforms stronger processing baselines, while reducing processing compute by skipping unnecessary downstream operations.