MaskClustering: View Consensus based Mask Graph Clustering for Open-Vocabulary 3D Instance Segmentation

Mi Yan, Jiazhao Zhang, Yan Zhu, He WangCVPR 2024

Abstract

Open-vocabulary 3D instance segmentation is cutting-edge for its ability to segment 3D instances without predefined categories. However, progress in 3D lags behind its 2D counterpart due to limited annotated 3D data. To address this, recent works first generate 2D open-vocabulary masks through 2D models and then merge them into 3D instances based on metrics calculated between two neighboring frames. In contrast to these local metrics, we propose a novel metric, view consensus rate, to enhance the utilization of multi-view observations. The key insight is that two 2D masks should be deemed part of the same 3D instance if a significant number of other 2D masks from different views contain both these two masks. Using this metric as edge weight, we construct a global mask graph where each mask is a node. Through iterative clustering of masks showing high view consensus, we generate a series of clusters, each representing a distinct 3D instance. Notably, our model is training-free. Through extensive experiments on publicly available datasets, including ScanNet++, ScanNet200 and MatterPort3D, we demonstrate that our method achieves state-of-the-art performance in open-vocabulary 3D instance segmentation.

Introduction

While 2D computer vision has undergone a revolution in "open-vocabulary" tasks—identifying objects not seen during training—3D instance segmentation has historically lagged behind. The primary bottleneck is the lack of massive, annotated 3D datasets required for traditional supervised learning.

To bridge this gap, current research often projects 2D masks from video frames into 3D space. However, existing methods typically rely on "local" metrics, such as checking if a mask in Frame A overlaps with a mask in Frame B. This sequential, "online" approach is prone to cumulative errors: if the geometry is complex or the viewpoint changes rapidly, the system loses track of the object, leading to fragmented or incorrectly merged instances. Small objects are particularly vulnerable, often being missed or absorbed by larger structures.

The MaskClustering Framework

MaskClustering introduces a "global" strategy that considers the entire sequence of observations simultaneously. By treating the segmentation process as a global graph clustering problem rather than a frame-by-frame tracking task, the model achieves superior consistency without requiring any 3D-specific training.

1. Mask Graph Construction

The pipeline begins by extracting 2D masks for every frame in a video sequence using an off-the-shelf 2D predictor (e.g., CropFormer). Every extracted 2D mask becomes a node in a massive global graph. The connections (edges) between these nodes are weighted by a novel metric called the View Consensus Rate.

2. The View Consensus Metric

The core insight of this work is that two 2D masks from different views belong to the same 3D object if a significant number of other views contain a single mask that encompasses both of them. This acts as a "voting" system where multiple viewpoints must agree on the identity of an object. This global consensus effectively filters out 2D segmentation errors; for instance, if one frame incorrectly splits an armchair into a "backrest" and a "seat," but five other frames see it as a single unit, the view consensus will correctly merge the fragments in 3D.

3. Iterative Graph Clustering

Instead of merging all masks in a single pass, the algorithm iteratively clusters the graph. It starts by merging pairs with the highest consensus (the most certain matches) and gradually lowers the threshold. This multi-stage approach allows the system to accurately capture both large architectural structures and tiny, fine-grained details that are often filtered out as noise by other methods.

4. Open-Vocabulary Querying

Once 3D clusters are formed, the system utilizes CLIP (a vision-language model) to associate these clusters with text descriptions. This enables natural language querying, allowing users to search the 3D scene for specific items (e.g., "Find the green plant on the marble table") even if those categories were never seen during a training phase.

Experimental Evaluation

The researchers evaluated MaskClustering on three major benchmarks to test its versatility and robustness:

  • ScanNet++: A high-fidelity dataset with 1,554 fine-grained classes, testing detailed 3D understanding.
  • ScanNet200: A standard benchmark focusing on 200 common indoor categories.
  • MatterPort3D: A dataset featuring building-level reconstructions with sparser viewpoints.

Key Results

MaskClustering significantly outperformed existing baselines across all metrics:

  • ScanNet++: Achieved a +4.1% improvement in semantic Average Precision (AP) and a +4.7% boost in class-agnostic AP compared to the previous state-of-the-art (OVIR-3D).
  • ScanNet200: In a fully zero-shot setting, it surpassed OVIR-3D by +5.3% AP.
  • Qualitative Performance: The model successfully segmented complex items that typically confuse local-matching models, such as rugs partially covered by furniture or small decorative items on counters.

Conclusion and Future Work

MaskClustering demonstrates that global optimality and view consensus can overcome the limitations of local tracking in 3D segmentation. By being training-free, it is highly adaptable to new environments. While the method currently depends on accurate camera calibration and depth data, its success opens new doors for robotic navigation and interaction in unlabelled, complex environments. Future iterations may focus on handling multi-level hierarchies, such as recognizing parts of objects within a larger scene.

Summary updated

BibTeX
@inproceedings{yan2024maskclustering,
  author = {Mi Yan and Jiazhao Zhang and Yan Zhu and He Wang},
  title = {{MaskClustering: View Consensus based Mask Graph Clustering for Open-Vocabulary 3D Instance Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  url = {https://openreview.net/forum?id=IGQw7yzOo9},
}
Figure