Reproduce “Spatiotemporal Self-attention Modeling with Temporal Patch Shift for Action Recognition” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Wangmeng Xiang, Chao Li, Biao Wang, Xihan Wei, Xian-Sheng Hua, Lei Zhang
Researchers from The Hong Kong Polytechnic University and Alibaba's DAMO Academy developed Temporal Patch Shift (TPS) and Patch Shift Transformer (PST), an efficient method that enables 2D transformers to learn spatiotemporal features for action recognition. This approach achieves competitive performance across multiple datasets while significantly reducing computational and memory costs; for instance, PST-T uses 76% less memory and is 2 times faster than Video-Swin-T.
Key insights
- Sparse spatiotemporal self-attention can be achieved efficiently by creatively manipulating patch inputs in the temporal dimension, rather than relying on dense 3D attention modules.
- The effectiveness of temporal patch shifting is highly dependent on carefully designed patterns that ensure even spatial distribution of shifted patches and an adequate temporal receptive field.
- Combining 'patch-wise' shifts (TPS) with 'channel-wise' shifts provides complementary strengths, optimizing both spatial and channel-wise temporal information aggregation for superior performance and efficiency.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.