Few-Shot Video Object Detection

Qi Fan, Chi-Keung Tang, Yu-Wing Tai

Abstract

Few-Shot Video Object Detection (FSVOD) is a novel task that requires detecting and localizing objects from previously unseen classes in video sequences, guided by only a few example "support" images. This paper addresses the limitations of existing image-based few-shot detectors and standard video object detection models by introducing a framework that leverages temporal consistency. The authors propose a Tube Proposal Network (TPN) to generate spatio-temporal object "tubes" and a Temporal Matching Network (TMN+) to aggregate features across frames. Evaluated on a new, diverse 500-class dataset (FSVOD-500), the proposed method significantly outperforms traditional baselines, demonstrating the power of temporal information in generalizing to novel categories.

Introduction: The Challenge of Novelty in Video

Imagine searching through hours of archival footage for a specific historical artifact or finding every appearance of a niche character across a massive film franchise. While modern AI excels at detecting objects it has seen thousands of times, it struggles with "novel" objects—categories it wasn't explicitly trained on.

This is the core of Few-Shot Video Object Detection (FSVOD). Unlike standard Video Object Detection (VOD), which is limited to fixed classes, or Single Object Tracking (SOT), which requires manual initialization for every video, FSVOD aims for a more general and dynamic solution. It uses a small set of "support" images to find matching objects in a "query" video.

Overview of the FSVOD task: using support images to detect novel objects in video streams.

The difficulty lies in the "wild west" nature of video: motion blur, occlusions, and "ghost" detections (fleeting false positives) often fool image-based models. To solve this, we need a system that understands the temporal flow of video while remaining flexible enough to recognize new categories.

The FSVOD Framework: Tubes and Temporal Matching

The researchers from the Hong Kong University of Science and Technology and Kuaishou Technology propose a two-pronged architectural solution to bridge the gap between image-based few-shot learning and video dynamics.

The FSVOD architecture, illustrating the Tube Proposal Network (TPN) and Temporal Matching Network (TMN+).

1. Tube Proposal Network (TPN)

Instead of treating video as a sequence of independent images, the TPN generates video tubes. A "tube" is a sequence of bounding boxes linked across frames. By feeding the same proposal to adjacent frames and using Deformable RoIAlign to account for movement, the TPN creates a robust spatio-temporal representation. This allows the model to "average out" noise; if an object is blurred in one frame but clear in the next, the tube feature remains stable.

2. Temporal Matching Network (TMN+)

Once tubes are generated, the TMN+ compares their aggregated features against the features of the "support" images provided by the user. A key innovation here is the Temporal Alignment Branch (TAB), a training strategy that randomly samples extra frames to simulate long-duration tubes. This bridges the gap between the memory-limited training phase and real-world inference. Additionally, a secondary support classification task forces the model to learn more representative features for different categories.

Data and Benchmarking: The FSVOD-500 Dataset

A major contribution of this work is the creation of the FSVOD-500 dataset. Existing video datasets often lack the class diversity needed for few-shot learning. FSVOD-500 contains 500 balanced classes ranging from animals to household items, with 3 to 30 high-quality videos per class. This diversity is crucial for teaching the model how to learn relationships and matching metrics rather than just memorizing specific objects.

Results and Key Insights

The proposed method was tested against state-of-the-art baselines adapted for the task. On the FSVOD-500 test set, the model achieved 25.1 AP (Average Precision), significantly outperforming the strongest image-based baseline (FSOD at 21.1 AP).

The "aha moment" of this research is that temporal consistency acts as a natural filter. "Ghost" objects rarely persist across many frames in a consistent tube. By requiring objects to form tubes, the model naturally ignores the background clutter that often plagues per-frame detectors. Qualitatively, the model successfully maintains detections through occlusions and blur where other models fail.

Conclusion and Future Work

While the FSVOD framework marks a significant step forward, challenges remain. The computational cost of generating and matching tubes is higher than simple per-frame detection. Furthermore, performance is sensitive to the quality of the support images provided. Future research may explore more efficient tube generation or even "zero-shot" detection, where natural language descriptions replace support images entirely.

Summary updated

BibTeX
@inproceedings{fan2022few,
  author = {Qi Fan and Chi-Keung Tang and Yu-Wing Tai},
  title = {{Few-Shot Video Object Detection}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-20044-1\_5},
}
Figure