Papers › DataOrchestra: Learning to Orchestrate Per-Example Curation of Pretraining Data

DataOrchestra: Learning to Orchestrate Per-Example Curation of Pretraining Data

27 Jul 2026arXiv:2607.24717added by Syntology

Zhen Huang, Yikun Wang, Shijie Xia, Pengfei Liu

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Pretraining 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.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2607.24717")

Code

Syntology Ran 18 of 37 code samples harvested from 1 repository linked to this paper; 19 have no recorded run. Of those that ran: 2 ran · violated contract; 11 ran · our draft was wrong; 5 ran with no contract checked.

By repository: found in paper text by Syntology: 37 samples from 1 repository, 18 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

GAIR-NLP/DataOrchestra found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

37 samples harvested; 18 ran; 0 honoured the contract we drafted; 19 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · violated contract
11ran · our draft was wrong
5ran
19unverified

Licence: 37 of the 37 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from GAIR-NLP/DataOrchestra. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

LLMClient GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology ran no licence file found · pointer only · 49d4001254a51bdc · report
_coerce_np GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology ran · violated contract fingerprinted no licence file found · pointer only · 67bcc5e189b9e77d · report
_coerce_sr_pa GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 2eed74b345dd99f5 · report
_next_nonspace GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 60cd192408bc7049 · report
_split_gpt_oss_harmony GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 5cb601b2e404b06c · report
_strip_single_line_number GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · f466ac4451b6806e · report
add_line_numbers GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · b7b98134add5e863 · report
apply_noise_pruning_ops GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology ran no licence file found · pointer only · 90e0710b2c52b91f · report
extract_json_object GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 2bad7e1c8a862a85 · report
make_fallback_untouch_plan GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology ran no licence file found · pointer only · ea2175fbcd22e4d1 · report
sanitize_json_text GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 0a10e4870d48dff7 · report
split_analysis_result GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · eeaaa64277fde859 · report
stage_enabled GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology ran · violated contract no licence file found · pointer only · bd9e66d36b8877df · report
stage_instruction GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology ran no licence file found · pointer only · d3e4d2701515865d · report
strip_line_numbers GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 745bf7a531aad963 · report
strip_outer_code_fence GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 58aff5935f021a20 · report
unwrap_doc GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · edc7c1e932a16041 · report
wrap_doc GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · d3bb9684856c1958 · report
ApplyResult GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · 8dd199aca5d8efec · report
ClientRouter GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · 13e11ce42d66f762 · report
EndpointConfig GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · 5cb5992408896cf7 · report
LLMResponse GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · 5f8aadad34284911 · report
NoisePruningResult GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · 74af7c6314785976 · report
Operation GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · 7a98161eb3bda3e2 · report
OrchestratorResult GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · cf2d2c9fc8e9f7a2 · report
RewriteResult GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · c75ac5309a5a23cf · report
SamplingConfig GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · f4f24f7db3aae2ae · report
StudentConfig GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · 00822520b5f8dbee · report
_run_noise_pruning GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · ce8798b4c00f5674 · report
_run_orchestrator GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · 0053a8097c5ff717 · report
_run_rewrite GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · 0e2160bb0e6b09af · report
_set_tokens GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · a1623f708249aa00 · report
advance_chunk GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · 53d460b4cb56805d · report
is_chunk_done GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · 3641b1c88970f5be · report
parse_noise_pruning_output GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · 96b52673abff8304 · report
parse_orchestrator_output GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · a73dd05e7eab7a89 · report
parse_rewrite_output GAIR-NLP/DataOrchestra/inference/student/pipeline.py found in paper text by Syntology unverified no licence file found · pointer only · 9cad5d17758b010c · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2607.24717, was issued in July 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections