Physics-Informed Graph Neural Networks for Conserved Dynamics

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 118 papers21 conceptsfrozen 2026-10-04

Standard Graph Neural Networks (GNNs) are excellent at learning patterns in data, but they often fail when applied to physical systems like orbiting planets, flowing fluids, or vibrating molecules. In these systems, certain quantities—energy, linear momentum, and angular momentum—must remain constant over time.

A standard GNN treats node features as digital information that can be infinitely copied and broadcast to neighbors. However, in physics, a force exerted by particle A on particle B must be matched by an equal and opposite force from B on A. Without this constraint, neural simulations suffer from "numerical drift," where a system gain or loses energy and momentum until the simulation explodes or grinds to a halt.

To solve this, researchers are moving away from treating physics as a "soft" suggestion in the loss function and are instead baking conservation laws directly into the GNN architecture.

Hard-Coding Newton’s Third Law

The most direct way to ensure a simulation respects the conservation of momentum is to enforce Newton’s Third Law: for every action, there is an equal and opposite reaction.

In a GNN, particles are nodes and interactions are edges. In a typical message-passing scheme, a node updates its state by aggregating messages from its neighbors. To conserve momentum, Vinay Sharma and Lukas Prantl propose architectures where the "force" message sent from node $i$ to node $j$ is strictly the negative of the message from $j$ to $i$.

Suresh Bishnoi and N. M. Anoop Krishnan implement this in the MCGNODE and BroGNet frameworks by calculating the net force on a particle as the sum of incoming edge forces minus outgoing edge forces. This "antisymmetric" constraint ensures that the total internal force across the entire graph sums to zero. Because the net internal force is zero, the total linear momentum of the system is preserved by construction, even if the neural network's weights are completely random.

Learning the Energy Landscape

While force-based models focus on momentum, another branch of research focuses on energy conservation through the lens of analytical mechanics. Instead of predicting accelerations directly, these models learn a scalar function representing the system's total energy.

  1. Hamiltonian Graph Neural Networks (HGNN): Suresh Bishnoi and Jayadeva use GNNs to learn the Hamiltonian ($H$), which represents the total energy (kinetic + potential). The system's evolution is then derived using Hamilton’s equations. Since the gradient of the Hamiltonian governs the dynamics, the energy remains constant along the predicted trajectory.
  2. Lagrangian Graph Neural Networks (LGnn): Ravinder Bhattoo and Sayan Ranu embed the Euler-Lagrange equations into the network. By learning the Lagrangian ($L = T - V$) and solving the resulting differential equations, the model naturally handles complex constraints, such as rigid bonds in a molecule, while maintaining physical rigor.

By learning the underlying energy surface rather than individual trajectories, these models can "reverse-engineer" symbolic laws. For example, Pablo Lemos and Miles Cranmer demonstrated that a GNN combined with symbolic regression could rediscover Newton’s law of universal gravitation from raw NASA trajectory data.

From Information Broadcast to Resource Flow

The concept of conservation extends beyond classical mechanics to "flow" systems like power grids or hydraulic networks. In a standard GNN, a node can "send" its value to ten neighbors without the value decreasing. In a physical flow, however, if you send 10 units of water out of a junction, those 10 units must be distributed among the pipes; they cannot be duplicated.

Pascal Plettenberg and Bernhard Sick introduced flow attention to address this. By normalizing attention scores across outgoing neighbors, the model enforces Kirchhoff’s conservation laws. This ensures that the "resource" (whether it's electricity, fluid, or traffic) is conserved as it moves through the graph, making the GNN a much more accurate proxy for physical infrastructure.

Why Structural Priors Matter

The primary advantage of these physics-informed architectures is not just accuracy on a test set, but generalization.

Because the fundamental laws of physics do not change with the number of particles, a model trained on a 10-particle system that "understands" momentum conservation can generalize "zero-shot" to a 1,000-particle system. Ravinder Bhattoo showed that LGnn could simulate systems two orders of magnitude larger than its training data.

Furthermore, these models are more data-efficient. As Khemraj Shukla and George Em Karniadakis note, embedding discrete differential operators (like divergence and curl) directly into the graph architecture restricts the model's search space to only physically plausible solutions. This allows the network to learn from sparse, noisy data that would leave a standard "black-box" GNN confused.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_physics_informed_graph_neural_networks_f_144d0772,
  title = {Physics-Informed Graph Neural Networks for Conserved Dynamics},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/physics-informed-graph-neural-networks-for-conserved-dynamics/rdr_144d07720e084119802b7b324afb63a3},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-02},
}

This exact version (version 1, frozen text):

@misc{lacuna_physics_informed_graph_neural_networks_f_144d0772_v1,
  title = {Physics-Informed Graph Neural Networks for Conserved Dynamics},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/physics-informed-graph-neural-networks-for-conserved-dynamics/rdr_144d07720e084119802b7b324afb63a3/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-02},
}