Neural Modular Physics for Elastic Simulation

Yifei Li, Haixu Wu, Zeyi Xu, Tuur Stuyck, Wojciech Matusik

The Trade-off in Physics Simulation

In the realm of physics simulation, researchers and engineers typically face a stark choice between traditional numerical solvers (such as Finite Element Methods) and modern neural simulators.

Traditional solvers are highly reliable and interpretable, but they are computationally expensive and struggle when the underlying physics—like complex friction or material behavior—are unknown. Conversely, neural simulators are incredibly fast and flexible, but they operate as monolithic "black boxes." They act as an indivisible function mapping one state to the next. This opacity makes it nearly impossible to enforce physical constraints, like volume preservation, or to understand why a simulation failed. Furthermore, these end-to-end models often "drift" or explode during long-horizon simulations because they lack a true understanding of intermediate physical quantities like internal stress or forces.

Introducing Neural Modular Physics (NMP)

To bridge the gap between reliability and speed, researchers introduce Neural Modular Physics (NMP). NMP mimics the modular structure of classical physics engines while retaining the expressive power of deep learning. By decomposing elastic simulation into physically meaningful modules, NMP achieves a 60% reduction in long-term simulation error and runs up to 40x faster than traditional numerical solvers while maintaining physical interpretability.

How NMP Works

  1. Modular Architecture: Instead of relying on one massive network, NMP utilizes two specialized networks:
  2. Neural Constitutive Module: Learns the material's "constitutive law"—how it resists deformation. It maps the deformation gradient (local stretching) to internal stress.
  3. Neural Integration Module: Learns how to evolve the system state over time, handling mass and external forces like gravity or contact.
  4. Two-Stage Training: A major risk in modular networks is "module collapse," where modules stop performing their specific physical jobs and merely try to minimize the final output error. To prevent this, NMP uses a two-stage training strategy. Modules are first trained independently using intermediate data from a numerical solver. Only after they "understand" their specific roles are they fine-tuned together.
  5. Direct Physical Constraints: Because the model exposes intermediate quantities like the deformation gradient ($F$), the authors can inject specific loss terms to ensure local volume preservation. This guarantees that an elastic object doesn't unrealistically shrink or expand during a collision.

Experimental Setup

The framework was rigorously evaluated across five distinct environments:

  • CUBE & CUBEXL: Tested collision handling and resolution generalization (scaling up to 21k vertices).
  • SPOT & BOB: Utilized complex geometries (a cow and a duck) to test stress propagation and fixed boundary conditions.
  • FRICTION: A "real-world" challenge where an object slides on a surface with unknown frictional dynamics.
  • Elastoplastic Bunny: A supplementary test involving permanent deformation (plasticity) and complex obstacles.

Key Results and Insights

  • Accuracy and Stability: NMP achieved over a 60% error reduction in 1,000-step rollouts compared to state-of-the-art neural simulators like Transolver and MeshGraphNet. While monolithic baselines often "melt" or explode after a few hundred steps, NMP remains stable and physically plausible over long horizons, even when generalizing to higher resolutions.
  • Efficiency: The model is roughly 40x faster than traditional numerical simulators and 5x faster than the most advanced Transformer-based neural operators.
  • Interchangeability: Because the modules are physically grounded, they are plug-and-play. Users can swap the neural integrator for a traditional numerical one to capture higher-frequency dynamics without needing to retrain the material module.
  • Sim-to-Real Potential: By pre-training on simulated data and fine-tuning only on observed positions, NMP can adapt to materials and environments where the underlying physics equations are unknown. In the FRICTION task, NMP successfully learned to model sliding and stopping, whereas hybrid models relying on fixed physical laws failed due to incorrect friction equations.

Limitations and Future Work

The primary limitation of NMP is its current domain scope. The framework is specialized for elastic and solid mechanics. While the philosophy of modularity is universally applicable, adapting this specific architecture to fluid dynamics would require a completely different set of modules (e.g., advection, pressure projection, and boundary processing).

Future work will likely focus on scaling these modular architectures to more complex, multi-physics scenarios and exploring ways to further automate the decomposition of physical systems into neural modules.

Summary updated

BibTeX
@inproceedings{li2026neural,
  author = {Yifei Li and Haixu Wu and Zeyi Xu and Tuur Stuyck and Wojciech Matusik},
  title = {{Neural Modular Physics for Elastic Simulation}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=f7PUjzI60h},
}
Figure