Multi-Modal Few-Shot Temporal Action Detection

Sauradip Nag, Mengmeng Xu, Xiao Han, Xiatian Zhu, Bernard Ghanem, Yi-Zhe Song, Tao XiangOpenReview 2022

TL;DR

This paper introduces "Multi-Modal Few-Shot Temporal Action Detection" (MMFS-TAD), a new problem setting that combines few-shot (visual examples) and zero-shot (textual descriptions) learning for action detection. They propose MUPPET, a novel method that leverages both visual and textual information through a meta-learned "prompting" mechanism to achieve state-of-the-art results.

What Problem Does This Paper Address?

Traditional temporal action detection (TAD) methods require vast amounts of labeled video data, making them impractical for recognizing new action classes. To address this, few-shot TAD (FS-TAD) uses a few visual examples, and zero-shot TAD (ZS-TAD) uses textual descriptions of new classes. However, these approaches are typically studied in isolation. This paper argues that in real-world scenarios, we often have both a few visual examples and a textual description for a new action. They introduce the MMFS-TAD setting to unify these two approaches, aiming to build more robust and scalable action detection systems by leveraging the complementary strengths of visual and textual information.

Methods

The core of the proposed solution is the MUPPET (Multi-modality PromPt mETa-learning) method. MUPPET works by:

  • Multimodal Prompt Learning: It uses a meta-learned "visual semantics tokenizer" to map support video features into the textual token space of a pre-trained vision-language (ViL) model (like CLIP). This allows the visual information from the support videos to be combined with the textual class names, forming a "multimodal prompt." This prompt is then fed into the ViL model's text encoder to generate a rich, joint representation of the action class.
  • Query Feature Regulation: To handle the significant variations within a single action class (e.g., different ways of performing a "jump"), MUPPET employs a query feature regulator. This component uses a transformer-based mechanism to adapt query video features based on the support video features, effectively "regulating" the query to better match the learned class representation.
  • Adapter-based ViL Adaptation: Instead of fine-tuning the entire pre-trained ViL model, MUPPET uses adapter modules. This approach allows for efficient adaptation to new tasks while preserving the powerful pre-trained knowledge, mitigating overfitting with limited few-shot data.

Datasets

The proposed method is evaluated on two standard temporal action detection benchmarks:

  • ActivityNet-v1.3: A large-scale dataset with 19,994 videos and 200 action classes.
  • THUMOS14: A smaller dataset with 200 validation and 213 testing videos across 20 action categories.

The paper also briefly mentions experiments on the COCO dataset for few-shot object detection, demonstrating the generality of their approach.

Key Insights and Ideas

  • Unifying FS-TAD and ZS-TAD is beneficial: The paper convincingly argues that combining visual examples and textual descriptions for new classes leads to better performance than using either modality alone. This is crucial for real-world scalability.
  • Prompting ViL models for TAD is effective: By mapping visual features into the text embedding space of ViL models, MUPPET creates powerful multimodal prompts that capture both visual nuances and semantic meaning.
  • Class-specific prompts are better than generic ones: The authors show that learning class-specific prompts, rather than a single generic prompt for all classes, leads to more discriminative representations.
  • Adapters are key for efficient ViL adaptation: Using adapter modules for fine-tuning ViL models in few-shot settings significantly improves performance and efficiency, preventing overfitting.

Key Results

MUPPET demonstrates strong performance across various settings:

  • MMFS-TAD: MUPPET significantly outperforms state-of-the-art methods in the proposed multimodal few-shot setting on both ActivityNet and THUMOS14. For instance, it surpasses the best FS-TAD model (QAT) by a notable margin of 5.8% in average mAP.
  • FS-TAD: Even when used purely in a few-shot setting (disabling the text modality), MUPPET achieves competitive results, outperforming existing FS-TAD methods.
  • ZS-TAD: When adapted for zero-shot learning, MUPPET also shows superiority over recent ZS-TAD baselines.
  • Few-Shot Object Detection: The adapted MUPPET achieves state-of-the-art results on the COCO dataset for few-shot object detection, highlighting its versatility.

Limitations and Future Work

  • Computational Cost: While adapters help, training and inference with large ViL models can still be computationally intensive.
  • Dataset Bias: The performance is dependent on the quality and diversity of the pre-trained ViL models and the training datasets.
  • Future Work: The authors suggest exploring more sophisticated prompt learning strategies and investigating the application of MUPPET to other video understanding tasks. They also highlight the potential for further improvements by leveraging even larger and more capable vision-language models.

Summary updated

Abstract

Conventional temporal action detection (TAD) methods rely on supervised learning from many labeled training videos, rendering them unscalable to new classes. Recent approaches to solving this problem include few-shot (FS) and zero-shot (ZS) TAD. The former can adapt a pretrained vision model to a new task represented by as few as a single video per class, whilst the latter synthesizes some semantic description given a new class (e.g, generating the classifier using a pretrained vision-language (ViL) model). In this work, we further introduce a hybrid problem setup, multi-modality few-shot(MMFS) TAD, that integrates the respective advantages of FS-TAD and ZS-TAD by accounting for both few-shot support videos (i.e, visual modality) and new class names (i.e, textual modality) in a single formula. To tackle this MMFS-TAD problem, we introduce a novel {\bf\em MUlti-modality PromPt mETa-learning} (MUPPET) method. Our key idea is to construct multi-modal prompts by mapping few-shot support videos to the textual token space of a pretrained ViL model (e.g, CLIP) using a meta-learned adapter-equipped visual semantics tokenizer; This facilitates a joint use of the two input modalities for learning richer representation. To address the large intra-class variation challenge, we further design a query feature regulation scheme. Extensive experiments on ActivityNetv1.3 and THUMOS14 demonstrate that our MUPPET outperforms state-of-the-art FS-TAD, ZS-TAD and alternative methods under a variety of MMFS-TAD settings, often by a large margin.
BibTeX
@misc{nag2022multi,
  author = {Sauradip Nag and Mengmeng Xu and Xiao Han and Xiatian Zhu and Bernard Ghanem and Yi-Zhe Song and Tao Xiang},
  title = {{Multi-Modal Few-Shot Temporal Action Detection}},
  year = {2022},
  url = {https://openreview.net/forum?id=WLMaYqspJl},
  howpublished = {OpenReview},
}
Figure