Skip to main content
QUICK REVIEW

[论文解读] PromptIR: Prompting for All-in-One Blind Image Restoration

Vaishnav Potlapalli, Syed Waqas Zamir|arXiv (Cornell University)|Jun 22, 2023
Advanced Image Processing TechniquesComputer Science被引用 34
一句话总结

PromptIR 引入一个插件式提示块,能够交互式地以降解感知提示条件化一个修复网络,实现对去噪、去雨、去雾的全能盲处理,达到最先进的结果。

ABSTRACT

Image restoration involves recovering a high-quality clean image from its degraded version. Deep learning-based methods have significantly improved image restoration performance, however, they have limited generalization ability to different degradation types and levels. This restricts their real-world application since it requires training individual models for each specific degradation and knowing the input degradation type to apply the relevant model. We present a prompt-based learning approach, PromptIR, for All-In-One image restoration that can effectively restore images from various types and levels of degradation. In particular, our method uses prompts to encode degradation-specific information, which is then used to dynamically guide the restoration network. This allows our method to generalize to different degradation types and levels, while still achieving state-of-the-art results on image denoising, deraining, and dehazing. Overall, PromptIR offers a generic and efficient plugin module with few lightweight prompts that can be used to restore images of various types and levels of degradation with no prior information on the corruptions present in the image. Our code and pretrained models are available here: https://github.com/va1shn9v/PromptIR

研究动机与目标

  • 解决在没有先前降解信息的情况下,单一模型能够处理多种未知降解的需求。
  • 利用轻量、可学习的提示来编码降解上下文并引导恢复。
  • 开发一个可集成到现有修复体系结构中的插件式提示块。
  • 在全能和单任务设置下,展示在去噪、去雨和去雾任务中的最先进性能。

提出的方法

  • 提出一个插件式提示块,包括一个提示生成模块(PGM)和一个提示交互模块(PIM),将降解条件信息注入到修复网络中。
  • 使用可学习的提示组件 P_c,由 PGM 根据输入特征通过 GAP、通道降维步骤和 softmax 动态加权,以生成输入条件提示 P。
  • 将 P 与中间特征拼接,并通过一个 Transformer 块(MDTA-GDFN)处理,以在类似 UNet 的编码-解码器的多个层次上引导解码,实现降解感知的恢复。
  • 采用4级编码-解码器,在解码器层之间插入提示;使用双线性上采样计算提示以处理不同分辨率。
  • 端到端训练,无需预训练,使用 L1 损失和 Adam 优化,在全能和单任务设置下进行。
  • 相对于先前的全能方法(如 AirNet)和专项基线,在去雾、去雨和去噪方面展示改进。
Figure 1: This figure illustrates our PromptIR approach. We propose a plug-and-play prompt module that implicitly predicts degradation-conditioned prompts to guide the restoration process of an input image with unknown degradation. The guidance from prompts is injected into the network at multiple d
Figure 1: This figure illustrates our PromptIR approach. We propose a plug-and-play prompt module that implicitly predicts degradation-conditioned prompts to guide the restoration process of an input image with unknown degradation. The guidance from prompts is injected into the network at multiple d

实验结果

研究问题

  • RQ1单一的全能模型能否在没有显式降解标签的情况下,恢复由未知大气和传感器降解(噪声、雨、雾)混合导致的图像?
  • RQ2输入条件提示是否能实现动态、降解感知的自适应,从而在多任务中改进恢复?
  • RQ3提示块是否是一种可与现有修复骨干网集成以实现最先进结果的通用插件?
  • RQ4在解码器中放置提示块如何影响性能?
  • RQ5PromptIR 对未见降解水平和空间变化降解的泛化能力有多强?

主要发现

  • PromptIR 在全能修复中达到最先进的性能,在各任务的平均 PSNR 上比 AirNet 高约 0.86 dB。
  • 在单任务设置下,PromptIR 相比 AirNet 有明显提升,例如去雾约提升 8.13 dB,去雨约提升 2.13 dB。
  • PromptIR 对未见降解水平显示出强泛化能力(例如在 σ=100 的去噪上,相比 AirNet 提升约 7 dB 的 PSNR)。
  • 消融实验表明动态提示(通过 PGM)优于固定提示,并且将提示块放置在解码器层之间可获得最佳结果。
  • 与基线相比,PromptIR 在空间变异降解下仍保持具有竞争力或更优的性能。
Figure 2: The figure shows tSNE plots of the degradation embeddings used in PromptIR (ours) and the state-of-the-art AirNet [ 29 ] . Distinct colors denote different degradation types. In our case, the embeddings for each task are better clustered, showing the effectiveness of prompt tokens to learn
Figure 2: The figure shows tSNE plots of the degradation embeddings used in PromptIR (ours) and the state-of-the-art AirNet [ 29 ] . Distinct colors denote different degradation types. In our case, the embeddings for each task are better clustered, showing the effectiveness of prompt tokens to learn

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。