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

T-former:一种用于图像修复的高效Transformer

T-former: An Efficient Transformer for Image Inpainting

Xi’an Jiaotong University(西安交通大学);Shunan Academy of Artificial Intelligence(蜀南人工智能研究院)

Ye Deng, Siqi Hui, Sanping Zhou, Deyu Meng, Jinjun Wang

AI总结:

本文针对CNN在图像修复中的局限性,基于泰勒展开设计了一种与分辨率呈线性相关的注意力机制,并构建了T-former网络,在保持低参数量和计算复杂度的同时实现了最先进的修复精度。

摘要:

得益于强大的卷积神经网络(CNNs),基于学习的图像修复方法多年来取得了重大突破。然而,CNN的一些特性(例如局部先验、空间共享参数)在面对具有多样且复杂形式的破损图像时,限制了其性能。最近,一类基于注意力的网络架构,称为transformer,在自然语言处理领域和高级视觉任务中展现出了显著的性能。与CNN相比,注意力算子更擅长长距离建模并具有动态权重,但其计算复杂度与空间分辨率呈二次方关系,因此不太适合涉及更高分辨率图像的应用,如图像修复。在本文中,我们根据泰勒展开设计了一种与分辨率呈线性相关的新型注意力。基于这种注意力,设计了一个用于图像修复的名为$T$-former的网络。在几个基准数据集上的实验表明,我们提出的方法在保持相对较少的参数数量和计算复杂度的同时,实现了最先进的准确度。代码可在\href{https://github.com/dengyecode/T-former_image_inpainting}{github.com/dengyecode/T-former\\_image\\_inpainting}找到。

英文摘要:

Benefiting from powerful convolutional neural networks (CNNs), learning-based image inpainting methods have made significant breakthroughs over the years. However, some nature of CNNs (e.g. local prior, spatially shared parameters) limit the performance in the face of broken images with diverse and complex forms. Recently, a class of attention-based network architectures, called transformer, has shown significant performance on natural language processing fields and high-level vision tasks. Compared with CNNs, attention operators are better at long-range modeling and have dynamic weights, but their computational complexity is quadratic in spatial resolution, and thus less suitable for applications involving higher resolution images, such as image inpainting. In this paper, we design a novel attention linearly related to the resolution according to Taylor expansion. And based on this attention, a network called $T$-former is designed for image inpainting. Experiments on several benchmark datasets demonstrate that our proposed method achieves state-of-the-art accuracy while maintaining a relatively low number of parameters and computational complexity. The code can be found at \href{https://github.com/dengyecode/T-former_image_inpainting}{github.com/dengyecode/T-former\_image\_inpainting}

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

↑