ResDiff: Combining CNN and Diffusion Model for Image Super-Resolution
Shuyao Shang, Zhengyang Shan, Guangxing Liu, LunQian Wang, XingHua Wang, Zekai Zhang, Jinglin Zhang
TL;DR
ResDiff addresses the inefficiency of diffusion-based SISR by fusing a lightweight pre-trained CNN that recovers the main low-frequency content with a diffusion model that learns the residual in the CNN space. It introduces a frequency-domain strategy, including a CNN loss with FFT and DWT components and a frequency-guided diffusion comprising an FD Info Splitter and HF-guided Cross-Attention to emphasize high-frequency details. Empirical results on FFHQ, CelebA, DIV2K, and Urban100 show faster convergence and improved sample quality, with stronger PSNR/SSIM and lower FID compared to previous diffusion-based methods, while achieving diverse outputs. The approach offers a practical route to efficient, high-fidelity SISR and can be extended to other restoration tasks, with future work focusing on computational optimization and color consistency.
Abstract
Adapting the Diffusion Probabilistic Model (DPM) for direct image super-resolution is wasteful, given that a simple Convolutional Neural Network (CNN) can recover the main low-frequency content. Therefore, we present ResDiff, a novel Diffusion Probabilistic Model based on Residual structure for Single Image Super-Resolution (SISR). ResDiff utilizes a combination of a CNN, which restores primary low-frequency components, and a DPM, which predicts the residual between the ground-truth image and the CNN predicted image. In contrast to the common diffusion-based methods that directly use LR images to guide the noise towards HR space, ResDiff utilizes the CNN's initial prediction to direct the noise towards the residual space between HR space and CNN-predicted space, which not only accelerates the generation process but also acquires superior sample quality. Additionally, a frequency-domain-based loss function for CNN is introduced to facilitate its restoration, and a frequency-domain guided diffusion is designed for DPM on behalf of predicting high-frequency details. The extensive experiments on multiple benchmark datasets demonstrate that ResDiff outperforms previous diffusion based methods in terms of shorter model convergence time, superior generation quality, and more diverse samples.
