arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.05038cs.CV
收藏

用于通用图像复原的 Prompt-In-Prompt 学习

Prompt-In-Prompt Learning for Universal Image Restoration

Fudan University(复旦大学);Shanghai Center for Brain Science and Brain-inspired Technology(上海脑科学与类脑研究中心)

Zilong Li, Yiming Lei, Chenglong Ma, Junping Zhang, Hongming Shan

AI总结:

本文提出即插即用的 PIP 框架,通过退化感知提示、基础复原提示及其提示间与提示-特征交互,增强单一模型在多类图像复原任务上的通用性与性能。

摘要:

图像复原旨在恢复并增强退化图像,是众多应用中的基础任务。尽管传统深度学习方法已显著提升了多种任务的图像质量,但它们仍面临两方面问题:(i)为不同任务专用模型所需的高昂存储成本;(ii)缺乏交互性与灵活性,这阻碍了其更广泛的应用。受提示在语言和视觉领域取得显著成功的启发,我们提出了用于通用图像复原的新型 Prompt-In-Prompt 学习方法,命名为 PIP。首先,我们提出两种新型提示:用于编码高级退化知识的退化感知提示,以及用于提供必要低级信息的基础复原提示。其次,我们设计了一个新颖的提示到提示交互模块,将这两种提示融合为一个通用复原提示。第三,我们引入选择性的提示到特征交互模块,以调节与退化相关的特征。由此产生的 PIP 可作为即插即用模块,增强现有复原模型以实现通用图像复原。大量实验结果表明,PIP 在图像去噪、去雨、去雾、去模糊和低光增强等多种复原任务上均具有优越性能。值得注意的是,PIP 具有可解释性、灵活性、高效性和易用性,在现实应用中展现出良好潜力。代码可在 https://github.com/longzilicart/pip_universal 获取。

英文摘要:

Image restoration, which aims to retrieve and enhance degraded images, is fundamental across a wide range of applications. While conventional deep learning approaches have notably improved the image quality across various tasks, they still suffer from (i) the high storage cost needed for various task-specific models and (ii) the lack of interactivity and flexibility, hindering their wider application. Drawing inspiration from the pronounced success of prompts in both linguistic and visual domains, we propose novel Prompt-In-Prompt learning for universal image restoration, named PIP. First, we present two novel prompts, a degradation-aware prompt to encode high-level degradation knowledge and a basic restoration prompt to provide essential low-level information. Second, we devise a novel prompt-to-prompt interaction module to fuse these two prompts into a universal restoration prompt. Third, we introduce a selective prompt-to-feature interaction module to modulate the degradation-related feature. By doing so, the resultant PIP works as a plug-and-play module to enhance existing restoration models for universal image restoration. Extensive experimental results demonstrate the superior performance of PIP on multiple restoration tasks, including image denoising, deraining, dehazing, deblurring, and low-light enhancement. Remarkably, PIP is interpretable, flexible, efficient, and easy-to-use, showing promising potential for real-world applications. The code is available at https://github.com/longzilicart/pip_universal.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑