NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Instance Segmentation by Interaction

Deepak Pathak, Yide Shentu, Dian Chen, Pulkit Agrawal, Trevor Darrell, Sergey Levine, Jitendra Malik · DOI

Abstract

Standard computer vision models for instance segmentation typically require massive amounts of human-annotated data. This paper introduces a robotic agent that learns to segment visual scenes into individual objects entirely through self-supervised interaction. By grasping and moving objects, the robot uses motion as a "ground truth" signal to train a deep neural network. To address the noise in automated data collection, a novel Robust Set Loss (RSL) is employed. The system demonstrates the ability to generalize to novel objects and complex backgrounds, bridging the gap between passive perception and active learning.

Introduction

Identifying exactly which pixels belong to which object—instance segmentation—is a fundamental challenge in robotics. While models trained on datasets like COCO perform well, they are often brittle in real-world settings and require laborious human labeling. Drawing inspiration from developmental psychology, where infants learn about object boundaries by observing motion, this work explores whether a robot can learn the concept of an "object" autonomously by poking and prodding its environment.

Methods: Learning through Interaction

The core of the approach is an active learning loop where the robot iteratively improves its perception through physical experimentation.

Overview of the interaction-based learning loop and the diverse object sets used for training and testing.

The Interaction Loop

  1. Hypothesize: The robot uses its current segmentation model to identify a potential object.
  2. Interact: It performs a "pick and place" operation on the hypothesized group of pixels.
  3. Verify: If the pixels move together, the robot confirms the presence of an object. A pseudo-ground truth mask is generated by differencing the images before and after the move.
  4. Train: The model is updated using this newly acquired mask.

Robust Set Loss (RSL)

Automated labels are often noisy due to partial grasps or accidental movement of multiple objects. Standard pixel-wise losses fail because they force the model to overfit to this noise. The Robust Set Loss treats the segmentation mask as a set of pixels. Instead of requiring a perfect pixel-to-pixel match, RSL optimizes the network to predict a mask with a high Intersection over Union (IoU) with the noisy target, allowing the model to focus on consistent patterns across thousands of interactions.

Experimental Setup

The system was trained using over 50,000 robotic interactions across four different camera views. The dataset included 36 training objects and 24 complex backgrounds to prevent the model from relying on simple color cues.

The experimental setup utilized four camera locations to capture interactions from multiple perspectives.

Results and Discussion

The self-supervised model successfully generalized to novel objects and backgrounds, achieving a mean Average Precision (mAP) of 45.9 at an IoU of 0.3. While this trails behind models trained on human-labeled data, it represents a significant advancement for purely self-supervised methods.

Key Insights

  • Common Fate: The principle that pixels moving together belong together provides a robust, infinite source of supervision.
  • Active Learning: Choosing which objects to touch leads to higher-quality data than passive observation.
  • Set-Level Statistics: RSL provides a mathematical buffer against labeling errors, preventing the network from memorizing the robot's mistakes.

Limitations and Future Work

Despite its success, a performance gap remains between self-supervised and human-supervised models. Current limitations include a dependency on successful grasping and occasional "jitter" in predicted masks. Future research will explore more complex interaction primitives, such as pushing or poking, and the joint optimization of perception and control.

Summary updated

BibTeX
@inproceedings{pathak2018learning,
  author = {Deepak Pathak and Yide Shentu and Dian Chen and Pulkit Agrawal and Trevor Darrell and Sergey Levine and Jitendra Malik},
  title = {{Learning Instance Segmentation by Interaction}},
  booktitle = {Workshops @ CVPR},
  year = {2018},
  doi = {10.1109/cvprw.2018.00276},
}
Figure