Diff-Restorer: Unleashing Visual Prompts for Diffusion-based Universal Image Restoration
Yuhong Zhang, Hengsheng Zhang, Xinning Chai, Zhengxue Cheng, Rong Xie, Li Song, Wenjun Zhang
TL;DR
This work tackles universal image restoration under diverse real-world degradations by leveraging pre-trained Stable Diffusion priors and CLIP-based visual prompts. It introduces Diff-Restorer, which extracts semantic and degradation prompts via a Visual Prompt Processor to guide a diffusion backbone, and employs an Image-guided Control Module plus a Degradation-aware Decoder to preserve spatial structure and refine details in the latent-to-pixel mapping. The method demonstrates strong perceptual restoration performance across eight degradation types, real-world scenarios, and mixed degradations, with comprehensive ablations highlighting the contributions of semantic guidance, degradation-aware control, and decoder refinement. By exploiting diffusion priors and adaptive visual prompts, the approach advances toward a practical, general-purpose restoration system with high realism and fidelity.
Abstract
Image restoration is a classic low-level problem aimed at recovering high-quality images from low-quality images with various degradations such as blur, noise, rain, haze, etc. However, due to the inherent complexity and non-uniqueness of degradation in real-world images, it is challenging for a model trained for single tasks to handle real-world restoration problems effectively. Moreover, existing methods often suffer from over-smoothing and lack of realism in the restored results. To address these issues, we propose Diff-Restorer, a universal image restoration method based on the diffusion model, aiming to leverage the prior knowledge of Stable Diffusion to remove degradation while generating high perceptual quality restoration results. Specifically, we utilize the pre-trained visual language model to extract visual prompts from degraded images, including semantic and degradation embeddings. The semantic embeddings serve as content prompts to guide the diffusion model for generation. In contrast, the degradation embeddings modulate the Image-guided Control Module to generate spatial priors for controlling the spatial structure of the diffusion process, ensuring faithfulness to the original image. Additionally, we design a Degradation-aware Decoder to perform structural correction and convert the latent code to the pixel domain. We conducted comprehensive qualitative and quantitative analysis on restoration tasks with different degradations, demonstrating the effectiveness and superiority of our approach.
