Video-FocalNets: Spatio-Temporal Focal Modulation for Video Action Recognition

Syed Talal Wasim, Muhammad Uzair Khattak, Muzammal Naseer, Salman H. Khan, M. Shah +1 more
2/14/2026

No official code found. Best implementation: TalalWasim/Video-FocalNets (101 stars, last commit 2024-04-30).

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.

View on arXivView PDF

Code Implementations(1)

Official repository for "Video-FocalNets: Spatio-Temporal Focal Modulation for Video Action Recognition" [ICCV 2023]

10119Shell, PythonJul 13, 20232 years ago

Similar Papers

Cite this paper

@article{wasim2026videofocalnets,
  title  = {Video-FocalNets: Spatio-Temporal Focal Modulation for Video Action Recognition},
  author = {Syed Talal Wasim and Muhammad Uzair Khattak and Muzammal Naseer and Salman H. Khan and M. Shah and F. Khan},
  year   = {2026},
  eprint = {2307.06947},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2307.06947},
  journal = {ICCV 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.06947.svg)](https://codeofpaper.com/paper/2307.06947)

Discussion