Predicting the stereoselectivity of chemical reactions by composite machine learning method

Pengyu HongScientific Reports 2026

TL;DR

This paper introduces a novel composite machine learning framework that dynamically routes chemical reaction data to different optimized models based on feature similarity. By using Gaussian Mixture Models to evaluate how "new" a reaction is compared to the training data, this approach slashes prediction errors for enantioselectivity ($\Delta\Delta G^\ddagger$) by over 70% compared to standard single-model approaches.

What Problem Does This Paper Address?

Stereoselectivity—specifically enantioselectivity, the degree to which a chemical reaction preferentially produces one mirror-image enantiomer over another—is a cornerstone of modern medicine and biology. Different enantiomers can have vastly different effects; for instance, one might treat a disease while its mirror image is toxic.

Historically, predicting and optimizing stereoselectivity has relied on qualitative rules of thumb or slow, trial-and-error experimentation. While researchers have recently turned to machine learning (ML) to quantitatively predict the energy differences ($\Delta\Delta G^\ddagger$) that dictate these outcomes, standard ML models suffer from a major flaw: they fail to generalize when a new reaction features molecules that look significantly different from the training data. This paper tackles this generalization gap by creating an adaptive system that changes its prediction strategy based on the novelty of the incoming reaction.

Methods

Instead of relying on a single "best" algorithm, the authors developed a composite machine learning method that acts as an intelligent routing system.

The framework consists of two main phases:

  1. Sensitivity & Optimization: The authors trained several standard models (including Support Vector Regression (SVR), Random Forest (RF), and LASSO), optimizing them via Bayesian optimization. Using Permutation Feature Importance, they discovered that nucleophile and imine features were the primary drivers of stereoselectivity predictions.
  2. Density-Based Routing: To handle new testing data, the authors used Gaussian Mixture Models (GMMs) to calculate the log-likelihood (similarity) of the test reaction's imine and nucleophile features against the training distribution.
Overview of the composite machine learning framework

Depending on the GMM similarity scores, the system routes the reaction to the most appropriate model:

  • High similarity for both components: Routed to an SVR model trained on all features.
  • High nucleophile similarity, low imine similarity: Routed to a Nucleophile-focused RF model that completely ignores imine features (highly practical since imines are notoriously difficult to isolate and characterize experimentally).
  • Low similarity overall: Routed to a simpler LASSO linear model to prevent the overfitting that typically occurs when complex models face out-of-distribution data.

Datasets

The models were trained and evaluated on Chiral Phosphoric Acid (CPA) catalysis data collected from multiple literature sources:

  • Training Data: 307 CPA reactions from a benchmark dataset by Reid et al., detailing the addition of protic nucleophiles to imines.
  • Testing Data: A mix of remaining reactions from Reid et al. and external datasets from Terada et al. (15 reactions), Chen et al. (15 reactions), and Zahrt et al. (34 reactions).

The molecular structures were parameterized into numerical features using density functional theory (DFT) calculations and molecular topologies, yielding 160 solvent features, 85 catalyst features, 15 nucleophile features, and 22 imine features.

Figure 1.   Generalized reaction scheme.

Key Insights and Ideas

  • One Size Does Not Fit All: A complex model like SVR yields excellent results on in-distribution data ($R^2 = 0.936$), but fails catastrophically when features shift. Knowing when to downgrade to a simpler model (LASSO) or drop a shifted feature set (imines) is key to robust generalization.
  • Feature Dominance: Sensitivity analysis revealed that catalyst and solvent features had surprisingly negligible impacts on the model's predictions. This was likely due to a lack of structural variation in the available training data, highlighting how heavily the model relies on the nucleophile and imine structures.
  • Pre-emptive Diagnosis: By using GMMs to calculate log-likelihoods, the framework can mathematically diagnose whether a test sample is out-of-distribution before attempting a prediction, providing a built-in confidence check.

Key Results

The composite framework significantly outperformed traditional single-model implementations across diverse test sets (categorized as R-A, R-B, and R-C based on their similarity profiles):

  • Error Reduction: The composite model reduced the Mean Squared Error (MSE) by more than 70% compared to using a standard state-of-the-art model globally without routing.
  • High Accuracy Across the Board: The framework achieved strong goodness-of-fit metrics across all test scenarios, hitting $R^2$ values of 0.84 (R-A), 0.97 (R-B), and 0.75 (R-C).
  • The Danger of Single Models: If the authors had blindly applied their best global model (SVR) to the highly dissimilar R-A test set, the $R^2$ would have plummeted to a poor 0.45 with an MSE of 0.85. The composite model safely routed this to LASSO, achieving an MSE of just 0.24.

Limitations and Future Work

The authors note that their training dataset lacked substantial variation in catalysts and solvents. Consequently, the framework might underrepresent the true impact of these components when applied to a broader, more diverse chemical space. Future work will focus on expanding this composite architecture to handle other diverse classes of stereoselective reactions beyond CPA-catalyzed additions.

Summary updated

BibTeX
@misc{hong2026predicting,
  author = {Pengyu Hong},
  title = {{Predicting the stereoselectivity of chemical reactions by composite machine learning method}},
  year = {2026},
  url = {https://openreview.net/forum?id=T1BjsXCP1W},
  howpublished = {Scientific Reports},
}
Figure