Less Than Few: Self-shot Video Instance Segmentation

Pengwan Yang, Yuki M. Asano, Pascal Mettes, Cees G. M. Snoek

Introduction

Few-shot learning has emerged as a powerful paradigm for handling novel object classes by providing models with a small set of labeled examples, known as the "support set," at test time. However, in the domain of Video Instance Segmentation (VIS)—which involves segmenting, tracking, and classifying every object instance at the pixel level across video frames—this requirement presents a significant bottleneck. Manually annotating support videos with pixel-precise masks is labor-intensive and impractical for many real-world applications.

This paper introduces "self-shot" learning, a novel approach that removes the human annotator from the loop. By leveraging self-supervised retrieval to automatically identify relevant support videos from a large unlabeled pool, the authors demonstrate that a transformer-based model can perform complex VIS tasks with performance that rivals traditional human-curated few-shot methods.

Methods

The authors propose a two-stage framework to enable self-shot learning without human-labeled support sets.

1. Self-Supervised Retrieval

Instead of relying on human-provided examples, the system retrieves support videos from a massive, unlabeled database (e.g., YouTube-8M). To ensure effective retrieval, a visual encoder is trained using self-supervised techniques. The researchers compared Noise-Contrastive Estimation (NCE) with a Differentiable Ranking Loss, finding that the latter creates a more nuanced embedding space better suited for k-Nearest Neighbor (kNN) retrieval of semantically similar videos.

2. The VIS Transformer

The core of the system is a sequence-to-sequence architecture designed to process both the query video and the retrieved self-shot supports.

The proposed self-shot VIS architecture featuring a query-support fuser and transformer-based segmenter.
  • Feature Extractor: Extracts spatio-temporal features from both query ($f_q$) and support ($f_s$) videos.
  • Common Transformer: Features are passed through encoders ($E_q, E_s$). A Query-Support Fuser uses cross-attention to allow the query video to "look" at the support videos, identifying defining features of the target objects.
  • Instance Segmenter: A decoder predicts instance sequences and masks across the temporal domain, utilizing the fused information.

Datasets

To evaluate the self-shot paradigm, the authors adapted several existing benchmarks:

  • Self-VIS: A split of YouTube-VIS 2021 (30 classes for training, 10 for testing).
  • Self-OVIS: Based on the Occluded Video Instance Segmentation dataset, focusing on challenging scenes with overlapping objects.
  • YouTube-8M Segments: Served as the massive unlabeled pool (~237K clips) for automated support retrieval.

Key Insights

  • Abundance of Unlabeled Data: The central insight is that while labeled data is scarce, unlabeled video is abundant. Even if retrieved supports are "noisy," the scale of the available data can compensate for the lack of human precision.
  • Ranking over Contrastive Learning: Differentiable ranking loss proved superior for retrieval tasks compared to standard NCE, as it better organizes the embedding space for kNN-based matching.
  • Scalability: Performance scales positively with the size of the unlabeled pool. As the database grows, the likelihood of finding highly relevant support videos increases, naturally improving segmentation accuracy.
  • Hybrid Potential: Self-shot learning can supplement few-shot learning. Combining automated retrieval with minimal human annotation (semi-supervised) can bridge the gap to full oracle performance.

Results

The experimental results validate the efficacy of the self-shot approach:

  • Closing the Oracle Gap: On the Self-VIS benchmark, the "Video Rank" self-shot method achieved 51.4% mAP with one retrieved support, coming remarkably close to the human "Oracle" baseline of 53.2%.
  • Outperforming Humans with Scale: With an unlabeled pool of 75,000 videos, using five self-shot supports actually outperformed a 1-shot human-labeled oracle.
  • Ablation of the Fuser: The "Fuser" module was critical, providing an 8.4% performance boost over a baseline transformer, confirming that the model effectively learns from retrieved examples.
  • Semi-Supervised Efficiency: Combining one human-labeled video with four self-shot videos reached 55.1% mAP, nearly matching the performance of five human-labeled videos (56.6%) while reducing manual annotation effort by 80%.

Limitations and Future Work

While promising, the current approach has limitations. The retrieval and segmentation steps are currently sequential; an end-to-end joint training system could potentially improve results. Additionally, the study was constrained by the computational cost of processing very large unlabeled pools. Future work will explore scaling to millions of videos and improving the model's ability to handle complex scenes with high class diversity.

Summary updated

BibTeX
@inproceedings{yang2022less,
  author = {Pengwan Yang and Yuki M. Asano and Pascal Mettes and Cees G. M. Snoek},
  title = {{Less Than Few: Self-shot Video Instance Segmentation}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19830-4\_26},
}
Figure