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

SCott:利用随机一致性蒸馏加速扩散模型

SCott: Accelerating Diffusion Models with Stochastic Consistency Distillation

OPPO

Hongjian Liu, Qingsong Xie, TianXiang Ye, Zhijie Deng, Chen Chen, Shixiang Tang, Xueyang Fu, Haonan Lu, Zheng-jun Zha

AI总结:

提出SCott(随机一致性蒸馏)方法,将随机微分方程求解器集成到一致性蒸馏中以加速扩散模型的文本到图像生成,仅需2-4步即可实现高质量且多样化的图像生成。

摘要:

扩散模型(DMs)采用的迭代采样过程通常会导致显著的推理延迟。为了解决这一问题,我们提出了Stochastic Consistency Distillation(SCott,随机一致性蒸馏)以实现加速的文本到图像生成,仅需2-4个采样步骤即可获得高质量和多样化的生成结果。与原始的一致性蒸馏(CD)将预训练教师模型基于常微分方程求解器的采样过程蒸馏给学生不同,SCott探索了将随机微分方程(SDE)求解器集成到CD中的可能性,并验证了其有效性,以充分释放教师模型的潜力。SCott通过精心设计的策略增强了SDE求解器对噪声强度和采样过程的控制。此外,进一步引入对抗损失以强化在极少采样步骤下的一致性约束。在实验中,以Stable Diffusion-V1.5为教师模型,SCott在MSCOCO-2017 5K数据集上以2个采样步骤实现了21.9的FID,超越了1步的InstaFlow(23.4)和4步的UFOGen(22.1)。此外,与其他一致性模型相比,SCott在高分辨率图像生成中能产生更多样化的样本,在合格指标上提升了高达16%。

英文摘要:

The iterative sampling procedure employed by diffusion models (DMs) often leads to significant inference latency. To address this, we propose Stochastic Consistency Distillation (SCott) to enable accelerated text-to-image generation, where high-quality and diverse generations can be achieved within just 2-4 sampling steps. In contrast to vanilla consistency distillation (CD) which distills the ordinary differential equation solvers-based sampling process of a pre-trained teacher model into a student, SCott explores the possibility and validates the efficacy of integrating stochastic differential equation (SDE) solvers into CD to fully unleash the potential of the teacher. SCott is augmented with elaborate strategies to control the noise strength and sampling process of the SDE solver. An adversarial loss is further incorporated to strengthen the consistency constraints in rare sampling steps. Empirically, on the MSCOCO-2017 5K dataset with a Stable Diffusion-V1.5 teacher, SCott achieves an FID of 21.9 with 2 sampling steps, surpassing that of the 1-step InstaFlow (23.4) and the 4-step UFOGen (22.1). Moreover, SCott can yield more diverse samples than other consistency models for high-resolution image generation, with up to 16% improvement in a qualified metric.

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

↑