arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.06399cs.CVcs.LGcs.NE
收藏

共尺度Conv-Attentional图像Transformers

Co-Scale Conv-Attentional Image Transformers

University of California San Diego(加利福尼亚大学圣迭戈分校)

Weijian Xu, Yifan Xu, Tyler Chang, Zhuowen Tu

摘要:

在本文中,我们提出了共尺度的conv-attentional图像Transformers(CoaT),一个基于变压器的图像分类器配备了共尺度和conv-attentional机制。首先,co-scale机制在各个尺度上保持了Transformers的编码器分支的完整性,同时允许在不同尺度上学习的表示有效地相互通信;我们设计了一系列串行和并行块来实现co-scale机制。其次,我们设计了一个对流注意力机制,通过实现一个相对位置嵌入公式的因式分解的注意力模块与一个有效的卷积实现。CoaT为图像Transformers提供了丰富的多尺度和上下文建模功能。在ImageNet上,与类似大小的卷积神经网络和图像/视觉Transformer相比,相对较小的CoaT模型获得了更好的分类结果。CoaT的骨干的有效性也说明了目标检测和实例分割,证明其适用于下游计算机视觉任务。

英文摘要:

In this paper, we present Co-scale conv-attentional image Transformers (CoaT), a Transformer-based image classifier equipped with co-scale and conv-attentional mechanisms. First, the co-scale mechanism maintains the integrity of Transformers' encoder branches at individual scales, while allowing representations learned at different scales to effectively communicate with each other; we design a series of serial and parallel blocks to realize the co-scale mechanism. Second, we devise a conv-attentional mechanism by realizing a relative position embedding formulation in the factorized attention module with an efficient convolution-like implementation. CoaT empowers image Transformers with enriched multi-scale and contextual modeling capabilities. On ImageNet, relatively small CoaT models attain superior classification results compared with similar-sized convolutional neural networks and image/vision Transformers. The effectiveness of CoaT's backbone is also illustrated on object detection and instance segmentation, demonstrating its applicability to downstream computer vision tasks.

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

↑