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

ATD: 用于图像恢复的改进变压器:具有自适应令牌词典的变压器

ATD: Improved Transformer with Adaptive Token Dictionary for Image Restoration

School of Computer Science and Engineering (School of Cyber Security), University of Electronic Science and Technology of China (UESTC)(计算机科学与工程学院(网络安全学院),电子科学与技术大学(UESTC))

Leheng Zhang, Wei Long, Yawei Li, Xingyu Zhou, Xiaorui Zhao, Shuhang Gu

AI总结:

ATD通过自适应令牌词典实现图像恢复中的全局依赖建模,提升性能并降低计算复杂度。

摘要:

最近,由于其优越的性能,Transformer在图像恢复任务(如图像超分辨率和去噪)中获得了显著的 popularity。然而,平衡性能和计算负担仍然是基于变压器的架构长期存在的问题。由于自注意力的二次复杂性,现有方法通常限制注意力到局部窗口,导致有限的感受野和次优性能。为了解决这个问题,我们提出了自适应令牌词典(ATD),一种新的基于变压器的图像恢复架构,能够以与图像大小线性相关的复杂度实现全局依赖建模。ATD模型结合了一个可学习的令牌词典,在训练过程中总结外部图像先验(即典型的图像结构)。为了利用这一信息,我们引入了令牌词典交叉注意力(TDCA)机制,通过与学习的词典交互来增强输入特征。此外,我们利用TDCA注意力图中嵌入的类别信息,将输入特征分组为多个类别,每个类别代表图像中相似特征的聚类,并作为注意力组。我们还把学习到的类别信息整合到前馈网络中,进一步改进特征融合。ATD及其轻量版本ATD-light在多个图像超分辨率基准上实现了最先进的性能。此外,我们开发了ATD-U,ATD的多尺度变种,以解决其他图像恢复任务,包括图像去噪和JPEG压缩伪影去除。广泛的实验展示了所提出模型的优越性,无论是定量还是定性方面。

英文摘要:

Recently, Transformers have gained significant popularity in image restoration tasks such as image super-resolution and denoising, owing to their superior performance. However, balancing performance and computational burden remains a long-standing problem for transformer-based architectures. Due to the quadratic complexity of self-attention, existing methods often restrict attention to local windows, resulting in limited receptive field and suboptimal performance. To address this issue, we propose Adaptive Token Dictionary (ATD), a novel transformer-based architecture for image restoration that enables global dependency modeling with linear complexity relative to image size. The ATD model incorporates a learnable token dictionary, which summarizes external image priors (i.e., typical image structures) during the training process. To utilize this information, we introduce a token dictionary cross-attention (TDCA) mechanism that enhances the input features via interaction with the learned dictionary. Furthermore, we exploit the category information embedded in the TDCA attention maps to group input features into multiple categories, each representing a cluster of similar features across the image and serving as an attention group. We also integrate the learned category information into the feed-forward network to further improve feature fusion. ATD and its lightweight version ATD-light, achieve state-of-the-art performance on multiple image super-resolution benchmarks. Moreover, we develop ATD-U, a multi-scale variant of ATD, to address other image restoration tasks, including image denoising and JPEG compression artifacts removal. Extensive experiments demonstrate the superiority of out proposed models, both quantitatively and qualitatively.

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

↑