TL;DR
When training neural networks to simulate physics on meshes, standard architectures often blur the line between hard mathematical laws (topology) and flexible material properties (geometry). Riemannian Hodge Message Passing (RHMP) cleanly splits the two: it hardcodes exact physical conservation laws into the mesh connectivity while training the network to learn a discrete "metric"—essentially teaching it how the underlying space stretches, resists, or conducts fields. The result is a mathematically grounded surrogate that preserves exact vector-calculus identities and generalizes seamlessly across wildly different mesh resolutions.
What Problem Does This Paper Address?
Imagine simulating fluid flow over an airplane wing or magnetic fields inside a steel transformer. Not every physical quantity belongs on a simple point (vertex) of your simulation mesh. Pressure naturally lives at points, fluxes flow along oriented edges, and vorticities swirl across faces.
Furthermore, physics obeys strict topological rules—like the fact that the curl of a gradient is always zero ($\nabla \times \nabla \phi = 0$), or magnetic fields have no monopoles ($\nabla \cdot \mathbf{B} = 0$). These depend purely on how vertices, edges, and faces connect, regardless of what the object is made of. Meanwhile, how strongly neighboring elements interact depends on geometry and material properties: distances, angles, curvature, or anisotropic conductivity.
Standard Graph Neural Networks (GNNs) and neural operators usually cram everything onto mesh nodes and mix topology and geometry together inside unconstrained message-passing layers. Because the network has to learn basic calculus identities from data rather than getting them for free, predictions can violate conservation laws and fail to transfer when mesh shapes change.
Methods
Drawing from Discrete Exterior Calculus and Hodge theory, the authors propose a crisp architectural rule: keep topology fixed and learn geometry.
- Right-Sized Cochains & Fixed Topology: Physical fields are assigned to their natural mesh homes (called $k$-cochains): scalars on vertices ($0$-cochains), fluxes on edges ($1$-cochains), and intensities on faces ($2$-cochains). To move between them, RHMP freezes the combinatorial coboundary operators ($d_k$), which act as discrete derivatives. Because these are purely incidence matrices, $d_{k+1}d_k = 0$ holds exactly before, during, and after training.
- Learning Discrete Riemannian Metrics ($H_k$): All learnable physics is concentrated into symmetric positive-definite (SPD) matrices $H_k$, which act as discrete Riemannian metrics. Diagonal entries act like local cell weights (areas, conductivities), while off-diagonal structures capture directional/anisotropic couplings. Messages propagate via metric-weighted Hodge blocks ($d_k^\top H_{k+1} d_k$), guaranteeing nonnegative physical energies.
- Cochain-Frame Equivariance: A neural network's hidden feature channels live in an arbitrary coordinate basis. Rotating that internal basis by an orthogonal matrix $R \in O(C)$ shouldn't change the predicted physical geometry. RHMP achieves this by predicting $H_k$ purely from basis-invariant statistics (channel norms and neighbor inner products) and using norm-gated nonlinearities.
Datasets
The authors test RHMP across seven physical benchmarks designed to isolate distinct structural challenges:
- Navier–Stokes Vorticity (PDEBench): Fluid vorticity on a stretched periodic grid (aspect ratios up to 8).
- Torus Advection–Diffusion: Anisotropic scalar transport on a surface with nontrivial topology.
- Ellipsoid Surface Flow: Predicting 3D surface tangent vectors from scalar potentials.
- Maxwell Magnetostatics: Divergence-free magnetic flux prediction in nonlinear, saturating grain-oriented steel.
- $U(1)$ Wilson Loop & $SU(2)$ Yang–Mills: Lattice gauge-field tasks testing Abelian curvature invariance and non-Abelian nonlinear commutators ($F = dA + [A,A]$).
- AirfRANS: High-fidelity computational fluid dynamics (CFD) over airfoils, where every single sample has its own unique unstructured mesh.
Key Insights and Ideas
- Topology vs. Performance in Ablations: Ablation studies reveal a fascinating split. Removing the learned metric ($H_k = I$) tanks accuracy (e.g., $R^2$ drops from $0.96$ to $0.50$ on the Wilson loop). Conversely, making $d_k$ learnable or swapping norm-gates for standard ReLUs barely dents raw $R^2$ ($\le 0.04$), but completely shatters physical guarantees—breaking $d^2=0$ and ruining frame symmetry. RHMP gives you high accuracy and exact physics.
- Free Gauge Invariance: In electromagnetism and $U(1)$ gauge theory, shifting a potential by a gradient ($A \mapsto A + d_0\lambda$) shouldn't alter the physical field ($F = d_1 A$). Because $d_1 d_0 = 0$ is hardcoded into RHMP, exact Abelian gauge invariance happens automatically.
- Zero-Shot Mesh Generalization: Because the metric predictor learns a local rule based on cell geometry invariants rather than memorizing a fixed graph adjacency, RHMP trained on 1.9K-node airfoil meshes transfers directly to 0.55K and 6.9K meshes without retraining.
Key Results
Across 12 baselines—including GNNs (EGNN, GAT), topological networks (MPSN, CW Net), geometric CNNs (GEM-CNN), and neural operators (FNO, DeepONet)—RHMP takes the top spot on every benchmark:
- Fixed-Mesh Dominance: On Navier–Stokes vorticity, RHMP hits 0.994 SSIM (0.0054 NRMSE), handily beating both FNO (0.872 SSIM) on the stretched grid and the strongest geometric baseline, GEM-CNN (0.966 SSIM).
- Near-Exact Vector & Gauge Fields: On Ellipsoid Flow, $U(1)$ Wilson loops, and $SU(2)$ Yang–Mills, RHMP achieves SSIMs exceeding 0.9999 and NRMSEs down to $\sim 10^{-4}$. On Maxwell magnetostatics, using its differentiable physical-solve layer guarantees divergence-free magnetic flux ($d_1 \hat{b} = 0$) while reaching 0.979 SSIM (vs. 0.610 for GEM-CNN).
- Variable-Mesh CFD (AirfRANS): RHMP achieves 0.998 SSIM (0.0016 NRMSE) on test airfoils. When evaluated zero-shot on much coarser (0.55K) and finer (6.9K) meshes, RHMP maintains $R^2$ scores of 0.969 and 0.982, whereas topological/graph baselines collapse near zero and GEM-CNN drops to $0.728 / 0.677$.
- Structural Checks: Out of 10 numerical symmetry and topology tests, RHMP is the only model to pass all 10/10 (the runner-up, SCCNN, passes 6/10).
Limitations and Future Work
The authors highlight three main avenues for pushing RHMP further:
- Full Non-Abelian Gauge Covariance: While RHMP accurately predicts $SU(2)$ Yang–Mills field strengths using algebraic coupling, achieving strict mathematical gauge covariance for non-Abelian groups will require building group-valued parallel transport into the metric layer.
- Extreme Material Contrast: Highly heterogeneous media can create ill-conditioned matrices; developing better-conditioned SPD metric parameterizations is an important next step.
- Memory Scaling: Storing per-cell metric activations adds memory overhead on massive meshes, pointing toward compressed or basis-tied metric representations for industrial-scale 3D simulations.
Summary updated