Self-Supervised Object Detection and Retrieval Using Unlabeled Videos

Elad Amrani, Rami Ben-Ari, Inbar Shapira, Tal Hakim, Alex M. BronsteinWorkshops @ CVPR 2020

Introduction

Standard object detection models are notoriously data-hungry, typically requiring thousands of manually annotated bounding boxes. Even "weakly-supervised" approaches often rely on "clean" image-level labels provided by humans. However, real-world data is inherently messy. Automatic video captions, for instance, are frequently misaligned with visual content—a narrator might mention a "guitar" while the camera is focused on their face or seconds before the instrument appears.

This paper introduces a framework for Self-Supervised Object Detection, enabling models to learn what objects look like and what they are called by "watching and listening" to raw, unlabeled instructional videos. By exploiting the natural but noisy alignment between spoken words in transcripts and visual objects on screen, the authors develop a system that requires zero manual labels for training.

Methodology: Distilling Signal from Noise

The proposed pipeline moves from raw video data to trained object detectors through several key stages:

  1. Keyframe Extraction: Using the How2 dataset of instructional videos, the system identifies "noisy positive" frames where a target object (e.g., "tire") is mentioned in the captions. Negative frames are drawn from videos that never mention the object.
  2. Unsupervised Region Proposals: Selective Search is employed to generate candidate bounding boxes within these frames.
  3. Weighted Deep Embedded Clustering (W-DEC): This core component clusters the features of candidate regions. To identify which clusters likely contain the actual object, the authors introduce a Potential Score ($S_k$) based on:
  4. Positive Ratio ($P_k$): The proportion of regions from "positive" frames.
  5. Cluster Density ($V_k$): The tightness and consistency of the cluster.
  6. Unique Source Videos ($U_k$): The number of different videos contributing to the cluster, ensuring the model learns general objects rather than video-specific backgrounds.
Overview of the Weighted Deep Embedded Clustering (W-DEC) pipeline, showing the transition from noisy video frames to cluster-based training.
  1. Dense Subgraph Discovery (DSD): To refine the training data, DSD identifies regions with high spatial overlap, ensuring the detector learns from tight, accurate bounds.
  2. Detector Training: Finally, a neural network classifier is trained on these distilled high-scoring regions to distinguish the target object from the background.

Key Insights and Results

A primary insight of this work is that while individual video frames are noisy (with an estimated 55% noise rate in "positive" frames), the commonality across thousands of different videos provides a strong signal. By prioritizing clusters that appear across many unique source videos ($U_k$), the model effectively ignores transient "clutter" like a specific narrator's face.

The authors evaluated their approach on the HowTo10 dataset, a subset of 10 object categories manually annotated for benchmarking.

Qualitative object detection results showing the model's ability to localize various objects in diverse instructional video environments.
  • Performance: In a single-class setting, the model achieved a Mean Average Precision (mAP) of 17.7%. This significantly outperforms existing weakly-supervised state-of-the-art models, which often fail to converge on such noisy, uncurated data.
  • Scalability: The framework is modular, allowing for the training of individual detectors for specific objects without needing to retrain a massive multi-class model.
  • Retrieval: Beyond detection, the model excels at retrieval, successfully identifying the most representative instances of objects by selecting regions closest to the high-scoring cluster centers.

Conclusion and Future Directions

This research demonstrates that meaningful object detection can be achieved without any human-labeled data by leveraging the inherent structure of instructional videos. While a performance gap remains between this self-supervised approach (17.7% mAP) and fully supervised models (49.5% mAP), the ability to learn from raw, noisy data opens new doors for scalable computer vision. Future work may focus on improving temporal alignment between audio and video and resolving linguistic ambiguities in transcripts.

Summary updated

BibTeX
@inproceedings{amrani2020self,
  author = {Elad Amrani and Rami Ben-Ari and Inbar Shapira and Tal Hakim and Alex M. Bronstein},
  title = {{Self-Supervised Object Detection and Retrieval Using Unlabeled Videos}},
  booktitle = {Workshops @ CVPR},
  year = {2020},
  doi = {10.1109/cvprw50498.2020.00485},
}
Figure