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. The text representation applies a discretization manner based on the binning method to describe the degradation abstractly. This method maintains the flexibility of the text and is user-friendly. Meanwhile, we propose the PromptSR to realize the text prompt SR. The PromptSR utilizes the pre-trained language model (e.g., T5 or CLIP) to enhance restoration. We train the PromptSR on the generated text-image dataset. Extensive experiments indicate that introducing text prompts into SR, yields excellent results on both synthetic and real-world images.
Introduction
Single image super-resolution (SR) aims to recover high-resolution (HR) details from low-resolution (LR) inputs. The most challenging variant is Blind SR, where the specific degradation process—comprising blur, noise, compression, and downsampling—is unknown. Traditional methods often struggle because extracting precise degradation information directly from pixels is an ill-posed problem. While some approaches attempt to explicitly estimate blur kernels or noise levels, they often lack the flexibility required for complex, real-world scenarios. This work introduces PromptSR, which leverages text prompts as a flexible and powerful prior to guide the reconstruction process.
Methodology
Text-Image Generation Pipeline
To train a model to utilize text prompts for degradation, a dataset containing triplets of (HR, LR, Text) is required. We developed a pipeline that discretizes common degradation parameters into "bins" described by natural language (e.g., "heavy blur," "medium noise").
As illustrated in the pipeline, LR images are synthesized by applying a sequence of degradations, while a corresponding text prompt $c$ is generated simultaneously. This discretization maintains the flexibility of natural language while providing a structured prior for the model.
PromptSR Architecture
PromptSR is built upon a diffusion model framework. It consists of a Denoising Network (DN) based on a U-Net architecture. The network takes the upsampled LR image and a noisy version of the HR image as inputs. Text prompts are encoded using pre-trained models such as CLIP or T5, and these embeddings are integrated into the denoising network via cross-attention layers. This allows the model to "attend" to specific degradation descriptions during the pixel reconstruction phase.
For real-world inference where ground-truth degradation prompts are unavailable, we employ a Multi-modal Large Language Model (MLLM), specifically mPLUG-Owl3, to analyze the LR image and generate a descriptive prompt of its degradations.
Experiments and Results
Datasets and Evaluation
PromptSR was trained on the LSDIR dataset, augmented with our text-image pipeline. Evaluation was conducted on standard synthetic benchmarks (Urban100, Manga109, LSDIR-Val, DIV2K) and real-world datasets (RealSR, Real45).
Key Insights
A critical finding is the distinction between degradation prompts and content prompts. Prompts describing the degradation (e.g., "heavy noise") are significantly more beneficial for SR than those describing image content (e.g., "a building"). Content-based prompts can lead to hallucinations that diverge from the original scene, whereas degradation prompts provide essential guidance for restoration.
Performance Comparison
PromptSR consistently outperforms state-of-the-art methods such as DiffBIR, PASD, and Real-ESRGAN+ across various perceptual metrics. On the LSDIR-Val set, PromptSR achieved an LPIPS score of 0.2810, compared to DiffBIR's 0.3104.
Qualitative results show that PromptSR excels at restoring sharp edges and clear textures, particularly in cases where other models produce blur or artifacts. The introduction of text prompts significantly enhances the model's ability to handle complex degradations.
Conclusion
PromptSR demonstrates that text prompts are a highly effective prior for blind image super-resolution. By combining a novel text-image generation pipeline with a diffusion-based architecture and MLLM-based inference, we achieve superior reconstruction quality. Future work will explore more fine-grained text descriptions and fine-tuning MLLMs specifically for degradation recognition to further enhance real-world performance.
Summary updated