cs.LGMar 11, 2026

Differentiable Thermodynamic Phase-Equilibria for Machine Learning

Authors: Karim K. Ben Hicham, Moreno Ascani, Jan G. Rittig, Alexander Mitsos

Organizations: RWTH Aachen University, Process Systems Engineering (AVT.SVT), 52074 Aachen, Germany · Forschungszentrum Jülich GmbH, Institute of Climate and Energy Systems ICE-1: Energy Systems Engineering, 52425 Jülich, Germany · JARA-ENERGY, 52056 Aachen, Germany

Abstract

Accurate prediction of phase equilibria remains a central challenge in chemical engineering. Physics-consistent machine learning methods that incorporate thermodynamic structure into neural networks have recently shown strong performance for activity-coefficient modeling. However, extending such approaches to equilibrium data arising from an extremum principle, such as liquid-liquid equilibria, remains difficult. Here we present DISCOMAX, a differentiable algorithm for phase-equilibrium calculation that guarantees thermodynamic consistency at both training and inference, only subject to a user-specified discretization. The method combines discrete enumeration of feasible phase states with masked softmax aggregation in the backward pass, with the propagation of the true equilibrium state in the forward pass, using a straight-through gradient estimator to enable physics-consistent end-to-end learning of neural \gls{gE}-models. We show that this approach bears analogy to statistical thermodynamics, and we evaluate it on binary liquid-liquid equilibrium data where it outperforms existing surrogate-based methods, while offering a general framework for learning from different kinds of equilibrium data.

Figures & tables

Explore similar work

CardsList
  1. Clapeyron Neural Networks for Single-Species Vapor-Liquid Equilibria

    Feb 20, 2026Jan Pavšek, Alexander Mitsos, Elvis J. Sim +1Molecular Property PredictionMaterials Property Prediction

  2. Multi-Label Phase Diagram Prediction in Complex Alloys via Physics-Informed Graph Attention Networks

    Apr 9, 2026Eunjeong Park, Amrita BasakComputational Materials SciencePhysics-Informed GNNs

  3. FrOGS: Discrete Neural Sampler for Independent Alloy Configurations Across Chemical Conditions

    Sep 1, 2026Kyucheol Min, Elyssa Hofgard, Tess SmidtFree Energy CalculationMaterials Science