arXiv:2611.09411cs.DCNov 2026

Manuscript Offprint

arXiv:2611.09411

DataHelix: A CPU-GPU Co-Scheduling Data Plane for Multimodal Model Training

Yuanhe Li, Jiazhen Wu, Dian Ding, Guangtao Xue, Yiming Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

Multimodal model training breaks the loose coupling between data loading and model execution assumed by conventional training pipelines. Large per-sample variation in decoding cost, token/latent count, and tensor size causes both CPU preprocessing time and GPU compute time to vary substantially across data-parallel ranks (training processes). In synchronous training, these two sources of heterogeneity interact tightly: GPU execution determines how long the input pipeline has to prepare the next batch, while delayed preprocessing in any rank in turn stalls all GPUs at synchronization. As a result, optimizing CPU throughput or GPU load balance in isolation cannot eliminate pipeline bubbles.

We present DATAHELIX, a metadata-first CPU-GPU co-scheduling data plane for multimodal training. DataHelix jointly reasons about preprocessing demand and GPU execution progress, treating each GPU compute window as the readiness budget for the next batch and coordinating preprocessing across ranks to minimize deadline misses rather than CPU makespan. To avoid expensive data movement, placement is decided while samples remain lightweight descriptors, before decoding and collation amplify them into large tensors. Descriptor-level token-/latent-aware batching performs coarse pre-balancing, while cost-gated collective rebalancing corrects residual skew only when its expected benefit exceeds transfer cost. Across 11 video and multimodal workloads on 8 Ascend 910B accelerators, DATAHELIX reduces mean deadline-miss rate by 67.8% and mean p95 input-wait latency by 87.0%, while achieving 2.72× geometric-mean throughput over rank-local DataLoaders and 1.82× over a Ray actor pool under the same CPU budget.

1 Introduction

Conventional training input pipelines assume sample count proxies computational cost, so equal sample distribution suffices for load balance. That holds for homogeneous text or image workloads but breaks down entirely in multimodal large language model (MLLM) training such as long-video understanding, VLM pretraining, and diffusion transformer (DiT) fine-tuning. Within one batch, preprocessing costs vary by orders of magnitude: CPU decoding latency scales superlinearly with video duration and resolution, spatial transformation cost grows with pixel count, and the resulting sequence lengths—visual tokens in autoregressive VLMs or spatial latents in DiT architectures—diverge by 10–100×.

Figure

Figure 1. CPU-GPU coupling: preprocessing must meet per-rank readiness deadlines set by GPU execution.

Equal sample count no longer implies equal preprocessing time, much less equal GPU compute time. The imbalance has a global consequence: in synchronous data-parallel training, the slowest rank's preprocessing delay determines when all ranks advance, leaving faster ranks idle at the gradient synchronization barrier while a single straggler drags down cluster-wide GPU utilization—not merely a local CPU preprocessing issue but an architectural problem cascading into global GPU efficiency.

Figure 2 shows cross-rank latency variation and long-tail waits in native synchronous Qwen-VL training with batch size 2 and eight ranks. Per-rank step-time p95 ranges from 15.849 s to 22.829 s, a 1.44× gap. Separately supplied step measurements provide a complementary view: in Step 50, Rank 3 waits 61.006 s for data, while Rank 6 spends 60.298 s in synchronization. These measurements motivate coordinating batch readiness across ranks to limit input stalls and synchronization waiting, rather than optimizing aggregate preprocessing throughput alone.

Fundamentally, multimodal heterogeneity tightly couples CPU data production with GPU execution. While the GPU processes batch tt, the input pipeline has only that compute window to prepare batch t+1t+1; conversely, if any rank falls behind, the resulting data stall propagates to all ranks through synchronization. GPU progress therefore determines the preprocessing budget, while preprocessing readiness determines

Figure

(a) Per-rank step-time p95.

Data waitComputeSync wait
Rank 312.1061.1650.001
Rank 60.0431.37111.877
Data wait: 281.5x (R3 / R6)0.1251.30560.298

Step 42

Step 50

(b) Selected steps (s; widths not to scale).

Figure 2. Qwen-VL rank skew and long waits in native synchronous training (batch size 2, eight ranks).

whether GPU execution can advance. Figure 8 makes this coupling visible in multimodal VLM training: under rank-local DataLoaders, data wait and synchronization wait account for a substantial fraction of the summed rank-0 component summaries. These summaries diagnose waiting behavior rather than measured end-to-end step latency. The relevant objective is thus not aggregate preprocessing throughput or CPU makespan, but keeping per-rank data production aligned with the GPU execution timeline.

Prior work supplies important building blocks. DynaPipe [11] adapts microbatches and pipeline execution to variable sequence lengths. tf.data service [2] disaggregates preprocessing, Pecan [8] dynamically places workers across local and remote CPUs, and MegaScale-Data [30] coordinates multisource loading under heterogeneous preprocessing costs. Thus, remote execution and global coordination are established techniques; our focus is coupling input placement to each rank's batch-readiness target. This coupling requires accounting for when and where data becomes expensive to move. FastFlow [25] already considers network bandwidth in offloading decisions. For heterogeneous multimodal batches, we jointly consider candidate-specific preprocessing and delivery costs against the consuming rank's GPU window, make initial assignments before tensor materialization, and gate later corrections by their transfer cost.

Coordinating these decisions calls for a CPU-GPU Co-Scheduling Data Plane: a globally coordinated substrate that uses the GPU compute window to set a per-step readiness target, decides placement and routing at the descriptor stage before any tensor is materialized, and jointly optimizes CPU allocation and inter-node transfer cost across all ranks. Realizing this vision surfaces four interrelated challenges.

Challenge 1: Preprocessing cost cannot be known before execution. Token and latent counts, CPU decoding latency, and output tensor sizes are unknown until preprocessing completes, yet decisions must be made at the descriptor stage before any tensor is materialized. A scheduler relying on static estimates risks systematic mis-scheduling; waiting for exact measurements adds unacceptable latency.

Challenge 2: Placement must track synchronized consumption. Work stealing [3] and heterogeneous-cluster straggler mitigation [28] improve task completion. For training inputs, placement must also consider when each rank consumes its batch: a lightly loaded remote worker may still deliver too late after decoding and tensor transfer. A readiness miss can then propagate through synchronization, motivating per-rank deadline scoring alongside load and locality.

Challenge 3: Data amplification makes post-materialization migration prohibitively expensive. A sample occupies negligible storage as a descriptor but expands by orders of magnitude after decoding and collation: a short clip may take kilobytes at the index stage yet produce gigabytes of decoded RGB tensor. Deferring cross-node rebalancing until after materialization can cost more in transfer than re-decoding locally, and the benefit threshold is non-monotone in both sample size and network conditions.

Challenge 4: Integrating with the GPU execution loop without introducing synchronization overhead. Deadline-aware scheduling requires real-time feedback from the GPU execution layer—the remaining compute window and per-rank progress—yet coupling the data pipeline to the training process risks extra synchronization barriers or compromised fault isolation.

We present DATAHELIX, a CPU-GPU Co-Scheduling Data Plane for multimodal foundation model training that reframes the input system as a cluster-level data plane using GPU compute windows to set per-rank readiness targets.

At its core, DATAHELIX decouples control from data movement: the Coordinator makes placement and routing decisions at the descriptor stage before any tensor is materialized, while DataServers execute preprocessing and deliver payloads. A deadline-aware scheduler routes requests to minimize per-rank deadline misses, token/latent-aware batching equalizes GPU compute load, and cost-gated rebalancing corrects residual skew using collective communication. An asynchronous pipeline overlaps preprocessing with GPU execution without extra barriers. Together these mechanisms preserve standard DataLoader compatibility while addressing the architectural gap between rank-local loading and deadline-aware scheduling.

DATAHELIX has been seamlessly integrated into Pytorch and MindSpore [9]. We make the following contributions.

  • We identify CPU-GPU coupling as a key bottleneck in synchronous multimodal training and show that the relevant objective is per-rank data readiness along the GPU

execution timeline, rather than aggregate CPU throughput. We present DATAHELIX, a cluster-level CPU-GPU co-scheduling data plane that minimizes deadline misses across ranks.

  • We propose a metadata-first, deadline-aware placement architecture that combines descriptor-level cost estimates with runtime CPU, network, and GPU feedback to coordinate preprocessing before tensor materialization.

  • We design a two-tier load-balancing mechanism that combines token/latent-aware pre-balancing with cost-gated HCCL/NCCL-based residual correction, together with an asynchronous pipeline that overlaps preprocessing with GPU execution without extra barriers.

  • We evaluate DATAHELIX on an 8-card Ascend 910B server across 11 video and multimodal workloads, DATAHELIX reduces mean deadline-miss rate by 67.8% and mean p95 input-wait latency by 87.0%, while improving geometric-mean throughput by 2.72× over rank-local DataLoaders and 1.82× over a Ray actor pool under the same CPU budget. Beyond controlled evaluation, DataHelix has been upstreamed into the data engine of a widely used open-source AI framework with millions of downloads and tens of thousands of community contributors, and reported production deployments across thousands of enterprise users provide further evidence of its practicality at scale.

References (12)