Abstract
We present an elastic simulator for domains defined as evolving implicit functions, which is efficient, robust, and differentiable with respect to both shape and material. This simulator is motivated by applications in 3D reconstruction: it is increasingly effective to recover geometry from observed images as implicit functions, but physical applications require accurately simulating and optimizing-for the behavior of such shapes under deformation, which has remained challenging. Our key technical innovation is to train a small neural network to fit quadrature points for robust numerical integration on implicit grid cells. When coupled with a Mixed Finite Element formulation, this yields a smooth, fully differentiable simulation model connecting the evolution of the underlying implicit surface to its elastic response. We demonstrate the efficacy of our approach on forward simulation of implicits, direct simulation of 3D shapes during editing, and novel physics-based shape and topology optimizations in conjunction with differentiable rendering.
The Challenge: Bridging Geometry and Physics
In 3D computer vision, reconstruction techniques have advanced significantly, allowing us to turn photographs into detailed 3D models. However, these models are often "geometric digital twins"—hollow shells that lack physical integrity. Standard physics simulations, such as the Finite Element Method (FEM), typically require high-quality tetrahedral meshes. When optimizing a shape's physics, constantly regenerating these meshes is computationally expensive, error-prone, and non-differentiable.
While implicit representations like Signed Distance Functions (SDFs) are ideal for evolving shapes, they present a major hurdle for simulation: accurately integrating physical properties over "cut cells" (voxels partially filled with material). Historically, this process has been noisy and expensive, creating "jumps" in values that break gradient-based optimization.
Neurally Integrated Finite Elements
To solve this, researchers at NVIDIA introduced a framework that bridges the gap between implicit geometry and robust physics through two primary innovations:
- Neural Quadrature: Instead of relying on complex geometric algorithms to calculate material volume in partially filled voxels, the system uses a small Multi-Layer Perceptron (MLP). This network takes SDF values at a voxel's corners and predicts optimal "quadrature points" (sampling locations) and weights. Because the neural network is smooth, the resulting physics gradients are also smooth, enabling an optimizer to "carve" or "grow" material to meet physical objectives.
- Four-Field Mixed FEM: Standard FEM can become unstable when an object contains regions with vastly different stiffnesses. The authors employ a "mixed" formulation that tracks displacement, strain, rotation, and stress as separate variables, ensuring stability even during chaotic early stages of shape optimization.
Key Insights
- Smoothness for Optimization: Traditional integration methods create discontinuities as surfaces move across a grid. The neural approach provides a continuous approximation that allows AI optimizers to function effectively.
- Sub-grid Accuracy: The solver can capture features smaller than a single grid cell, such as thin shells, because the neural quadrature accurately senses the implicit surface's location within the cell.
- Physics as a Regularizer: By incorporating a "physics loss" into reconstruction, the optimizer naturally corrects geometric flaws. For instance, if a chair leg is disconnected in a reconstruction, the physics solver identifies the lack of structural support and forces the geometry to connect.
Results and Performance
The framework was evaluated using benchmarks like Pix3D and the NeRF Synthetic Dataset. The neural quadrature proved remarkably efficient; on an NVIDIA RTX 3080Ti, computing quadrature points for over 200,000 voxels takes just 16ms, compared to over a second for traditional methods.
In experiments with Pix3D chair models, "naive" reconstructions often collapsed under simulated weight. In contrast, physics-aware versions successfully evolved their topology—thickening legs or adding supports—to sustain significant loads (up to 2.5kN). The system also demonstrated the ability to perform topology optimization, such as reducing stress on a lifting hook by an order of magnitude through automatic material redistribution.
Limitations and Future Outlook
While the method is a significant step forward, some limitations remain. The displacement degrees of freedom are still tied to the underlying grid, which can cause separate pieces of material within a single voxel to be treated as "stuck" together. Additionally, final shapes can be sensitive to initial random seeds. Future work may involve integrating this method with the Material Point Method (MPM) to simulate fluids or granular materials, and further optimizing the system for real-time interactive sculpting.
Summary updated