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

Segment Any Mesh

George Tang, William Zhao, Logan Ford, David Benhaim, Paul ZhangarXiv 2024

TL;DR

Segment Any Mesh is a novel, zero-shot method for 3D mesh part segmentation that operates entirely without training data or text prompts. By converting geometric features into multimodal 2D renders, processing them through the Segment Anything Model (SAM 2), and lifting the results back into 3D via a match graph, it achieves state-of-the-art generalization across highly diverse and complex object shapes.

What Problem Does This Paper Address?

Mesh part segmentation—breaking a 3D object down into its constituent geometric components—is foundational for computer graphics tasks like texturing and rigging, as well as robotic object manipulation.

Historically, researchers have relied on two paradigms:

  1. Learning-based methods, which are severely bottlenecked by a lack of diverse, human-annotated 3D training datasets.
  2. Traditional shape-analysis methods (such as the Shape Diameter Function), which require meticulous parameter tuning and struggle to generalize beyond a few specific object classes.

While recent zero-shot methods have successfully adapted powerful 2D vision foundation models to 3D, they typically rely on text prompts. This restricts them to semantic component segmentation (e.g., finding "the handle" of a mug) and leaves them unable to partition unlabeled CAD parts or duplicate geometric structures like individual arms, legs, or fingers. Segment Any Mesh aims to bridge this gap by providing a fully automatic, vocabulary-free part segmentation pipeline.

Methods

The proposed pipeline consists of two primary phases: Multimodal Rendering and 2D-to-3D Lifting.

[Input Mesh] ➔ [Multimodal Renders] ➔ [SAM 2] ➔ [2D Masks] ➔ [Match Graph] ➔ [3D Mesh Parts]
  1. Multimodal Rendering: The authors discover that standard untextured 3D renders don't provide enough visual contrast for 2D models to segment parts accurately. Instead, they render the mesh from $n$ views in an icosahedral layout using two distinct geometric modalities: surface normals (capturing orientation) and Shape Diameter Function (ShapeDiam) scalars (capturing local thickness). They also render unique Face IDs to track the 3D origin of every pixel.
  2. 2D Segmentation & Fusion: The multimodal renders are processed through SAM 2 to generate 2D binary masks. For each view, these masks are sorted by area and overlaid from largest to smallest to create a clean, unified 2D instance segmentation mask.
  3. 2D-to-3D Lifting: To combine these multi-view masks into a cohesive 3D segmentation, the authors construct an unweighted match graph. Nodes represent 2D region labels, and edges are created between nodes if their 3D projections (mapped via Face IDs) share a significant spatial overlap.
  4. Community Detection & Refinement: The Leiden community detection algorithm is applied to the match graph to automatically cluster the 2D labels into distinct 3D parts. Finally, post-processing steps (including an alpha-expansion graph cut) are used to fill holes and smooth out boundaries across the mesh faces.
Overview of the Segment Any Mesh pipeline, showing multimodal rendering, SAM processing, match graph construction, and final refinement.

Datasets

The method was evaluated across three distinct datasets:

  • CoSeg: A traditional benchmark consisting of 8 object classes, used primarily to measure segmentation consistency within a single class.
  • Princeton Mesh Segmentation Dataset: A standard benchmark featuring 19 object classes.
  • Curated Generative Dataset (New): Because existing benchmarks lack structural complexity, the authors curated and released a new dataset of 75 diverse, watertight meshes generated by a 3D AI model. This dataset includes daily objects, architecture, and artistic shapes designed to rigorously test zero-shot generalization.

Key Insights and Ideas

  • Geometry as Color: The core "aha moment" is that geometric properties like thickness and surface orientation can be encoded as color channels. This effectively translates a 3D structural problem into a 2D visual problem that foundation models like SAM are already expertly equipped to solve.
  • Prompt-Free 3D Assembly: By utilizing graph theory and community detection on overlapping view projections, the method bypasses the need for language models entirely. It groups parts purely based on spatial consensus across views.
  • Inheriting Future Upgrades: Because the 3D lifting mechanism is decoupled from the 2D segmenter, Segment Any Mesh seamlessly inherits any future performance leaps made in the 2D computer vision domain (as demonstrated by their smooth transition from SAM to SAM 2).

Key Results

The authors evaluated their method quantitatively against the traditional ShapeDiam baseline using both standard algorithmic metrics and human preference studies.

  • Human Evaluation: In a user study with 17 participants ranking segmentations on the new diverse dataset, Segment Any Mesh significantly outperformed the baseline, achieving a superior mean rank of 1.18 vs. 1.82 (where 1.0 is a perfect top rank).
  • Ablation Study: Testing confirmed that multi-modality is crucial. Combining normals and ShapeDiam scalars yielded a better human-evaluated rank (2.33) than using surface normals alone (2.57) or ShapeDiam scalars alone (2.52).
  • Standard Benchmarks: On the CoSeg and Princeton datasets, the method matched or exceeded ShapeDiam across standard metrics (such as Cut Discrepancy and Hamming Distance) without requiring dataset-specific parameter tuning.
Qualitative comparisons between the input mesh, the traditional ShapeDiam baseline, and the proposed Segment Any Mesh method.

Limitations and Future Work

While powerful, Segment Any Mesh is inherently bound to the performance of its 2D frontend. If SAM 2 produces noisy masks or fails to detect a subtle boundary from multiple angles, those errors can propagate into the 3D match graph. Additionally, rendering dozens of high-resolution multimodal views introduces a higher computational overhead than simple local shape descriptors.

For future work, the authors propose building an interactive user interface to allow humans to quickly refine the graph-derived boundaries. They suggest that this human-in-the-loop system could be leveraged to rapidly curate a massive, high-quality labeled 3D dataset, which could then be used to train native, high-performance 3D neural networks like MeshCNN.

Summary updated

BibTeX
@misc{tang2024segment,
  author = {George Tang and William Zhao and Logan Ford and David Benhaim and Paul Zhang},
  title = {{Segment Any Mesh}},
  year = {2024},
  eprint = {2408.13679},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.13679},
}
Figure