Efficiently Parameterized Neural Metriplectic Systems

Sandia National Laboratories (snl-nm), Albuquerque, Nm (United States), Anthony Gruber, Kookjin Lee, Haksoo Lim, Noseong Park, Nathaniel Trask2025

TL;DR

Neural Metriplectic Systems (NMS) offer a breakthrough in learning physical dynamics by embedding the laws of thermodynamics directly into the neural network architecture. By using exterior algebra to parameterize the model, the authors guarantee energy conservation and entropy production by design, outperforming existing physics-informed models in both accuracy and computational efficiency.

What Problem Does This Paper Address?

When we use standard neural networks to predict the behavior of physical systems (like a swinging pendulum or a chemical reaction), the models often "hallucinate" unphysical behavior. They might gain energy out of nowhere or violate the second law of thermodynamics by decreasing entropy in a closed system.

Existing "Physics-Informed Neural Networks" (PINNs) usually try to fix this by adding a penalty to the loss function—essentially "scolding" the network when it breaks the laws of physics. However, this is a "soft" constraint; the model can still drift into unphysical territory during long-term predictions. The challenge addressed here is creating a "hard" constraint: a model that is mathematically incapable of violating thermodynamic principles, regardless of how well it is trained.

Methods

The researchers utilize a Metriplectic framework, which splits the evolution of a system into two distinct parts:

  1. The Conservative Part: Uses a skew-symmetric matrix field ($L$) and the gradient of Energy ($E$) to represent reversible dynamics (like an ideal orbit).
  2. The Dissipative Part: Uses a symmetric positive semi-definite matrix field ($M$) and the gradient of Entropy ($S$) to represent irreversible processes (like friction or heat loss).

The core innovation lies in Exterior Algebra. Instead of just learning raw numbers, the network parameterizes these bracket matrices ($L$ and $M$) using multivector fields. This ensures that the resulting matrices always possess the correct symmetries (skew-symmetry for $L$ and symmetry/positivity for $M$) required to satisfy the First and Second Laws of Thermodynamics.

The model learns four things simultaneously from data: the Energy function $E(x)$, the Entropy function $S(x)$, and the two matrix fields $L(x)$ and $M(x)$.

Datasets

While the poster does not name a specific public dataset, it evaluates the NMS against several state-of-the-art baselines:

  • SPNN (Symplectic Parameterized Neural Networks)
  • GNODE (Generative Neural Ordinary Differential Equations)
  • GFINN (General Fluctuating Hydrodynamics Informed Neural Networks)

The evaluation involves simulated dynamical systems where Hamiltonian energy, position, momentum, and entropy production can be tracked over time to verify physical consistency.

Key Insights and Ideas

  • Independence from Training Quality: Because the physics are baked into the architecture, the model conserves energy and generates entropy even if the training hasn't fully converged. The "structure" does the heavy lifting.
  • Optimal Scaling: The method retains quadratic scaling ($n^2$) relative to the number of states ($n$). This is a significant win for efficiency, as many structured models become computationally prohibitive as the system complexity grows.
  • Stability as a Feature: The metriplectic structure naturally leads to stable feature propagation. In deep learning, "exploding" or "vanishing" gradients are common problems; here, the physical constraints act as a natural stabilizer for the network's internal dynamics.

Key Results

  • Superior Accuracy: NMS exhibits better predictive performance at a reduced computational cost compared to GFINN and GNODE.
  • Physical Fidelity: Qualitative plots show that NMS perfectly tracks the Hamiltonian ($H$) and maintains a non-negative instantaneous entropy production ($\dot{S}$), whereas competing models show significant drift or unphysical fluctuations.
  • Provable Generalization: The authors provide a rigorous a posteriori error estimate. They can mathematically bound the difference between the true state and the predicted state over time ($T$), providing a level of reliability rarely seen in "black box" AI.

Limitations and Future Work

  • Non-degeneracy: The theoretical guarantees currently focus on "nondegenerate" metriplectic systems. Systems with complex constraints or singular geometries might require further refinement of the exterior algebra approach.
  • Complexity of Parameterization: While the scaling is quadratic, the use of exterior algebra and multivector fields adds a layer of mathematical complexity to the initial model setup compared to a simple MLP.
  • Future Directions: The work paves the way for applying these "thermodynamically certain" models to complex real-world engineering problems, such as battery degradation modeling or climate simulation, where respecting energy laws is non-negotiable.

Summary updated

Abstract

Given simulated or experimental data, infer a metriplectic model which respects fundamental thermodynamic principles.
BibTeX
@misc{states2025efficiently,
  author = {Sandia National Laboratories (SNL-NM), Albuquerque, NM (United States) and Anthony Gruber and Kookjin Lee and Haksoo Lim and Noseong Park and Nathaniel Trask},
  title = {{Efficiently Parameterized Neural Metriplectic Systems}},
  year = {2025},
  doi = {10.2172/3022942},
}

Loading related content...

Figure