Learning visual groups from co-occurrences in space and time

Phillip Isola, Daniel Zoran, Dilip Krishnan, Edward H. AdelsonarXiv 2015

Abstract

We propose a self-supervised framework that learns to group visual entities based on their rate of co-occurrence in space and time. To model statistical dependencies between the entities, we set up a simple binary classification problem in which the goal is to predict if two visual primitives occur in the same spatial or temporal context. We apply this framework to three domains: learning patch affinities from spatial adjacency in images, learning frame affinities from temporal adjacency in videos, and learning photo affinities from geospatial proximity in image collections. We demonstrate that in each case the learned affinities uncover meaningful semantic groupings. From patch affinities we generate object proposals that are competitive with state-of-the-art supervised methods. From frame affinities we generate movie scene segmentations that correlate well with DVD chapter structure. Finally, from geospatial affinities we learn groups that relate well to semantic place categories.

Introduction

A central challenge in computer vision is learning to recognize high-level concepts like "objects" or "scenes" without relying on massive, human-annotated datasets. Humans naturally learn these structures from raw sensory experience. This research investigates the hypothesis that the physical world's inherent structure—where entities close in space or time are typically related—provides sufficient statistical information for learning semantic groups. By exploiting these "suspicious coincidences" in natural statistics, we can move away from hand-engineered cues toward a more general, self-supervised approach.

Overview of the self-supervised framework applied to object proposals, movie segmentation, and geospatial grouping.

Methodology

The core of our approach is a self-supervised binary classification task designed to learn pairwise affinities between visual primitives.

The Learning Task

Given two visual primitives ($A$ and $B$), a Siamese-style Convolutional Neural Network (CNN) is trained to predict whether they originate from the same context ($C=1$) or from random, unrelated contexts ($C=0$). The definition of "context" varies by domain:

  • Images: $A$ and $B$ are adjacent image patches.
  • Video: $A$ and $B$ are frames appearing in close temporal proximity.
  • Photo Collections: $A$ and $B$ are photos taken within a small geospatial radius.

The network extracts features from $A$ and $B$ through identical branches, concatenates them, and uses fully connected layers to output a co-occurrence probability.

Globalization via Spectral Clustering

To move from pairwise affinities to global structures, we employ spectral clustering. We construct a graph where nodes represent visual primitives and edge weights correspond to the network's predicted affinities. Partitioning this graph reveals coherent clusters, such as distinct objects in an image or scenes in a movie.

Experimental Results

We evaluated the framework across three distinct domains using various datasets.

Object Proposals

Trained on the Pascal VOC 2012 dataset, the model generates object proposals by grouping image patches. Despite being unsupervised, the proposals are competitive with state-of-the-art supervised methods like BING and EdgeBoxes when evaluating the top 100 proposals.

Example of an object proposal generated by the unsupervised framework, showing the segmentation of a horse and rider.

Movie Scene Segmentation

Using a dataset of 96 top-rated IMDB movies, the model learns to segment films into coherent scenes. Evaluation against DVD chapter boundaries showed an Average Precision (AP) of 0.67, significantly outperforming baselines based on raw color or HOG similarity.

Geospatial Place Discovery

The model was trained on the MIT City Database and evaluated on the LabelMe Outdoors dataset. By clustering photos based on geospatial proximity, the model achieved 59% cluster purity, successfully grouping images into semantic categories like "coast" or "tall buildings" without explicit category labels.

Discussion

A key insight is that spatial and temporal proximity serves as an effective proxy for semantic relatedness. The network automatically discovers domain-specific cues: it relies on color and texture for objects but learns to prioritize geometric structure for geospatial grouping, effectively ignoring seasonal color variations.

While a "semantic gap" remains between self-supervised and fully supervised models, this work demonstrates that meaningful visual structures can be discovered purely from the statistical regularities of the physical world. Future research will focus on more complex context functions to capture higher-level hierarchies.

Summary updated

Abstract

We propose a self-supervised framework that learns to group visual entities based on their rate of co-occurrence in space and time. To model statistical dependencies between the entities, we set up a simple binary classification problem in which the goal is to predict if two visual primitives occur in the same spatial or temporal context. We apply this framework to three domains: learning patch affinities from spatial adjacency in images, learning frame affinities from temporal adjacency in videos, and learning photo affinities from geospatial proximity in image collections. We demonstrate that in each case the learned affinities uncover meaningful semantic groupings. From patch affinities we generate object proposals that are competitive with state-of-the-art supervised methods. From frame affinities we generate movie scene segmentations that correlate well with DVD chapter structure. Finally, from geospatial affinities we learn groups that relate well to semantic place categories.
BibTeX
@misc{isola2015learning,
  author = {Phillip Isola and Daniel Zoran and Dilip Krishnan and Edward H. Adelson},
  title = {{Learning visual groups from co-occurrences in space and time}},
  year = {2015},
  eprint = {1511.06811},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1511.06811},
}
Figure