One-Step Effective Diffusion Network for Real-World Image Super-Resolution

The pre-trained text-to-image diffusion models have been increasingly employed to tackle the real-world image super-resolution (Real-ISR) problem due to their powerful generative image priors. Most of the existing methods start from random noise to reconstruct the high-quality (HQ) image under the guidance of the given low-quality (LQ) image. While promising results have been achieved, such Real-ISR methods require multiple diffusion steps to reproduce the HQ image, increasing the computational cost. Meanwhile, the random noise introduces uncertainty in the output, which is unfriendly to image restoration tasks. To address these issues, we propose a one-step effective diffusion network, namely OSEDiff, for the Real-ISR problem. We argue that the LQ image contains rich information to restore its HQ counterpart, and hence the given LQ image can be directly taken as the starting point for diffusion, eliminating the uncertainty introduced by random noise sampling. We finetune the pre-trained diffusion network with trainable layers to adapt it to complex image degradations. To ensure that the one-step diffusion model could yield HQ Real-ISR output, we apply variational score distillation in the latent space to conduct KL-divergence regularization. As a result, our OSEDiff model can efficiently and effectively generate HQ images in just one diffusion step. Our experiments demonstrate that OSEDiff achieves comparable or even better Real-ISR results, in terms of both objective metrics and subjective evaluations, than previous diffusion model-based Real-ISR methods that require dozens or hundreds of steps. The source codes are released at https://github.com/cswry/OSEDiff.

Paper

Similar papers

Peer review

Reviewer 4vqL5/10 · confidence 4/52024-07-13

Summary

In this paper, authors propose a novel one-step effective diffusion network, termed as OSEDiff, for the Real-ISR. The proposed OSEDiff adopts LQ image as the input and directly output the final output with the help of the decoder of VAE, thus eliminate the uncertainty introduced by random noise sampling and achieve one-step generation of diffusion model. Besides, the variational score distillation is introduced in the latent space to conduct KL-divergence regularization to enhance the quality of final Real-ISR output. In the experimental part, the proposed method outperforms other baselines in both quantitative and qualitative comparisons.

Strengths

There are several strengths here: 1. One-step diffusion model is attractive and intereting, which will significantly reduce the inference time. 2. The paper is easy to read and understand. 3. The proposed method show comparable results in the experimental part.

Weaknesses

There are several weakness here: 1. Experimental part could be further improved, which will be further demonstrated in the following section. 2. The efficient and params of the proposed method is expected to be detailed demonstrated.

Questions

There are several concerns and suggestions here: 1. I am wondering the comparisons between the proposed method and SinSR. Does the improvement of performance gain from the pre-trained SD? 2. Experiments of the paper is expected to be improved. For instance, total parameters instead of the training parameters are expected to be compared in the Table 2, which is more closely related to the deployment. 3. I am wondering the reason why the setting of "w/o VSD loss" may achieve better PSNR than proposed method. I would be better to provide more visual results of it to demonstrate the effectiveness of the VSD loss.

Rating

5

Confidence

4

Soundness

3

Presentation

3

Contribution

3

Limitations

Could be referred to above.

Authorsrebuttal2024-08-14

Thank you very much for pointing out this problem. We carefully re-examined OSEDiff's inference code and found that it is a Python decorator function that consumes much time. This function is just to calculate the inference memory usage without affecting anything on the restoration process. We therefore removed this function and reassessed the inference time of different modules for both OSEDiff and SinSR. The results are shown in the table below: | OSEDiff | DAPE | Text Encoder | VAE Encoder | UNet | VAE Decoder | SUM | |:------------:|:------:|:------------:|:-----------:|:------:|:-----------:|:------:| | FLOPs (G) | 104 | 22 | 542 | 355 | 1242 | 2265 | | Time cost (s)| 0.023 | 0.010 | 0.020 | 0.026 | 0.037 | 0.116 | | SinSR | VAE Encoder | UNet | VAE Decoder | SUM | |:------------:|:-----------:|:------:|:-----------:|:------:| | FLOPs (G) | 898 | 202 | 1549 | 2649 | | Time cost (s)| 0.034 | 0.045 | 0.051 | 0.130 | We can see that the overall time consumption of OSEDiff is 0.116s, which is actually less than SinSR (0.130s). Though the DAPE module in OSEDiff costs additional time, the VAE Encoder, UNet, and VAE Decoder modules of OSEDiff consume less time than those of SinSR. Note that although SinSR's UNet has lower FLOPs (202G) than OSEDiff's UNet (355G), its inference time is nearly doubled because SinSR's UNet employs Swin Transformer blocks. The frequent window partitioning operations elevate memory access and data movement costs, resulting in increased latency. Similar observations can be seen for OSEDiff's DAPE module, which also uses a Swin Transformer backbone. Its FLOPs is less than 1/3 of that of UNet, yet its time consumption is comparable to UNet. The time consumption of SinSR reported in our main paper is 0.16s, which includes the time for converting the model output tensor to an image. We will change it to 0.130s in the revision for fair comparison. Again, we sincerely thank this reviewer for the careful reading of our paper and indicating this problem. We will correct this issue in the revision.

Reviewer px3F5/10 · confidence 5/52024-07-13

Summary

This paper introduces a diffusion-based real-world image super-resolution method, OSEDiff, which can efficiently generate high-quality images in just one diffusion step. Firstly, in order to eliminate the uncertainty introduced by random noise sampling, the authors propose to directly feed the low-quality images without any random noise into the pre-trained SD model which integrates trainable LoRA layers. Furthermore, the variational score distillation for KL-divergence regularization is utilized to align the distribution of generated images with natural image prior, ensuring that the one-step diffusion model could still generate high-quality output. OSEDiff achieves comparable performance to state-of-the-art SD-based real-world image super-resolution methods with fewer trainable parameters and inference time.

Strengths

This paper introduces a one-step effective diffusion network for real-world image super-resolution. The low-quality images without any random noise are utilized as the inputs of the pre-trained SD model and the VSD in latent space are utilized to align the distribution of generated images with natural image prior. The proposed method solves two problems in diffusion-based real-world image super-resolution and it achieves comparable performance to state-of-the-art SD-based real-world image super-resolution methods with fewer trainable parameters and inference time. The figures of this paper are simple and clear, with precise formula expressions, demonstrating a certain clarity.

Weaknesses

(1) The motivation is unclear. In the introduction, the authors use a certain amount of space to mention two major issues in training a Real-ISR model, including the problem of how to build the LQ-HQ training image pairs, but this paper does not propose an innovative solution to this problem. (2) The explanation of the novelty and its effectiveness are insufficient. 1) Contribution 1, "directly feeding the LQ images into the pre-trained SD model without introducing any random noise," claims to eliminate the uncertainty of output but lacks supporting evidence, raising doubts about its validity. It is recommended to provide visual evidence and analyze why this can eliminate the uncertainty and achieve better Real-ISR performance in detail. 2) Contribution 2, “utilizing variational score distillation for KL-divergence regularization,” it is recommended to provide some visualization of the output of diffusion network which are sent to the two regularizer networks to prove that it can align the distribution of generated images with natural image prior. (3) The metrics used need more explanation. Since CLIPIQA is text-related, although it has been proved to be effective and generalized in image quality assessment, it is not that convincing to directly apply it to evaluate the quality of real-world super-resolution images. More explanation can be provided. (4) Details of the network structure are lacking in the figure. In Figure 2, the detailed network structure of VAE encoder and the diffusion network with trainable LoRA layers are lacking. It is recommended to provide detailed network structure. (5) In “Ablation Study”, the super-resolution performance of the method with text prompt extractor is not competitive enough compared to removing text prompt. Although the qualitative comparisons show that the method with text prompt extractor can generate richer image details, the method without text prompt is much better for several common metrics.

Questions

(1) Could you please provide some visualization of the output of diffusion network which are sent to the two regularizer networks to further prove the effectiveness of the regularization loss in the latent space? (2) Could you please explain in detail why "directly feeding the LQ images into the pre-trained SD model" can eliminate the uncertainty of output and achieve better Real-ISR performance than the methods which uses inputs with random noise? (3) Could you please provide detailed network structure of VAE encoder and the diffusion network with trainable LoRA layers? (4) Could you please provide more qualitative comparisons of the method with/without text prompt extractor to further prove the effectiveness of text prompt or further elaborate on the importance of the text prompt to prove that it is essential?

Rating

5

Confidence

5

Soundness

3

Presentation

3

Contribution

2

Limitations

(1) Briefly explain why "directly feeding the LQ images into the pre-trained SD model" can eliminate the uncertainty of output, and why it can achieve better Real-ISR performance than the methods which uses inputs with random noise. (2) Please provide some visualization of the output of diffusion network which are sent to the two regularizer networks.

Reviewer KDhM7/10 · confidence 5/52024-07-13

Summary

This paper presents a novel approach to real-world image super-resolution for a one-step effective diffusion network (OSEDiff). The proposed OSEDiff effectively eliminates the uncertainty introduced by random noise sampling in previous methods, achieving significant performance improvements across multiple benchmarks, demonstrating its potential for practical applications.

Strengths

1. The focus on one-step diffusion in this paper is particularly noteworthy, as it addresses a critical challenge for the practical application of diffusion models in image super-resolution tasks. 2. The performance gains and visually compelling results suggest the effectiveness of the proposed method for real-world image super-resolution. 3. The paper is well-structured and easy to follow.

Weaknesses

1. The core concept of this paper shares similarities with "One-step Diffusion with Distribution Matching Distillation". A comprehensive comparison with this work, including performance metrics, training efficiency (parameters and FLOPs), and potential limitations, would strengthen the paper's contribution. 2. While Table 2 provides a comparison of trainable parameters, including the total number of model parameters and FLOPs during inference would offer a more complete picture of computational efficiency. 3. There is a lack of discussion on the degradation in LQ images, such as how to ensure that text prompts remain accurate in low-quality scenarios. 4. In Figure 7 (first and second scenarios), some generated details and textures appear to be creatively added rather than strictly reconstructed from the LQ input. Addressing potential limitations in fidelity due to this creative aspect would be valuable.

Questions

No more questions.

Rating

7

Confidence

5

Soundness

3

Presentation

3

Contribution

3

Limitations

The authors have discussed about the limitations.

Reviewer jXQz6/10 · confidence 4/52024-07-14

Summary

The paper introduces OSEDiff, a one-step diffusion network for Real-World Image Super-Resolution. OSEDiff performs variational score distillation in the latent space to ensure predicted scores align with those of multi-step pre-trained models. ​ By fine-tuning the pre-trained diffusion network with trainable LoRA layers, OSEDiff can adapt to real-world image degradations. Experimental results show that OSEDiff achieves comparable or superior Real-ISR outcomes to previous methods. ​ The paper's contributions include the development of OSEDiff, which addresses the limitations of traditional multi-step diffusion models and enables efficient production of high-quality images in one diffusion step. ​

Strengths

1. The proposed method outperforms the previous single-step SR method (SinSR) in terms of the most of metrics. 2. It is comparable to previous multi-step diffusion models but greatly reduces inference time. 3. The model has very few training parameters and can be trained with minimal resources, which is advantageous. 4. Figure 3 shows that the qualitative comparison results are very promising.

Weaknesses

1. How much would the performance of OSEDiff change if multiple denoising steps were performed, such as 20 steps or 50 steps? 2. The design of the key module, the regularizer networks, is not clearly explained. 3. It is unclear how the LR image is used as a condition. Is it concatenated along the channel dimension in the latent space? However, the pre-trained SD’s VAE encoder downscales by a factor of eight, so for a 512x512 HR input, the latent output is only 64x64, which conflicts with the 128*128 LQ setting mentioned in the first paragraph of section 4.1. 4. The reason for fine-tuning the VAE encoder is not very clear. Please explain in the revision why it is necessary to fine-tune the VAE encoder jointly with the diffusion model. If this has already been discussed, please indicate where it is covered. 5. Does the model support input of LR images with different resolutions? For example, if the input is a 32x32 LR image, can feasible results be obtained?

Questions

Please refer to the weakness part

Rating

6

Confidence

4

Soundness

3

Presentation

3

Contribution

3

Limitations

NA

Reviewer jXQz2024-08-09

Thanks for the response. The authors have solved my problems and I am about to maintain my positive recommendation; hope to see the VSD training code soon.

Authorsrebuttal2024-08-09

We sincerely thank this reviewer for the positive feedback. For sure we will release the training codes and all the trained models soon. Authors of paper 4246

Reviewer KDhM2024-08-10

Thank the authors for the careful reply. While the implementation draws some insights from ProlificDreamer and DMD, this paper is the first to address super-resolution tasks, and its contribution is valuable to the community. However, I have a further question regarding the VSD loss. Although the ablation experiments demonstrate its effectiveness, I have concerns. In super-resolution, the output must add details and remain consistent with the input. If the noise added in VSD loss is minimal, denoising might yield results similar to the original, making it hard to enhance details. On the other hand, too much noise could increase detail but compromise fidelity. Balancing these factors is challenging, which makes VSD more effective for generation tasks but less theoretically clear for image restoration. Could the authors offer a more illustration about this point? Would using a larger super-resolution model for distillation be a more reasonable approach?

Authorsrebuttal2024-08-11

**Q1. How to balance perception and fidelity in OSEDiff?** We sincerely thank this reviewer for the recognition on our contribution. This reviewer's comments on the role of VSD loss in OSEDiff is correct. VSD was originally proposed for the 3D generation task. We adopt it as a regularization term on image distribution, aiming to generate details and enhance the naturalness of the SR output. Adding heavier noise in VSD loss will improve generative ability, while adding lighter noise will result in better fidelity. In our implementation, we uniformly sampled $t$ in the VSD loss from 1 to 1000 in each iteration. Kindly note that in addition to VSD loss, we also employed the $L_2$ loss and LPIPS loss as fidelity constraints in OSEDiff. We balance perceptual quality and fidelity by adjusting the weights on different loss terms. We empirically set the weights of $L_2$ loss, LPIPS loss, and VSD Loss as 1, 2 and 1, respectively, and found that a good balance on perceptual quality and fidelity can be achieved, as evidenced by the experiments in our manuscript. **Q2. Would using a larger super-resolution model for distillation be a more reasonable approach?** Thanks for the insightful comments. Actually, at the very beginning of this work, we indeed have tried to use a large diffusion-based SR model, more specifically SeeSR, as the regularization model to distil OSEDiff. However, the trained model suffered from weak detail generation ability. This is because SeeSR, as an image restoration model but not a generation model, is already a trade-off between fidelity and perception. Its generative ability is reduced to ensure the fidelity of SR outputs. When using SeeSR as the regularization model, it is difficult to endow the OSEDiff model enough capacity to generate image details. Therefore, we directly use a pre-trained SD model as the regularization model.

Reviewer KDhM2024-08-13

I acknowledge that balancing fidelity and perceptual quality is challenging and hope the authors will provide more experiments and discussions on this issue. Thank the authors for addressing my concerns. I would like to raise my score.

Reviewer 4vqL2024-08-13

Many thanks for authors' response. Most of the concerns have been satisfied. The only concerns relies on the inference times, I hope the authors could demonstrate more on why the proposed OSEDiff obtains few FLOPs but more inference times than SinSR. It would be helpful for the readers.

Reviewer px3F2024-08-13

Official Comment by Reviewer px3F

Thanks for the authors' rebuttal. Most of my concerns have been addressed. I still have one question about the SR results in Table 1. We can see from this table that 9 metrics are used for performance evaluation, and part of them are better than other methods. In my opinion, the metrics results of different models of the proposed method may vary significantly. Some models can be chosen to perform well on part of the metrics. In fact, the same applies to the comparison methods, i.e., they can also be tailored to specific metrics like this paper. This paper directly uses the default models of comparison methods, and haven’t chosen models for metrics like this paper. Could this approach potentially make some comparison methods perform better than the proposed method? This can be analyzed in the revised version.

Authorsrebuttal2024-08-14

We are pleased that this reviewer found our responses helpful, and we thank this reviewer for the further question on evaluation metrics, which is actually an open problem for real-world image super-resolution (Real-ISR) evaluation. **Q1. Performance evaluation metrics** The key contribution of our work is the development of a fast one-step diffusion model for Real-ISR. As can be seen in the main paper, our OSEDiff model significantly reduces the inference time of previous SD-based models (e.g., it is 30x faster than StableSR and 10x faster than SeeSR). Apart from complexity and speed, for the performance evaluation metrics shown in Table 1 of our paper, we actually adopted the ones used in existing works in order for fair comparison with them. We didn’t deliberately select metrics which are advantages to our model. Those metrics can be generally classified into two categories: fidelity-oriented ones (e.g., PSNR, SSIM) and perception-oriented ones (e.g., NIQE, MUSIQ, CLIPIQA). For the Real-ISR task, usually we emphasize a little bit more on the perceptual quality of the restoration output. Unfortunately, by far the accurate perceptual image quality assessment (IQA) remains an open problem, and no one single metric can align with human visual perception very well. On the other hand, there are certain conflicts between fidelity-oriented metrics and perception-oriented ones. This also explains why one algorithm performs well on some metrics but not so well on other metrics. If an algorithm is tailored to some metrics, it may become disadvantageous on other metrics. Being highly advantageous on inference speed, our approach shows comparable with or even superior results to the competing methods on the nine metrics. The visual comparisons also demonstrate its competitiveness. We will release our codes and trained models so that the peers can test OSEDiff’s performance on different scenarios. **Q2. Default models of comparison methods** We follow the convention in the community to use the official models of competing methods for comparison, with the parameter settings recommended by the authors. We believe this is the fairest way to compare the different Real-ISR methods. If we tailor one model or change its parameter setting to improve some metrics, other metrics may be deteriorated (see our responses to Q1), and this is unfair for other competing methods. Nonetheless, we agree that how to better evaluate the performance of Real-ISR models needs the collective efforts from the community.

Program Chairsdecision2024-09-25

Decision

Accept (poster)

© 2026 NYSGPT2525 LLC