Learned physics simulators, meaning neural networks trained to imitate slow numerical solvers, usually step forward one fixed time increment at a time and represent every point of the simulation mesh in the same flat feature space. Both choices are known to fail in specific ways. Stepping forward repeatedly piles up error over long rollouts. A single flat space suits some flow regions poorly: the finely refined, multiscale boundary layer near a wall and the periodic vortex street behind a bluff body seem to call for different representations. We propose to train a continuous-time simulator on unstructured meshes by flow matching, which here means regressing a neural vector field directly onto time derivatives taken from smooth spline fits of the training trajectories, so no ODE solver has to be unrolled during training. Inside that vector field, each mesh node's hidden state is sent, by a learned gate, to processing blocks living in spaces of negative, zero, or positive curvature.
The core claim fits in two sentences. Continuous-time flow matching, which so far has only been shown on regular grids, can be carried over to irregular meshes and irregular time sampling. Once there, letting each region of the flow pick its own latent geometry should beat both a single geometry and an equally large flat multiscale network. The second half of the claim is the risky part. We design the study so that a negative answer is as informative as a positive one.
What exists and what is missing
Three lines of work each cover two of the three ingredients. The closest work is CFO. It fits quintic Hermite splines to trajectories, trains an FNO or U-Net to match the resulting velocities, and integrates with RK4 at test time. It reports relative-error reductions of up to 87% over autoregressive baselines on PDEBench 2D Shallow Water and Diffusion-Reaction, and reports beating a Neural ODE on Kuramoto–Sivashinsky while training about 40 times faster (1 hour versus about 41 hours) (CFO). CFO motivates our work and supplies its training method. However, its own paper notes that it needs fixed Cartesian grids and a Euclidean feature space. Our proposal keeps its training objective and replaces its grid network with a mesh network.
Mesh simulators supply the spatial machinery. MeshGraphNets passes messages over mesh edges and steps forward autoregressively. MultiScale MeshGraphNets shows that flat message passing loses long-range coupling as the mesh is refined, and fixes this with a multigrid-style coarsen-and-refine hierarchy. Both are discrete in time and Euclidean. MS-MGN is also the main constraint on our claim, because its hierarchy may already capture whatever benefit curvature offers.
Two papers motivate the geometric half. Hyperbolic Neural Operator puts attention on a hyperboloid, the standard space of constant negative curvature. There, distance from the origin acts as a scale variable: tokens far out attend narrowly and tokens near the origin aggregate globally, mimicking fast multipole methods. It reports 42.2% and 35.7% lower relative $\ell_2$ error on Elasticity and Pipe Flow. HNO is a static single-step map, however, and uses one geometry everywhere. Pioneer runs a graph ODE on a single constant-curvature manifold with entropy constraints, trained through the ODE, and is evaluated on node tracking rather than PDE fields.
Mixtures of curvature experts, such as GraphMoRE for static graphs and DyGMoCE for discrete-event dynamic graphs, supply the gating method. They also supply a warning: DyGMoCE reports that experts tend to become redundant and stop specializing. No paper in our search combines all three ingredients.
Core Claim and Mechanism
The routing signal is the main departure from GraphMoRE and DyGMoCE, and it rests on a premise we treat as an assumption to be checked, not as established. Graph-topology heterogeneity, in the sense of trees versus cliques, is weak on simulation meshes, which are locally planar. The heterogeneity that plausibly matters is in the dynamics and the scale hierarchy. Near walls, mesh refinement and multigrid coarsening create tree-like scale structure, which suits hyperbolic geometry as in HNO. In wakes, the state oscillates on a near-periodic cycle, which a positively curved, sphere-like latent space can represent with bounded norm and therefore cannot drift off to infinity during long rollouts. Smooth far-field regions need neither. The gate therefore sees two kinds of input per node. The first is local scale features from the multigrid hierarchy, namely refinement ratio and coarse-level parent depth. The second is temporal spectral features of the node's own spline fit, such as dominant frequency and amplitude.
Concretely, let $u(t)$ be the node fields and $s_i(t)$ the quintic spline fitted to node $i$'s sampled values. The model is trained with
$$\mathcal{L}(\theta)=\mathbb{E}_{t}\sum_i \big\| f_\theta(u(t),t)_i-\dot s_i(t)\big\|^2,\qquad f_\theta(u)_i = D\Big(\sum_{k} g_{ik}\,\log_0^{\kappa_k}\big(h^{(k)}_i\big)\Big).$$
Here $f_\theta$ is the learned vector field. The term $h^{(k)}_i$ is node $i$'s state after the processing block of expert $k$, which operates in a $\kappa$-stereographic space of curvature $\kappa_k$, the standard single chart covering hyperbolic, flat, and spherical geometry. The gate weight is $g_{ik}$, $\log_0^{\kappa_k}$ maps each expert's output to the flat tangent space at the origin, and $D$ is a Euclidean decoder that outputs physical velocities.
Because the regression target lives in flat physical space, the problem of comparing distances across different curvatures arises only inside the processor. There we merge experts in the shared tangent space, as GraphMoRE-style alignment does. To keep costs down, expert operations use Pioneer's gyro-style matrix forms and DyGMoCE's law-of-cosines attention. Training never integrates an ODE. At test time we integrate with RK4 at any requested times.
Research Program
The program has three stages, each producing something usable on its own. First, we build a Euclidean MS-MGN processor trained with the CFO objective on meshes and irregular time stamps. This tests whether CFO's advantages carry over from grids to meshes, independent of any geometry.
Second, we add the curvature-routed experts with load-balancing and an anti-redundancy penalty, for example decorrelating expert outputs. The curvatures $\kappa_k$ are learned, with their initial signs fixed.
Third, we analyze what the gate learned. We compare routing maps against hand-labelled boundary-layer, wake, and far-field regions, measure expert redundancy through cross-expert representation similarity, and record wall-clock time and memory against the Euclidean version.
Baselines
The naive reference point is the persistence predictor, which holds the last observed state constant, together with linear interpolation in time. It anchors what "nontrivial rollout" means at each horizon.
The first strong competitor is autoregressive MeshGraphNets (MeshGraphNets) with its standard training-noise injection, because it is the method these mesh benchmarks were built around. We will also run MS-MGN autoregressively (MS-MGN), because it is the best published answer to long-range coupling on refined meshes. On CylinderFlow and Airfoil we found no reported scalar rollout error on Lacuna for either MGN or MS-MGN; the file gives only speedups and qualitative convergence results. We will therefore retrain both from their published descriptions on identical splits.
The strongest baseline for the continuous-time question is CFO itself. Its reported figure is up to 87% relative-error reduction over autoregressive baselines on PDEBench 2D Shallow Water and Diffusion-Reaction (CFO). On PDEBench SWE we run our method with the grid treated as a mesh graph and require it to come within seed noise of a re-run of CFO's grid model. Matching CFO there is the bar, since beating it on its home ground is not our claim. On meshes, CFO is run by interpolating mesh fields to a grid and back.
The ablations that isolate the key ingredient all use the same CFO-style training on meshes, the same parameter count within 5%, the same tuning budget of an equal number of hyperparameter trials, and three seeds:
- a Euclidean-only processor;
- a single learned curvature shared everywhere, which is the Pioneer- and HNO-like choice;
- a global product space $\mathbb{H}\times\mathbb{S}\times\mathbb{R}$ with fixed dimension allocation, following Gu et al.;
- uniform, non-learned gating;
- oracle gating by hand-labelled region.
Beating the baselines means lower rollout error at long horizons than every ablation, by more than the across-seed spread, at matched parameters, together with reported wall-clock and memory. If the oracle-gated model wins and the learned gate does not, then the idea of per-region geometry holds up but the gate needs work.
Why not just…?
Why not just use a Euclidean multiscale GNN inside CFO's training loop? This is the real threat, and the first stage of the program builds exactly that model. HNO's ablation, where collapsing hyperbolic radii degraded performance (HNO), suggests that flat attention mismatches multiscale structure. But HNO did not compare against an explicit multigrid hierarchy, and MS-MGN may supply the same scale separation without curvature. If the Euclidean processor matches the routed one within seed noise at equal parameters, we will report that curvature is unnecessary on meshes once a hierarchy is present, and that the gains attributed to geometry in this setting are really gains from hierarchy.
Why not just use one learned curvature, or a fixed product space? These options are simpler and avoid gating. GraphMoRE reports that global allocations distort heterogeneous substructures, with a 2.01% AUC gain on Cora from per-node routing (GraphMoRE). That evidence comes from citation graphs, not flows, so it does not transfer automatically. The single-curvature and product-space ablations, read alongside the per-region error breakdown, settle the question directly. The routed model should win specifically in the wake and the boundary layer, not uniformly across the domain.
Why not just train autoregressive MeshGraphNets with more noise injection or longer rollouts in training? For grids, CFO's evidence answers this. Its model trained on 25% of irregularly subsampled time points beat autoregressive models trained on the full data (CFO). Whether this holds on meshes is open. The irregular-subsampling experiment below tests it, and autoregressive models cannot even be trained on irregular steps without first interpolating the data.
Why not just interpolate the mesh to a grid and run CFO? Interpolation blurs exactly the steep wall gradients that AirfRANS identifies as the source of drag errors (AirfRANS). We run this pipeline as a baseline and report error separately inside the boundary-layer band, where we expect it to fail.
Proposed Experiments
The main testbeds are the time-dependent MeshGraphNets datasets CylinderFlow and Airfoil (MS-MGN). On these we measure:
- rollout relative error at short, medium, and full horizons;
- error broken down by labelled region;
- the error in the vortex-shedding frequency, measured from the spectrum of the wake.
PDEBench 2D SWE and Diffusion-Reaction (PDEBench) serve as the grid sanity check. On them we report RMSE, conservation error, and Fourier-spectrum error.
AirfRANS is steady-state, so it can test only the processor, not the time dynamics. It isolates the geometry question from the continuous-time question. The reference point there is Graph U-Net's reported lift Spearman correlation of 0.967 (AirfRANS). We found no reported HNO error value on AirfRANS on Lacuna.
Four checks decide the outcome. The first is irregular subsampling: we train on 25%, 50%, and 100% of time points at random times and test whether CFO's grid result holds on meshes. The second is long-horizon stability: we roll out to twice the training horizon and test whether the spherical expert keeps wake amplitudes bounded where Euclidean variants drift. The third is the matched-parameter Euclidean-versus-routed comparison, whose decision rule is fixed in advance as described above. The fourth is the routing analysis: if learned gates do not concentrate hyperbolic weight near walls and spherical weight in the wake, or if the experts' representations are nearly identical, the regime-based geometry premise fails, whatever the aggregate error shows.
References
- CFO: Learning Continuous-Time PDE Dynamics via Flow-Matched Neural Operators
- Learning Mesh-Based Simulation with Graph Networks
- MultiScale MeshGraphNets
- Hyperbolic Neural Operator
- Pioneer: Physics-informed Riemannian Graph ODE for Entropy-increasing Dynamics
- GraphMoRE: Mitigating Topological Heterogeneity via Mixture of Riemannian Experts
- Fast Mixture of Curvature-Aware Experts for Diverse and Dynamic Graph Topologies
- Learning Mixed-Curvature Representations in Product Spaces
- AirfRANS: High Fidelity Computational Fluid Dynamics Dataset for Approximating Reynolds-Averaged Navier–Stokes Solutions
- PDEBench: An Extensive Benchmark for Scientific Machine Learning