A systematic comparison of hard- and soft-constrained physics-informed molecular machine learning with the Clapeyron equation
Jan Pavšek, Jan G. Rittig, Alexander Mitsos
Abstract
In molecular machine learning (ML), significant progress has been made on integrating fundamental thermodynamic relations into ML models. Such physics-informed approaches can be categorized as hard-constrained, where the thermodynamic relations are embedded in the model architecture, and soft-constrained, where relations are included in the training loss. While both approaches have been applied to various property prediction tasks, a systematic comparison on experimental data is lacking. We herein compare hard- and soft-constrained approaches on a numerically challenging case study: the prediction of vapor pressure, saturated liquid and vapor molar volumes, and enthalpy of vaporization as functions of temperature for single-species vapor-liquid equilibrium, related by the exact Clapeyron equation. Furthermore, soft-constrained approaches in molecular ML typically balance data and physics losses with a fixed weighting factor, requiring careful tuning. To overcome this, we investigate the augmented Lagrangian method (ALM), well established in constrained optimization. We find that for the soft-constrained approach, using the ALM improves prediction performance in terms of constraint satisfaction by factor 2 and reduces training epochs compared to using a fixed penalty by 30%. Hence, in the soft-constrained approach, the use of the ALM is always recommended. The hard-constrained approach, which entails additional architectural design choices, can reach on par accuracy with the soft-constrained approach, at even higher thermodynamic consistency, reaching 12 orders of magnitude closer approximation of the Clapeyron equation. Overall, the hard-constrained approach is most promising when thermodynamic consistency is critical, yet requires tailoring the ML model architecture to the respective thermodynamic relation.
Create a lesson
Related papers
Spin Migration in the Argon Dimer
Stefanos Carlström, Serguei Patchkovskii, Misha Yu Ivanov
Accuracy of Vibrational Properties of Machine-Learning Force Fields for Molecular Crystal Transformations
Natalia Goncharova, Oskar Schweighofer, Johannes Hoja
Electron-Density-Informed Molecular Property Prediction Using Surrogate Functionals
Manuel V. Klockow, Simon Wagner, Roman Remme et al.
Unveiling the Influence of Graphitic Nanocarbon Structures, Defects, and Surface Functional Groups on Supercapacitive Performance in LiTFSI Electrolyte
Phongphot Sakulaue, Bénédicte Réty, Takafumi Ishii et al.
Quantum dynamics of an ion in an RF quadrupole trap with weak octupolar anharmonicity
Sukanya Jana, Anushree Dey, Pintu Manadal et al.
Quantitative modeling of acid-base equilibria
Qianjun Xu, Simin Liu, Cesare Malosso et al.