Actor-agnostic Multi-label Action Recognition with Multi-modal Query

Anindya Mondal, Sauradip Nag, Joaquin M. Prada, Xiatian Zhu, Anjan Dutta

Introduction

Action recognition has traditionally been "actor-specific," often requiring specialized pose estimation or skeleton models for different species. This approach is computationally expensive and fails to generalize across diverse actors like humans and various animals. Furthermore, existing systems frequently treat action labels as discrete integers, ignoring the rich semantic information inherent in language and the multi-label nature of real-world activities.

To address these challenges, we present MSQNet (Multi-modal Semantic Query Network), a transformer-based framework designed for actor-agnostic, multi-label action recognition. By leveraging vision-language models (VLMs), MSQNet identifies behaviors across species without species-specific priors.

Methodology: The MSQNet Architecture

MSQNet treats action recognition as a query-based task, inspired by the DETR (Detection Transformer) framework for object detection. The architecture consists of three primary components:

  1. Spatio-temporal Video Encoder: Raw video frames are processed using backbones such as TimeSformer or VideoMAE to extract features that capture both spatial details and temporal motion.
  2. Multi-modal Query Encoder: This core innovation replaces standard learned queries with semantically grounded ones. It fuses textual embeddings of action class names (from a pre-trained CLIP model) with global video context. This ensures the model understands the linguistic meaning of an action (e.g., "running") before analyzing the video.
  3. Multi-modal Decoder: A Transformer decoder where these multi-modal queries attend to the video features, allowing the model to "detect" specific action patterns regardless of the actor's morphology.
The MSQNet architecture featuring the Video Encoder, Multi-modal Query Encoder, and Transformer Decoder.

Experimental Setup and Results

The model's versatility was evaluated across five diverse benchmarks: Animal Kingdom (cross-species), Charades (human activities), Hockey (sports), Thumos14 (single-label human), and HMDB51 (zero-shot evaluation).

MSQNet established new state-of-the-art (SOTA) benchmarks:

  • Animal Kingdom: Achieved a 73.10% mAP, a massive leap from the previous best of ~25%.
  • Thumos14: Reached 83.16% accuracy, outperforming previous methods by over 20%.
  • Zero-Shot Performance: On HMDB51, MSQNet reached 69.43% accuracy, significantly higher than the 48.37% achieved by a "Vanilla" version without multi-modal queries.

Discussion: Semantic Grounding and Zero-Shot Robustness

A key insight of MSQNet is the power of "semantic grounding." By initializing queries with CLIP text embeddings, the model bridges the gap between different actors. Visualization of the model's attention mechanisms reveals that the inclusion of textual queries shifts the focus from background noise to the specific limbs and bodies involved in the action.

Attention heatmaps for Horse and Meerkat/Snake scenarios, showing how MSQNet focuses on relevant actors compared to vanilla models.

Framing actions as "objects" within a spatio-temporal map allows the model to bypass explicit pose estimation. This makes the system highly robust for zero-shot scenarios, as it can recognize "unseen" categories by understanding the semantic relationship between labels.

Conclusion and Future Work

MSQNet demonstrates that a single, actor-agnostic architecture can outperform specialized models across diverse datasets. While highly effective, future improvements could involve integrating audio for sound-defined actions and refining temporal localization for untrimmed videos. Additionally, as the model relies on pre-trained VLMs, its performance remains tied to the breadth of the underlying language model's knowledge.

Summary updated

BibTeX
@inproceedings{mondal2023actor,
  author = {Anindya Mondal and Sauradip Nag and Joaquin M. Prada and Xiatian Zhu and Anjan Dutta},
  title = {{Actor-agnostic Multi-label Action Recognition with Multi-modal Query}},
  booktitle = {Workshops @ ICCV},
  year = {2023},
  doi = {10.1109/iccvw60793.2023.00086},
}
Figure