提升用于内容一致超分辨率的扩散模型的稳定性和效率
Improving the Stability and Efficiency of Diffusion Models for Content Consistent Super-Resolution
AI总结:
提出CCSR方法,将超分辨率过程分为DM重建结构和GAN增强细节两阶段,采用非均匀时间步采样和确定性微调,在1-2步扩散下实现高内容一致性与感知质量。
摘要:
预训练潜在扩散模型(DMs)的生成先验在增强图像超分辨率(SR)结果的视觉质量方面展现了巨大潜力。然而,DMs中的噪声采样过程在SR输出中引入了随机性,不同的噪声样本生成的图像内容可能差异很大。多步扩散过程可以通过蒸馏方法加速,但生成能力难以控制。为了解决这些问题,我们分析了DMs和生成对抗网络(GANs)各自的优势,提出将生成式SR过程分为两个阶段:DM用于重建图像结构,GAN用于改善细粒度细节。具体而言,我们在第一阶段提出非均匀时间步采样策略。首先应用单时间步采样从输入图像中提取粗略信息,然后使用少量反向步骤重建主要结构。在第二阶段,我们通过对抗性GAN训练微调预训练变分自编码器的解码器,以实现确定性的细节增强。训练完成后,我们提出的方法即内容一致超分辨率(CCSR),允许在推理阶段灵活使用不同的扩散步骤而无需重新训练。大量实验表明,使用2甚至1个扩散步骤,CCSR能显著提高SR输出的内容一致性,同时保持高感知质量。代码和模型可在https://github.com/csslc/CCSR获取。
英文摘要:
The generative priors of pre-trained latent diffusion models (DMs) have demonstrated great potential to enhance the visual quality of image super-resolution (SR) results. However, the noise sampling process in DMs introduces randomness in the SR outputs, and the generated contents can differ a lot with different noise samples. The multi-step diffusion process can be accelerated by distilling methods, but the generative capacity is difficult to control. To address these issues, we analyze the respective advantages of DMs and generative adversarial networks (GANs) and propose to partition the generative SR process into two stages, where the DM is employed for reconstructing image structures and the GAN is employed for improving fine-grained details. Specifically, we propose a non-uniform timestep sampling strategy in the first stage. A single timestep sampling is first applied to extract the coarse information from the input image, then a few reverse steps are used to reconstruct the main structures. In the second stage, we finetune the decoder of the pre-trained variational auto-encoder by adversarial GAN training for deterministic detail enhancement. Once trained, our proposed method, namely content consistent super-resolution (CCSR),allows flexible use of different diffusion steps in the inference stage without re-training. Extensive experiments show that with 2 or even 1 diffusion step, CCSR can significantly improve the content consistency of SR outputs while keeping high perceptual quality. Codes and models can be found at \href{https://github.com/csslc/CCSR}{https://github.com/csslc/CCSR}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。