Skip to main content
QUICK REVIEW

[Paper Review] Combined CNN Transformer Encoder for Enhanced Fine-grained Human Action Recognition

Mei Chee Leong, Haosong Zhang|arXiv (Cornell University)|Aug 3, 2022
Human Pose and Action RecognitionComputer Science5 citations
TL;DR

This paper proposes two hybrid CNN-Transformer architectures for fine-grained human action recognition: a 3D Vision Transformer Encoder and a Video-Text Cross Transformer Encoder. By combining 3D CNN features with self- and cross-attention mechanisms, the models learn enhanced temporal semantics and visual-textual cross-attention, achieving new state-of-the-art performance on the FineGym benchmark with 94.6% top-1 accuracy on Gym99 and 90.1% on Gym288.

ABSTRACT

Fine-grained action recognition is a challenging task in computer vision. As fine-grained datasets have small inter-class variations in spatial and temporal space, fine-grained action recognition model requires good temporal reasoning and discrimination of attribute action semantics. Leveraging on CNN's ability in capturing high level spatial-temporal feature representations and Transformer's modeling efficiency in capturing latent semantics and global dependencies, we investigate two frameworks that combine CNN vision backbone and Transformer Encoder to enhance fine-grained action recognition: 1) a vision-based encoder to learn latent temporal semantics, and 2) a multi-modal video-text cross encoder to exploit additional text input and learn cross association between visual and text semantics. Our experimental results show that both our Transformer encoder frameworks effectively learn latent temporal semantics and cross-modality association, with improved recognition performance over CNN vision model. We achieve new state-of-the-art performance on the FineGym benchmark dataset for both proposed architectures.

Motivation & Objective

  • Address the challenge of fine-grained action recognition where inter-class variations are minimal and require strong temporal reasoning and semantic discrimination.
  • Leverage the complementary strengths of CNNs (spatio-temporal feature extraction) and Transformers (global dependency modeling) to improve recognition accuracy.
  • Explore weakly supervised cross-attention between visual features and textual descriptions to enhance discrimination of visually similar actions.
  • Achieve state-of-the-art performance on the FineGym benchmark, a challenging dataset for fine-grained gymnastic action recognition.
  • Investigate the effectiveness of both pure visual and multi-modal video-text encoders in capturing latent semantic and temporal dependencies.

Proposed method

  • Use a 3D CNN backbone (SlowOnly) to extract spatio-temporal features from video clips, converting them into visual tokens.
  • Feed the visual tokens into a Transformer encoder to model long-range temporal dependencies and learn latent semantic representations.
  • For the cross-encoder, extract textual descriptions of action classes and embed them into text tokens, which are then jointly processed with visual tokens in a shared Transformer encoder.
  • Train the cross-encoder with weak supervision from action class labels, enabling end-to-end learning of visual-textual attention without requiring ground-truth attribute alignments.
  • Employ AdamW optimizer with cosine annealing learning rate scheduling and weight decay of 0.05 for training.
  • Apply feature-level fusion and multi-head self-attention mechanisms to enable effective cross-modality interaction and representation learning.

Experimental results

Research questions

  • RQ1Can a Transformer encoder effectively learn latent temporal semantics from CNN-extracted visual features in fine-grained action recognition?
  • RQ2To what extent does incorporating textual descriptions improve discrimination in visually similar fine-grained actions?
  • RQ3How effective is weakly supervised video-text cross-attention in learning meaningful visual-textual associations without ground-truth attribute-level annotations?
  • RQ4Does the integration of CNN and Transformer architectures outperform standalone CNN or vision-only Transformer baselines on fine-grained benchmarks?
  • RQ5What is the contribution of cross-attention between visual and textual modality to overall recognition accuracy on complex, attribute-rich action datasets?

Key findings

  • The 3D Vision Transformer Encoder achieved 94.0% top-1 accuracy on Gym99 and 90.5% on Gym288, outperforming all CNN-based baselines including TSN, TRNms, TSM, I3D, and NL I3D.
  • The Video-Text Cross Transformer Encoder achieved 94.6% top-1 accuracy on Gym99 and 90.1% on Gym288, setting a new state-of-the-art performance on the FineGym benchmark.
  • The cross-encoder framework improved top-1 accuracy by 3.28 percentage points on Gym288 compared to the SlowOnly baseline, demonstrating the benefit of weakly supervised visual-textual alignment.
  • The VT cross encoder outperformed TQN, a prior SOTA model using a query-response mechanism, by 0.8% on Gym99 and 0.5% on Gym288, indicating superior cross-encoding capability.
  • Both proposed models significantly improved over the SlowOnly baseline, with the cross-encoder showing the largest gain, highlighting the value of multi-modal learning.
  • The results confirm that learning global temporal semantics and cross-modality associations enhances discrimination in fine-grained actions with subtle spatial and temporal differences.

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.