GraphSeg: Segmented 3D Representations via Graph Edge Addition and Contraction

Haozhan Tang, Tianyi Zhang, Oliver Kroemer, Matthew Johnson-Roberson, Weiming ZhiarXiv 2025 · DOI

Abstract

GraphSeg is a novel framework that generates consistent 3D object segmentations from a sparse set of 2D images without requiring depth sensor data. By formulating segmentation as a graph problem involving edge addition and contraction, the system merges over-segmented 2D masks into unified 3D representations. This approach enables robots to perform complex manipulation tasks in unstructured environments with high precision, significantly outperforming existing sparse-view 3D segmentation methods.

Introduction

For a robot to interact effectively with its environment—such as picking up a hammer or a cup—it must perceive these items as distinct 3D entities. While 2D computer vision has advanced significantly with models like Segment Anything (SAM), translating these capabilities to the 3D physical world remains challenging. Standard 2D tools often over-segment objects (e.g., treating a single bottle as multiple parts due to labels or reflections) and lack consistency across different camera viewpoints.

Existing 3D segmentation methods typically rely on dense depth data from LiDAR or RGB-D cameras, or require a large number of images to build a coherent scene. GraphSeg addresses the "sparse-view" challenge, aiming to produce a clean, object-level 3D map from just a handful of standard RGB photos.

Overview of the GraphSeg framework for 3D segmentation via graph contraction.

The GraphSeg Framework

GraphSeg treats segmentation as a graph simplification problem through a multi-stage pipeline:

  1. 2D Masking & 3D Lifting: The system generates initial 2D masks from RGB images using SAM. Simultaneously, it employs a 3D foundation model (DUSt3R) to "lift" 2D pixels into a 3D point cloud and estimate camera poses without depth sensors.
  2. Graph Formulation: Each 2D mask across all images is represented as a vertex in a graph.
  3. 2D Edge Addition: Using dense feature matching, the system identifies pixel-level correspondences between images. If masks in different views share sufficient matching pixels, an edge is established.
  4. Initial Contraction: The graph is contracted, merging connected masks into "super-vertices."
  5. 3D Structural Edge Addition: To address remaining over-segmentation, the system calculates the Chamfer distance between the 3D point clouds of super-vertices. Structurally close vertices are linked.
  6. Randomized Star Contraction: An efficient algorithm simplifies the graph by selecting "center" nodes to absorb neighbors, resulting in one super-vertex per physical object.
Detailed multi-stage pipeline of GraphSeg, from RGB observations to consistent 3D segmentation.

Experimental Evaluation

The framework was evaluated using the GraspNet-1Billion dataset, testing on "main," "similar," and "unseen" subsets to ensure generalization. Real-world validation was conducted on a Unitree Z1 manipulator equipped with a wrist-mounted RGB camera.

GraphSeg achieved state-of-the-art performance, significantly outperforming baselines like SAM3D and MaskClustering. On the GraspNet-main dataset, it reached an IoU of 0.5945, nearly doubling SAM3D's 0.319. Notably, the system maintained high accuracy with as few as three input images (N=3). In real-world tests, the robot successfully segmented and grasped diverse objects like a surveyor’s level and a hammer in cluttered scenes.

Discussion and Future Work

The success of GraphSeg lies in its dual-correspondence approach, combining visual 2D pixel matching with geometric 3D structural matching. This overcomes the individual weaknesses of each modality. Furthermore, GraphSeg retains over 90% of non-background pixels, providing a much denser and more useful representation for robotic manipulation than previous methods.

While powerful, the system's performance is currently dependent on the quality of the underlying 3D foundation model. Future work may involve incorporating uncertainty-aware behaviors, allowing robots to autonomously seek more informative viewpoints to resolve segmentation ambiguities in real-time.

Summary updated

BibTeX
@misc{tang2025graphseg,
  author = {Haozhan Tang and Tianyi Zhang and Oliver Kroemer and Matthew Johnson-Roberson and Weiming Zhi},
  title = {{GraphSeg: Segmented 3D Representations via Graph Edge Addition and Contraction}},
  year = {2025},
  eprint = {2504.03129},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.03129},
}
Figure