Efficient spatiotemporal context modeling for action recognition

Congqi Cao, Yue Lu, Yifan Zhang, Dongmei Jiang, Yanning Zhang

Research output: Contribution to journalArticlepeer-review

4 Scopus citations

Abstract

Contextual information is essential in action recognition. However, local operations have difficulty in modeling two distant elements, and directly computing the dense relations between any two points brings huge computation and memory burden. Inspired by the recurrent 2D criss-cross attention (RCCA-2D) in image segmentation, we propose a recurrent 3D criss-cross attention (RCCA-3D) that factorizes the global relation map into sparse relation maps to model long-range spatiotemporal context with minor costs for video-based action recognition. Specifically, we first propose a 3D criss-cross attention (CCA-3D) module. Compared with the CCA-2D which only works in space, it can capture the spatiotemporal relationship between the points in the same line along the direction of width, height and time. However, only replacing the two CCA-2Ds in the RCCA-2D with our CCA-3Ds cannot model the spatiotemporal context in videos. Therefore, we further duplicate the CCA-3D with a recurrent mechanism to transmit the relation between the points in a line to a plane and finally to the whole spatiotemporal space. To make the RCCA-3D adaptive for action recognition, we propose a novel recurrent structure rather than directly extending the original 2D structure to 3D. In the experiments, we make a thorough analysis of different structures of RCCA-3D, verifying the proposed structure is more suitable for action recognition. We also compare our RCCA-3D with the non-local attention, showing that the RCCA-3D requires 25% fewer parameters and 30% fewer FLOPs with even higher accuracy. Finally, equipped with our RCCA-3D, 3 networks achieve better and leading performance on 5 RGB-based and skeleton-based datasets.

Original languageEnglish
Article number126289
JournalNeurocomputing
Volume545
DOIs
StatePublished - 7 Aug 2023

Keywords

  • Action recognition
  • Attention module
  • Long-range context modeling
  • Relation
  • Spatiotemporal feature map

Fingerprint

Dive into the research topics of 'Efficient spatiotemporal context modeling for action recognition'. Together they form a unique fingerprint.

Cite this