Learning Discrete Riemannian Metrics for Physical Fields with Cochain-Frame Equivariance
Organizations: 1Princeton University
Abstract
Physical fields on meshes require a separation between topology and geometry: differential identities should remain exact, while geometry, material response, and anisotropic coupling are learned from data. Existing neural surrogates often mix these roles inside unconstrained message passing. We introduce Riemannian Hodge Message Passing (RHMP), which turns this separation into an architectural principle. RHMP fixes the cellular coboundaries () determined by oriented incidence and learns symmetric positive-definite cochain metrics () for geometry-dependent propagation. The learned metric defines how cochain fields are measured and coupled; its invariance to orthogonal changes of the hidden feature basis yields cochain-frame-equivariant propagation. RHMP implements this principle with metric-weighted Hodge blocks (), yielding exact cochain-complex identities (), nonnegative Hodge energies, positive-semidefinite operators, and exact Abelian curvature invariance. Across seven physical benchmarks spanning fluids, electromagnetism, gauge fields, and variable-mesh CFD, RHMP performs strongly across these systems, with the largest gains when topology, learned geometry, and field structure interact.
Figures & tables
| Graph | Topological | Geometric | Operator | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Task | Metric | GCN | GAT | SchNet | EGNN | MPSN | SCCNN | GaugeEqCNN | GEM-CNN | CW Net | Cliff-SMPN | DeepONet | RHMP |
| NS Vort | SSIM | .617 | .591 | .625 | .616 | .617 | .610 | .944 | .966 | .921 | .737 | .625 | .994 |
| Pearson | .159 | .095 | .082 | .092 | .134 | .028 | .900 | .941 | .880 | .548 | .226 | .991 | |
| NRMSE | .0350 | .0356 | .0349 | .0350 | .0336 | .0336 | .0126 | .0096 | .0140 | .0271 | .0349 | .0054 | |
| Torus Adv | SSIM | .777 | .863 | .793 | .780 | .766 | .763 | .940 | .961 | .932 | .893 | .289 | .990 |
| Pearson | .785 | .898 | .784 | .789 | .786 | .785 | .959 | .972 | .934 | .894 | .131 | .991 | |
Appendix figures & tables24 assets
Supplementary material from the paper’s appendix.
Appendix
| Variant | Params | Val | Test | NRMSE | SSIM | Pearson |
|---|---|---|---|---|---|---|
| scalar | 0.011M | 0.488 | 0.495 | 0.0235 | 0.7653 | 0.666 |
| diagonal, | 0.125M | 0.487 | 0.493 | 0.0236 | 0.7646 | 0.664 |
| diagonal-plus-basis, | 0.066M | 0.503 | 0.510 | 0.0232 | 0.7740 | 0.676 |
| diagonal-plus-basis, | 0.122M | 0.416 | 0.421 | 0.0252 | 0.7291 | 0.610 |
| full Cholesky | 36.573M | 0.452 | 0.455 | 0.0244 | 0.7449 | 0.637 |
| Metric quantity | Cells | Pearson | Slope | Intercept |
|---|---|---|---|---|
| Diagonal | ||||
| Tensor |
| Method | SSIM | Pearson | NRMSE | |||
|---|---|---|---|---|---|---|
| GCN | .682 | .837 | .0377 | .472 | .703 | .544 |
| GAT | .901 | .950 | .0243 | .698 | .877 | .600 |
| SchNet | .863 | .929 | .0272 | .455 | .845 | .558 |
| EGNN | .936 | .957 | .0195 | .679 | .921 | .678 |
| MPSN | .874 | .928 | .0257 | .781 | .862 | .681 |
| SCCNN | .695 | .837 | .0376 | .620 | .705 | .505 |
| Same ellipsoid, nodes | Other semi-axes | |||||
| Method | Orig. | 4625 | 577 | 290 | ||
| GCN | .009 | .009 | .009 | .009 | .008 | .009 |
| GAT | .010 | .009 | .010 | .011 | .009 | .010 |
| SchNet | .010 | .010 | .010 | .010 | .009 | .009 |
| EGNN | .010 | .010 | .010 | .010 | .009 | .009 |
| MPSN † | .014 | .014 | .014 | .014 | .013 | .012 |
| Method | Orig. | Stretched | Rot. | |
|---|---|---|---|---|
| GCN | .058 | .103 | .079 | .057 |
| GAT | .091 | .159 | .127 | .055 |
| SchNet | .049 | .104 | .192 | .043 |
| EGNN | .057 | .104 | .081 | .054 |
| MPSN † | .062 | .111 | .091 | .059 |
| SCCNN † | .062 | .106 | .079 | .062 |
| Method | Orig. | Held-out | Fine | Coarse | |||
|---|---|---|---|---|---|---|---|
| GCN | .002 | .002 | .008 | .008 | .001 | .006 | .014 |
| GAT | .037 | .037 | .026 | .003 | .027 | .001 | .064 |
| SchNet | .004 | .005 | .005 | .007 | .005 | .006 | .007 |
| EGNN | .051 | .049 | .033 | .002 | .049 | .025 | .071 |
| MPSN † | .065 | .056 | .051 | .008 | .053 | .008 | .086 |
| SCCNN † | .128 | .131 | .120 | .025 | .163 | .028 | .104 |
| Mesh scale | Fwd (ms) | Bwd (ms) | Peak mem (GB) | Trainable params | Activations (M) |
|---|---|---|---|---|---|
| 1K | 16.7 | 23.7 | 0.04 | 0.05M | 0.31 |
| 5K | 17.2 | 23.1 | 0.12 | 0.05M | 1.50 |
| 10K | 21.2 | 25.8 | 0.22 | 0.05M | 2.98 |
| 100K | 169.2 | 183.0 | 3.93 | 0.05M | 59.4 |
| Model | Params | Test | Test NRMSE | Wall time |
|---|---|---|---|---|
| RHMP ( , 3 layers) | 10.80M | 0.9823 | 0.0033 | 113 s |
| CW Net ( , 6 layers) | 11.30M | 0.9231 | 0.0069 | 2181 s |
| Method | NS Vort | Torus Adv | Ellips Flow | Maxwell | Wilson | Yang–Mills | Airfoil |
|---|---|---|---|---|---|---|---|
| GCN | |||||||
| GAT | |||||||
| SchNet | |||||||
| EGNN | |||||||
| MPSN | |||||||
| SCCNN |
| Method | NS Vort | Torus Adv | Ellips Flow | Maxwell | Wilson | Yang–Mills | Airfoil |
|---|---|---|---|---|---|---|---|
| GCN | |||||||
| GAT | |||||||
| SchNet | |||||||
| EGNN | |||||||
| MPSN | |||||||
| SCCNN |
| Method | NS Vort | Torus Adv | Ellips Flow | Maxwell | Wilson | Yang–Mills | Airfoil |
|---|---|---|---|---|---|---|---|
| GCN | |||||||
| GAT | |||||||
| SchNet | |||||||
| EGNN | |||||||
| MPSN | |||||||
| SCCNN |
| Method | NS Vort | Torus Adv | Ellips Flow | Maxwell | Wilson | Yang–Mills | Airfoil |
|---|---|---|---|---|---|---|---|
| GCN | |||||||
| GAT | |||||||
| SchNet | |||||||
| EGNN | |||||||
| MPSN | |||||||
| SCCNN |
| Method | NS Vort | Torus Adv | Ellips Flow | Maxwell | Wilson | Yang–Mills | Airfoil |
|---|---|---|---|---|---|---|---|
| GCN | |||||||
| GAT | |||||||
| SchNet | |||||||
| EGNN | |||||||
| MPSN | |||||||
| SCCNN |
| Method | NS Vort | Torus Adv | Ellips Flow | Maxwell | Wilson | Yang–Mills | Airfoil |
|---|---|---|---|---|---|---|---|
| GCN | |||||||
| GAT | |||||||
| SchNet | |||||||
| EGNN | |||||||
| MPSN | |||||||
| SCCNN |