# WGFINNs: Weak formulation-based GENERIC formalism informed neural networks

arXiv: https://arxiv.org/abs/2604.02601 · HTML: https://mlsanity.com/paper/2604.02601/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 30 of its 65 references that are in the map.
- First posted on arXiv 3 Apr 2026.

## Builds on (most cited first, 30 of 30)

- [Deep Residual Learning for Image Recognition](https://mlsanity.com/paper/1512.03385/) (2015)
- [PyTorch: An Imperative Style, High-Performance Deep Learning Library](https://mlsanity.com/paper/1912.01703/) (2019)
- [Neural Ordinary Differential Equations](https://mlsanity.com/paper/1806.07366/) (2018)
- [Deep learning for universal linear embeddings of nonlinear dynamics](https://mlsanity.com/paper/1712.09707/) (2017)
- [Hidden Physics Models: Machine Learning of Nonlinear Partial Differential Equations](https://mlsanity.com/paper/1708.00588/) (2017)
- [Physics-informed learning of governing equations from scarce data](https://mlsanity.com/paper/2005.03448/) (2020)
- [Weak SINDy For Partial Differential Equations](https://mlsanity.com/paper/2007.02848/) (2020)
- [Dynamic mode decomposition with control](https://mlsanity.com/paper/1409.6358/) (2014)
- [Deep Fluids: A Generative Network for Parameterized Fluid Simulations](https://mlsanity.com/paper/1806.02071/) (2018)
- [Residual-based attention in physics-informed neural networks](https://mlsanity.com/paper/2307.00379/) (2023)
- [Structure-preserving neural networks](https://mlsanity.com/paper/2004.04653/) (2020)
- [Machine learning structure preserving brackets for forecasting irreversible processes](https://mlsanity.com/paper/2106.12619/) (2021)
- [GFINNs: GENERIC Formalism Informed Neural Networks for Deterministic and Stochastic Dynamical Systems](https://mlsanity.com/paper/2109.00092/) (2021)
- [Data-Driven Deep Learning of Partial Differential Equations in Modal Space](https://mlsanity.com/paper/1910.06948/) (2019)
- [Data-driven reduced-order models via regularized operator inference for a single-injector combustion process](https://mlsanity.com/paper/2008.02862/) (2020)
- [Deep learning of thermodynamics-aware reduced-order models from data](https://mlsanity.com/paper/2007.03758/) (2020)
- [gLaSDI: Parametric Physics-informed Greedy Latent Space Dynamics Identification](https://mlsanity.com/paper/2204.12005/) (2022)
- [GPLaSDI: Gaussian Process-based Interpretable Latent Space Dynamics Identification through Deep Autoencoder](https://mlsanity.com/paper/2308.05882/) (2023)
- [PDE-READ: Human-readable Partial Differential Equation Discovery using Deep Learning](https://mlsanity.com/paper/2111.00998/) (2021)
- [Non-intrusive reduced-order models for parametric partial differential equations via data-driven operator inference](https://mlsanity.com/paper/2110.07653/) (2021)
- [tLaSDI: Thermodynamics-informed latent space dynamics identification](https://mlsanity.com/paper/2403.05848/) (2024)
- [A Comprehensive Review of Latent Space Dynamics Identification Algorithms for Intrusive and Non-Intrusive Reduced-Order-Modeling](https://mlsanity.com/paper/2403.10748/) (2024)
- [Direct Estimation of Parameters in ODE Models Using WENDy: Weak-form Estimation of Nonlinear Dynamics](https://mlsanity.com/paper/2302.13271/) (2023)
- [Weak-Form Latent Space Dynamics Identification](https://mlsanity.com/paper/2311.12880/) (2023)
- [WeakIdent: Weak formulation for Identifying Differential Equations using Narrow-fit and Trimming](https://mlsanity.com/paper/2211.03134/) (2022)
- [Bayesian Deep Learning for Partial Differential Equation Parameter Discovery with Sparse and Noisy Data](https://mlsanity.com/paper/2108.04085/) (2021)
- [The Weak Form Is Stronger Than You Think](https://mlsanity.com/paper/2409.06751/) (2024)
- [Thermodynamically Consistent Latent Dynamics Identification for Parametric Systems](https://mlsanity.com/paper/2506.08475/) (2025)
- [A practical identifiability criterion leveraging weak-form parameter estimation](https://mlsanity.com/paper/2506.17373/) (2025)
- [Weak Form Scientific Machine Learning: Test Function Construction for System Identification](https://mlsanity.com/paper/2507.03206/) (2025)

## Abstract (arXiv)

Data-driven discovery of governing equations from noisy observations remains a fundamental challenge in scientific machine learning. While GENERIC formalism informed neural networks (GFINNs) provide a principled framework that enforces the laws of thermodynamics by construction, their reliance on strong-form loss formulations makes them highly sensitive to measurement noise. To address this limitation, we propose weak formulation-based GENERIC formalism informed neural networks (WGFINNs), which integrate the weak formulation of dynamical systems with the structure-preserving architecture of GFINNs. WGFINNs significantly enhance robustness to noisy data while retaining exact satisfaction of GENERIC degeneracy and symmetry conditions. We further incorporate a state-wise weighted loss and a residual-based attention mechanism to mitigate scale imbalance across state variables. Theoretical analysis contrasts quantitative differences between the strong-form and the weak-form estimators. Mainly, the strong-form estimator diverges as the time step decreases in the presence of noise, while the weak-form estimator can be accurate even with noisy data if test functions satisfy certain conditions. Numerical experiments demonstrate that WGFINNs consistently outperform GFINNs at varying noise levels, achieving more accurate predictions and reliable recovery of physical quantities.
