arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.13903cs.CV
收藏

基于子路径线性近似模型的图像生成加速

Accelerating Image Generation with Sub-path Linear Approximation Model

Nanjing University(南京大学);Alibaba Group(阿里巴巴集团);Shanghai AI Lab(上海人工智能实验室)

Chen Xu, Tianhui Song, Weixin Feng, Xubin Li, Tiezheng Ge, Bo Zheng, Limin Wang

AI总结:

本文提出子路径线性近似模型(SLAM),通过将PF-ODE轨迹分解为子路径并利用线性ODE近似,实现扩散模型的高效加速,仅需6个A100 GPU天训练即可在2-4步生成中达到最先进性能。

摘要:

扩散模型在图像、音频和视频生成任务中显著推进了最先进技术水平。然而,它们在实际场景中的应用受到推理速度慢的阻碍。受一致性模型中所用近似策略的启发,我们提出了子路径线性近似模型(SLAM),该模型在保持高质量图像生成的同时加速扩散模型。SLAM将PF-ODE轨迹视为由采样点划分的一系列PF-ODE子路径,并利用子路径线性(SL)ODE沿每条单独的PF-ODE子路径形成渐进且连续的误差估计。对这种SL-ODE的优化使SLAM能够构建具有更小累积近似误差的去噪映射。我们还开发了一种高效的蒸馏方法,以促进更先进扩散模型(如潜在扩散模型)的整合。我们的大量实验结果表明,SLAM实现了高效的训练方案,仅需6个A100 GPU天即可生成一个能够以2至4步生成且具有高性能的高质量生成模型。在LAION、MS COCO 2014和MS COCO 2017数据集上的全面评估也表明,SLAM在少步生成任务中超越了现有的加速方法,在FID和生成图像质量方面均达到了最先进性能。

英文摘要:

Diffusion models have significantly advanced the state of the art in image, audio, and video generation tasks. However, their applications in practical scenarios are hindered by slow inference speed. Drawing inspiration from the approximation strategies utilized in consistency models, we propose the Sub-path Linear Approximation Model (SLAM), which accelerates diffusion models while maintaining high-quality image generation. SLAM treats the PF-ODE trajectory as a series of PF-ODE sub-paths divided by sampled points, and harnesses sub-path linear (SL) ODEs to form a progressive and continuous error estimation along each individual PF-ODE sub-path. The optimization on such SL-ODEs allows SLAM to construct denoising mappings with smaller cumulative approximated errors. An efficient distillation method is also developed to facilitate the incorporation of more advanced diffusion models, such as latent diffusion models. Our extensive experimental results demonstrate that SLAM achieves an efficient training regimen, requiring only 6 A100 GPU days to produce a high-quality generative model capable of 2 to 4-step generation with high performance. Comprehensive evaluations on LAION, MS COCO 2014, and MS COCO 2017 datasets also illustrate that SLAM surpasses existing acceleration methods in few-step generation tasks, achieving state-of-the-art performance both on FID and the quality of the generated images.

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

↑