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

细看时间步值得为扩散模型训练带来三倍加速

A Closer Look at Time Steps is Worthy of Triple Speed-Up for Diffusion Model Training

National University of Singapore(新加坡国立大学);Shenzhen Technology University(深圳技术大学);Infinigence-AI(智源人工智能);Illinois Institute of Technology(伊利诺伊理工学院);Nanyang Technological University(南洋理工大学)

Kai Wang, Mingjia Shi, Yukun Zhou, Zekai Li, Zhihang Yuan, Yuzhang Shang, Xiaojiang Peng, Hanwang Zhang, Yang You

AI总结:

本文提出SpeeD方法,通过非对称采样和加权策略优化时间步使用,实现扩散模型训练三倍加速,且即插即用、架构无关,显著降低成本。

摘要:

训练扩散模型始终是一项计算密集型任务。在本文中,我们介绍了一种新颖的扩散模型训练加速方法,该方法基于对时间步的细致观察。我们的关键发现是:i) 根据过程增量,时间步可以经验性地划分为加速区、减速区和收敛区。ii) 这些时间步是不平衡的,许多时间步集中在收敛区。iii) 这些集中的时间步对扩散训练的益处有限。为了解决这一问题,我们设计了一种非对称采样策略,该策略降低了来自收敛区的时间步的采样频率,同时提高了来自其他区域的时间步的采样概率。此外,我们提出了一种加权策略,以强调具有快速变化过程增量的时间步的重要性。作为一种即插即用且与架构无关的方法,SpeeD在各种扩散架构、数据集和任务上一致地实现了3倍的加速。值得注意的是,由于其设计简单,我们的方法以极小的开销显著降低了扩散模型训练的成本。我们的研究使更多研究人员能够以更低的成本训练扩散模型。

英文摘要:

Training diffusion models is always a computation-intensive task. In this paper, we introduce a novel speed-up method for diffusion model training, called, which is based on a closer look at time steps. Our key findings are: i) Time steps can be empirically divided into acceleration, deceleration, and convergence areas based on the process increment. ii) These time steps are imbalanced, with many concentrated in the convergence area. iii) The concentrated steps provide limited benefits for diffusion training. To address this, we design an asymmetric sampling strategy that reduces the frequency of steps from the convergence area while increasing the sampling probability for steps from other areas. Additionally, we propose a weighting strategy to emphasize the importance of time steps with rapid-change process increments. As a plug-and-play and architecture-agnostic approach, SpeeD consistently achieves 3-times acceleration across various diffusion architectures, datasets, and tasks. Notably, due to its simple design, our approach significantly reduces the cost of diffusion model training with minimal overhead. Our research enables more researchers to train diffusion models at a lower cost.

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

↑