arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.05450cs.CVcs.DCcs.LG
收藏

去中心化扩散模型

Decentralized Diffusion Models

University of California, Berkeley(加利福尼亚大学伯克利分校);Luma AI

David McAllister, Matthew Tancik, Jiaming Song, Angjoo Kanazawa

AI总结:

本文提出Decentralized Diffusion Models,通过隔离训练数据分区专家并由轻量路由器集成,实现跨独立GPU节点的去中心化扩散训练,且在同等FLOP下性能更优。

摘要:

大规模AI模型训练将工作分配给数千个GPU,然后在每一步跨这些GPU同步梯度。这会带来显著的网络负担,只有集中式的单体集群才能支撑,从而推高基础设施成本并给电力系统造成压力。我们提出Decentralized Diffusion Models(去中心化扩散模型),这是一个可扩展框架,通过消除对集中式高带宽网络结构的依赖,将扩散模型训练分布到独立集群或数据中心。我们的方法在数据集的多个分区上训练一组专家扩散模型,每个模型彼此完全隔离。在推理时,这些专家通过一个轻量级路由器进行集成。我们证明,该集成共同优化的目标与在整个数据集上训练的单一模型相同。这意味着我们可以将训练负担分配给若干“计算岛”,从而降低基础设施成本,并提高对局部GPU故障的韧性。去中心化扩散模型使研究人员能够利用更小、更具成本效益且更容易获得的算力,例如按需GPU节点,而不是中央集成系统。我们在ImageNet和LAION Aesthetics上进行了大量实验,结果表明,在FLOP对等的情况下,去中心化扩散模型优于标准扩散模型。最后,我们将该方法扩展到240亿参数,证明现在仅用8个独立GPU节点就可以在不到一周的时间内训练出高质量扩散模型。

英文摘要:

Large-scale AI model training divides work across thousands of GPUs, then synchronizes gradients across them at each step. This incurs a significant network burden that only centralized, monolithic clusters can support, driving up infrastructure costs and straining power systems. We propose Decentralized Diffusion Models, a scalable framework for distributing diffusion model training across independent clusters or datacenters by eliminating the dependence on a centralized, high-bandwidth networking fabric. Our method trains a set of expert diffusion models over partitions of the dataset, each in full isolation from one another. At inference time, the experts ensemble through a lightweight router. We show that the ensemble collectively optimizes the same objective as a single model trained over the whole dataset. This means we can divide the training burden among a number of "compute islands," lowering infrastructure costs and improving resilience to localized GPU failures. Decentralized diffusion models empower researchers to take advantage of smaller, more cost-effective and more readily available compute like on-demand GPU nodes rather than central integrated systems. We conduct extensive experiments on ImageNet and LAION Aesthetics, showing that decentralized diffusion models FLOP-for-FLOP outperform standard diffusion models. We finally scale our approach to 24 billion parameters, demonstrating that high-quality diffusion models can now be trained with just eight individual GPU nodes in less than a week.

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

↑