Opening book details…
Can I read Spatiotemporal Self-attention Modeling with Temporal Patch Shift for Action Recognition on EtoBox?
Spatiotemporal Self-attention Modeling with Temporal Patch Shift for Action Recognition by Xiang, Wangmeng; Li, Chao; Wang, Biao; Wei, Xihan; Hua, Xian-Sheng; Zhang, Lei is a scholarly article available to read on EtoBox.
What is Spatiotemporal Self-attention Modeling with Temporal Patch Shift for Action Recognition about?
Transformer-based methods have recently achieved great advancement on 2D image-based vision tasks. For 3D video-based tasks such as action recognition, however, directly applying spatiotemporal transformers on video data will bring heavy computation and memory burdens due to the largely increased number of patches and the quadratic complexity of self-attention computation. How to efficiently and effectively model the 3D self-attention of video data has been a great challenge for transformers. In this paper, we propose a Temporal Patch Shift (TPS) method for efficient 3D self-attention modeling in transformers for video-based action recognition. TPS shifts part of patches with a specific mosaic pattern in the temporal dimension, thus converting a vanilla spatial self-attention operation to a spatiotemporal one with little additional cost. As a result, we can compute 3D self-attention using nearly the same computation and memory cost as 2D self-attention. TPS is a plug-and-play module and can be inserted into existing 2D transformer models to enhance spatiotemporal feature learning. The proposed method achieves competitive performance with state-of-the-arts on Something-something V1
- Author
- Xiang, Wangmeng; Li, Chao; Wang, Biao; Wei, Xihan; Hua, Xian-Sheng; Zhang, Lei
- Published
- 2022
- Language
- EN
More by Xiang, Wangmeng; Li, Chao; Wang, Biao; Wei, Xihan; Hua, Xian-Sheng; Zhang, Lei
Browse all works by Xiang, Wangmeng; Li, Chao; Wang, Biao; Wei, Xihan; Hua, Xian-Sheng; Zhang, Lei