arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2106.03650cs.CV
收藏

Shuffle Transformer:重新思考视觉Transformer的空间洗牌

Shuffle Transformer: Rethinking Spatial Shuffle for Vision Transformer

Tencent(腾讯)

Zilong Huang, Youcheng Ben, Guozhong Luo, Pei Cheng, Gang Yu, Bin Fu

摘要:

最近,基于窗口的Transformers,它在非重叠的局部窗口内计算自我注意力,在图像分类,语义分割和目标检测方面表现出很好的效果。然而,对于提高表示能力的关键因素--跨窗口连接的研究较少。在这项工作中,我们重新审视空间洗牌作为一种有效的方式来建立窗口之间的连接。因此,我们提出了一个新的视觉Transformer,命名为Shuffle Transformer,它是高效的,易于通过修改两行代码实现。此外,引入深度卷积来补充空间混洗以增强相邻窗口连接。所提出的架构实现了良好的性能,在广泛的视觉任务,包括图像级分类,目标检测,和语义分割。代码将被发布用于复制。

英文摘要:

Very recently, Window-based Transformers, which computed self-attention within non-overlapping local windows, demonstrated promising results on image classification, semantic segmentation, and object detection. However, less study has been devoted to the cross-window connection which is the key element to improve the representation ability. In this work, we revisit the spatial shuffle as an efficient way to build connections among windows. As a result, we propose a new vision transformer, named Shuffle Transformer, which is highly efficient and easy to implement by modifying two lines of code. Furthermore, the depth-wise convolution is introduced to complement the spatial shuffle for enhancing neighbor-window connections. The proposed architectures achieve excellent performance on a wide range of visual tasks including image-level classification, object detection, and semantic segmentation. Code will be released for reproduction.

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

↑