TL;DR
This paper introduces MeshSDF, a novel method for extracting explicit 3D surface meshes from deep implicit functions in a way that is fully differentiable. This breakthrough allows for end-to-end optimization of mesh-based representations, enabling applications like single-view reconstruction and aerodynamic shape optimization to achieve state-of-the-art results by leveraging the benefits of both implicit and explicit representations.
What Problem Does This Paper Address?
Deep implicit fields, like Signed Distance Functions (SDFs), have revolutionized 3D shape representation by offering continuous, resolution-independent models that can represent arbitrary topologies. However, a major hurdle for their practical application has been the conversion of these implicit representations into explicit surface meshes (like triangle meshes). This conversion typically relies on algorithms like Marching Cubes, which are not differentiable. This lack of differentiability prevents gradients from flowing back through the mesh to the underlying implicit field, thus hindering end-to-end optimization for tasks that require explicit surface outputs, such as physically-based simulations or differentiable rendering.
Methods
The core contribution of MeshSDF is a theoretically grounded method for differentiating through the iso-surface extraction process. Instead of relying on the non-differentiable Marching Cubes algorithm directly, the authors derive a closed-form expression that relates local surface changes to perturbations in the signed distance field. This allows them to compute gradients of the surface geometry with respect to the implicit field, even when using non-differentiable extraction methods like Marching Cubes.
The pipeline involves:
- Deep Signed Distance Function (SDF) Training: A neural network learns to approximate an SDF from a dataset of 3D shapes.
- Iso-Surface Extraction: The Marching Cubes algorithm is used to extract an explicit mesh from the learned SDF.
- Differentiable Backward Pass: Using the derived theoretical insight, gradients are backpropagated from task-specific loss functions (defined on the explicit mesh) all the way back to the latent code of the SDF.
This enables an end-to-end differentiable pipeline where the mesh representation can change its topology.
Datasets
- ShapeNet: Used for training and evaluating single-view reconstruction and aerodynamic shape optimization tasks.
- Pix3D: Used for evaluating single-view reconstruction on real-world images.
Key Insights and Ideas
- Differentiating Through Iso-Surfaces: The key insight is that by understanding how small changes in the implicit field locally affect the surface geometry, one can derive a differentiable relationship, even if the extraction algorithm itself is not differentiable. This bypasses the need for differentiable iso-surface extraction algorithms.
- Topology-Variant Parameterization: MeshSDF naturally allows for topology changes during optimization, which is crucial for applications like transforming a sphere into a torus or optimizing complex shapes where topology might need to evolve.
- Bridging Implicit and Explicit Worlds: The method effectively bridges the gap between the powerful, continuous representation of implicit fields and the practical necessity of explicit meshes for downstream applications.
Key Results
- Single-View Reconstruction (SVR): MeshSDF achieves state-of-the-art results on ShapeNet and Pix3D datasets, outperforming previous methods by a significant margin (e.g., at least 12% improvement on ShapeNet metrics). The "MeshSDF (raw)" baseline (without differentiable refinement) also performs competitively.
- Aerodynamic Shape Optimization: MeshSDF demonstrates superior performance in minimizing drag for car shapes compared to FreeForm and PolyCube parameterizations, achieving lower drag values and enabling topology changes.
- Efficiency: An acceleration technique for iso-surface extraction is proposed, reducing computation time in iterative optimization settings.
Limitations and Future Work
- Computational Cost: While an acceleration technique is proposed, iso-surface extraction can still be computationally intensive.
- Topology Change Sensitivity: The paper notes that while their method allows for topology changes, the L1 silhouette loss used in SVR can sometimes fail to capture fine topological details.
- Future Work: The authors suggest exploring more advanced regularization techniques for MeshSDF, investigating generative adversarial networks for mesh generation, and developing semi-supervised SVR architectures using differentiable rendering. They also plan to address the issue of local minima in the latent space for aerodynamic optimization.
Summary updated