Text-Enhanced Zero-Shot Action Recognition: A Training-Free Approach

Massimo Bosetti, Shibingfeng Zhang, Benedetta Liberatori, Giacomo Zara, Elisa Ricci, Paolo Rota

Abstract

Zero-shot video action recognition (ZS-VAR) aims to identify novel actions without specific training on those classes. However, existing Vision-Language Models (VLMs) like CLIP often struggle with video due to an "object bias" and the high computational cost of fine-tuning on video data. This paper introduces TEAR (Text-Enhanced Action Recognition), a training-free framework that leverages Large Language Models (LLMs) to bridge the gap between static image representations and dynamic video content. By expanding simple action labels into rich, multi-faceted textual descriptors, TEAR significantly improves the performance of frozen VLMs across major benchmarks without requiring additional training or video-specific data.

Introduction

The emergence of Vision-Language Models (VLMs) has revolutionized zero-shot tasks. While models like CLIP excel at image classification, their application to video action recognition is hindered by two main factors:

  1. The Verb Gap: VLMs trained on image-text pairs are often biased toward static objects (nouns) rather than temporal dynamics (verbs). For example, a model might identify a "snowboard" but fail to distinguish the specific nuances of "snowboarding."
  2. Resource Intensity: Most ZS-VAR methods rely on fine-tuning models on massive video datasets. This process is computationally expensive and often introduces domain bias, limiting the model's generalizability to unseen datasets.

TEAR addresses these challenges by using the common-sense knowledge embedded in LLMs to provide a "training-free" alternative. Instead of updating model weights, TEAR enhances the textual input to help a frozen VLM better understand the visual components of an action.

Methodology

The TEAR framework operates through a two-stage pipeline: Action Descriptor Generation and Zero-Shot Prediction.

1. Action Descriptor Generation

Rather than relying on a single-word label (e.g., "bowling"), TEAR queries an LLM (GPT-3.5) to generate detailed descriptors for each action class. These descriptors are categorized into three types:

  • Decomposition: The action is broken down into three sequential, observable steps (e.g., for bowling: select ball, align body, release ball).
  • Description: A succinct semantic explanation of the visual elements of the action.
  • Context: A list of likely objects and the environmental setting where the action typically occurs.

2. Zero-Shot Prediction

TEAR utilizes a frozen CLIP (ViT-B/16) architecture for inference:

  • Video Encoding: The model samples $N=16$ frames from a video. These frames are processed by the vision encoder, and their latent representations are averaged to create a single "compact video representation."
  • Text Encoding: The LLM-generated descriptors are passed through the CLIP text encoder. These embeddings are averaged to create a robust "textual representation" for each class.
  • Inference: The final prediction is determined by calculating the cosine similarity between the video representation and the textual representations of all candidate classes. The class with the highest similarity is selected.

Experimental Results

TEAR was evaluated on three standard benchmarks: UCF101, HMDB51, and Kinetics-600 (K600). Despite being training-free, the method consistently outperformed the vanilla CLIP baseline and remained competitive with models fine-tuned on video data.

Dataset Vanilla CLIP (Top-1) TEAR (Top-1) Improvement
UCF101 69.9% 76.2% +6.3%
HMDB51 38.0% 50.8% +12.8%
Kinetics-600 63.5% 70.3% +6.8%

Ablation studies confirmed that combining all three descriptor types (decomposition, description, and context) provides the most robust signal for the VLM, confirming that actions are best understood through a combination of motion and environment.

Discussion and Key Insights

  • Actions as Contextual Constructs: The primary insight of TEAR is that an action is defined by more than just motion; it is defined by the objects involved, the setting, and the sequence of events. By describing these "static" elements, an image-trained model can effectively interpret dynamic video.
  • LLMs as Visual Proxies: LLMs can effectively "hallucinate" the visual and temporal details of an action based on their training on vast text corpora. This allows the system to bypass the need for actual video training data.
  • Efficiency and Accessibility: Because TEAR is inference-only, it avoids the high computational costs and potential biases associated with fine-tuning. This makes high-performance ZS-VAR accessible to researchers without massive GPU clusters.

Limitations and Future Work

While effective, TEAR faces certain limitations. It struggles with "atomic actions"—simple or fine-grained movements that cannot be easily decomposed into distinct steps. Additionally, LLM-generated descriptors can occasionally be too specific (e.g., describing a romantic setting for "kissing" when the video shows a different context), leading to potential mismatches. Future research may explore extending TEAR to Temporal Action Localization, identifying not just what action is occurring, but when it occurs in untrimmed video streams.

Conclusion

TEAR demonstrates that sophisticated prompt engineering at the class level can be as effective as traditional weight-tuning for zero-shot video tasks. By leveraging the descriptive power of LLMs, TEAR provides a scalable, efficient, and highly effective solution for bridging the gap between static vision-language models and the dynamic world of video action recognition.

Summary updated

BibTeX
@inproceedings{bosetti2024text,
  author = {Massimo Bosetti and Shibingfeng Zhang and Benedetta Liberatori and Giacomo Zara and Elisa Ricci and Paolo Rota},
  title = {{Text-Enhanced Zero-Shot Action Recognition: A Training-Free Approach}},
  booktitle = {ICPR},
  year = {2024},
  doi = {10.1007/978-3-031-78354-8\_21},
}
Figure