Improving the Stability and Efficiency of Diffusion Models for Content Consistent Super-Resolution

Lingchen Sun, Rongyuan Wu, Jie Liang, Zhengqiang Zhang, Hongwei Yong +1 more
12/30/2023
eess.IVcs.CV

Official code: csslc/CCSR (611 stars, Apache-2.0, last commit 2025-07-17).

Abstract

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}.

View on arXivView PDF

Code Implementations(1)

csslc/CCSROfficial100%
Apache-2.0

[TIP2026] Official codes of CCSRv2 and CCSRv1: Improving the Stability and Efficiency of Diffusion Models for Content Consistent Super-Resolution

61143C++, CudaDec 10, 20231 years agoApache-2.0
arbitrary-steps-image-super-resolutionccsrdiffusion

Similar Papers

Cite this paper

@article{sun2023improving,
  title  = {Improving the Stability and Efficiency of Diffusion Models for Content Consistent Super-Resolution},
  author = {Lingchen Sun and Rongyuan Wu and Jie Liang and Zhengqiang Zhang and Hongwei Yong and Lei Zhang},
  year   = {2023},
  eprint = {2401.00877},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.00877v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.00877.svg)](https://codeofpaper.com/paper/2401.00877)

Discussion