ImIR:面向一体化图像恢复的图像指令微调

·

研究论文 · 2026/09/23

图像退化类型多样,实用的复原系统需用单一模型处理多种退化。近期有效方法通过小型低秩适配器和文本提示,将大型预训练图像编辑模型适配到复原任务。我们以从退化图像本身导出的指令替代文本提示。图像通过两条路径进入编辑器:结构来自模型的VAE,语义指令来自轻量级令牌映射器,该映射器将退化图像的视觉-语言嵌入向干净图像产生的嵌入偏移。由于指令是连续向量,缩放它可为目标不唯一的任务(如低光增强)生成一系列有效复原结果。我们用一个适配器在单GPU上约三小时训练,将单个Qwen-Image-Edit模型适配到六项任务。在匹配比较下,图像指令优于文本条件,且支持无需退化标签的任务无关复原,而文本变体不支持。

该方法用图像自身导出的连续指令替代文本提示,在匹配比较下性能更优,且无需退化标签即可实现任务无关复原,训练高效(单GPU约三小时),为多任务图像复原提供了新思路。

Degradations vary widely across images, so a practical restoration system has to handle many degradation types with one model. A recent and effective recipe adapts a large pretrained image-editing model to restoration using a small low-rank adapter with a text prompt. We replace that prompt with an instruction derived from the degraded image itself. The image reaches the editor through two paths: its structure comes from the model's VAE, and its semantic instruction comes from a lightweight token mapper that shifts the degraded image's vision-language embedding toward the embedding a clean image would produce. Because the instruction is a continuous vector, scaling it yields a family of valid restorations for tasks whose target is not unique, such as low-light enhancement. We adapt one Qwen-Image-Edit model to six tasks with a single adapter trained in about three hours on one GPU. The image instruction outperforms text conditioning under a matched comparison, and it supports task agnostic restoration without a degradation label, which the text variant does not.

阅读原文

参与讨论