[Paper Review] DeepMesh: Differentiable Iso-Surface Extraction
DeepMesh introduces an end-to-end differentiable method to extract explicit 3D surface meshes from deep implicit fields, enabling gradient-based optimization through isosurface extraction. By deriving a closed-form derivative of surface samples w.r.t. the implicit field, it overcomes the non-differentiability of Marching Cubes, allowing applications like differentiable rendering and shape optimization with arbitrary topology and unlimited resolution.
Geometric Deep Learning has recently made striking progress with the advent of continuous deep implicit fields. They allow for detailed modeling of watertight surfaces of arbitrary topology while not relying on a 3D Euclidean grid, resulting in a learnable parameterization that is unlimited in resolution. Unfortunately, these methods are often unsuitable for applications that require an explicit mesh-based surface representation because converting an implicit field to such a representation relies on the Marching Cubes algorithm, which cannot be differentiated with respect to the underlying implicit field. In this work, we remove this limitation and introduce a differentiable way to produce explicit surface mesh representations from Deep Implicit Fields. Our key insight is that by reasoning on how implicit field perturbations impact local surface geometry, one can ultimately differentiate the 3D location of surface samples with respect to the underlying deep implicit field. We exploit this to define DeepMesh - an end-to-end differentiable mesh representation that can vary its topology. We validate our theoretical insight through several applications: Single view 3D Reconstruction via Differentiable Rendering, Physically-Driven Shape Optimization, Full Scene 3D Reconstruction from Scans and End-to-End Training. In all cases our end-to-end differentiable parameterization gives us an edge over state-of-the-art algorithms.
Motivation & Objective
- To address the non-differentiability of standard isosurface extraction methods like Marching Cubes when applied to deep implicit fields.
- To enable end-to-end differentiable optimization of explicit mesh representations derived from continuous implicit functions.
- To support applications requiring explicit surface geometry—such as CFD simulations, physically-based rendering, and shape optimization—while retaining the resolution and topological flexibility of implicit fields.
- To extend differentiable mesh extraction beyond signed distance functions to general implicit functions, including occupancy fields.
- To demonstrate that differentiable mesh extraction enables superior performance in downstream tasks compared to non-differentiable or implicit-only baselines.
Proposed method
- Derive a closed-form expression for the derivative of 3D surface samples w.r.t. the underlying implicit field using multivariate calculus, independent of the isosurface extraction algorithm.
- Use a non-differentiable isosurface extraction method (e.g., Marching Cubes) to generate the mesh, then backpropagate gradients through the surface samples using the derived analytical derivative.
- Implement a coarse-to-fine strategy for isosurface extraction to reduce computational overhead, enabling efficient training on high-resolution grids.
- Integrate the differentiable mesh extraction into end-to-end learning pipelines, such as differentiable rendering and Chamfer distance optimization.
- Support arbitrary mesh topology and unlimited resolution by avoiding fixed-grid or fixed-topology constraints.
- Apply the method to both signed distance functions and occupancy fields, enabling broader applicability to implicit representation types.
Experimental results
Research questions
- RQ1Can we achieve end-to-end differentiable isosurface extraction from deep implicit fields while preserving topological flexibility and unlimited resolution?
- RQ2How can we analytically differentiate surface samples with respect to perturbations in the implicit field, even when the isosurface extraction algorithm is non-differentiable?
- RQ3Does differentiable mesh extraction improve performance in tasks requiring explicit surface representations, such as 3D reconstruction and shape optimization?
- RQ4Can the method be extended to general implicit functions beyond signed distance functions, such as occupancy fields?
- RQ5What is the computational overhead of differentiable mesh extraction compared to direct supervision of implicit field values?
Key findings
- DeepMesh achieves a significant improvement in 3D reconstruction quality, especially for complex shapes like lamps with thin structures, by minimizing Chamfer distance in addition to implicit field loss.
- The method reduces Chamfer distance errors by up to 30% on the ShapeNet lamps category compared to non-differentiable baselines, demonstrating better surface alignment.
- With optimized isosurface extraction, the forward pass of DeepMesh takes only 29ms on a V100 GPU, reducing the overhead from 785ms (naive) to a practical level.
- The backward pass of DeepMesh is slightly faster than direct supervision of implicit field values, as gradients are backpropagated only through surface points rather than the full volume.
- DeepMesh enables successful end-to-end training for single-view 3D reconstruction and aerodynamic shape optimization, outperforming state-of-the-art methods that rely on non-differentiable mesh extraction.
- The approach supports arbitrary mesh topology and is not limited by fixed grid or mesh structure, enabling dynamic topological changes during optimization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.