Marching-Primitives: Shape Abstraction from Signed Distance Function

Weixiao Liu, Yuwei Wu, Sipu Ruan, Gregory S. ChirikjianCVPR 2023 · DOI

Introduction

In computer vision and robotics, representing 3D objects often relies on "low-level" data formats such as dense point clouds, occupancy grids, or triangular meshes. While these representations are accurate, they lack semantic understanding; they do not inherently recognize that a chair consists of a back, a seat, and legs. This structural gap makes tasks like robotic grasping or complex physics simulations computationally expensive and logically difficult.

Marching-Primitives is a novel algorithm designed to bridge this gap by transforming complex 3D shapes into a collection of simple geometric primitives, such as superquadrics, directly from a Signed Distance Function (SDF). By representing a 6MB mesh in just 4KB of data, it offers a path toward highly efficient, semantically aware 3D modeling.

An ornate table model illustrating the type of complex geometry that Marching-Primitives aims to abstract into high-level components.

The Problem with Current Abstraction

Existing shape abstraction methods generally fall into two categories: computational methods and learning-based methods. Computational approaches often struggle with the ambiguity of point-to-surface relationships, while learning-based models frequently fail to generalize to object categories outside their training data.

The authors address these issues by utilizing the Signed Distance Function (SDF). Unlike point clouds, an SDF provides rich information about both the surface and the interior volume of an object, eliminating the "inside/outside" ambiguity that plagues other methods.

Methodology: The Marching Process

The core of the research is the Marching-Primitives algorithm, which employs a two-step iterative process to "march" through an object's volume:

  1. Iterative Connectivity Marching: The algorithm begins at the "deepest" part of the object (the most negative values in the SDF). By analyzing voxel connectivity at varying distance thresholds, it identifies "Volumes of Interest" (VOIs). Each VOI serves as a logical starting point for a new primitive, allowing the system to discover parts like table legs or chair backs without needing semantic labels.
  2. Probabilistic Primitive Marching: Once a VOI is identified, the algorithm fits a superquadric—a versatile mathematical shape—to that volume. This is framed as a Maximum Likelihood Estimation (MLE) problem and solved using an Expectation-Maximization (EM) style approach.

To ensure robustness, the system includes a "Fail-safe Auto-degeneration" feature. If a primitive is initialized in an empty space or poorly fitted, it mathematically shrinks to a point and is automatically removed, preventing noise from corrupting the final model.

Key Results and Performance

The authors evaluated Marching-Primitives across several datasets, including ShapeNet (synthetic models), D-FAUST (human motion scans), and the Stanford Reading Room (large-scale indoor scenes).

A comparison of various objects, including chairs and tables, demonstrating the algorithm's ability to generalize across different categories.

Accuracy and Generalization

On the ShapeNet dataset, Marching-Primitives (MPS) significantly outperformed state-of-the-art learning-based and computational methods. It achieved a mean Chamfer-L1 distance of 0.022 and a Volumetric IoU of 0.870, compared to just 0.368 IoU for the learning-based baseline. Because the method is purely geometric, it generalizes across all categories without the need for fine-tuning.

Efficiency

One of the most striking findings is the efficiency gain. A standard 6MB mesh can be abstracted into just 4KB of primitive data. With average runtimes of 6.7 seconds for ShapeNet objects and 2.5 seconds for human models, the algorithm is practical for large-scale offline processing and low-bandwidth robotic applications.

Limitations and Future Outlook

While powerful, the algorithm is currently limited by voxel grid resolution. Parts thinner than the interval between voxels cannot be accurately extracted. Future research will focus on parallelizing the marching process, implementing adaptive grids (like octrees) to capture finer details, and moving toward semantic interpretation—automatically labeling extracted primitives as "legs," "seats," or "handles."

Summary updated

BibTeX
@inproceedings{liu2023marching,
  author = {Weixiao Liu and Yuwei Wu and Sipu Ruan and Gregory S. Chirikjian},
  title = {{Marching-Primitives: Shape Abstraction from Signed Distance Function}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.00847},
}
Figure