Unsupervised Visual Representation Learning by Context Prediction
Carl Doersch, Abhinav Gupta, Alexei A. Efros
TL;DR
The paper introduces a self-supervised objective that learns visual representations by predicting the relative position of patch pairs within the same image, using a twin-branch ConvNet with late fusion. This context-prediction approach yields fc6 embeddings that capture semantically meaningful similarities, enabling unsupervised object discovery and improving performance when pre-trained features are transferred to tasks like Pascal VOC detection. The authors demonstrate versatility across object detection, geometry estimation, and visual data mining, while addressing potential shortcuts such as chromatic aberration. Overall, the method shows that vast unlabeled image collections can yield rich, transferable visual representations, reducing reliance on costly annotations.
Abstract
This work explores the use of spatial context as a source of free and plentiful supervisory signal for training a rich visual representation. Given only a large, unlabeled image collection, we extract random pairs of patches from each image and train a convolutional neural net to predict the position of the second patch relative to the first. We argue that doing well on this task requires the model to learn to recognize objects and their parts. We demonstrate that the feature representation learned using this within-image context indeed captures visual similarity across images. For example, this representation allows us to perform unsupervised visual discovery of objects like cats, people, and even birds from the Pascal VOC 2011 detection dataset. Furthermore, we show that the learned ConvNet can be used in the R-CNN framework and provides a significant boost over a randomly-initialized ConvNet, resulting in state-of-the-art performance among algorithms which use only Pascal-provided training set annotations.
