PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
February 9, 20211,448 citationsOpen Access

Is Space-Time Attention All You Need for Video Understanding?

GBGedas BertasiusHWHeng WangLTLorenzo Torresani

Key Points

  • The research aims to explore the effectiveness of self-attention mechanisms in video classification without using convolutions.
  • Developed the TimeSformer model based on the Transformer architecture for video processing.
  • Tested various self-attention schemes to optimize video classification accuracy.
  • Compared performance against 3D convolutional networks in terms of training speed and efficiency.
  • TimeSformer achieved state-of-the-art results on Kinetics-400 and Kinetics-600 action recognition benchmarks.
  • Divided attention showed superior classification accuracy compared to other self-attention configurations.
  • Model provides much faster training and higher test efficiency with minimal accuracy trade-off.

Abstract

We present a convolution-free approach to video classification built exclusively on self-attention over space and time. Our method, named "TimeSformer," adapts the standard Transformer architecture to video by enabling spatiotemporal feature learning directly from a sequence of frame-level patches. Our experimental study compares different self-attention schemes and suggests that "divided attention," where temporal attention and spatial attention are separately applied within each block, leads to the best video classification accuracy among the design choices considered. Despite the radically new design, TimeSformer achieves state-of-the-art results on several action recognition benchmarks, including the best reported accuracy on Kinetics-400 and Kinetics-600. Finally, compared to 3D convolutional networks, our model is faster to train, it can achieve dramatically higher test efficiency (at a small drop in accuracy), and it can also be applied to much longer video clips (over one minute long). Code and models are available at: https://github.com/facebookresearch/TimeSformer.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Bertasius et al. (2021) studied this question.

synapsesocial.com/papers/69f67343d85307304afc85d4https://doi.org/10.48550/arxiv.2102.05095
Ask AI
Helpful
Bookmark
Share
View Full Paper