Zero-shot Action Localization via the Confidence of Large Vision-Language Models

Josiah Aklilu, Xiaohan Wang, Serena Yeung-LevyarXiv 2024 · DOI

Abstract

ZEAL (ZEro-shot Action Localization) is a training-free framework that localizes actions in untrimmed videos by leveraging the internal knowledge of Large Language Models (LLMs) and the visual reasoning of Vision-Language Models (LVLMs). By decomposing actions into detailed "start" and "end" descriptions and using LVLM confidence scores as frame-level signals, it achieves state-of-the-art zero-shot performance without needing a single labeled training example.

Introduction

Temporal Action Localization (TAL) involves identifying the precise start and end times of specific actions within long, "untrimmed" videos. Traditionally, this requires massive datasets with frame-level annotations, which are expensive and difficult to produce, especially for niche fields like surgery or specialized sports.

While "zero-shot" methods exist, many are not truly zero-shot—they often involve "prompt tuning" or training on a subset of "seen" classes to generalize to "unseen" ones. Furthermore, most existing methods rely on CLIP, which is excellent at global image-text alignment but often lacks the fine-grained temporal and spatial reasoning required to distinguish the exact moment an action begins or ends.

Comparison of ZEAL with existing zero-shot action localization paradigms.

To address these limitations, we introduce ZEAL, a pipeline that treats action localization as a visual question-answering task guided by linguistic decomposition. Unlike previous methods, ZEAL requires no parameter updates, making it truly "plug-and-play" for any new action class.

The ZEAL Framework

The ZEAL pipeline follows five main stages to move from a high-level action label to precise temporal boundaries:

  1. Action Decomposition (LLM): An LLM (like GPT-4o) takes an action label (e.g., "Baseball Pitch") and generates three text queries: what the archetypal start looks like ("Is the arm raised?"), what the end looks like ("Is the arm pointing to the ground?"), and a general description of the action.
  2. Coarse Filtering: To save computation, the system uses CLIP to rank all possible action classes against a few sampled frames from the video, keeping only the top-$k$ most likely candidates.
  3. CLIP-based Actionness: The general action description is compared against every frame using CLIP to create an "actionness" score, helping the model distinguish between relevant action frames and background noise.
  4. Fine-grained Localization (LVLM): This is the core innovation. For every frame, an LVLM (like Pixtral or LLaVA) is asked the "start" and "end" questions. Instead of just taking the text output, the researchers extract the logits (the model's internal confidence) for the "Yes" and "No" tokens. This provides a continuous, high-resolution confidence score for the start and end of an action across the entire video.
  5. Proposal Generation: The system pairs high-confidence start frames with subsequent high-confidence end frames to create candidate intervals. These are then refined using Soft-NMS (Non-Maximum Suppression) to produce the final localization.
Proposal generation using LVLM confidence scores and Soft-NMS.

Experimental Evaluation

The method was evaluated on THUMOS14, a standard benchmark for action localization containing 20 sports-related action classes. The authors tested two common zero-shot settings: a 75/25 split (15 seen/5 unseen classes) and a more challenging 50/50 split (10 seen/10 unseen classes).

Key Results

ZEAL significantly outperforms previous state-of-the-art zero-shot methods on THUMOS14:

  • Performance Leap: On the 75/25 split, ZEAL (using LLaVA-OneVision) achieved a mean Average Precision (mAP) of 17.0, nearly doubling the performance of the previous best method, T3AL (9.2 mAP).
  • Robustness: Even in the more difficult 50/50 split, ZEAL maintained a high mAP of 16.0, whereas other methods saw significant performance drops.
  • Efficiency via Filtering: The authors showed that by using CLIP to filter the action search space down to the top 3 candidates, they could maintain high recall while drastically reducing the number of expensive LVLM queries needed.

Discussion and Insights

  • Logits as a Proxy for Alignment: The most clever insight is using the LVLM's token logits as a "soft" confidence score. This transforms a discrete VQA task into a continuous signal that is much more useful for identifying temporal boundaries than a simple "Yes/No" answer.
  • Linguistic Inflation: Simply searching for "Baseball Pitch" is vague. By "inflating" the label into specific visual markers (e.g., "arm submerged in water" for a cliff dive), the model can leverage the LLM's vast world knowledge to find much more precise visual anchors.

Conclusion

While ZEAL sets a new state-of-the-art for zero-shot TAL, it faces challenges regarding inference overhead due to the cost of running an LVLM on multiple frames. Additionally, performance is sensitive to the quality of LLM-generated descriptions. Future work may explore more sophisticated prompting strategies and using LVLMs to generate their own captions of key frames to further automate the filtering process.

Summary updated

BibTeX
@misc{aklilu2024zero,
  author = {Josiah Aklilu and Xiaohan Wang and Serena Yeung-Levy},
  title = {{Zero-shot Action Localization via the Confidence of Large Vision-Language Models}},
  year = {2024},
  eprint = {2410.14340},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.14340},
}
Figure