Deep Marching Cubes: Learning Explicit Surface Representations

Yiyi Liao, Simon Donné, Andreas Geiger

Abstract

Deep Marching Cubes (DMC) represents a significant advancement in 3D deep learning by providing the first end-to-end trainable framework that directly predicts explicit 3D surface meshes from raw, unorganized point clouds. By implementing a differentiable version of the classic Marching Cubes algorithm, DMC enables neural networks to optimize geometric losses directly on the final surface. This approach leads to significantly more accurate reconstructions and better preservation of fine details compared to traditional voxel-based or implicit representation methods.

The Challenge of Explicit Surface Prediction

In 3D computer vision, generating a surface mesh—the "explicit" representation standard in graphics and CAD—is notoriously difficult. Most existing deep learning models predict "implicit" representations, such as voxel occupancy grids or Truncated Signed Distance Fields (TSDF). To obtain a usable 3D mesh, researchers typically apply a post-processing step like the Marching Cubes algorithm.

Conventional pipelines use a non-differentiable Marching Cubes step, decoupling voxel prediction from the final surface mesh.

The primary drawback of this workflow is that standard Marching Cubes is not differentiable. Consequently, models cannot backpropagate errors from the final mesh; instead, they are trained to minimize errors on intermediate voxels. Furthermore, these methods often require "watertight" ground truth meshes for training, which are rarely available for real-world, noisy, or incomplete point cloud data.

Methodology: Differentiable Marching Cubes

The core innovation of this work is the Differentiable Marching Cubes Layer (DMCL). Rather than predicting a simple signed distance field, the network outputs two key components for every voxel in a 3D grid:

  1. Occupancy Probabilities ($O$): The likelihood that each voxel corner resides "inside" the object.
  2. Vertex Displacements ($X$): A 3D vector for each edge determining the precise intersection point of the surface mesh.
The DMC architecture predicts occupancy probabilities and vertex displacements (geometry) to directly produce an explicit surface mesh.

By treating the 256 possible Marching Cubes topologies (simplified to 140 singly-connected cases) as a probability distribution, the authors create a differentiable mapping from network outputs to a surface mesh. The architecture utilizes an Encoder-Decoder structure:

  • Encoder: A modified PointNet++ that uses "grid pooling" to transform unstructured points into a structured volumetric feature grid.
  • Decoder: A 3D convolutional neural network (CNN) that predicts the occupancy and displacement values.
  • Loss Functions: The model employs a Point-to-Mesh loss, minimizing the distance between input points and the predicted surface, alongside smoothness and curvature regularizers.

Key Insights and Results

DMC demonstrates that training directly on surface geometry is superior to training on voxel labels. This end-to-end approach allows the model to achieve "sub-voxel" accuracy, capturing details smaller than the grid resolution itself.

Performance on ShapeNet

Evaluated on the ShapeNet benchmark, DMC achieved a Chamfer Distance of 0.218 at a $32^3$ resolution. This significantly outperforms standard voxel occupancy baselines (0.407) and TSDF-based methods (0.354). Qualitatively, the model excels at preserving thin structures—such as chair legs or car spoilers—and sharp features that are often blurred by traditional voxel methods.

Robustness and Generalization

DMC addresses the inherent ambiguity of point clouds (the "inside/outside" problem) through a specialized Occupancy Loss that assumes the bounding box boundaries are empty space. Additionally, because the model learns local geometric transitions, it generalizes remarkably well; a model trained on cars can successfully reconstruct a bottle, indicating it has learned fundamental concepts of "surfaceness" rather than just memorizing specific object categories.

Limitations and Future Outlook

While DMC provides sub-voxel accuracy, it remains constrained by the memory requirements of volumetric grids, typically operating at a $32^3$ resolution. Extremely thin surfaces can still pose challenges if they fall entirely between grid points. Future research directions include integrating the DMCL with sparse 3D convolutions or Octrees to scale resolutions to $256^3$ and beyond, further enhancing the fidelity of explicit surface reconstruction.

Summary updated

BibTeX
@inproceedings{liao2018deep,
  author = {Yiyi Liao and Simon Donné and Andreas Geiger},
  title = {{Deep Marching Cubes: Learning Explicit Surface Representations}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00308},
}
Figure