Language Model Guided Interpretable Video Action Reasoning

Ning Wang, Guangming Zhu, Hs Li, Liang Zhang, Syed Afaq Ali Shah, Mohammed Bennamoun

Abstract

The LaIAR (Language-guided Interpretable Action Recognition) framework addresses the inherent "black-box" nature of high-performance video models by leveraging language models to guide training. By defining actions as semantic relationship transitions (e.g., "sitting on" $\rightarrow$ "not contacting" = "standing up"), LaIAR achieves state-of-the-art accuracy on benchmarks like Charades and CAD-120 while providing human-readable evidence for its predictions. Crucially, the language model is only used during training, allowing for efficient inference using only RGB data.

Introduction

Deep learning has revolutionized video action recognition, yet most top-tier models operate as opaque systems. While they may accurately identify an action, they lack the ability to explain the underlying reasoning. This lack of transparency is a significant barrier in high-stakes fields like security or healthcare.

Existing interpretable models often rely on a two-stage process: predicting a scene graph and then applying a reasoning module. However, these stages are typically optimized separately, leading to performance gaps compared to end-to-end black-box models. LaIAR bridges this gap by redefining action recognition as an alignment task between video features and language-based logical reasoning, treating actions not as static labels but as temporal transitions of relationships.

Methods

The LaIAR architecture centers on the DT-Former (Dynamic Token Transformer) and a cross-modal training strategy that utilizes language as a teacher.

The DT-Former

Instead of processing every pixel or object relationship, the DT-Former employs an adaptive token selection mechanism. It calculates contribution scores for human-object relationships across both spatial and temporal dimensions, discarding redundant information to focus on the most relevant interactions.

Overview of the proposed LaIAR method (a) and the internal architecture of the DT-Former (b).

Language Model Guidance

During the training phase, a language model—which inherently understands logic and semantics—guides the video model through three key mechanisms:

  1. Joint Embedding Space: Visual features and semantic labels (e.g., "holding a cup") are mapped into a shared space, ensuring visual patterns are associated with specific semantic relationships.
  2. Token Selection Supervision: The language model identifies logically necessary relationships for an action, forcing the video model to prioritize those same features.
  3. Cross-Modal Learning: The video model is trained to predict the probability distribution of the language model, capturing the nuances of action descriptions.

During inference, the language model is discarded. The video model processes raw RGB data but retains the ability to map its internal representations back to semantic labels, providing a supportive evidence chain for its predictions.

Evaluation and Results

LaIAR was evaluated on two complex benchmarks: Charades (daily indoor activities) and CAD-120 (human-object interaction transitions).

  • Charades: LaIAR achieved 45.1% mAP, outperforming previous interpretable models like OR2G (44.9%) and significantly surpassing standard black-box models like I3D (15.6%).
  • CAD-120: The model reached 0.85 mAR, setting a new benchmark for the dataset.
Qualitative example of the reasoning process: the model identifies the "place" action by detecting the transition from "holding box" to "not holding box" through token selection.

Beyond raw metrics, the model demonstrated superior robustness to domain shifts, such as changes in camera angles or actors, because its reasoning relies on semantic relationships rather than raw pixel patterns.

Discussion and Conclusion

LaIAR introduces "interpretability-by-design," where the decision-making process is forced to align with human-understandable logic from the start. This differs from post-hoc explanations like heatmaps, which only show where a model looked after a decision was made.

While highly effective, the model's performance is currently tied to the quality of its pre-trained object detector (e.g., Faster R-CNN). Future work may involve integrating more powerful Large Language Models (LLMs) to refine logical rules and improving the token selection mechanism to handle extremely crowded scenes with numerous interacting entities.

Summary updated

BibTeX
@inproceedings{wang2024language,
  author = {Ning Wang and Guangming Zhu and HS Li and Liang Zhang and Syed Afaq Ali Shah and Mohammed Bennamoun},
  title = {{Language Model Guided Interpretable Video Action Reasoning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
}
Figure