[Paper Review] Controlling Vision-Language Models for Multi-Task Image Restoration
DA-CLIP introduces a degradation-aware controller that adapts a fixed CLIP encoder to output high-quality content embeddings while predicting degradation types, enabling both degradation-specific and unified image restoration within existing restoration frameworks.
Vision-language models such as CLIP have shown great impact on diverse downstream tasks for zero-shot or label-free predictions. However, when it comes to low-level vision such as image restoration their performance deteriorates dramatically due to corrupted inputs. In this paper, we present a degradation-aware vision-language model (DA-CLIP) to better transfer pretrained vision-language models to low-level vision tasks as a multi-task framework for image restoration. More specifically, DA-CLIP trains an additional controller that adapts the fixed CLIP image encoder to predict high-quality feature embeddings. By integrating the embedding into an image restoration network via cross-attention, we are able to pilot the model to learn a high-fidelity image reconstruction. The controller itself will also output a degradation feature that matches the real corruptions of the input, yielding a natural classifier for different degradation types. In addition, we construct a mixed degradation dataset with synthetic captions for DA-CLIP training. Our approach advances state-of-the-art performance on both \emph{degradation-specific} and \emph{unified} image restoration tasks, showing a promising direction of prompting image restoration with large-scale pretrained vision-language models. Our code is available at https://github.com/Algolzw/daclip-uir.
Motivation & Objective
- Motivate and enable universal image restoration by leveraging large-scale vision-language models (VLMs).
- Mitigate feature misalignment between degraded inputs and VLM text prompts by predicting degradation embeddings.
- Integrate high-quality content embeddings from a tuned VLM into restoration networks via cross-attention.
- Develop a mixed-degradation dataset with synthetic captions to train the degradation-capable model.
- Demonstrate improvements on both degradation-specific and unified image restoration tasks.
Proposed method
- Introduce an image controller that is a zero-initialised augmentation of the CLIP image encoder to produce two outputs: a degradation embedding and hidden controls that modulate encoder blocks.
- Freeze the CLIP encoders and train the image controller with a contrastive objective to align image-content and degradation embeddings with their text counterparts.
- Use a joint contrastive loss to align HQ content embeddings with clean captions and degradation embeddings with corresponding degradation prompts.
- Incorporate the HQ content embedding into restoration networks via cross-attention in the bottom blocks of a U-Net-based diffusion backbone (IR-SDE).
- Predict degradation embeddings with the controller to enable unified image restoration and employ a prompt-learning module to leverage degradation context.
- Train on a mixed-degradation dataset generated by BLIP captions for HQ images paired with LQ inputs and degradation labels.
Experimental results
Research questions
- RQ1Can a degradation-aware controller enable a pretrained vision-language model to produce HQ content features for degraded images?
- RQ2Does integrating HQ content embeddings via cross-attention improve degradation-specific restoration performance across multiple tasks?
- RQ3Can degradation embeddings aid a unified image restoration model handling diverse degradation types?
- RQ4How effective is the mixed-degradation, caption-generated training data in enabling cross-modal alignment for restoration tasks?
- RQ5What is the trade-off between model complexity and restoration gains when incorporating DA-CLIP?
Key findings
- DA-CLIP improves perceptual and distortion metrics (LPIPS, FID, PSNR, SSIM) across ten degradations, outperforming baselines on degradation-specific tasks.
- DA-CLIP yields state-of-the-art perceptual results on deraining and consistently improves IR-SDE across all evaluated tasks.
- In unified image restoration, integrating DA-CLIP achieves the best perceptual results (notably in FID) and outperforms IR-SDE on average across degradations.
- The degradation classifier in DA-CLIP achieves high accuracy on ten degradations (except blurry; 91.6%), demonstrating effective degradation discrimination.
- DA-CLIP is compatible with both diffusion-based and non-diffusion restoration models (e.g., NAFNet), boosting their performance on multiple degradations.
- The method increases memory requirements relative to baselines, with negligible change in test-time cost.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.