A data-driven approach to interfacial polymerization exploiting machine learning for predicting thin-film composite membrane formation

Gergő Ignácz, Muhammad Irshad Baig, Karuppasamy Gopalsamy, Andres Villa, Suzana P. Nunes, Bernard Ghanem, Tejus Shastry, Sanat Kumar, György SzékelyMaterials 2025

Abstract

Polymeric thin-film membranes prepared by interfacial polymerization (IP) are the cornerstone of liquid separation, with the potential to reduce industrial waste and energy consumption. However, the limited diversity of monomers may hinder further development by restricting the accessible chemical space. This study proposes a "divide & conquer" approach for the interfacial polymerization membrane development pipeline. By constructing an unprecedentedly large and open-access dataset of 1,246 interfacial reactions, the researchers trained five machine learning models on molecular structures and density functional theory calculations to study film formation. The results indicate that film formation can be predicted directly from monomers, shifting the focus from performance prediction to the fundamental step of thin-film formation and offering a new perspective in data-driven membrane research.

Introduction: The Challenge of Membrane Discovery

Thin-film composite (TFC) membranes are the workhorses of modern desalination and molecular separations. They are typically made via interfacial polymerization (IP)—a process where two monomers react at the boundary of two immiscible liquids (like oil and water) to form a polymer skin.

Artistic representation of interfacial polymerization at the liquid-liquid interface.

Despite their importance, the "chemical space" of monomers used in industry is surprisingly narrow, largely unchanged since the 1970s. Traditional research is a slow, trial-and-error process where scientists try to predict a membrane's performance (flux and rejection) before even knowing if the monomers will successfully form a stable film. Furthermore, the scientific literature suffers from a massive "publication bias": researchers rarely report "negative results" (reactions that failed to form a film), leaving machine learning models with a skewed, "success-only" view of chemistry that fails in real-world applications.

Methods: The "Divide & Conquer" Approach

The authors propose a "divide & conquer" approach that isolates the early-stage exploration of film formation from later-stage performance tuning. Key technical components include:

  • High-Throughput Experimentation: The team conducted 1,246 pairwise reactions using 18 organic-phase and 73 water-phase monomers.
  • Machine Learning Models: They trained and compared five architectures: Extreme Gradient Boosting (XGB), Graph Neural Networks (GNN), Logistic Regression, Support Vector Machines (SVM), and Naive Bayes.
  • Feature Engineering: Models were fed structural data (SMILES/Morgan fingerprints) and electronic properties calculated via Density Functional Theory (DFT), such as HOMO/LUMO energies and electrophilicity.
  • Computer Vision: They employed EfficientNetv2 to classify optical microscopy images of the resulting membranes into five distinct morphological categories (e.g., dendritic, crystalline, dense).

Datasets

The study introduces a massive, open-access dataset consisting of over 1,700 examples, including the authors' 1,246 in-house reactions. Unlike previous datasets, this one includes a high volume of negative results, providing a realistic "hit ratio" of approximately 13%. This inclusion of failure is critical for training models to recognize the boundaries of the chemical design space and perform "virtual screening" to eliminate non-viable monomer pairs before entering the lab.

Key Insights and Results

  • XGBoost Performance: The XGB model achieved a Matthews Correlation Coefficient (MCC) of 0.741 on the in-house dataset, significantly outperforming baseline models. In "leave-one-out" testing, XGBoost showed superior generalization compared to GNNs, suggesting that for tabular chemical data, boosting trees are currently more robust than deep learning on graphs.
  • The "Binomial" Nature of Formation: The authors observed that if a monomer tends to form a film, it usually does so across a wide range of partners. This suggests that underlying reactivity and diffusion properties are the primary drivers of success.
  • Morphology is Quantifiable: The EfficientNetv2-m model achieved an impressive 85% average accuracy in classifying membrane morphology from optical images. The use of Grad-CAM visualizations confirmed that the model focuses on specific edges and clusters to classify membrane types, effectively automating expert intuition.

Conclusion and Future Work

This study explored 6.5 times more thin-film reactions than previously reported in the literature combined, vastly expanding the known chemical space for TFC membranes. While a major step forward, the authors acknowledge that future models must incorporate variations in concentration, solvent types, and reaction temperatures to capture the full physics of the interface. The ultimate goal is to integrate these predictive models with autonomous robotic platforms to enable fully automated, data-driven discovery of the next generation of separation membranes.

Summary updated

BibTeX
@inproceedings{ignacz2025data,
  author = {Gergő Ignácz and Muhammad Irshad Baig and Karuppasamy Gopalsamy and Andres Villa and Suzana P. Nunes and Bernard Ghanem and Tejus Shastry and Sanat Kumar and György Székely},
  title = {{A data-driven approach to interfacial polymerization exploiting machine learning for predicting thin-film composite membrane formation}},
  booktitle = {Materials},
  year = {2025},
  doi = {10.1039/d5mh01420d},
}
Figure