Video-FocalNets: Spatio-Temporal Focal Modulation for Video Action Recognition
Authors:
- 1 October 2023
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 13732-13743
Abstract
Recent video recognition models utilize Transformer models for long-range spatio-temporal context modeling. Video transformer designs are based on self-attention that can model global context at a high computational cost. In comparison, convolutional designs for videos offer an efficient alternative but lack long-range dependency modeling. Towards achieving the best of both designs, this work proposes Video-FocalNet, an effective and efficient architecture for video recognition that models both local and global contexts. Video-FocalNet is based on a spatiotemporal focal modulation architecture that reverses the interaction and aggregation steps of self-attention for better efficiency. Further, the aggregation step and the interaction step are both implemented using efficient convolution and element-wise multiplication operations that are computationally less expensive than their self-attention counterparts on video representations. We extensively explore the design space of focal modulation-based spatiotemporal context modeling and demonstrate our parallel spatial and temporal encoding design to be the optimal choice. Video-FocalNets perform favorably well against the state-of-the-art transformer-based models for video recognition on five large-scale datasets (Kinetics-400, Kinetics-600, SS-v2, Diving-48, and ActivityNet-1.3) at a lower computational cost. Our code/models are released at https://github.com/TalalWasim/Video-FocalNets.Keywords
All Related Versions
This publication has 51 references indexed in Scilit:
- Expanding Language-Image Pretrained Models for General Video Recognition2022
- Omni-Sourced Webly-Supervised Learning for Video Recognition2020
- AttentionNAS: Spatiotemporal Attention Cell Search for Video Classification2020
- Rethinking Spatiotemporal Feature Learning: Speed-Accuracy Trade-offs in Video Classification2018
- RESOUND: Towards Action Recognition Without Representation Bias2018
- Deep Networks with Stochastic Depth2016
- Dense Trajectories and Motion Boundary Descriptors for Action RecognitionInternational Journal of Computer Vision, 2013
- Empirical Risk Minimization2011
- ImageNet: A large-scale hierarchical image database2009
- On Space-Time Interest PointsInternational Journal of Computer Vision, 2005