arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.14145cs.DCcs.AI
收藏

DIP: 一种高效的大规模多模态模型训练方法,采用动态交错流水线

DIP: Efficient Large Multimodal Model Training with Dynamic Interleaved Pipeline

Institute of Parallel and Distributed Systems(并行与分布式系统研究所);Shanghai Jiao Tong University(上海交通大学)

Zhenliang Xue, Hanpeng Hu, Xing Chen, Yimin Jiang, Yixin Song, Zeyu Mi, Yibo Zhu, Daxin Jiang, Yubin Xia, Haibo Chen

AI总结:

本文提出DIP框架,通过分离不同模态计算和动态分割输入数据,提升大规模多模态模型训练效率,实验显示吞吐量提升达97.3%。

摘要:

大规模多模态模型(LMMs)在理解和生成任务中展现出卓越能力,但其训练效率受两大问题影响:异构模型架构导致的流水线阶段不平衡,以及多模态数据多样性导致的训练数据动态性。本文提出DIP,一种动态且模态感知的流水线调度框架,通过将不同模态的计算分离到专用流水线段,以及动态分割输入数据为模态特定的细粒度子微批次,平衡各阶段的工作负载。在训练过程中,DIP异步生成流水线调度,利用空闲CPU资源,动态调整阶段执行以适应每个输入批次,不中断训练流程。我们在五个不同规模(12B至94B参数)的LMM上验证了DIP,包括视觉语言和扩散模型。实验结果表明,我们的系统相比现有系统吞吐量提升达97.3%,显示出对波动的多模态训练负载的强适应性。

英文摘要:

Large multimodal models (LMMs) have demonstrated excellent capabilities in both understanding and generation tasks with various modalities. While these models can accept flexible combinations of input data, their training efficiency suffers from two major issues: pipeline stage imbalance caused by heterogeneous model architectures, and training data dynamicity stemming from the diversity of multimodal data. In this paper, we present DIP, a dynamic and modality-aware pipeline scheduling framework designed for LMM training. DIP tackles the challenge of dynamic imbalance via two key techniques: (1) separating computations of different modalities into dedicated pipeline segments to balance workloads within a continuous set of stages; (2) dynamically splitting input data into finer-grained, modality-specific sub-microbatches to balance workloads across these segments. By asynchronously generating pipeline schedules on idle CPU resources during training, DIP dynamically tailors stage executions to each input batch without stalling the training process. We validate DIP on a diverse set of five LMMs, ranging from 12B to 94B parameters and including vision-language and diffusion models. Experimental results show that our system achieves up to 97.3% higher throughput compared to state-of-the-art systems, demonstrating strong adaptability to fluctuating multimodal training workloads.

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

↑