NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Graph Mamba Operator: A Latent Simulator for Interacting Particle Systems

Karn Tiwari, Niladri Dutta, Prathosh Ap, N M Anoop KrishnanNeurIPS 2026

TL;DR

Predicting how complex physical systems—like orbiting planets, running humans, or squishy soft robots—move over long periods usually forces a frustrating choice: model the spatial structure accurately with Graph Neural Networks, or capture long-term memory with sequence models. The Graph Mamba Operator (GraMO) refuses to compromise, fusing graph message-passing and selective state-space models into a single, unified latent recurrence. By letting space and time evolve together without flattening the graph, GraMO achieves state-of-the-art accuracy across physics, motion capture, and robotics benchmarks.

What Problem Does This Paper Address?

Simulating the physical world—from gravitational N-body systems to deformable structures—typically means solving differential equations over tiny time steps. Do that for many objects over a long horizon, and your compute bill explodes.

Learned latent simulators bypass explicit force calculations by compressing the system into a hidden representation and evolving it forward. For interacting particles, this requires two things:

  1. Spatial topology: Knowing who interacts with whom. Graph Neural Networks (GNNs) excel here, treating objects as nodes and forces as edges.
  2. Temporal persistence: Remembering the past (inertia, recurring collisions, slow collective drifts).

Standard GNNs fail at the second requirement. They typically predict one frame at a time conditioned only on the previous state, causing tiny errors to snowball over long rollouts. Meanwhile, modern State-Space Models (SSMs) like Mamba are brilliant at long-range temporal memory. However, prior attempts to put SSMs on graphs did so by flattening nodes into an artificial 1D sequence (via sorting or random walks)—effectively shredding the physical geometry that governs how particles actually interact.

Methods

Instead of alternating between separate spatial and temporal modules, or flattening nodes into a line, GraMO couples graph propagation and temporal state evolution inside a single discrete recurrence.

Overview of the GraMO pipeline and a single coupled Graph-SSM layer.

Here is how GraMO marries standard primitives into something new:

  • 3D Latent Tensor: GraMO maintains a persistent hidden state $\mathbf{H}_t \in \mathbb{R}^{V \times D \times N}$ across $V$ nodes, $D$ physical features, and $N$ memory slots (initialized using the standard HiPPO framework for structured long-term memory).
  • The Coupled Recurrence (What's New): At each step, rather than updating time and space separately, the hidden state updates via $\mathbf{H}_{t+1} = \bar{\mathbf{A}}_t \odot (\tilde{\mathbf{L}}\mathbf{H}_t\mathbf{W}_s) + \bar{\mathbf{B}}_t \odot \mathbf{X}_t$. In one unified move, information spreads across graph neighbors via the normalized adjacency matrix ($\tilde{\mathbf{L}}$), mixes across memory slots ($\mathbf{W}_s$), scales temporally ($\bar{\mathbf{A}}_t$), and absorbs new observations ($\bar{\mathbf{B}}_t \odot \mathbf{X}_t$).
  • Graph-Driven Selectivity: Borrowing from Mamba, the transition parameters and step sizes ($\Delta_t$) are generated dynamically from the current input—here, via a GNN. If particles suddenly collide, $\Delta_t$ adapts to compress memory; during slow drift, it stretches out.
  • Bidirectional Architecture: Stacked GraMO layers run this coupled recurrence forward and backward across the observed history window to map past trajectories directly to future trajectories, side-stepping step-by-step observation rollouts within the forecast window.

Datasets

The authors evaluate GraMO solely on established physics and motion benchmarks (no new datasets are introduced):

  • N-Body Simulations: 5 charged particles (Coulomb forces), 5 spring-connected particles (Hooke's law), and 10 masses under gravity.
  • Robotics Control: Actuated Rope manipulation, anchored deformable Soft robots, and unanchored Swim locomotion in fluid.
  • CMU Motion Capture: Articulated human joint trajectories for Walk and Run sequences across varying prediction horizons.

Key Insights and Ideas

  • Topology beats serialization: Preserving true graph neighborhoods via normalized adjacency dramatically outperforms models like GraphMamba that force nodes into arbitrary 1D sequences (e.g., cutting average error on the Gravity benchmark from $8.075$ down to $2.505 \times 10^{-1}$). Physics happens on graphs, not lists.
  • Time-varying Koopman connection: Classical Koopman theory lifts nonlinear dynamics into a space where evolution is governed by a fixed linear matrix. GraMO’s update is affine in the latent state for fixed inputs, acting like an adaptive Koopman operator whose linear transition matrix shifts on the fly as the system switches regimes (e.g., free flight vs. contact).
  • Zero-shot size generalization: Because the state-space recurrence is conditioned on local graph convolutions, the learned physics transfer across system sizes. Trained on ropes of 5, 7, and 8 masses, GraMO predicts a 9-mass rope zero-shot with less than half the error of a Compositional Koopman baseline ($0.217$ vs. $0.525$ AMSE).

Key Results

GraMO achieves the lowest Average Mean Squared Error (AMSE) and Final Mean Squared Error (FMSE) across every single benchmark tested.

N-body simulation results showing GraMO outperforming all baselines.
  • N-Body Systems: On the challenging 10-body Gravity system, GraMO slashes AMSE ($\times 10^{-1}$) from the second-best baseline's $2.530$ down to $1.290$, and FMSE from $6.020$ to $3.720$.
  • Motion Capture: GraMO reduces average FMSE by 65.95% relative to the runner-up (NS-EGNN)—dropping Walk error ($\times 10^{-1}$) from $0.341$ to $0.117$ and Run error from $0.476$ to $0.161$, with the biggest wins at the longest horizons (15 and 20 steps).
  • Robotics: Consistently tops strong trajectory predictors like GeoTDM and ESTAG across Rope, Soft, and Swim tasks (e.g., dropping Rope FMSE $\times 10^{-1}$ from $0.5380$ to $0.4120$).
  • Efficiency: Trains faster per epoch (~100 ms/epoch on MoCap Walk) than heavyweights like SE(3)-Transformer and EqMotion while achieving substantially lower error, though simpler equivariant GNNs (NSGNN, ESTAG) remain slightly faster at the cost of accuracy.

Limitations and Future Work

  • Graph size scaling: Because GraMO repeatedly computes dense graph–state interactions at every step of the recurrence, computational cost scales poorly as graphs grow very large. The authors point to graph sparsification and subgraph sampling as promising next steps.
  • Feedback rollout drift: While predicting an entire forecast window from latent evolution avoids step-by-step error compounding inside that window, feeding predicted observations back into the model for even longer autoregressive horizons can still accumulate error.

Summary updated

BibTeX
@inproceedings{tiwari2026graph,
  author = {Karn Tiwari and Niladri Dutta and Prathosh AP and N M Anoop Krishnan},
  title = {{Graph Mamba Operator: A Latent Simulator for Interacting Particle Systems}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=MtkmHOVENg},
}
Figure