Skip to main content
QUICK REVIEW

[Paper Review] Revisiting Few-shot Activity Detection with Class Similarity Control

Huijuan Xu, Ximeng Sun|arXiv (Cornell University)|Mar 31, 2020
Human Pose and Action RecognitionComputer Science31 references9 citations
TL;DR

This paper proposes F-PAD, a novel end-to-end few-shot temporal activity detection framework that uses proposal regression and class similarity control to improve detection accuracy in untrimmed videos. By addressing frame rate discrepancies via a distributional adaptation loss and demonstrating that performance is significantly affected by overlap between pretraining and novel classes, the method achieves state-of-the-art results, especially with increased shot counts, while advocating for stricter evaluation protocols to avoid data leakage.

ABSTRACT

Many interesting events in the real world are rare making preannotated machine learning ready videos a rarity in consequence. Thus, temporal activity detection models that 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 based on proposal regression which detects the start and end time of the activities in untrimmed videos. Our model is end-to-end trainable, takes into account the frame rate differences between few-shot activities and untrimmed test videos, and can benefit from additional few-shot examples. We experiment on three large scale benchmarks for temporal activity detection (ActivityNet1.2, ActivityNet1.3 and THUMOS14 datasets) in a few-shot setting. We also study the effect on performance of different amount of overlap with activities used to pretrain the video classification backbone and propose corrective measures for future works in this domain. Our code will be made available.

Motivation & Objective

  • To develop a simple yet effective few-shot temporal activity detection framework that generalizes to rare, unseen activities with minimal supervision.
  • To address the challenge of frame rate mismatch between few-shot example videos and untrimmed test videos, which can degrade feature similarity and detection performance.
  • To investigate the impact of class overlap between pretraining data and novel detection classes on reported few-shot performance, revealing potential data leakage in existing benchmarks.
  • To propose a fairer evaluation protocol for few-shot activity detection by enforcing disjoint base and novel class splits, improving method robustness assessment.
  • To demonstrate that increasing the number of few-shot examples leads to significant performance gains, especially when training is end-to-end and feature alignment is optimized.

Proposed method

  • The model uses a 3D CNN (C3D) backbone to extract features from both few-shot example videos and untrimmed test videos.
  • A temporal proposal network generates candidate action segments (proposals) from the untrimmed video stream, using segment of interest pooling for fixed-frame-rate processing.
  • A similarity-based classification head compares each proposal’s feature embedding with those of few-shot examples to assign the most similar activity label.
  • A distributional adaptation loss is introduced to align the feature distributions of proposals and few-shot videos, mitigating performance degradation due to frame rate differences.
  • The entire model is end-to-end trainable, enabling joint optimization of proposal generation and similarity scoring.
  • The framework supports one-shot and few-shot learning by leveraging additional examples during inference and training.

Experimental results

Research questions

  • RQ1How does frame rate discrepancy between few-shot example videos and untrimmed video proposals affect feature similarity and detection performance?
  • RQ2To what extent does class overlap between the pretraining dataset and novel detection classes inflate reported few-shot detection performance?
  • RQ3Can a proposal-based detection framework outperform sliding-window baselines in few-shot temporal activity detection while being more efficient?
  • RQ4How does increasing the number of few-shot examples (e.g., from one to five) impact detection accuracy, and is this improvement robust across different class splits?
  • RQ5What evaluation protocol ensures fair and reliable comparison of few-shot activity detection models, minimizing data leakage from pretraining?

Key findings

  • The F-PAD model achieves 50.8% mAP@0.5 on ActivityNet1.2 and 51.6% on ActivityNet1.3 in the five-shot setting, significantly outperforming prior work under comparable conditions.
  • Performance drops substantially in the controlled split (31.7% mAP@0.5 on ActivityNet1.2) compared to uncontrolled splits, indicating that prior evaluations may be overestimated due to class overlap.
  • The five-shot F-PAD model shows a 9.3% absolute improvement in mAP@0.5 on ActivityNet1.2 and a 8.2% improvement on ActivityNet1.3 over the one-shot version, demonstrating strong gains from additional examples.
  • The distributional adaptation loss reduces feature discrepancy caused by frame rate differences, leading to measurable performance gains in cross-frame-rate settings.
  • On THUMOS’14, the controlled split shows only 10.3% mAP@0.5 in the five-shot setting, highlighting the impact of class overlap and the need for stricter evaluation protocols.
  • The study reveals that standard few-shot evaluation protocols are prone to data leakage, and suggests that future benchmarks should use disjoint base and novel class splits with reported standard deviations to ensure method robustness.

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.