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

ReDi:基于轨迹检索的高效免学习扩散推理

ReDi: Efficient Learning-Free Diffusion Inference via Trajectory Retrieval

University of California, Santa Barbara(加州大学圣塔芭芭拉分校)

Kexun Zhang, Xianjun Yang, William Yang Wang, Lei Li

AI总结:

针对扩散模型推理耗时的难题,本文提出了免学习的基于检索的扩散采样框架ReDi,通过从预计算知识库中检索相似轨迹跳过中间步骤,在保证生成性能理论上界的同时实现了2倍推理加速,并具备零样本跨域图像生成的泛化能力。

摘要:

扩散模型对多种数据展现出极具前景的生成能力。尽管生成质量很高,但由于需要大量采样迭代,扩散模型的推理仍然十分耗时。为加速推理,我们提出了ReDi,一种简单且免学习的基于检索的扩散采样框架。ReDi从预计算的知识库中,在生成早期阶段检索出与部分生成轨迹相似的轨迹,跳过大部分中间步骤,并从检索到的轨迹中的后续步骤继续采样。我们在理论上证明了ReDi的生成性能是有保证的。实验表明,ReDi将模型推理效率提升了2倍加速。此外,ReDi在零样本跨域图像生成(如图像风格化)中也能很好地泛化。

英文摘要:

Diffusion models show promising generation capability for a variety of data. Despite their high generation quality, the inference for diffusion models is still time-consuming due to the numerous sampling iterations required. To accelerate the inference, we propose ReDi, a simple yet learning-free Retrieval-based Diffusion sampling framework. From a precomputed knowledge base, ReDi retrieves a trajectory similar to the partially generated trajectory at an early stage of generation, skips a large portion of intermediate steps, and continues sampling from a later step in the retrieved trajectory. We theoretically prove that the generation performance of ReDi is guaranteed. Our experiments demonstrate that ReDi improves the model inference efficiency by 2x speedup. Furthermore, ReDi is able to generalize well in zero-shot cross-domain image generation such as image stylization.

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

↑