Unseen Object Instance Segmentation for Robotic Environments

Christopher Xie, Yu Xiang, Arsalan Mousavian, Dieter Fox

TL;DR

UOIS-Net is a two-stage framework that allows robots to segment objects they have never encountered before. By decoupling geometric reasoning (using depth) from boundary refinement (using RGB), the system achieves state-of-the-art performance on real-world data while training entirely on non-photorealistic synthetic datasets.

What Problem Does This Paper Address?

For a robot to be truly useful in a home or warehouse, it must interact with objects it hasn't seen during training. Traditional instance segmentation models (like Mask R-CNN) are typically "category-aware"—they are trained to recognize specific classes like "mug" or "hammer." If they see a uniquely shaped tool they weren't trained on, they often fail.

The obvious solution is to train on massive datasets, but labeling millions of real-world images is prohibitively expensive. Synthetic data is a great alternative, but there is a massive "Sim-to-Real" domain gap: synthetic RGB images rarely look real enough for a model to generalize to the messy real world. This paper tackles Unseen Object Instance Segmentation (UOIS) by finding a way to use "ugly" synthetic data that still works on real robots.

Methods

The authors propose UOIS-Net, a two-stage architecture that treats depth and RGB as separate strengths:

  1. Stage 1: Depth Seeding Network (DSN): This network looks only at the 3D geometry (depth map). Because the laws of physics and geometry are the same in simulation and reality, depth generalizes much better than RGB. The DSN predicts "center votes"—vectors pointing from each pixel toward the center of the object it belongs to. These votes are then clustered (using a Hough voting layer for 2D or Mean Shift Clustering for 3D) to create rough "initial masks."
  2. Initial Mask Processor (IMP): A simple cleanup step using standard morphological operations (opening/closing) to remove noise and fill holes in the initial masks.
  3. Stage 2: Region Refinement Network (RRN): This network takes a crop of the RGB image and the rough mask from Stage 1. Its job is to "snap" the messy edges of the initial mask to the sharp boundaries visible in the RGB image.

The technical "secret sauce" is that the RRN is trained by taking ground-truth masks and intentionally corrupting them (shifting, rotating, adding/cutting pieces) to simulate the mistakes the DSN might make. This teaches the RRN to rely on RGB textures only for local boundary refinement, not for finding the object from scratch.

Datasets

  • Tabletop Object Dataset (TOD): A new synthetic dataset introduced by the authors. It contains 40,000 scenes of random ShapeNet objects cluttered on tabletops, rendered with non-photorealistic (simple) textures.
  • OCID & OSD: Two established real-world datasets used for evaluation. OCID contains over 2,300 images of cluttered tabletop and floor scenes, while OSD is a smaller, high-quality manually labeled dataset.
  • Google Open Images (OID): Used in an ablation study to show that the RRN can also be trained on real-world "in-the-wild" images to further bridge the domain gap.

Key Insights and Ideas

  • Decoupling is the Cure for the Domain Gap: By using depth for "where the object is" and RGB only for "where the edge is," the authors bypass the need for expensive, photorealistic simulators.
  • 3D Reasoning Matters: The 3D version of the DSN handles occlusions much better than the 2D version. If the center of an object is hidden behind another object in 2D, the 2D model fails; the 3D model can "see" the volume and predict the center correctly.
  • The Separation Loss: The authors introduced a novel loss function that forces the predicted centers of different objects to be far apart. This makes the subsequent clustering step much more robust in heavy clutter.
  • Refinement is Easier than Detection: It is much easier for a neural network to fix a slightly wrong mask using non-photorealistic RGB than it is to detect an object from scratch.

Key Results

UOIS-Net significantly outperformed existing state-of-the-art (SOTA) methods like Mask R-CNN and PointGroup on real-world benchmarks:

  • Higher Accuracy: On the OCID dataset, UOIS-Net-3D achieved an Overlap F-measure of 86.4, compared to 78.0 for an RGB-D Mask R-CNN trained on the same data.
  • Sharp Boundaries: The RRN stage dramatically improved boundary precision. On the OSD dataset, the boundary F-measure jumped from ~53 (initial mask) to 71.2 (refined mask).
  • Robot Ready: The authors deployed the model on a Franka robot using a standard grasping algorithm (GraspNet). The robot successfully cleared 41 out of 51 previously unseen objects in cluttered scenes, an 80.3% success rate.

Limitations and Future Work

  • Non-Convex Objects: The system sometimes over-segments complex shapes (like a power drill) into multiple pieces because the center-voting logic assumes a somewhat compact geometry.
  • Extreme Clutter: If objects are touching and have very similar flat surfaces, the depth sensor might see them as a single plane, leading to under-segmentation.
  • End-to-End Training: Currently, the two stages are trained separately. The authors suggest that a differentiable clustering layer could allow for end-to-end optimization in the future.

Summary updated

BibTeX
@article{xie2021unseen,
  author = {Christopher Xie and Yu Xiang and Arsalan Mousavian and Dieter Fox},
  title = {{Unseen Object Instance Segmentation for Robotic Environments}},
  journal = {IEEE Trans. Robotics},
  year = {2021},
  url = {https://openreview.net/forum?id=IQH2HXpF7rV},
}
Figure