Keeping Your Eye on the Ball: Trajectory Attention in Video Transformers

Open Access
Authors
  • Y. Asano
  • D. Campbell
  • C. Feichtenhofer
  • J. Henriques
  • F. Metze
  • I. Misra
  • M. Patrick
  • A. Vedaldi
Publication date 2022
Host editors
  • M. Ranzato
  • A. Beygelzimer
  • Y. Dauphin
  • P.S. Liang
  • J. Wortman Vaughan
Book title 35th Conference on Neural Information Processing Systems (NeurIPS 2021)
Book subtitle online, 6-14 December 2021
ISBN
  • 9781713845393
Series Advances in Neural Information Processing Systems
Event NeurIPS 2021
Volume | Issue number 15
Pages (from-to) 12493-12506
Publisher San Diego, CA: Neural Information Processing Systems Foundation
Organisations
  • Faculty of Science (FNWI) - Informatics Institute (IVI)
Abstract
In video transformers, the time dimension is often treated in the same way as the two spatial dimensions. However, in a scene where objects or the camera may move, a physical point imaged at one location in frame t may be entirely unrelated to what is found at that location in frame t+k. These temporal correspondences should be modeled to facilitate learning about dynamic scenes. To this end, we propose a new drop-in block for video transformers - trajectory attention - that aggregates information along implicitly determined motion paths. We additionally propose a new method to address the quadratic dependence of computation and memory on the input size, which is particularly important for high resolution or long videos. While these ideas are useful in a range of settings, we apply them to the specific task of video action recognition with a transformer model and obtain state-of-the-art results on the Kinetics, Something-Something V2, and Epic-Kitchens datasets.
Document type Conference contribution
Note With supplemental file
Language English
Published at https://papers.nips.cc/paper/2021/hash/67f7fb873eaf29526a11a9b7ac33bfac-Abstract.html
Other links https://www.proceedings.com/63069.html https://github.com/facebookresearch/Motionformer
Downloads
Supplementary materials
Permalink to this page
Back