Skip to main content
QUICK REVIEW

[Paper Review] Similarity R-C3D for Few-shot Temporal Activity Detection

Huijuan Xu, Bingyi Kang|arXiv (Cornell University)|Dec 25, 2018
Human Pose and Action RecognitionComputer Science37 references11 citations
TL;DR

This paper proposes Similarity R-C3D, a novel end-to-end few-shot temporal activity detection framework that uses a two-stage proposal network and cosine similarity matching between video proposals and few-shot exemplars to localize and classify rare activities. It achieves state-of-the-art performance on THUMOS14, ActivityNet1.2, and ActivityNet1.3, with significant accuracy gains when more few-shot examples are provided.

ABSTRACT

Many activities of interest are rare events, with only a few labeled examples available. Therefore models for temporal activity detection which are able to learn from a few examples are desirable. In this paper, we present a conceptually simple and general yet novel framework for few-shot temporal activity detection which detects the start and end time of the few-shot input activities in an untrimmed video. Our model is end-to-end trainable and can benefit from more few-shot examples. At test time, each proposal is assigned the label of the few-shot activity class corresponding to the maximum similarity score. Our Similarity R-C3D method outperforms previous work on three large-scale benchmarks for temporal activity detection (THUMOS14, ActivityNet1.2, and ActivityNet1.3 datasets) in the few-shot setting. Our code will be made available.

Motivation & Objective

  • To address the challenge of detecting rare, previously unseen activities in untrimmed videos with only one or a few labeled examples.
  • To overcome the limitations of sliding-window-based methods, which suffer from high computational cost and rigid boundary constraints.
  • To enable end-to-end learning that improves with more few-shot examples, unlike prior methods that show no such benefit.
  • To develop a unified framework that jointly optimizes proposal generation and few-shot classification via similarity matching.
  • To demonstrate generalizability and state-of-the-art performance across multiple large-scale benchmarks.

Proposed method

  • The model uses a 3D ConvNet (C3D) to extract spatio-temporal features from both untrimmed test videos and few-shot trimmed exemplar videos.
  • A two-stage proposal network generates and refines temporal action proposals, with the second stage producing foreground segment proposals.
  • A few-shot classification branch shares weights with the main C3D branch and computes cosine similarity between proposal features and few-shot exemplar features.
  • Each proposal is assigned the class label of the few-shot exemplar with the highest cosine similarity score.
  • Final detection is determined by a combination of proposal confidence score (to filter background) and similarity score (to assign class).
  • The entire model is end-to-end trainable and benefits from additional few-shot examples during training.

Experimental results

Research questions

  • RQ1Can a unified, end-to-end framework improve few-shot temporal activity detection by leveraging more few-shot examples?
  • RQ2Does replacing sliding-window-based proposal generation with a two-stage refinement network lead to better localization accuracy?
  • RQ3Can similarity-based classification using learned features outperform previous matching-network-style approaches in few-shot settings?
  • RQ4Does the model demonstrate data-driven improvement as the number of few-shot examples increases?
  • RQ5How generalizable is the approach across diverse benchmarks such as THUMOS14, ActivityNet1.2, and ActivityNet1.3?

Key findings

  • On the ActivityNet1.2 dataset, Similarity R-C3D achieves 45.8% mAP@0.5 and 28.2% average mAP in the five-shot setting, significantly outperforming the prior state-of-the-art sliding window method (23.1% mAP@0.5, 10.0% average mAP).
  • The model shows a substantial improvement from one-shot to five-shot learning (from 39.4% to 45.8% mAP@0.5), demonstrating the benefit of additional few-shot examples.
  • The CDC model baseline performs poorly, achieving only 8.2% mAP@0.5, highlighting the challenge of few-shot detection on untrimmed videos.
  • Ablation studies show that while pretraining the proposal network helps slightly, the main performance gains come from end-to-end learning with few-shot data.
  • The optimal proposal score threshold is 0.3, indicating a trade-off between proposal quantity and quality in detection.
  • Qualitative results show that the model correctly localizes diverse activities across multiple datasets, including complex and long-duration actions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.