Chain-of-Thought Textual Reasoning for Few-shot Temporal Action Localization

Hongwei Ji, Wulian Yun, Mengshi Qi, Huadong MaarXiv 2025 · DOI

Introduction

Temporal Action Localization (TAL) involves identifying the precise start and end times of specific actions within long, untrimmed videos. In "few-shot" scenarios (FSL-TAL), models must generalize to new action classes using only a handful of examples. Traditional approaches rely heavily on visual features, which often suffer from ambiguity—for instance, the visual cues for "volleyball spiking" and "basketball dunking" can be remarkably similar in a gym setting. Furthermore, purely visual models struggle to capture the underlying causal logic of complex events, leading to inaccurate boundary detection.

Chain-of-Evidence Reasoning

To address these limitations, this research introduces "Chain-of-Evidence" (CoE) reasoning. Instead of relying on simple, often generic captions, the framework employs a multi-stage pipeline using Vision-Language Models (VLMs) and Large Language Models (LLMs) to generate logically structured textual descriptions that serve as semantic anchors.

The multi-stage pipeline for generating Chain-of-Evidence (CoE) text using VLMs and LLMs.

The generation process involves three distinct stages:

  1. Initial Description: A VLM (e.g., VideoChat) provides a detailed summary of the scene, including actions, objects, and people.
  2. Event Spotting: The model filters the initial description to focus exclusively on core events, removing redundant or irrelevant details.
  3. Logical Structuring: A reasoning-capable LLM (e.g., DeepSeek-R1) synthesizes these events into a CoE text. This text emphasizes causal links (e.g., "Action A leads to Event B") and ensures entity consistency, providing a logical roadmap for the localization model.

Model Architecture

The proposed architecture integrates these rich textual features with hierarchical visual representations through two primary components: the Semantic-Temporal Pyramid Encoder (STPE) and a Semantic-Aware Text-Visual Alignment module.

The complete architecture featuring hierarchical video feature extraction and semantic-aware text-visual alignment.

The STPE extracts video features across multiple scales, utilizing a temporal pyramid to capture long-term dependencies and a semantic pyramid to identify commonalities between similar video snippets. The Text-Visual Alignment module then uses cross-attention to align query video features with the CoE text features. This allows the model to "understand" the logical progression described in the text while scanning the video frames, significantly improving its ability to distinguish between foreground actions and background noise.

Experimental Results

The model was evaluated on standard benchmarks, including THUMOS14 and ActivityNet 1.3, as well as a newly introduced Human-related Anomaly Localization (HAL) dataset. The HAL dataset contains over 1,000 videos across 12 anomaly categories (e.g., fighting, vandalism) and includes the new CoE textual descriptions.

The results demonstrate significant improvements over existing state-of-the-art (SOTA) methods:

  • THUMOS14: Achieved 18.2 [email protected] in a 5-shot scenario, representing a 12% improvement over previous methods.
  • ActivityNet 1.3: Showed a 4% improvement in the 5-shot scenario.
  • HAL Dataset: Outperformed the previous best model (CGCN) by 2.9 points in [email protected], highlighting the effectiveness of CoE reasoning for complex, multi-stage anomalous events.

Conclusion

By shifting the focus from purely visual processing to multimodal logical reasoning, the Chain-of-Evidence framework significantly enhances few-shot temporal action localization. The inclusion of causal connectors in text serves as a powerful anchor for identifying action boundaries that visual features alone might miss. Future work will focus on reducing the computational overhead of the CoE generation process and extending this reasoning framework to real-time surveillance and security domains where understanding intent and logic is critical.

Summary updated

Abstract

Traditional temporal action localization (TAL) methods rely on large amounts of detailed annotated data, whereas few-shot TAL reduces this dependence by using only a few training samples to identify unseen action categories. However, existing few-shot TAL methods typically focus solely on video-level information, neglecting textual information, which can provide valuable semantic support for the action localization task. To address these issues, in this work, we propose a new few-shot temporal action localization method by Chain-of-Evidence multimodal reasoning to improve localization performance. Specifically, we design a novel few-shot learning framework to capture action commonalities and variations, which includes a semantic-aware text-visual alignment module designed to align the query and support videos at different levels. Meanwhile, to better express the temporal dependencies and causal relationships between actions at the textual level, we design a Chain-of-Evidence (CoE) reasoning method that progressively guides the Vision Language Model (VLM) and Large Language Model (LLM) to generate CoE text descriptions for videos. The generated texts can capture more variance of action than visual features. We conduct extensive experiments on the publicly available ActivityNet1.3, THUMOS14 and our newly collected Human-related Anomaly Localization Dataset. The experimental results demonstrate that our proposed method significantly outperforms existing methods in single-instance and multi-instance scenarios. Our source code and data are available at https://github.com/MICLAB-BUPT/VAL-VLM.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
HAL · Human-related Anomaly Localization DatasetProposed Chain-of-Evidence (CoE) multimodal reasoning method (Ours on HAL)[email protected]40.0+2.9 vs baseline5-shot
Source quote
L295: Ours (on HAL) │ 38.9 │ 25.2 │ 40.0 │ 26.7
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
ActivityNet-1.3 · ActivityNet1.3CDC-CA baseline[email protected]54.65-shot · instance-setting=multi-instance
Source quote
L250: CDC-CA~\cite{lee2023few} │ 63.1 │ 67.5 │ 49.4 │ 54.6 │ 55.0 │ 60.5 │ 10.2 │ 16.2
THUMOS14CDC-CA baseline[email protected]16.25-shot · instance-setting=multi-instance
Source quote
L250: CDC-CA~\cite{lee2023few} │ 63.1 │ 67.5 │ 49.4 │ 54.6 │ 55.0 │ 60.5 │ 10.2 │ 16.2
HAL · Human-related Anomaly Localization DatasetCGCN baseline[email protected]37.15-shot
Source quote
L294: CGCN │ 36.3 │ 19.8 │ 37.1 │ 20.2
BibTeX
@misc{ji2025chain,
  author = {Hongwei Ji and Wulian Yun and Mengshi Qi and Huadong Ma},
  title = {{Chain-of-Thought Textual Reasoning for Few-shot Temporal Action Localization}},
  year = {2025},
  eprint = {2504.13460},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.13460},
}
Figure