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

借助时间步调谐器实现更准确的扩散模型加速

Towards More Accurate Diffusion Model Acceleration with A Timestep Tuner

Tsinghua University(清华大学);Ant Group(蚂蚁集团);Alibaba Group(阿里巴巴集团);Shanghai Jiao Tong University(上海交通大学);Texas A&M University(德克萨斯大学)

Mengfei Xia, Yujun Shen, Changsong Lei, Yu Zhou, Ran Yi, Deli Zhao, Wenping Wang, Yong-Jin Liu

AI总结:

针对扩散模型加速后性能下降的问题,提出即插即用的时间步调谐器,通过调整去噪时间步优化积分方向,能以低训练成本提升少步去噪下多种加速方法的生成效果。

摘要:

扩散模型被设计为通过数千步去噪生成图像,通常存在推理速度慢的问题。现有加速算法通过跳过大部分步骤来简化采样,但会出现显著的性能下降。我们将扩散模型的生成过程视为离散积分过程,认为质量下降的部分原因是对时间步区间施加了不准确的积分方向。为纠正这一问题,我们提出了一种**时间步调谐器(timestep tuner)**,它能以最低成本为特定区间找到更准确的积分方向。具体而言,在每一步去噪时,我们通过让网络以新的时间步为条件来替换原始参数化方式,促使采样分布趋近于真实分布。大量实验表明,我们的即插即用设计训练效率高,能够提升多种现有最优加速方法的推理性能,尤其是在去噪步数较少的情况下。例如,在LSUN Bedroom数据集上使用10步去噪时,仅通过采用我们的方法获得更合适的时间步集合,我们就将DDIM的FID从9.65提升至6.07。代码可在https://github.com/THU-LYJ-Lab/time-tuner获取。

英文摘要:

A diffusion model, which is formulated to produce an image using thousands of denoising steps, usually suffers from a slow inference speed. Existing acceleration algorithms simplify the sampling by skipping most steps yet exhibit considerable performance degradation. By viewing the generation of diffusion models as a discretized integral process, we argue that the quality drop is partly caused by applying an inaccurate integral direction to a timestep interval. To rectify this issue, we propose a \textbf{timestep tuner} that helps find a more accurate integral direction for a particular interval at the minimum cost. Specifically, at each denoising step, we replace the original parameterization by conditioning the network on a new timestep, enforcing the sampling distribution towards the real one. Extensive experiments show that our plug-in design can be trained efficiently and boost the inference performance of various state-of-the-art acceleration methods, especially when there are few denoising steps. For example, when using 10 denoising steps on LSUN Bedroom dataset, we improve the FID of DDIM from 9.65 to 6.07, simply by adopting our method for a more appropriate set of timesteps. Code is available at \href{https://github.com/THU-LYJ-Lab/time-tuner}{https://github.com/THU-LYJ-Lab/time-tuner}.

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

↑