Reproduce “Space-time Mixing Attention for Video Transformer” 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
Adrian Bulat, Juan-Manuel Perez-Rua, Swathikiran Sudhakaran, Brais Martinez, Georgios Tzimiropoulos
X-ViT introduces a video Transformer that achieves state-of-the-art accuracy in video recognition while maintaining the computational efficiency of a spatial-only attention model. This is accomplished through novel space-time mixing attention and lightweight temporal aggregation mechanisms.
Key insights
- Local temporal window attention, when combined with the depth of a Transformer network, allows for capturing long-range temporal dependencies effectively.
- The "shift trick" provides a computationally free mechanism to mix spatio-temporal information within attention operations, maintaining O(T S²) complexity.
- A single, lightweight temporal attention layer applied to classification tokens offers sufficient global temporal aggregation, yielding better performance than simple averaging with minimal overhead.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.