Source-linked AI summary

Learning Features by Watching Objects Move

Deepak Pathak, Ross Girshick, Piotr Dollár, Trevor Darrell, Bharath Hariharan

arXiv:1612.06370v2cs.CVcs.AIcs.LGcs.NEstat.ML

TL;DR

The paper asks whether motion-based grouping can provide useful supervision for visual representation learning without manual annotation. It uses unsupervised motion segmentation to train a ConvNet to predict object masks from static frames, then transfers the learned representation to recognition tasks. The representation significantly outperforms previous unsupervised approaches, particularly when target-task training data are scarce.

  • Problem

    Visual representations typically rely on large manually labeled datasets, motivating methods that can learn from abundant unlabeled video and environmental data.

  • Method

    Unsupervised motion segmentation supplies pseudo-ground-truth object masks for training a ConvNet to segment objects from single static frames.

  • Results

    The learned representation significantly outperforms previous unsupervised approaches for object detection transfer, including when most ConvNet parameters are frozen and target-task data are scarce.

  • Takeaways & Limitations

    Motion-based grouping provides an effective route to unsupervised feature learning, especially when computational or data constraints limit task-specific tuning.

  • Takeaways & Limitations

    Transfer may be limited by a mismatch between training on object crops and downstream image classification or semantic segmentation inputs.

Abstract

from arXiv · show

This paper presents a novel yet intuitive approach to unsupervised feature learning. Inspired by the human visual system, we explore whether low-level motion-based grouping cues can be used to learn an effective visual representation. Specifically, we use unsupervised motion-based segmentation on videos to obtain segments, which we use as 'pseudo ground truth' to train a convolutional network to segment objects from a single frame. Given the extensive evidence that motion plays a key role in the development of the human visual system, we hope that this straightforward approach to unsupervised learning will be more effective than cleverly designed 'pretext' tasks studied in the literature. Indeed, our extensive experiments show that this is the case. When used for transfer learning on object detection, our representation significantly outperforms previous unsupervised approaches across multiple settings, especially when training data for the target task is scarce.

1. Introduction

The paper proposes learning visual representations without manual annotation by using motion-based grouping to supervise static-image object segmentation. The resulting features transfer effectively to object detection, including settings with limited target-task data.

  • Motivation: ConvNet representations usually rely on supervised training on large-scale image classification datasets, whereas biological vision learns from abundant unlabeled environmental data.This contrast motivates unsupervised visual representation learning as a fundamental scientific problem.
  • Motivation: Pretext tasks provide indirect supervision for learning visual representations, but their challenge lies in designing tasks that induce high-level features.Examples include reconstruction, future-frame prediction, and spatial or temporal ordering.
  • Human vision inspiration: Motion-based grouping can associate pixels that move together with a single object, even when appearance cues produce incorrect groupings.The approach draws on evidence that static-scene parsing develops after motion-based grouping in human vision.
  • Approach: Optical flow groups foreground pixels moving together into objects, and the resulting masks become automatically generated targets for predicting object segmentation from static frames.The ConvNet receives no motion information at prediction time, encouraging representations beyond low-level appearance statistics.
  • Results: Within 5 points AP of an ImageNet-pretrained model and 10 points higher than the best unsupervised methods, the COCO-segmentation representation transfers effectively to PASCAL VOC object detection.This experiment uses manually labeled segmentations without semantic category labels.
  • Results: Motion-derived pseudo ground truth from uncurated YFCC100m videos yields representations that significantly outperform previous unsupervised approaches, especially with scarce target-task training data.Performance remains strong even when most ConvNet parameters are frozen.

2. Related Work

Related work learns representations through reconstruction, generative modeling, or algorithmically generated pretext tasks. This paper instead uses motion cues to create object-segmentation targets for static-frame representation learning.

  • Unsupervised learning by generating images: Unsupervised learning methods include reconstructing inputs with autoencoders and generating images with generative models.Generative approaches may emphasize low-level image details while ignoring higher-level semantics.
  • Self-supervision via pretext tasks: Pretext-task methods create alternate supervision by asking networks to arrange patches, perform inpainting, or predict image properties without manual labels.These tasks are algorithmically produced rather than directly tied to the target recognition task.
  • Learning from motion and action: Video-based pretext tasks use tracked patches, shuffled-frame ordering, or future-frame prediction to learn from temporal data.Several approaches exploit visual relationships between nearby frames or patches within videos.
  • Learning from motion and action: Proprioceptive signals offer another possible learning cue, but the paper reports that strong representations can be learned without access to such signals.The proposed approach instead uses visual motion-based grouping.

3. Evaluating Feature Representations

The paper evaluates representations under conditions designed to reflect practical deployment, rather than relying only on fine-tuning for one isolated task. It varies tasks, the extent of shared-layer tuning, and target-task data availability.

  • Evaluation motivation: Fine-tuning a pretrained ConvNet for an isolated task can measure representation quality, but may be impractical when one representation must support multiple tasks.A shared representation with lightweight task-specific heads can reduce duplicated computation.
  • Evaluation settings: The evaluation covers object detection, image classification, and semantic segmentation across multiple degrees of pretrained-weight fine-tuning.The tuning range extends from only fully connected layers to the entire network.
  • Evaluation settings: The evaluation also reduces target-task training data to test representation transfer when fine-tuning data are limited.This setting reflects the risk that extensive task-specific fine-tuning may be unsuitable or prone to overfitting.

4. Learning Features by Learning to Group

The paper tests whether learning to segment objects can produce transferable features without semantic labels, first using high-quality COCO masks and then degraded masks. The resulting representation transfers well to VOC detection and remains robust to substantial mask errors, although it requires substantial training data.

  • Motivation: Training a ConvNet to group pixels into objects may learn high-level features because objects span varied colors, textures, and sometimes disjoint regions.The task is intended to require implicit object recognition rather than reliance on low-level cues alone.
  • High-quality segments: Using COCO segmentations without class labels, the learned representation achieved state-of-the-art transfer performance on PASCAL VOC object detection.The representation was evaluated with Fast R-CNN while varying how extensively ConvNet layers were fine-tuned.
  • High-quality segments: The supervised segmentation representation outperformed unsupervised context prediction across all fine-tuning scenarios and maintained a small gap with ImageNet pretraining.The context-prediction representation degraded rapidly as more layers were frozen, whereas the proposed representation retained good performance.
  • Noisy masks: The representation remained effective with masks having large boundary errors or systematic truncation of up to 50%.Noise was introduced by randomly eroding or dilating boundaries and by removing a strip from one side of the object mask.
  • Data requirements: Reducing the training data caused a significant performance drop, indicating that strong representations require large amounts of data.This experiment used Fast R-CNN with all convolutional layers frozen.

5. Learning by Watching Objects Move

The paper uses unsupervised motion segmentation on uncurated videos to generate noisy pseudo-labels, then trains a ConvNet to predict moving-object masks from single frames. Despite imperfect motion labels, the ConvNet produces smoother segmentations, generalizes to unseen images, and supports representation learning.

  • Motion segmentation: Motion segmentation identifies foreground pixels through optical-flow differences between a moving object and its background, aggregating evidence across multiple frames.Aggregation is needed because only part of an object may move in any individual frame.
  • Motion segmentation: The unsupervised uNLC pipeline replaces a trained edge detector with superpixels, computes motion saliency, and propagates it across frames using nearest-neighbor voting.The graph uses superpixel location and appearance features, including color histograms and HOG.
  • Dataset construction: uNLC was applied to YFCC100m videos and, after pruning, produced a dataset of 1.6M images from 205,000 videos without supervised learning.The sampled frames are more correlated than ImageNet images because they come from fewer videos.
  • Limitations: The motion-segmentation method was not state-of-the-art, but the learned representation was reported to be resilient to its noisy segments.The authors therefore did not focus on improving the motion-segmentation algorithm’s particulars.
  • Learning from noisy labels: Although uNLC outputs were noisy and sometimes grossly incorrect, the trained ConvNet produced smoother, more correct segmentations and identified moving-object shapes.The approach treats noisy labels as perturbations around a latent segmentation that the finite-capacity ConvNet may not fit exactly.
  • Generalization: On held-out DAVIS, FBMS, and VSB images, the ConvNet generalized from single frames and produced outputs significantly better than uNLC against human annotations.The learned representation was evaluated after these segmentation experiments because segmentation itself was not the paper’s final goal.

6. Evaluating the Learned Representation

The learned representation transfers effectively to object detection, including low-shot settings, and remains useful when many layers are frozen. Transfer to classification and segmentation is also strong, though object-crop training creates a task mismatch.

  • 6.1. Transfer to Object Detection: Our representation performs on par or better than prior unsupervised methods across all object-detection scenarios.
  • 6.1. Transfer to Object Detection: Freezing more layers leaves our representation stable, unlike prior unsupervised representations whose performance decays as layers are frozen.The paper attributes prior decay to upper layers becoming specific to their pretext tasks.
  • 6.2. Low-shot Transfer: With 150 training images, freezing through conv4 gives our approach the best overall AP among recent unsupervised methods by a large margin.Finetuning the entire network hurts in this low-shot setting.
  • 6.3. Impact of Amount of Training Data: 396K frames already outperform prior state-of-the-art trained on one million ImageNet images, while 1.6M frames yield a substantial further accuracy increase.Representation quality grows roughly logarithmically with the number of training frames.
  • 6.4. Transfer to Other Tasks: Training on object crops may mismatch whole-image classification and sliding-window segmentation, potentially reducing transfer performance on those tasks.
  • 6.4. Transfer to Other Tasks: When conv5 and below are frozen, the representation is best on action classification and second only to colorization on VOC classification and semantic segmentation.The authors suggest its video data may explain the stronger action-classification performance.

7. Discussion

The paper frames motion-based grouping as a simple route to unsupervised feature learning and identifies iterative refinement as a promising extension. Larger video datasets are expected to improve performance.

  • 7. Discussion: The method uses low-level motion-based segments to train ConvNets for unsupervised representation learning.
  • 7. Discussion: The ConvNet can refine noisy motion segments, suggesting a bootstrap loop that combines single-frame predictions with video motion cues.The paper leaves this combination for future work.
Loading 1612.06370v2…