MaNGO — Adaptable Graph Network Simulators via Meta-Learning

Philipp Dahlinger, Tai Hoang, Denis Blessing, Niklas Freymuth, Gerhard Neumann

Simulating how the physical world moves and deforms is a cornerstone of modern engineering, from designing soft robots to testing new materials. But we face a classic "pick two" dilemma: we want simulations that are accurate, fast, and adaptable to new materials.

Traditional methods like the Finite Element Method (FEM) are accurate but painfully slow. Modern Graph Network Simulators (GNS) are lightning-fast but brittle—if you change the stiffness of a cloth or the density of a fluid, you usually have to collect a massive new dataset and retrain the model from scratch.

A new paper from researchers at the Karlsruhe Institute of Technology introduces MaNGO (Meta Neural Graph Operator), a framework that uses meta-learning to create simulators that can adapt to unseen physical properties using just a few example observations.

TL;DR

MaNGO is a meta-learning framework for physics simulation that adapts to new material properties (like stiffness or friction) using only a few "context" simulation trials. By combining Conditional Neural Processes with a non-autoregressive neural operator architecture, it achieves "oracle-level" accuracy while running orders of magnitude faster than traditional step-by-step simulators.

What Problem Does This Paper Address?

The current state-of-the-art in data-driven simulation relies on Graph Neural Networks (GNNs) to predict how particles or mesh nodes move over time. While efficient, these models suffer from two major "generalization gaps":

  1. Parameter Sensitivity: A model trained on "stiff" plates fails when asked to simulate "floppy" ones.
  2. The Inverse Problem: To make a model work for a new material, you usually need to know the exact physical parameters (like Young’s modulus). In the real world, we often don't have these numbers; we only have observations of how the object moves.

The authors aim to bridge this gap by treating physics simulation as a meta-learning problem: can a model learn the underlying structure of physics such that it only needs a tiny bit of "context" to figure out the specific rules of a new environment?

Methods

MaNGO consists of two primary components: a Spatiotemporal Encoder and a Neural Graph Operator Decoder.

MaNGO Architecture

1. The Encoder (Learning the "What")

Using Conditional Neural Processes (CNPs), the encoder looks at a small "context set" of previous simulation trials. It uses 1D convolutions to process the temporal aspect (how things change over time) and "Deep Sets" to aggregate spatial information across the graph nodes. The result is a compact latent representation—essentially a "fingerprint" of the material properties—without ever needing to explicitly name the physical constants.

2. The Decoder (Predicting the "How")

Most simulators are autoregressive, meaning they predict state $t+1$ from state $t$. This leads to "error accumulation," where tiny mistakes snowball over long rollouts. MaNGO instead uses a Neural Operator approach. It takes the initial state and the latent fingerprint, then predicts the entire trajectory in a single forward pass. It alternates between:

  • Message Passing Blocks: To handle spatial interactions between neighboring nodes.
  • 1D CNNs: To handle the evolution of those nodes through time.

Crucially, the authors move away from "equivariant" constraints (like SE(3) symmetry) used in prior work, arguing that real-world physics (like gravity) often breaks these symmetries, and forcing them on a model can actually hurt performance.

Datasets

The researchers evaluated MaNGO on four challenging dynamics tasks, varying underlying physical parameters to test adaptability.

Meta-learning datasets with varying physical properties
  • Planar Bending (PB): A new benchmark simulating a 2D sheet bending under external forces with varying stiffness.
  • Deformable Plate (Easy & Hard): Simulating mesh deformation with varying Poisson’s ratios and Young’s moduli.
  • Sphere Cloth Coupling (SCC): A complex task where spheres of different sizes and densities are dropped onto a cloth, requiring the model to handle nonlinear contact dynamics.

Key Insights and Ideas

  • Context is King: MaNGO doesn't need to be told the "stiffness" value. By looking at just 2–3 context trials, it can infer the material properties from the motion itself and adapt its predictions accordingly.
  • Breaking the Autoregressive Habit: By predicting the whole trajectory at once, MaNGO is significantly more stable than models like MeshGraphNet. It doesn't "drift" away from reality as the simulation progresses.
  • The "Oracle" Performance: On unseen materials, MaNGO performs almost as well as an "Oracle" model—a theoretical version of the model that is given the exact ground-truth physical parameters.
  • Latent Space Clarity: Visualizing the learned latent space showed that MaNGO naturally clusters simulations by physical properties (like Poisson’s ratio) even though it was never explicitly told to categorize them.

Key Results

  • Speed: On the Sphere-Cloth benchmark, MaNGO's decoder simulated the full trajectory in just 13ms, compared to 500ms for the autoregressive MeshGraphNet—a nearly 40x speedup.
  • Accuracy: MaNGO consistently outperformed non-meta-learning baselines across all tasks. In the "Hard" Deformable Plate task, it maintained high accuracy where standard models failed to generalize.
  • Robustness: The model remained stable even when 50% of the nodes were "unobserved" (dropped) during the context phase, proving it can handle sparse, real-world sensor data.

Limitations and Future Work

While powerful, MaNGO has a few hurdles to clear before it hits the factory floor:

  • Memory Usage: Because it predicts the entire trajectory at once, GPU memory consumption scales linearly with the number of time steps. This makes very long simulations difficult.
  • Fixed Topology: The current version assumes the graph structure (the connections between nodes) stays the same. It cannot yet handle objects that tear, break, or merge.
  • Single Modality: The model currently only "sees" graph data. The authors suggest that future work should incorporate other data types, like raw video or point clouds from cameras.

Paper Citation: Dahlinger, P., et al. (2025). MaNGO — Adaptable Graph Network Simulators via Meta-Learning. 39th Conference on Neural Information Processing Systems (NeurIPS 2025).

Summary updated

BibTeX
@inproceedings{dahlinger2025mango,
  author = {Philipp Dahlinger and Tai Hoang and Denis Blessing and Niklas Freymuth and Gerhard Neumann},
  title = {{MaNGO — Adaptable Graph Network Simulators via Meta-Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=rc3XO4RARL},
}
Figure