Abstract
Universal image restoration aims to handle multiple types of distortions within a single model. However, existing approaches often suffer from task interference and a lack of user control. This paper introduces ProRes, a framework that utilizes Degradation-aware Visual Prompts (DAVP) to steer a vanilla Vision Transformer (ViT) for diverse restoration tasks. By adding learned, image-sized tensors to the input, ProRes achieves competitive performance across denoising, deblurring, deraining, and low-light enhancement. Furthermore, the additive nature of these prompts allows for controllable restoration through linear combinations and efficient adaptation to new tasks via prompt tuning.
Introduction
Image restoration has traditionally relied on specialized models tailored to specific degradations like noise, blur, or rain. While universal models have been proposed to consolidate these tasks, they face two primary challenges: task interference, where conflicting requirements between tasks degrade overall performance, and a lack of interpretability or control over the restoration process. ProRes addresses these issues by decoupling degradation identification from the restoration backbone using visual prompts.
Methodology: Degradation-aware Visual Prompts
The core of ProRes is the Degradation-aware Visual Prompt (DAVP). Unlike text-based prompts, DAVPs are learnable tensors of the same spatial dimensions as the input image ($H \times W \times 3$). Each prompt is optimized to represent a specific type of degradation.
Architecture
The framework employs a simple, "vanilla" Vision Transformer (ViT-Large) as the encoder. To restore an image, the corresponding visual prompt is added element-wise to the degraded input. This prompted image is processed by the ViT, and a lightweight two-convolution "pixel decoder" reconstructs the final RGB output. This design shifts the burden of task specialization from the architecture to the input prompt.
Controllable Restoration
A unique property of ProRes is the linearity of its prompts. Because prompts are additive, they can be combined to handle composite degradations. For instance, if an image suffers from both rain (represented by prompt $D$) and low-light conditions (prompt $E$), a weighted sum $\alpha D + (1-\alpha)E$ can be used. This allows users to manually "tune" the restoration intensity for different distortions.
Efficient Adaptation via Prompt Tuning
ProRes facilitates easy adaptation to unseen degradations. By freezing the pre-trained ViT backbone and only optimizing a new visual prompt, the model can learn tasks like dehazing with minimal computational overhead compared to full fine-tuning.
Experimental Results
ProRes was evaluated on a comprehensive suite of datasets, including SIDD (denoising), LOL (low-light), and various merged datasets for deraining and deblurring.
Performance Comparison
Despite its architectural simplicity, ProRes delivers performance competitive with state-of-the-art (SOTA) specialized models such as Restormer and MAXIM. On the SIDD benchmark, ProRes achieved a PSNR of 39.28 dB, rivaling Restormer's 40.02 dB. Crucially, it significantly outperformed other universal vision models like Painter across all primary tasks.
Transferability
The effectiveness of prompt tuning was demonstrated on the RESIDE-6K dehazing task. Starting from a model trained on other distortions, optimizing a single dehazing prompt led to a PSNR of 21.47 dB, showing a substantial improvement over the base model and validating the "foundation" nature of the learned restoration features.
Conclusion
ProRes demonstrates that visual prompts are a powerful mechanism for building universal and controllable image restoration models. By leveraging the inherent flexibility of Vision Transformers and the additive properties of visual prompts, ProRes provides a simple yet effective framework that balances high performance with user-steerable results and efficient task adaptation. Future work may involve scaling the backbone and training data to further enhance its zero-shot capabilities.
Summary updated