Skip to main content
QUICK REVIEW

[Paper Review] Transformers in Action Recognition: A Review on Temporal Modeling

Elham Shabaninia, Hossein Nezamabadi–pour|arXiv (Cornell University)|Dec 29, 2022
Human Pose and Action RecognitionComputer Science10 citations
TL;DR

This paper reviews transformer-based methods for temporal modeling in video action recognition, emphasizing self-attention mechanisms that capture long-range dependencies across video frames. It categorizes approaches into motion-based, 3D CNN, RNN, transformer, and hybrid methods, highlighting the superiority of transformers in modeling global temporal dynamics through learnable attention weights and positional encodings.

ABSTRACT

In vision-based action recognition, spatio-temporal features from different modalities are used for recognizing activities. Temporal modeling is a long challenge of action recognition. However, there are limited methods such as pre-computed motion features, three-dimensional (3D) filters, and recurrent neural networks (RNN) for modeling motion information in deep-based approaches. Recently, transformers success in modeling long-range dependencies in natural language processing (NLP) tasks has gotten great attention from other domains; including speech, image, and video, to rely entirely on self-attention without using sequence-aligned RNNs or convolutions. Although the application of transformers to action recognition is relatively new, the amount of research proposed on this topic within the last few years is astounding. This paper especially reviews recent progress in deep learning methods for modeling temporal variations. It focuses on action recognition methods that use transformers for temporal modeling, discussing their main features, used modalities, and identifying opportunities and challenges for future research.

Motivation & Objective

  • To survey recent deep learning methods for modeling temporal variations in video action recognition.
  • To categorize existing approaches into five groups: motion-based features, 3D CNNs, RNNs, transformers, and hybrid models.
  • To analyze the use of different visual modalities (RGB, depth, skeleton) within transformer-based frameworks.
  • To identify open challenges and future research directions in temporal modeling using transformers.
  • To provide a comprehensive overview of how self-attention enables global context learning compared to local operations in CNNs and RNNs.

Proposed method

  • The paper employs a systematic review methodology to analyze transformer-based architectures in action recognition.
  • It examines the self-attention mechanism, defined by queries, keys, and values, with scaled dot-product attention: $ Z = \text{softmax}\left(\frac{QK^T}{\sqrt{d_k}}\right)V $.
  • Multi-head attention is used to compute multiple attention heads in parallel, improving representation learning across different subspaces.
  • Positional encodings are added to input sequences to preserve sequence order, as transformers lack recurrence or convolutional inductive bias.
  • The encoder-decoder structure of the transformer is reviewed, with residual connections and layer normalization applied after each sub-layer.
  • The paper compares transformers to traditional methods like 3D convolutions and RNNs, emphasizing attention’s ability to model long-range dependencies.

Experimental results

Research questions

  • RQ1How do transformers improve temporal modeling in video action recognition compared to 3D CNNs and RNNs?
  • RQ2What are the key architectural components of transformer models that enable effective long-range temporal dependency learning?
  • RQ3How do different visual modalities (RGB, depth, skeleton) perform when combined with transformer-based temporal modeling?
  • RQ4What are the main limitations and challenges in applying transformers to action recognition tasks?
  • RQ5How do hybrid models combining transformers with other architectures (e.g., CNNs or RNNs) enhance performance in temporal modeling?

Key findings

  • Transformers outperform RNNs and 3D CNNs in modeling long-range temporal dependencies due to their global attention mechanism.
  • The self-attention mechanism allows dynamic, context-aware feature weighting across all frames, unlike fixed receptive fields in convolutions.
  • Multi-head attention enables the model to attend to multiple subspaces of the sequence, improving feature representation and generalization.
  • Positional encodings are essential for preserving sequence order in the absence of recurrence or convolutional inductive bias.
  • Hybrid models combining transformers with CNNs or RNNs show improved performance by leveraging local spatial features and long-range temporal context.
  • Despite their success, transformers require large labeled datasets and are computationally expensive, posing challenges for real-time deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.