Self-Supervised Learning of Object Segmentation from Unlabeled RGB-D Videos

Shiyang Lu, Yunfu Deng, Abdeslam Boularias, Kostas Bekris

TL;DR

This paper introduces a self-supervised pipeline that enables robots to learn object segmentation by simply observing static, cluttered environments through RGB-D video. By identifying recurring 3D geometric patterns across different scenes using a novel graph-matching approach, the system generates high-quality pseudo-labels to train a robust 2D pixel-wise feature extractor without any human intervention.

What Problem Does This Paper Address?

For a robot to interact with the world, it must first be able to "see" individual objects. While supervised deep learning has made massive strides in image segmentation, it relies on enormous datasets manually labeled by humans—a process that is expensive and doesn't scale to the infinite variety of objects a robot might encounter in the wild.

Existing unsupervised methods often struggle with two things:

  1. Clutter: When objects are piled together, it's hard to tell where one ends and another begins.
  2. Complex Geometry: An object like a desk lamp has distinct parts (a base, a neck, a shade). Without prior knowledge, a robot might mistake these for three separate objects.

The authors ask: Can a robot learn to group these parts into single object instances just by watching how they reappear together across different scenes?

Methods

The proposed pipeline moves from raw video to 3D geometry and back to 2D features in four main steps:

  1. 3D Reconstruction & Over-segmentation: The system uses KinectFusion to build a 3D model of a scene from RGB-D video. It removes the background (like a tabletop) and breaks the remaining point cloud into small, geometrically simple "over-segments" using methods like LCCP (local convexity) and SymSeg (symmetry detection).
  2. Initial Feature Learning ($\phi_1$): A neural network is trained via contrastive learning to generate distinctive features for these small 3D segments.
  3. Graph Matching: This is the core innovation. Each scene is represented as a graph where nodes are 3D segments and edges represent physical adjacency. The system looks for recurring subgraphs across different scenes. If a specific arrangement of segments (like the base, neck, and shade of a lamp) consistently appears together in the same relative poses, the system hypothesizes they belong to the same object.
  4. Final Feature Learning ($\phi_2$): These matched subgraphs serve as "pseudo-labels." The system projects these 3D object labels back into the 2D video frames to train a final pixel-wise feature extractor.
Fig. 1: Self-Supervised Learning Pipeline. Top: Step 1. Object over- segmentation on the 3D reconstruction of each video. Step 2. Generating a distinctive feature for each 3D segment by training an initial feature extractor φ1 using contrastive learning. Step 3. A graph-matching algorithm operates over the 3D segments and their φ1 features to identify sets of segments to be grouped as objects. Step 4. Using contrastive learning to train another feature extractor φ2, which uses as positive examples pixels that belong to the same hypothesized objects. Bottom: Upon inference, given an RGB image and a foreground mask, the network φ2 generates pixel-wise features as input to a clustering algorithm for object segmentation.

During inference, the robot takes a single RGB image, uses a standard saliency detector to find the foreground, extracts features using the learned $\phi_2$ network, and clusters those features (using MeanShift) to produce the final segmentation.

Datasets

The researchers evaluated their method on two distinct datasets:

  • Synthetic Dataset: 36 physics-aware videos generated using BlenderProc, featuring 17 different toy objects from the HomeBrewedDB dataset dropped into random cluttered configurations.
  • Real-World Dataset: 30 videos featuring 20 unique objects. This included 13 standard YCB objects and 7 "complex" objects with challenging non-convex geometries, such as a dumbbell, a lamp, and a detergent bottle.

Key Insights and Ideas

  • Geometric Inductive Bias: The system doesn't just look at pixel colors; it leverages the physical reality that rigid objects maintain their shape and part-arrangements even when moved or partially occluded.
  • Graph Matching as a Filter: By representing scenes as graphs, the system can solve a "puzzle" across multiple videos. The use of RANSAC-based point cloud registration after graph matching acts as a rigorous pruning step, ensuring that only high-confidence matches become training labels.
  • Handling Concavity: The authors found that standard convexity-based segmentation (LCCP) fails on concave objects like bowls. By integrating symmetry detection (SymSeg), they significantly improved the consistency of the initial 3D segments.
Fig. 4: Graph Matching. (a) Colored 3D reconstruction of two scenes. (b) 3D segments, and corresponding graphs, resulting from over-segmentation of the point clouds. (c) Matched nodes from graph matching are highlighted. Parts of the “dumbbell” and the “lamp” are correctly matched, while the “bleach cleanser” and the “master chef can” are incorrectly matched. (d) Matched connected components are shown in the same color. (e) 3D point cloud registration of matched components. (f) Segments/nodes that do not register well (such as the “bleach cleanser” and the “master chef can”) are rejected before merging the remaining segments into objects.

Key Results

The proposed method significantly outperformed existing unsupervised and "unseen object" segmentation baselines:

  • Accuracy: On the real-world dataset, the method achieved an Intersection over Union (IoU) of 0.870, dwarfing unsupervised semantic segmentation methods like PiCIE (0.230) and STEGO (0.162).
  • Comparison to Supervised Learning: Remarkably, the self-supervised approach neared the performance of a fully supervised DeepLabV3+ model (IoU 0.910), despite never seeing a human-labeled image.
  • Efficiency: The online inference is computationally efficient, running at approximately 6 frames per second (fps).

Limitations and Future Work

  • Consistency is Key: The method relies on the initial 3D over-segmentation being somewhat consistent. If reconstruction noise is too high or objects lack distinct geometric features, the graph matching may fail.
  • Rigidity Assumption: Currently, the system only works for rigid objects. It cannot yet handle deformable objects (like clothing or bags) because their internal geometric arrangements change.
  • Future Directions: The authors suggest improving the matching algorithm to handle "under-segmentation" (where two objects are accidentally merged initially) by allowing the graph matcher to split nodes during the optimization process.

Summary updated

BibTeX
@inproceedings{lu2023self,
  author = {Shiyang Lu and Yunfu Deng and Abdeslam Boularias and Kostas Bekris},
  title = {{Self-Supervised Learning of Object Segmentation from Unlabeled RGB-D Videos}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2023},
  doi = {10.1109/icra48891.2023.10160786},
}
Figure