Predicting Activity Coefficients at Infinite Dilution for Varying Temperatures by Matrix Completion

Julie Damay, Fabian Jirasek, Marius Kloft, Michael Bortz, Hans Hasse

TL;DR

Researchers have developed a hybrid machine learning approach that combines matrix completion (iterative PCA) with classical thermodynamic equations to predict activity coefficients at infinite dilution across varying temperatures. This "physics-informed" model significantly outperforms the industry-standard physical model, modified UNIFAC (Dortmund), by learning latent molecular features directly from sparse experimental data.

What Problem Does This Paper Address?

In chemical engineering, designing separation processes like distillation or extraction requires knowing how components in a liquid mixture interact. This is described by activity coefficients ($\gamma$). The most critical values are those at infinite dilution ($\gamma^\infty$)—where one substance is so dilute it is surrounded only by the other.

While we have databases like the Dortmund Data Bank (DDB), they are "sparse." We have experimental data for thousands of binary mixtures, but there are millions of possible combinations used in industry. Furthermore, these interactions change with temperature. Traditional physical models (like UNIFAC) are good but often lack the specific "interaction parameters" needed for many mixtures. This paper aims to fill those gaps using machine learning that respects the laws of physics.

Methods

The authors use a technique called Matrix Completion, which is the same logic Netflix uses to recommend movies: if you and I like the same five movies, and you liked a sixth one I haven't seen, the system predicts I’ll like it too.

  1. Iterative PCA: The core algorithm is based on Principal Component Analysis. It assumes the solute-solvent matrix has a "low-rank structure," meaning the complex interactions can be explained by a few hidden (latent) features, such as molecular size or polarity.
  2. The Hybrid Approach: Pure machine learning can struggle with temperature. To fix this, the authors incorporated the Gibbs-Helmholtz equation, which states that the natural log of the activity coefficient is roughly linear with the inverse of temperature: $$\ln \gamma^\infty(T) = A_{ij} + \frac{B_{ij}}{T}$$
  3. The Workflow: Instead of completing a matrix of $\gamma^\infty$ values directly, the model completes two separate matrices: one for the constant $A$ and one for the constant $B$. By predicting these coefficients, the model can then calculate $\gamma^\infty$ at any temperature.

Datasets

The study relies on the Dortmund Data Bank (DDB), one of the world's largest repositories of thermodynamic data.

  • Initial Pool: 47,511 data points covering 18,698 different binary systems.
  • Preprocessing: The authors filtered out "poor" or "doubtful" data and excluded non-molecular compounds like ionic liquids or salts to ensure a clean baseline.
  • Benchmarks: They created isothermal subsets (fixed temperatures like 298.15 K and 303.15 K) and a specific temperature-dependent subset of 7,426 systems that had data across a range of at least 20 K.

Key Insights and Ideas

  • Chemical "Latent Features": The success of the model confirms that chemical behavior isn't random. PCA effectively "discovers" molecular descriptors (like hydrogen bonding capability or van der Waals forces) from the data itself, without being explicitly told what they are.
  • Denoising via Low-Rank Approximation: Experimental data is often "noisy" due to measurement errors. Because the Matrix Completion Method (MCM) looks for the underlying low-rank structure, it naturally filters out some of this noise, often providing a "cleaner" prediction than a single raw experimental point.
  • The "Data Density" Metric: The authors propose using the ratio $r_{obs}$ (observed entries relative to the sum of rows and columns) as a better indicator of prediction quality than the simple percentage of missing data.

Key Results

The MCM approach consistently beat the "gold standard" physical model, modified UNIFAC (Dortmund):

  • Isothermal Accuracy: At 303.15 K, the MCM predicted 90.4% of systems with an absolute error in $\ln \gamma^\infty$ of less than 0.3. In a head-to-head comparison on the same systems, MCM reached this accuracy for 87.9% of cases, while UNIFAC only managed 60.1%.
  • Temperature Dependency: When predicting across varying temperatures using the hybrid $A/B$ coefficient approach, the model maintained high performance, with 76.4% of all predictions falling within the 0.3 error bound.
  • Broad Applicability: Unlike UNIFAC, which requires specific group interaction parameters that may not exist for new molecules, the MCM can make predictions for any molecule already present in the matrix rows or columns.

Limitations and Future Work

  • No "Error Bars": Currently, the model provides a single prediction without a measure of uncertainty. The authors suggest using "bootstrapping" techniques in the future to provide error bars, which are vital for industrial process safety.
  • Initialization Requirements: The model requires at least one observation in a row and column to start. It cannot currently predict properties for a brand-new molecule that has zero experimental data in the database (the "cold start" problem).
  • Future Directions: The authors plan to incorporate "content-based filtering"—adding known chemical descriptors (like molecular weight or functional groups) to the matrix to improve predictions for rare or new molecules. They also see potential in applying this to other properties like gas solubility (Henry’s law constants).

Summary updated

BibTeX
@inproceedings{damay2021predicting,
  author = {Julie Damay and Fabian Jirasek and Marius Kloft and Michael Bortz and Hans Hasse},
  title = {{Predicting Activity Coefficients at Infinite Dilution for Varying Temperatures by Matrix Completion}},
  booktitle = {Industrial},
  year = {2021},
  doi = {10.1021/acs.iecr.1c02039},
}

Loading related content...

Figure