TL;DR
TEGU is a novel, training-free framework for Zero-Shot Temporal Action Localization (ZS-TAL) that eliminates the need for expensive manual video annotations. By leveraging Large Language Models (LLMs) to generate detailed action descriptors and parsing frame captions into structured scene triplets, TEGU effectively guides a Vision-Language Model (VLM) to accurately pinpoint action boundaries at test time.
What Problem Does This Paper Address?
Temporal Action Localization (TAL) involves identifying exactly when an action starts and ends in an untrimmed video, as well as classifying the action. While fully supervised models excel at this, they require exhaustive frame-by-frame manual annotations. Zero-Shot TAL (ZS-TAL) attempts to alleviate this by localizing actions unseen during training, typically by utilizing pre-trained Vision-Language Models (VLMs) like CLIP or SigLIP.
However, most ZS-TAL methods still require an initial training phase on a large-scale video dataset to learn action boundaries. This introduces dataset bias and limits cross-dataset generalization. A few recent "training-free" methods adapt models directly at test time using frame captions, but standard captions are often too noisy. Background or transition frames (e.g., a golfer walking up to a ball) are textually described very similarly to the actual action frames (the golf swing itself), confusing the model.
Methods
The authors introduce TEGU (Textual Guidance for finer localization of actions in videos), a test-time adaptation framework that operates in four distinct steps:
- Video-Level Action Classification: A VLM (SigLIP) computes an initial video-level prediction to identify the top-$k$ candidate actions present in the untrimmed video.
- Textual Guidance Extraction: To enrich the coarse class names, TEGU extracts text cues from two levels:
- Class-level: An LLM (Gemini 1.5 Flash) generates detailed atomic action descriptions and lists relevant objects.
- Frame-level: A captioning model (KOSMOS-2) generates captions for every frame, which are then parsed into structured
<subject, verb, object>scene triplets using a text parser. Redundant triplets are filtered out via $k$-means clustering. - Score Calculation: The scene triplets are split into affine triplets (highly relevant to the target action) and distractor triplets (contextual or background elements). Frame-wise localization scores are calculated by combining VLM alignment probabilities with these positive and negative textual cues.
- Model Adaptation: Using the calculated scores, the highest and lowest confidence frames are selected as pseudo-labels. The VLM encoders are then fine-tuned directly on the single test video using a max-margin ranking loss to maximize the score separation between action and background frames, alongside a temporal smoothness regularization term.
Datasets
TEGU was evaluated on two widely used video benchmarks under zero-shot settings (where 50% or 75% of classes are held out during any hypothetical training, though TEGU uses zero training data):
- THUMOS14: 413 untrimmed videos containing 20 sports-related action categories.
- ActivityNet-v1.3: A large-scale dataset containing 19,994 videos across 200 diverse action categories.
Key Insights and Ideas
- The Ambiguity of Free-Form Captions: The authors demonstrate that standard text captions exhibit high text-to-text similarity to the ground-truth class name even during background and transition phases. This makes raw captions an unreliable signal for localization.
- The Power of Structure: Deconstructing captions into structured
<subject, verb, object>triplets allows the model to isolate verbs and objects. Separating these into affine and distractor sets provides the fine-grained semantic grounding needed to suppress background noise. - Max-Margin Test-Time Adaptation: Instead of using standard contrastive alignment losses (like BYOL) at test time, enforcing a strict margin between the lowest-scoring foreground frame and highest-scoring background frame significantly sharpens action boundaries.
Key Results
TEGU establishes a new state-of-the-art for training-free ZS-TAL, consistently outperforming its closest competitor, T3AL:
- THUMOS14: In the 75%-25% split, TEGU achieves an average mean Average Precision (mAP) of 11.0%, outperforming T3AL (9.2%). In the 50%-50% split, TEGU reaches 10.5% mAP compared to T3AL's 10.4%.
- ActivityNet-v1.3: TEGU shows substantial gains on this larger dataset, achieving 19.0% average mAP (vs. T3AL's 15.4%) on the 75%-25% split, and 18.5% average mAP (vs. T3AL's 14.3%) on the 50%-50% split.
Limitations and Future Work
While TEGU successfully removes the need for manual video annotations, it introduces a heavy dependency on the quality of frozen generative models (LLMs and captioners). If the captioning model fails to capture subtle visual cues or generates inaccurate triplets, the downstream localization performance degrades. Furthermore, while TEGU leads the training-free category, its absolute performance still lags behind training-based zero-shot methods, indicating that bridging the gap between test-time adaptation and offline training remains an open challenge.
Summary updated