A Classification approach towards Unsupervised Learning of Visual Representations

Aditya VoraarXiv 2018

Abstract

This paper presents an unsupervised method for learning visual representations by leveraging unlabeled video data. The core innovation is a proxy task that trains a convolutional neural network (CNN) to distinguish between foreground and background patches mined automatically from video sequences. By using motion and saliency as supervisory signals, the model learns features that transfer effectively to standard object recognition benchmarks, achieving 45.3 mAP on PASCAL VOC 2007.

Introduction

Deep learning's success in computer vision has historically been tied to massive, manually labeled datasets like ImageNet. However, manual labeling is expensive and does not reflect how biological systems learn. Humans observe the world and learn to recognize objects through interaction and observation without constant explicit supervision. This paper addresses this gap by proposing a self-supervised learning strategy that uses raw video data to generate its own training labels.

The Foreground-Background Proxy Task

The authors propose that the ability to distinguish an object (foreground) from its environment (background) is a fundamental visual skill. They formulate a binary classification problem where a CNN is trained to identify whether a given image patch is foreground or background.

Conceptual overview of the foreground-background proxy task for unsupervised feature learning.

As shown in the conceptual diagram above, patches are extracted from unlabeled video frames. A green box might represent a foreground object (like a truck), while a red box represents the background (like clouds). The network (AlexNet) learns internal representations—edges, textures, and shapes—to solve this classification task, even though the final labels are generated automatically rather than by humans.

Methodology: Automated Patch Mining

The success of this approach depends on the quality of the automatically generated labels. The authors developed a multi-stage pipeline to extract diverse and meaningful patches from thousands of unlabeled videos.

The automated pipeline for mining foreground (FG) and background (BG) patches from unlabeled video frames.

1. Proposal Generation and Scoring

The system first filters out uninformative frames (e.g., scene cuts). It then uses EdgeBoxes to generate potential object patches. Each patch is assigned two scores:

  • Appearance Score: Measures how much the patch resembles a distinct object.
  • Motion Score: Derived from optical flow, this indicates independent movement relative to the scene, a strong indicator of a foreground object.

2. Diversity through Clustering

To prevent the model from overfitting to specific viewpoints, the authors cluster similar patches across different video frames using nearest-neighbor searches. This ensures the "Foreground" category includes various poses and angles of the same object type.

3. Background Selection

Background patches are selected from areas with the lowest combined scores that do not overlap with identified foreground regions. This creates a challenging contrast for the network to learn from.

Experimental Results and Transfer Learning

After training on approximately 150,000 unlabeled videos from the YFCC100m dataset, the learned features were evaluated by transferring them to the PASCAL VOC 2007 object detection task.

The model achieved a 45.3 mAP, outperforming several contemporary unsupervised methods, such as Agrawal et al. (37.4 mAP), and performing competitively with state-of-the-art techniques like Wang & Gupta (43.5 mAP). A key finding was that performance scaled positively with data volume; increasing the training set from 50,000 to 150,000 videos led to consistent improvements in mAP, suggesting that the method benefits significantly from larger-scale unlabeled data.

Discussion and Limitations

While effective, the method has limitations. It relies heavily on motion as a primary cue for foreground detection. Consequently, static objects (e.g., a parked car) might be misclassified as background, introducing noise into the training process. Additionally, the quality of the learned features is partially capped by the performance of the initial heuristics like EdgeBoxes and Optical Flow.

Despite these challenges, the research demonstrates that a simple binary classification task, when paired with clever automated data mining, can produce robust visual representations without the need for human-annotated labels.

Summary updated

BibTeX
@misc{vora2018classification,
  author = {Aditya Vora},
  title = {{A Classification approach towards Unsupervised Learning of Visual Representations}},
  year = {2018},
  eprint = {1806.00428},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.00428},
}
Figure