arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2404.00633cs.CV
收藏

IPT-V2:基于分层注意力的高效图像处理Transformer

IPT-V2: Efficient Image Processing Transformer using Hierarchical Attentions

Huawei Noah’s Ark Lab(华为诺亚方舟实验室)

Zhijun Tu, Kunpeng Du, Hanting Chen, Hailing Wang, Wei Li, Jie Hu, Yunhe Wang

AI总结:

本文提出IPT-V2,通过焦点上下文自注意力和全局网格自注意力构建分层注意力机制,兼顾局部与全局依赖,并引入结构重参数化,在去噪、去模糊、去雨及图像生成等任务上以更低计算复杂度取得领先性能。

摘要:

近期进展已证明Transformer架构在图像复原中的强大能力。然而,我们的分析表明,现有基于Transformer的方法无法同时建立精确的全局和局部依赖关系,而这对恢复退化图像的细节和缺失内容至关重要。为此,我们提出一种具有分层注意力的高效图像处理Transformer架构,称为IPT-V2,采用焦点上下文自注意力(FCSA)和全局网格自注意力(GGSA)在局部和全局感受野中获得充分的token交互。具体而言,FCSA将移位窗口机制应用于通道自注意力,有助于捕获局部上下文和跨通道的相互交互。GGSA在跨窗口网格中构建长程依赖,在空间维度上聚合全局信息。此外,我们在前馈网络中引入结构重参数化技术,以进一步提升模型能力。大量实验表明,我们提出的IPT-V2在多种图像处理任务上取得了最先进的结果,涵盖去噪、去模糊、去雨,并且在性能和计算复杂度之间实现了比先前方法更好的权衡。此外,我们将该方法扩展为图像生成中的潜在扩散骨干网络,并显著优于DiTs。

英文摘要:

Recent advances have demonstrated the powerful capability of transformer architecture in image restoration. However, our analysis indicates that existing transformerbased methods can not establish both exact global and local dependencies simultaneously, which are much critical to restore the details and missing content of degraded images. To this end, we present an efficient image processing transformer architecture with hierarchical attentions, called IPTV2, adopting a focal context self-attention (FCSA) and a global grid self-attention (GGSA) to obtain adequate token interactions in local and global receptive fields. Specifically, FCSA applies the shifted window mechanism into the channel self-attention, helps capture the local context and mutual interaction across channels. And GGSA constructs long-range dependencies in the cross-window grid, aggregates global information in spatial dimension. Moreover, we introduce structural re-parameterization technique to feed-forward network to further improve the model capability. Extensive experiments demonstrate that our proposed IPT-V2 achieves state-of-the-art results on various image processing tasks, covering denoising, deblurring, deraining and obtains much better trade-off for performance and computational complexity than previous methods. Besides, we extend our method to image generation as latent diffusion backbone, and significantly outperforms DiTs.

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

↑