arXiv:2610.36440cs.LGOct 2026

Manuscript Offprint

arXiv:2610.36440

Learning atomic interactions for the thermodynamics of liquid mixtures

Marco Hoffmann, Sebastian Schmitt, Hans Hasse, Fabian Jirasek

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Marco Hoffmann

RPTU Kaiserslautern-Landau

Kaiserslautern

marco.hoffmann@rptu.de

Sebastian Schmitt

RPTU Kaiserslautern-Landau

Kaiserslautern

sebastian.schmitt@rptu.de

Hans Hasse

RPTU Kaiserslautern-Landau

Kaiserslautern

hans.hasse@rptu.de

Fabian Jirasek

RPTU Kaiserslautern-Landau

Kaiserslautern

fabian.jirasek@rptu.de

ABSTRACT

Predictive models for activity coefficients, which describe the non-ideality of liquid mixtures, are foundational for process design and optimization. Group-contribution methods, such as UNIFAC, are computationally cheap and well established in process simulators. Modern machine learning models, such as HANNA, offer higher accuracy and broader applicability, but their integration into process simulation is expensive or even infeasible. In this work, we introduce COGNAC, a graph neural network that learns atom-level geometry and interaction parameters that depend on the molecular neighborhood and evaluates them in the UNIFAC framework. Trained on about 820,000 experimental data points, COGNAC achieves significantly higher accuracy than UNIFAC and HANNA for binary and multi-component mixtures, reduces error relative to HANNA by 13–63%, reliably predicts multi-phase equilibria and identifies azeotropes, yields interpretable parameters, and is strictly thermodynamically consistent. COGNAC evaluations run at a cost comparable to UNIFAC, thereby unlocking the potential of machine-learning models for process simulations.

1 Main

The feasibility and cost of distillation, extraction, and crystallization processes are governed by the non-ideality of the liquid phase. This non-ideality is quantified by the activity coefficients of the components, which are therefore central to the design and optimization of chemical processes. Because experimental data are unavailable for most mixtures of interest, activity coefficients are predicted with models for the excess Gibbs energy gEg^{E}, which express the non-ideality as a function of composition and temperature.

The most established predictive excess Gibbs energy models are group contribution (GC) methods, in particular UNIFAC and its variants [1, 2, 3, 4, 5, 6]. They decompose molecules into predefined structural groups and describe non-ideal mixture behavior through interactions between these groups. These models have been widely adopted in chemical engineering because they are computationally inexpensive and are implemented in most process simulators. At the same time, the predefined group structure limits the molecular resolution of UNIFAC models because they resolve the molecular neighborhood only coarsely. For example, modified UNIFAC (Dortmund), called mod. UNIFAC in the following, accounts for the molecular neighborhood of a hydroxyl group using subgroups that distinguish only the immediate bonding situation (OH bound to a primary, secondary, or tertiary carbon), but share their interaction parameters such that effects that extend beyond the nearest neighbors are lost. This limits the description of multifunctional molecules and structural isomers that decompose into the same groups. Furthermore, GC methods apply only to decomposable components for which both suitable structural groups and fitted parameters are available.

Quantum-chemistry (QC) based methods, such as COSMO-RS [7] and COSMO-SAC [8], compute activity coefficients from molecular surface-charge distributions and need no component-specific parameterizations. However, they require an expensive QC calculation per component and have not shown a systematic accuracy advantage over GC methods where both apply [9, 10, 11].

machine learning (ML) has recently opened alternatives to predictive thermodynamics, including hybrid strategies [12, 13, 14] that embed ML in an established physics-based model and train it to predict the model's parameters [15, 16, 17, 18]. Hayer et al. [19, 20] applied matrix completion methods (MCM) to complete the interaction parameter tables of UNIFAC [1] and mod. UNIFAC [3], yielding models with broader applicability and higher accuracy than their predecessors. However, these new methods still rely on the predefined functional groups of the original UNIFAC formulation, and certain types of molecules (e.g., most ionic liquids) remain out of scope. Following a similar idea, SPT-NRTL [21] predicts the parameters of the Non-Random-Two-Liquid (NRTL) model [22] from SMILES with a transformer [23].

Another hybrid strategy uses flexible neural networks to directly predict excess Gibbs energy or activity coefficients while incorporating physical constraints into the ML architecture or training loss [24, 25, 26, 27, 28]. The most accurate of these models, HANNA [27, 28], relies on pre-trained molecular embeddings (ChemBERTa-2 [29]) and enforces Gibbs–Duhem consistency, equivariance, and the pure-component limits by construction. The hybrid models are accurate and broadly applicable because they need only molecular structure as input. However, because the neural network is part of the thermodynamic model, it must be evaluated at every simulation step. This makes neural-network-based models prohibitively expensive for simulation purposes.

Here, we introduce COGNAC (local-COmposition Graph Neural network for the prediction of Activity Coefficients), a gEg^{E} model that combines a graph neural network (GNN) with the local-composition framework of mod. UNIFAC. In this framework, mixture non-ideality arises from an ensemble of pairwise interacting sites, a picture that QC-based methods also share (Supplementary Note 1). COGNAC retains the local-composition framework but fundamentally changes what an interaction site is: instead of predefined structural groups, it uses individual atoms, whose geometry and interaction parameters depend on their molecular neighborhood. In COGNAC, each atom's molecular neighborhood extends over several bonds and influences all its parameters, including pair interactions. COGNAC therefore captures how neighboring functional groups influence each other, something structural groups cannot resolve. For the user, a single network evaluation turns the SMILES of the components in a mixture into a mod. UNIFAC parameter table that any process simulator can use.

Fig. 1 gives an overview of the COGNAC architecture. A message-passing neural network [32] encodes each atom in each component together with its molecular neighborhood within four bonds; symmetry-equivalent atoms receive identical embeddings, and hydrogens bound to non-carbon atoms are explicit nodes, making hydrogen-bond donors and acceptors distinct sites. From these embeddings, one network predicts each atom's volume and surface-area parameters, and another predicts the interaction parameters for every atom pair. The parameters enter the unchanged mod. UNIFAC equations: molecular geometry in the combinatorial contribution, surface areas and pair interactions in the residual contribution.

COGNAC is trained end-to-end on 822,780 experimental data points for 48,432 binary mixtures from the Dortmund Data Bank (DDB) [33], including vapor–liquid equilibria (VLE), liquid–liquid equilibria (LLE), solid–liquid equilibria (SLE), activity coefficients at infinite dilution (ACT), and excess enthalpies (HE). The learned atomic surface areas and molecular volumes are regularized against COSMO [34] cavity data from the CHAOS database [35]. Training on LLE data is enabled by a differentiable phase-split solver combining the convex envelope method [36, 37, 38] with a Newton step (Methods).

Separating parameter prediction from thermodynamic evaluation has several advantages. The excess Gibbs energy and all derived properties are smooth and satisfy the Gibbs–Duhem equation, permutation symmetry, and the pure-component limits by construction; the same equations describe binary and multi-component mixtures without additional parameters or a separate multi-component approximation; the learned geometry and interaction parameters are interpretable; and because they are generated once for a specified component set and reused across compositions and temperatures, phase-equilibrium calculations and process simulations require no further neural network evaluations.

a Molecular representations

Figure

SMILES + RDKit

Acceptor O

Donor H

Message passing (MPNN)

Equivalent atoms share embeddings

b Atom-level parameters

Informed atom embeddings

hah_{a}

Figure

Geometry head

ha,hbh_{a}, h_{b}

Figure

Interaction head

Ra,QaR_{a}, Q_{a}

aab,bab,caba_{ab}, b_{ab}, c_{ab}

Sum over atoms in component i

ri=∑a∈iRar_i = \sum_{a \in i} R_a

qi=∑a∈iQaq_i = \sum_{a \in i} Q_a

c Local-composition framework

Figure

ln⁡γi=ln⁡γiC+ln⁡γiR\ln \gamma_i = \ln \gamma_i^C + \ln \gamma_i^R

d Application

  1. Define the system

Figure

Build molecular graphs

  1. Generate parameters

R

Q

a, b, c

Figure

Evaluate MPNN and heads once

  1. Property prediction and process simulation

Figure

VLE, LLE, SLE,

azeotropes, ...

Figure

Easy integration

into simulators

No neural network evaluation required

Figure 1: Overview of the COGNAC model architecture and its application. a, Molecular graphs constructed from SMILES [30] using RDKit [31] are encoded by a message-passing neural network (MPNN). Heavy atoms and hydrogens bound to non-carbon atoms form explicit nodes, allowing hydrogen-bond donors and acceptors to be resolved. Atoms with identical molecular neighborhoods within the message-passing radius obtain identical embeddings. b, Two prediction heads map the context-aware atom embeddings hah_a to volume and surface-area parameters RaR_a and QaQ_a, and pairs of embeddings to the symmetric interaction coefficients aaba_{ab}, babb_{ab}, and cabc_{ab} of the exported parameter table (Methods). Summing the respective atom-level geometry parameters gives the molecular quantities rir_i and qiq_i. c, The learned parameters and the state point (composition x and temperature T) are processed in a local-composition framework. The combinatorial contribution accounts for size and shape effects, while atomic surface areas and pair interactions determine the residual contribution. Together, the two contributions yield the activity coefficient of component i. d, For a specified component set, parameters need to be generated only once and can be reused across compositions and temperatures without further neural network evaluations. The obtained atom-level parameter vectors R and Q and interaction matrices a, b, and c enable, e.g., the prediction of vapor–liquid (VLE), liquid–liquid (LLE), and solid–liquid (SLE) equilibria, azeotropes, and residue curve maps for binary and multi-component mixtures, and can easily be implemented in process simulations.

References (45)