arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.02075cs.DC
收藏

Trident:异构多模态数据流水线的自适应调度

Trident: Adaptive Scheduling for Heterogeneous Multimodal Data Pipelines

HKUST(香港科技大学);Huawei(华为)

Ding Pan, Zhuangzhuang Zhou, Long Qian, Binhang Yuan

AI总结:

Trident通过自适应调度框架提升异构多模态数据流水线的吞吐量,优化资源分配与配置转换,降低内存不足风险。

摘要:

大规模语言模型和多模态基础模型的快速采用使多模态数据准备流水线成为关键的AI基础设施。这些流水线将CPU密集型预处理与基于加速器(GPU/NPU/TPU)的推理交织在一起,并产生大量中间产物。实现高吞吐量具有挑战性,因为负载高度非平稳:制度转变、输入依赖的推理和短暂的内存峰值导致性能波动和内存不足(OOM)故障。现有调度器通常依赖基于阈值的自动扩展或假设同步、同构的操作符,导致效率低下。我们提出了Trident,一种用于固定资源集群上异构多模态流水线的自适应调度框架。Trident在三个耦合层之间形成闭环:(i)观测层通过高斯过程回归和异常过滤估计异步操作符的每操作符可持续吞吐量;(ii)适应层在线检测负载转变,并执行内存受限的贝叶斯优化以推荐内存安全的配置;(iii)调度层通过混合整数线性规划联合优化操作符并行性、放置和配置转换,在异构计算和带宽约束下进行优化,并通过滚动更新考虑冷启动开销。决策会触发样本无效和模型刷新,以保持估计与当前配置的一致性。在Ray Data上实现的Trident在文档整理(PDF)流水线中比静态基线提高了2.01倍的端到端吞吐量,在视频整理流水线中提高了1.88倍,具有低开销,适合在线重新优化。

英文摘要:

The rapid adoption of large language models and multimodal foundation models has made multimodal data preparation pipelines critical AI infrastructure. These pipelines interleave CPU-heavy preprocessing with accelerator-backed (GPU/NPU/TPU) inference and produce massive intermediate artifacts. Achieving high throughput is difficult because workloads are highly non-stationary: regime shifts, input-dependent inference, and transient memory spikes cause rapid performance fluctuations and out-of-memory (OOM) failures. Existing schedulers typically rely on threshold-based autoscaling or assume synchronous, homogeneous operators, leading to poor efficiency. We present Trident, an adaptive scheduling framework for heterogeneous multimodal pipelines on fixed-resource clusters. Trident closes the loop across three coupled layers: (i) an observation layer that estimates per-operator sustainable throughput for asynchronous operators via Gaussian Process regression with anomaly filtering; (ii) an adaptation layer that detects workload shifts online and performs memory-constrained Bayesian optimization to recommend OOM-safe configurations; and (iii) a scheduling layer that solves a mixed-integer linear program to jointly optimize operator parallelism, placement, and configuration transitions under heterogeneous compute and bandwidth constraints, accounting for cold-start overhead via rolling updates. Decisions trigger sample invalidation and model refresh to keep estimates consistent with the active configuration. Implemented on Ray Data, Trident improves end-to-end throughput by up to 2.01x on a document curation (PDF) pipeline and 1.88x on a video curation pipeline over a static baseline, with low overhead suitable for online re-optimization.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑