π · GNoME-Mfg

One graph network for every engineered system

Seven engineering physics domains — truss deflection, circuit power flow, molecular energy, pipe flow, heat exchange, acoustic wave propagation, and structural vibration — all predicted by a single family of physics-grounded graph networks. Every failure is documented because the failures are the roadmap.

Table of contents
  1. The thesis
  2. Architecture
  3. Results
  4. What we fixed to make this real
  5. Physics grounding
  6. Simulation clips
  7. Limitations
  8. References
01 /

The thesis

Every engineered system is a graph. A truss is joints connected by members. A power grid is buses connected by lines. A molecule is atoms connected by bonds. A pipe network is junctions connected by segments. A heat exchanger is nodes connected by thermal paths. A vibrating structure is masses connected by springs.

GNoME-Mfg collapses all of these into one message-passing backbone and attaches a domain readout per physical quantity. The result is a single codebase that predicts seven different physics regimes instead of seven bespoke solvers.

The engineering effort was not the architecture. It was debugging the real failure modes that make models silently worse than predicting the average. Five bugs, five fixes, five honest numbers — documented because the failures are the roadmap.

7
physics domains in one codebase
5
bugs fixed to beat the mean predictor
0.92
R² vibration (best domain)
~160K
parameters per domain model
02 /

Architecture

Two message-passing families handle the two geometric regimes. A shared backbone processes any graph. A domain-specific readout predicts the physical quantity.

Input graph
nodes + edges + physics
→
Equivariant MP
truss, molecule
→
Generic MPNN
circuit, pipe, heat
→
Domain readout
per-quantity head
Layer familyGeometric regimeUsed for
EquivariantMPLayerScalar + vector channelsTruss displacement, molecular energy
MessagePassingLayerGeneric node featuresCircuit angles, pipe pressure, heat temperature, vibration, acoustic

Each domain model is a three-layer stack plus a small readout head. Targets are z-scored to unit variance before training — not cosmetic, but structural: the physical scales differ by ten orders of magnitude (metres vs pascals vs kelvin). Without standardization, the unscaled loss is dominated by whichever quantity has the largest variance.

03 /

Results

R² = 1 − NRMSE² on held-out graphs. R² = 1 is perfect, R² = 0 is the trivial mean predictor, and negative R² means the model is worse than predicting the average.

DomainPredicted quantityR²Status
Vibrationstatic displacement0.92converged
Heat exchangertemperature field0.90converged
Trussjoint displacement0.77partial (12 epochs)
Moleculartotal energy (log)0.51ranking ρ = 0.56
Circuitbus angle (DC power flow)—generator fixed, queued
Pipe flowjunction pressure—queued
Acousticwave field—queued
R² by domain
Figure 1. Predictive quality by domain. Values above zero beat the mean predictor. Vibration (0.92) and heat (0.90) are converged. Truss is partial. Molecular is weak but positive. Three domains are queued for GPU runs.

Four of seven domains beat the mean predictor with real margins. The queued rows are not idle: circuit previously failed because its flow target was random noise rather than a solved DC power flow. Acoustic failed because the model predicted acceleration while the rollout expected an increment. Both generators are now fixed and the full seven-domain run is queued on Kaggle GPU.

04 /

What we fixed to make this real

Silent failures are worse than loud failures. These five bugs each made a model silently worse than predicting the average.

1. Truss readout ignored vector nature of displacement. The original readout predicted displacement from rotation-invariant scalars only. Displacement is a vector — when the truss rotates, its deflection field rotates with it. A readout that sees only scalars cannot represent this. Fix: scalar-gated equivariant readout that takes vector channels. R² went from −0.07 (worse than mean) to 0.77.

2. Circuit targets were random noise. The original circuit generator produced flow targets as random angles — not a real DC power flow solution. The model could not learn what was not a function. Fix: replaced with an exact DC power flow solve (B·θ = P with pseudo-inverse for islanded buses). Flow is now a real function of network topology.

3. Truss generator emitted isolated nodes with infinite deflection. With 40% edge retention probability, some nodes become isolated — zero incident stiffness → disp = loads × 0.05/1e-6 = 50,000 m. A single pathological graph corrupted the z-scalers for the entire dataset (sd = 4,336 instead of ~1). Fix: floor stiffness denominator at 0.01. R² went from −∞ (divergent) to 0.77.

4. Acoustic solver violated the CFL stability bound. The finite-difference time-domain (FDTD) solver used dt = 0.001 s with dx = 0.125 m and c = 343 m/s. CFL number = 343 × 0.001 / 0.125 = 2.74, exceeding the stability limit of ~0.7. The wave field diverged to NaN. Fix: dt = dx / (c × √3) ≈ 0.0002 s.

5. Physics loss compared incompatible units. The original physics term equated force and strain — different physical quantities with different scales. On z-scored targets this meant the physics loss was fighting the data loss on different manifolds. Fix: dual z-scored targets with Hooke's law as an evaluation metric, not a training loss.

05 /

Physics grounding

Each domain carries a differentiable physics residual used as an evaluation metric, not just a training loss:

DomainGoverning lawHow it's checked
TrussHooke's law (F = EA · ΔL/L)Member stress vs strain on held-out loads
CircuitDC power flow (B·θ = P)Residual of the linear system
AcousticWave equation (∂²p/∂t² = c²∇²p)FDTD rollout vs predicted field
HeatFourier's law (q = −k∇T)Temperature gradient consistency
VibrationStatic equilibrium (Ku = f)Stiffness matrix residual
MolecularTotal energy decompositionEnergy prediction vs reference
PipeDarcy-Weisbach (ΔP = fL/D · ρv²/2)Pressure drop vs flow rate

The claim is not that we beat a finite-element solver. The claim is that the learned model and the governing law stay consistent on held-out data.

06 /

Simulation clips

Acoustic wave propagation
Figure 2. Acoustic wave field propagating from a central source, 60 timesteps of an FDTD solve used to train the acoustic model.
Truss deflection
Figure 3. A 10-joint truss, undeformed (blue) and after loading (red). The GNN predicts the deflection field.
Vibration mode
Figure 4. Static mode of a 12-mass spring chain — the highest-quality domain (R² 0.92).
07 /

Limitations

What still falls short. (1) The datasets are synthetic. Truss and circuit generators use closed-form or linear-system solutions, not full finite-element or power-flow solvers. Real design data is the next input. (2) Two domains (circuit, acoustic) have not yet produced converged numbers under the corrected generators. We do not claim results we have not measured. (3) Three-layer message passing is shallow relative to long-range interactions in real engineering systems. Hierarchical multi-scale aggregation is implemented but not yet benchmarked. (4) The full seven-domain GPU run is queued. The verified numbers here come from local partial runs while that queue clears. (5) No real-world validation — every result is on synthetic data. The gap between synthetic and real is the gap between a paper and a product.

08 /

References

  1. Belbute-Peres et al., "Combining Differentiable PDE Solvers and Graph Neural Networks for Fluid Flow Prediction," 2020. arXiv
  2. Moseley et al., "Solving the wave equation with physics-informed deep learning," 2020. arXiv
  3. Raissi et al., "Physics-informed neural networks," Journal of Computational Physics, 2019. arXiv
  4. Sanchez-Gonzalez et al., "Learning to simulate complex physics with graph networks," ICML 2020. arXiv
  5. Merchant et al., "Scaling deep learning for materials discovery" (GNoME), Nature 2023. Nature

Code: github.com/sehajr-singhs/gnome-manufacturing · Related: GNOmE · PSN-1 · Showcase