arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.09181cs.CV
收藏

通过多阶段框架和定制多解码器架构提高扩散模型的效率

Improving Efficiency of Diffusion Models via Multi-Stage Framework and Tailored Multi-Decoder Architectures

University of Michigan(密歇根大学);Michigan State University(密歇根州立大学)

Huijie Zhang, Yifu Lu, Ismail Alkhouri, Saiprasad Ravishankar, Dogyoon Song, Qing Qu

AI总结:

本文提出多阶段框架和定制多解码器架构,以提高扩散模型的训练和采样效率。

摘要:

扩散模型作为一种强大的深度生成工具,已在各种应用中表现出色。它们通过两步过程运行:在训练样本中引入噪声,然后利用模型将随机噪声转换为新样本(例如图像)。然而,其卓越的生成性能受到缓慢训练和采样速度的阻碍。这主要是由于需要跟踪大量的前向和反向扩散轨迹,并在多个时间步(即噪声水平)中使用具有大量参数的大模型。为了解决这些挑战,我们提出了一种受我们经验发现启发的多阶段框架。这些观察表明,使用针对每个时间步定制的参数具有优势,同时保留在所有时间步共享的通用参数。我们的方法涉及将时间间隔分割成多个阶段,其中我们使用定制的多解码器U-Net架构,该架构结合了时间依赖模型和共享的通用编码器。我们的框架使计算资源的高效分配成为可能,并减轻了阶段间的干扰,从而显著提高了训练效率。广泛的数值实验证实了我们框架的有效性,展示了在三种最先进的扩散模型上显著的训练和采样效率提升,包括大规模潜在扩散模型。此外,我们的消融研究展示了我们框架中两个重要组成部分的影响:(i)一种新的时间步聚类算法用于阶段划分,(ii)一种创新的多解码器U-Net架构,无缝整合了通用和定制的超参数。

英文摘要:

Diffusion models, emerging as powerful deep generative tools, excel in various applications. They operate through a two-steps process: introducing noise into training samples and then employing a model to convert random noise into new samples (e.g., images). However, their remarkable generative performance is hindered by slow training and sampling. This is due to the necessity of tracking extensive forward and reverse diffusion trajectories, and employing a large model with numerous parameters across multiple timesteps (i.e., noise levels). To tackle these challenges, we present a multi-stage framework inspired by our empirical findings. These observations indicate the advantages of employing distinct parameters tailored to each timestep while retaining universal parameters shared across all time steps. Our approach involves segmenting the time interval into multiple stages where we employ custom multi-decoder U-net architecture that blends time-dependent models with a universally shared encoder. Our framework enables the efficient distribution of computational resources and mitigates inter-stage interference, which substantially improves training efficiency. Extensive numerical experiments affirm the effectiveness of our framework, showcasing significant training and sampling efficiency enhancements on three state-of-the-art diffusion models, including large-scale latent diffusion models. Furthermore, our ablation studies illustrate the impact of two important components in our framework: (i) a novel timestep clustering algorithm for stage division, and (ii) an innovative multi-decoder U-net architecture, seamlessly integrating universal and customized hyperparameters.

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

↑