PLOT-TAL - Prompt Learning with Optimal Transport for Few-Shot Temporal Action Localization

Edward Fish, Jon Weinbren, Andrew Gilbert · OpenReview

Abstract

This paper introduces a novel approach to temporal action localization (TAL) in few-shot learning. Our work addresses the inherent limitations of conventional single-prompt learning methods that often lead to overfitting due to the inability to generalize across varying contexts in real-world videos. Recognizing the diversity of camera views, backgrounds, and objects in videos, we propose a multi-prompt learning framework enhanced with optimal transport. This design allows the model to learn a set of diverse prompts for each action, capturing general characteristics more effectively and distributing the representation to mitigate the risk of overfitting. Furthermore, by employing optimal transport theory, we efficiently align these prompts with action features, optimizing for a comprehensive representation that adapts to the multifaceted nature of video data. Our experiments demonstrate significant improvements in action localization accuracy and robustness in few-shot settings on the standard challenging datasets of THUMOS-14 and EpicKitchens100, highlighting the efficacy of our multi-prompt optimal transport approach in overcoming the challenges of conventional few-shot TAL methods.

Introduction

Temporal Action Localization (TAL) involves identifying the start, end, and class of actions within a continuous video stream. While modern models excel when trained on massive datasets, they struggle in "few-shot" scenarios where only a handful of examples are available.

A major bottleneck in current approaches is the reliance on single-prompt tuning. Most methods try to compress an entire dynamic action (like "diving") into a single feature vector. In few-shot settings, this single prompt often "memorizes" superficial cues—such as specific backgrounds or camera angles—rather than the action itself, leading to poor generalization and imprecise temporal boundaries.

Methodology

The core innovation of PLOT-TAL (Prompt-Learning with Optimal Transport) is the transition from a single monolithic prompt to an ensemble of diverse, learnable prompts.

Multi-Prompt Ensembles

For each action class, the model learns a set of $N$ prompts. This approach leverages the compositional nature of actions, allowing different prompts to specialize in different "sub-events" (e.g., for a "high jump," prompts might focus separately on the run-up, the leap, and the landing).

Optimal Transport (OT) Alignment

To prevent prompts from collapsing into redundant representations, PLOT-TAL uses Optimal Transport as a structural regularizer. OT finds the globally optimal matching between the distribution of prompts and the distribution of temporal video features. This matching is solved efficiently using the Sinkhorn algorithm, ensuring each prompt finds a unique role in explaining the video data.

The PLOT-TAL framework: (A) Video frames, (B) Multi-prompt ensemble, (C) Frozen encoders, (D) Feature pyramid, (E) Optimal Transport alignment, and (F) Localization heads.

Experimental Results

The authors evaluated PLOT-TAL on two major benchmarks, THUMOS’14 and EPIC-Kitchens-100, using a strict 5-shot, C-way protocol.

Quantitative Performance

PLOT-TAL established a new state-of-the-art for few-shot TAL:

  • THUMOS’14: Achieved an average mAP of 38.24%, outperforming the standard single-prompt CoOp baseline (34.65%). Utilizing "verbose" prompts generated by GPT-3.5 further increased performance to 40.59%.
  • EPIC-Kitchens: On the verb partition, PLOT-TAL reached 18.9% average mAP, a significant improvement over the 15.9% achieved by CoOp.
mAP results over various IoU thresholds on THUMOS-14. PLOT-TAL consistently outperforms baselines, especially as the number of shots increases.

Key Insights

  • Precision at High IoU: The method shows the most significant gains at high Intersection-over-Union (IoU) thresholds, indicating that PLOT-TAL is particularly effective at finding exact start and end times.
  • Action Compositionality: Robust generalization is achieved by modeling actions as simpler, reusable parts. This makes the localization problem more tractable when training data is sparse.
  • Verbs vs. Nouns: The multi-prompt approach is significantly more effective for dynamic verbs than for static nouns, as verbs possess complex temporal structures that demand more nuanced representation.

Conclusion

PLOT-TAL demonstrates that multi-prompt learning combined with Optimal Transport alignment effectively mitigates overfitting in few-shot TAL. By distributing representation across diverse prompts, the model captures the multifaceted nature of video actions more accurately than traditional single-prompt methods. Future work may explore integrating this alignment strategy into even larger video-language models.

Summary updated

Abstract

This paper introduces a novel approach to temporal action localization (TAL) in few-shot learning. Our work addresses the inherent limitations of conventional single-prompt learning methods that often lead to overfitting due to the inability to generalize across varying contexts in real-world videos. Recognizing the diversity of camera views, backgrounds, and objects in videos, we propose a multi-prompt learning framework enhanced with optimal transport. This design allows the model to learn a set of diverse prompts for each action, capturing general characteristics more effectively and distributing the representation to mitigate the risk of overfitting. Furthermore, by employing optimal transport theory, we efficiently align these prompts with action features, optimizing for a comprehensive representation that adapts to the multifaceted nature of video data. Our experiments demonstrate significant improvements in action localization accuracy and robustness in few-shot settings on the standard challenging datasets of THUMOS-14 and EpicKitchens100, highlighting the efficacy of our multi-prompt optimal transport approach in overcoming the challenges of conventional few-shot TAL methods.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
THUMOS'14Optimal Transport (OT)[email protected]43.06few-shot
Source quote
L354: Optimal Transport (OT) │ 43.06 │ 40.46
THUMOS'14Optimal Transport (OT)Avg. mAP40.46%few-shot
Source quote
L354: Optimal Transport (OT) │ 43.06 │ 40.46
THUMOS'14Kuhn-Munkres (Hungarian)[email protected]29.48few-shot
Source quote
L353: Kuhn-Munkres (Hungarian) │ 29.48 │ 29.09
THUMOS'14Kuhn-Munkres (Hungarian)Avg. mAP29.09%few-shot
Source quote
L353: Kuhn-Munkres (Hungarian) │ 29.48 │ 29.09
THUMOS'14Euclidean Distance[email protected]21.97few-shot
Source quote
L352: Euclidean Distance │ 21.97 │ 22.27
THUMOS'14Euclidean DistanceAvg. mAP22.27%few-shot
Source quote
L352: Euclidean Distance │ 21.97 │ 22.27
BibTeX
@misc{fish2024plot,
  author = {Edward Fish and Jon Weinbren and Andrew Gilbert},
  title = {{PLOT-TAL - Prompt Learning with Optimal Transport for Few-Shot Temporal Action Localization}},
  year = {2024},
  eprint = {2403.18915},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.18915},
}
Figure