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

视频Swin Transformer

Video Swin Transformer

Microsoft Research Asia(微软亚洲研究院);University of Science and Technology of China(中国科学技术大学);Huazhong University of Science and Technology(华中科技大学);Tsinghua University(清华大学)

Ze Liu, Jia Ning, Yue Cao, Yixuan Wei, Zheng Zhang, Stephen Lin, Han Hu

摘要:

视觉社区正在见证从CNN到Transformers的建模转变,其中纯Transformer架构在主要的视频识别基准上达到了最高的准确性。这些视频模型都建立在Transformer层上,这些层在空间和时间维度上全局连接补丁。在本文中,我们主张在视频Transformers中引入局部性的归纳偏差,与以前的方法相比,这导致了更好的速度-准确性权衡,这些方法即使在时空分解的情况下也可以全局计算自我注意力。所提出的视频架构的局部性是通过调整为图像域设计的Swin Transformer来实现的,同时继续利用预先训练的图像模型的能力。我们的方法在广泛的视频识别基准上实现了最先进的准确性,包括动作识别(Kinetics-400上的84.9 top-1准确性和Kinetics-600上的86.1 top-1准确性,预训练数据减少了约20倍,模型大小减少了约3倍)和时间建模(Something-Something v2上的69.6 top-1准确性)。代码和模型将在https://github.com/SwinTransformer/Video-Swin-Transformer上公开提供。

英文摘要:

The vision community is witnessing a modeling shift from CNNs to Transformers, where pure Transformer architectures have attained top accuracy on the major video recognition benchmarks. These video models are all built on Transformer layers that globally connect patches across the spatial and temporal dimensions. In this paper, we instead advocate an inductive bias of locality in video Transformers, which leads to a better speed-accuracy trade-off compared to previous approaches which compute self-attention globally even with spatial-temporal factorization. The locality of the proposed video architecture is realized by adapting the Swin Transformer designed for the image domain, while continuing to leverage the power of pre-trained image models. Our approach achieves state-of-the-art accuracy on a broad range of video recognition benchmarks, including on action recognition (84.9 top-1 accuracy on Kinetics-400 and 86.1 top-1 accuracy on Kinetics-600 with ~20x less pre-training data and ~3x smaller model size) and temporal modeling (69.6 top-1 accuracy on Something-Something v2). The code and models will be made publicly available at https://github.com/SwinTransformer/Video-Swin-Transformer.

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

↑