Skip to main content
QUICK REVIEW

[Paper Review] Image Super-Resolution with Text Prompt Diffusion

Zheng Chen, Yulun Zhang|arXiv (Cornell University)|Nov 24, 2023
Advanced Image Processing TechniquesComputer Science6 citations
TL;DR

This paper introduces PromptSR, a novel image super-resolution method that leverages text prompts as degradation priors to improve reconstruction quality in both synthetic and real-world scenarios. By using a diffusion model conditioned on text embeddings from pre-trained language models (e.g., T5, CLIP), and training on a text-image dataset generated via binning-based degradation representation, PromptSR achieves state-of-the-art performance on real-world benchmarks, outperforming methods like Real-ESRGAN, SwinIR-GAN, and DiffBIR in perceptual and aesthetic metrics.

ABSTRACT

Image super-resolution (SR) methods typically model degradation to improve reconstruction accuracy in complex and unknown degradation scenarios. However, extracting degradation information from low-resolution images is challenging, which limits the model performance. To boost image SR performance, one feasible approach is to introduce additional priors. Inspired by advancements in multi-modal methods and text prompt image processing, we introduce text prompts to image SR to provide degradation priors. Specifically, we first design a text-image generation pipeline to integrate text into the SR dataset through the text degradation representation and degradation model. By adopting a discrete design, the text representation is flexible and user-friendly. Meanwhile, we propose the PromptSR to realize the text prompt SR. The PromptSR leverages the latest multi-modal large language model (MLLM) to generate prompts from low-resolution images. It also utilizes the pre-trained language model (e.g., T5 or CLIP) to enhance text comprehension. We train the PromptSR on the text-image dataset. Extensive experiments indicate that introducing text prompts into SR, yields impressive results on both synthetic and real-world images. Code: https://github.com/zhengchen1999/PromptSR.

Motivation & Objective

  • Address the challenge of limited generalization in image super-resolution (SR) under complex, unknown degradations.
  • Overcome the difficulty of extracting degradation information solely from low-resolution (LR) images by introducing external priors.
  • Explore the feasibility of using natural language descriptions to represent degradation patterns and improve SR performance.
  • Develop a unified framework that integrates text and image generation for training robust SR models.
  • Enable zero-shot or few-shot adaptation to real-world degradations through descriptive text prompts.

Proposed method

  • Propose a binning-based discretization method to represent degradation types (e.g., blur, noise) as abstract, flexible text descriptions.
  • Design a text-image generation pipeline that pairs synthetic HR-LR image pairs with corresponding degradation text prompts using a degradation model.
  • Train a diffusion model conditioned on both LR images and text embeddings from pre-trained language models (T5, CLIP) to generate high-resolution outputs.
  • Inject text embeddings into the diffusion model via cross-attention mechanisms to guide the denoising process.
  • Freeze the pre-trained language model during training and fine-tune only the diffusion model on the generated text-image dataset.
  • Utilize multiple loss functions (e.g., L1, perceptual, adversarial) to optimize the diffusion model for high-fidelity, realistic image generation.

Experimental results

Research questions

  • RQ1Can text prompts effectively serve as degradation priors to improve image super-resolution performance in complex and unknown degradation scenarios?
  • RQ2How does the binning-based text representation of degradation compare to end-to-end learned representations in terms of generalization and flexibility?
  • RQ3To what extent can pre-trained language models (e.g., T5, CLIP) enhance the modeling of degradation priors when combined with diffusion-based SR?
  • RQ4Does introducing text guidance lead to measurable improvements in perceptual quality and realism on real-world image super-resolution benchmarks?
  • RQ5Can the proposed method generalize across diverse real-world degradations without requiring fine-tuning on specific degradation types?

Key findings

  • PromptSR achieves the best performance on the RealSR benchmark in terms of ST-LPIPS (0.1937), CNNIQA (0.6376), and NIMA (4.8917), indicating superior perceptual and aesthetic quality.
  • On the RealSR dataset, PromptSR outperforms Real-ESRGAN+ (PSNR: 25.62), SwinIR-GAN (PSNR: 26.54), and DiffBIR (PSNR: 27.42) in key perceptual metrics like LPIPS and DISTS.
  • Visual comparisons show that PromptSR produces sharper textures and fewer artifacts compared to methods like Stable Diffusion (which introduces blur) and FeMaSR (which adds artifacts).
  • In the third example of Figure 6, PromptSR successfully restores four distinct guitar strings, while other methods produce blurred or incorrect results.
  • The method generalizes well to real-world data, including the Real45 dataset, demonstrating robustness to diverse, unknown degradations without explicit retraining.
  • The ablation study confirms that text prompt guidance significantly improves reconstruction fidelity, especially in challenging real-world scenarios.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.