RayOrch: Programming and Executing Lineage-Controlled Multi-Grain Dataflows for Foundation-Model Data Preparation

📅 2026-09-16
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文提出RayOrch,一种编程模型和分布式执行引擎,通过保持父子关系解决基础模型数据准备中的异构数据转换问题,实现高效并行处理。
📝 Abstract
Preparing high quality training data for foundation models requires scalable pipelines that transform heterogeneous documents and videos into structured records. Such pipelines expand each parent item into an ordered and input dependent sequence of children, whose counts may be long tailed. GPUs should batch children across parents while preserving parent relationships, child order, completion status, and result routing. Existing systems either hide parallelism behind coarse grained jobs or expose flat records that force applications to manage lineage and regrouping. We present RayOrch, a programming model and distributed execution engine that preserves parent child relations throughout execution. Programs declare ordered variable cardinality expansions and matching gathers. The compiler validates each pair, while the runtime records child membership, immediate parents, immutable ordinals, and terminal states. Per Call FIFO Ready Queues batch ready children across parents. Gathers reconstruct results from declared membership and ordinals rather than batch boundaries or completion order. Parents can advance as soon as all required children become terminal. Typed parent scoped failures suppress undispatched siblings of the failed parent while allowing unrelated parents to continue. On NVIDIA H20 GPUs, RayOrch achieves 15.14 times speedup when scaling MinerU from 4 to 64 GPUs and 7.82 times speedup when scaling a video pipeline from 8 to 64 GPUs. It reduces end to end time by 13.1 percent versus Ray Data and 29.0 percent versus Daft on MinerU, and by 16.0 percent versus Ray Data on Docling. Code available at https://github.com/OpenDCAI/RayOrch .
Problem

Research questions and friction points this paper is trying to address.

data preparation
foundation models
heterogeneous documents
parent-child relations
distributed execution
Innovation

Methods, ideas, or system contributions that make the work stand out.

lineage-controlled
multi-grain dataflows
ordered variable cardinality expansions
typed parent scoped failures
FIFO Ready Queues
🔎 Similar Papers
No similar papers found.
Xiaochen Ma
Xiaochen Ma
China Center for Health Development Studies, Peking University
Development EconomicsHealth Economics
Z
Zimo Meng
Peking University
J
Junzhu Liang
Peking University
Y
Youhe Jiang
Peking University
Y
Yue Cheng
Peking University
H
Hao Liang
HKUST
Bohan Zeng
Bohan Zeng
PhD student, Peking University
Data-Centric AIComputer VisionDiffusion Model3D
D
Dengchun Li
HKUST
L
Lu Ma
HKUST
Z
Zhengyang Zhao
HKUST
Z
Zhen Hao Wong
University of Cambridge
R
Runming He
Tencent Hunyuan Zhongguancun Academy
M
Meiyi Qiang
Tencent Hunyuan Zhongguancun Academy
J
Jiangtao Guan
Tencent Hunyuan Zhongguancun Academy
B
Binhang Yuan
Tencent Hunyuan Zhongguancun Academy
Wentao Zhang
Wentao Zhang
Institute of Physics, Chinese Academy of Sciences
photoemissionsuperconductivitycupratehtsctime-resolved