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

从数分钟到数秒:采用粗到细采样的加速型基于DDPM的图像修复

Minutes to Seconds: Speeded-up DDPM-based Image Inpainting with Coarse-to-Fine Sampling

School of Computer Science, Fudan University(复旦大学计算机科学技术学院);Innovation Center of Calligraphy and Painting Creation Technology, MCT, China(中国文化和旅游部书画创作技术创新中心);Videt Technology, Shanghai, China(上海微视科技)

Lintao Zhang, Xiangcheng Du, LeoWu TomyEnrique, Yiqun Wang, Yingbin Zheng, Cheng Jin

AI总结:

针对现有基于DDPM的图像修复方法RePaint耗时久的问题,提出结合轻量扩散模型、DDIM跳步采样、粗到细采样的加速方案,实现约60倍提速且性能具竞争力。

摘要:

在图像修复领域,现有基于去噪扩散概率模型(Denoising Diffusion Probabilistic Model, DDPM)的方法即RePaint可针对任意修复形式生成高质量图像。它以预训练DDPM为先验,通过对反向扩散过程(即去噪过程)施加条件来生成修复结果,但该过程耗时极长。本文提出一种高效的基于DDPM的图像修复方法,包含三项加速策略:第一,采用预训练轻量扩散模型(Light-Weight Diffusion Model, LWDM)以减少参数量;第二,在去噪过程中引入去噪扩散隐式模型(Denoising Diffusion Implicit Models, DDIM)的跳步采样方案;第三,提出粗到细采样(Coarse-to-Fine Sampling, CFS),通过在粗阶段降低图像分辨率、在精修阶段减少去噪时间步来加速推理。我们在人脸和通用图像修复任务上开展了大量实验,该方法在实现约60倍加速的同时取得了具有竞争力的性能。

英文摘要:

For image inpainting, the existing Denoising Diffusion Probabilistic Model (DDPM) based method i.e. RePaint can produce high-quality images for any inpainting form. It utilizes a pre-trained DDPM as a prior and generates inpainting results by conditioning on the reverse diffusion process, namely denoising process. However, this process is significantly time-consuming. In this paper, we propose an efficient DDPM-based image inpainting method which includes three speed-up strategies. First, we utilize a pre-trained Light-Weight Diffusion Model (LWDM) to reduce the number of parameters. Second, we introduce a skip-step sampling scheme of Denoising Diffusion Implicit Models (DDIM) for the denoising process. Finally, we propose Coarse-to-Fine Sampling (CFS), which speeds up inference by reducing image resolution in the coarse stage and decreasing denoising timesteps in the refinement stage. We conduct extensive experiments on both faces and general-purpose image inpainting tasks, and our method achieves competitive performance with approximately 60 times speedup.

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

↑