arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.10342cs.CVcs.MM
收藏

指称式灵活图像复原

Referring Flexible Image Restoration

Institute of Deep Perception Technology(深度感知技术研究院);University of Liverpool(利物浦大学);XJTLU-JITRI Academy of Technology(西交利物浦大学-江苏集萃科技研究院);Xi’an Jiaotong-Liverpool University(西交利物浦大学);School of Advanced Technology, Xi’an Jiaotong-Liverpool University(西交利物浦大学先进技术学院);School of Artificial Intelligence and Computer Science, Jiangnan University(江南大学人工智能与计算机学院);University of Southampton(南安普顿大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));School of Information Science and Technology, Nantong University(南通大学信息科学与技术学院)

Runwei Guan, Rongsheng Hu, Zhuhao Zhou, Tianlang Xue, Ka Lok Man, Jeremy Smith, Eng Gee Lim, Weiping Ding, Yutao Yue

AI总结:

本文提出指称式灵活图像复原任务 RFIR,构建含153,423个样本的数据集,并设计基于MHASA与MHACA的TransRFIR模型,依据文本提示选择性去除多种图像退化。

摘要:

在现实中,图像往往呈现多种退化,例如夜间的雨和雾(三重退化)。然而,在许多情况下,人们可能并不希望去除所有退化,例如,模糊的镜头展现出美丽的雪景(双重退化)。在此类场景中,人们可能只希望去模糊。这些情况和需求揭示了图像复原中的一项新挑战:模型必须在具有多种退化的图像中,感知并去除由人类指令指定的特定退化类型。我们将该任务命名为指称式灵活图像复原(Referring Flexible Image Restoration,RFIR)。为解决这一问题,我们首先构建了一个名为 RFIR 的大规模合成数据集,包含 153,423 个样本,每个样本包括退化图像、用于去除特定退化的文本提示以及复原图像。RFIR 包含五种基本退化类型:模糊、雨、雾、低光照和雪,同时包括六个主要子类别,用于不同程度的退化去除。为应对该挑战,我们提出了一种名为 TransRFIR 的新型基于 transformer 的多任务模型,该模型同时感知退化图像中的退化类型,并根据文本提示去除特定退化。TransRFIR 基于两个设计的注意力模块:多头智能体自注意力(Multi-Head Agent Self-Attention,MHASA)和多头智能体交叉注意力(Multi-Head Agent Cross Attention,MHACA),其中 MHASA 和 MHACA 引入了 agent token,并实现线性复杂度,相比普通自注意力和交叉注意力获得更低的计算成本,并取得具有竞争力的性能。与其他同类方法相比,我们的 TransRFIR 达到了最先进性能,并被证明是一种有效的图像复原架构。我们在 https://github.com/GuanRunwei/FIR-CP 发布项目。

英文摘要:

In reality, images often exhibit multiple degradations, such as rain and fog at night (triple degradations). However, in many cases, individuals may not want to remove all degradations, for instance, a blurry lens revealing a beautiful snowy landscape (double degradations). In such scenarios, people may only desire to deblur. These situations and requirements shed light on a new challenge in image restoration, where a model must perceive and remove specific degradation types specified by human commands in images with multiple degradations. We term this task Referring Flexible Image Restoration (RFIR). To address this, we first construct a large-scale synthetic dataset called RFIR, comprising 153,423 samples with the degraded image, text prompt for specific degradation removal and restored image. RFIR consists of five basic degradation types: blur, rain, haze, low light and snow while six main sub-categories are included for varying degrees of degradation removal. To tackle the challenge, we propose a novel transformer-based multi-task model named TransRFIR, which simultaneously perceives degradation types in the degraded image and removes specific degradation upon text prompt. TransRFIR is based on two devised attention modules, Multi-Head Agent Self-Attention (MHASA) and Multi-Head Agent Cross Attention (MHACA), where MHASA and MHACA introduce the agent token and reach the linear complexity, achieving lower computation cost than vanilla self-attention and cross-attention and obtaining competitive performances. Our TransRFIR achieves state-of-the-art performances compared with other counterparts and is proven as an effective architecture for image restoration. We release our project at https://github.com/GuanRunwei/FIR-CP.

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

↑