Adapting Text-to-Image Generation with Feature Difference Instruction for Generic Image Restoration

Chao Wang, Hehe Fan, Huichen Yang, Sarvnaz Karimi, Lina Yao +1 more
2/10/2026

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Diffusion-based Text-to-Image (T2I) models have demonstrated significant potential in image restoration. However, existing models continue to grapple with challenges such as complex training and prompt design. We introduce a new perspective for improving image restoration by injecting knowledge from pretrained vision-language models into current T2I models. We empirically show that the degradation and content representations in BLIP-2 can be linearly separated, providing promising degradation guidance for image restoration. Specifically, the Feature Difference Instruction (FDI) is first extracted by Q-Formers through a simple subtraction operation based on reference image pairs. Then, we propose a multi-scale FDI adapter to decouple the degradation style and corrupted artifacts, and inject the styleflow exclusively into specific blocks through adapter-tuning, thereby preventing noise interference and eschewing the need for cumbersome weight retraining. In this way, we can train various task-specific adapters according to different degradations, achieving rich detail enhancement in the restoration results. Furthermore, the proposed FDI adapters have attractive properties of practical value, such as composability and generalization ability for all-in-one and mixed-degradation restoration. Extensive experiments under various settings demonstrate that our method has promising repairing quality over 10 image restoration tasks and a wide range of other applications.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2026adapting,
  title  = {Adapting Text-to-Image Generation with Feature Difference Instruction for Generic Image Restoration},
  author = {Chao Wang and Hehe Fan and Huichen Yang and Sarvnaz Karimi and Lina Yao and Yi Yang},
  year   = {2026},
  doi    = {10.1109/CVPR52734.2025.02192},
  url    = {https://doi.org/10.1109/CVPR52734.2025.02192},
  journal = {CVPR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/42b2a6064b537e5ca4a3f5fe05456ae70c1a3cbb.svg)](https://codeofpaper.com/paper/42b2a6064b537e5ca4a3f5fe05456ae70c1a3cbb)

Discussion