Unsupervised Learning from Video to Detect Foreground Objects in Single Images

Ioana Croitoru, Simion-Vlad Bogolin, Marius Leordeanu

Abstract

This paper introduces an unsupervised framework for object discovery in single images by leveraging motion cues from unlabeled video. Using a "student-teacher" approach, an unsupervised video processing algorithm (the teacher) generates soft masks from video sequences, which are then used to train a deep convolutional neural network (the student) to predict object segmentations from single frames. Experimental results demonstrate that the student network not only generalizes beyond its teacher's noisy inputs but also achieves state-of-the-art accuracy on single-image benchmarks while operating two orders of magnitude faster than existing unsupervised methods.

Introduction

In computer vision, segmentation—the process of outlining foreground objects—traditionally relies on massive human-annotated datasets. Unsupervised methods offer a promising alternative but face a fundamental challenge: identifying an object in a single static image without prior knowledge is difficult, whereas identifying one in video is easier due to motion cues. However, traditional video-based discovery methods are computationally intensive and require entire sequences to function. This research addresses how to distill the knowledge inherent in unlabeled videos into a fast, efficient model capable of segmenting objects in single images.

The Student-Teacher Framework

The authors propose a dual-pathway architecture that transfers temporal information from video into spatial knowledge for single-image processing.

The dual-pathway architecture: a video-based 'teacher' generates training labels for a single-image 'student' CNN.

1. The Teacher (Unsupervised Video Discovery)

The teacher pathway utilizes VideoPCA, an algorithm that analyzes video sequences to identify consistently moving objects. By processing the entire video, it produces "soft masks"—probabilistic outlines of objects—without human intervention.

2. Mask Selection and Augmentation

To ensure high-quality training data, the authors apply a quality metric to select only the most confident masks produced by the teacher. These masks undergo data augmentation (scaling and shifting) to prevent the student network from developing a center-bias, forcing it to learn robust appearance features.

3. The Student (Deep CNN)

The student is a 10-layer convolutional neural network that processes only a single frame at a time. Its objective is to predict the masks generated by the teacher. By learning to predict video-derived masks from static images, the network internalizes the visual characteristics (shape, texture, and "objectness") that typically correlate with motion.

Experimental Results and Key Insights

The model was trained on large-scale video datasets, including ImageNet VID (~1.2 million frames) and YouTube Objects (YTO) (~720k frames), and evaluated on standard single-image benchmarks.

The Student Surpasses the Teacher

A primary finding of this work is that the student network often outperforms its teacher. While VideoPCA outputs can be noisy, jagged, or incomplete, the CNN's inherent visual priors allow it to ignore this noise and learn the underlying concept of an object. This results in smoother, more accurate segmentations than the labels it was trained on.

Qualitative comparison showing the student (Ours_t) producing cleaner, more accurate masks than the teacher (VideoPCA).

Performance and Efficiency

  • Accuracy: On the Object Discovery dataset, the method achieved a CorLoc of 86.04%, surpassing previous state-of-the-art unsupervised methods.
  • Speed: At test time, the student network processes images in just 0.04 seconds (25 fps). This represents a 100x speedup over previous optimization-based unsupervised discovery methods.
  • Generalization: The framework successfully transfers information from the temporal domain (motion) to the spatial domain (appearance), allowing it to identify objects in static images even when they are not moving.

Conclusion and Future Work

While highly effective, the system faces limitations with very small objects where initial teacher masks are poor. Furthermore, the student remains dependent on the teacher's ability to discover the object initially; perfectly camouflaged or stationary objects in the training video may be missed. Future research may explore more sophisticated teacher algorithms or the application of this unsupervised pre-training to enhance traditional supervised tasks. By moving the expensive discovery process to the training phase, this framework provides a blueprint for highly efficient, real-time object discovery.

Summary updated

BibTeX
@inproceedings{croitoru2017unsupervised,
  author = {Ioana Croitoru and Simion-Vlad Bogolin and Marius Leordeanu},
  title = {{Unsupervised Learning from Video to Detect Foreground Objects in Single Images}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2017},
  doi = {10.1109/iccv.2017.465},
}
Figure