Evaluating the Performance of a Transformer-based Organic Reaction Prediction Model

29 June 2021, Version 1
This content is a preprint and has not undergone peer review at the time of posting.

Abstract

Forward and retrosynthetic organic reaction prediction are challenging applications of artificial intelligence (AI) research in chemistry. IBM’s freely available RXN for Chemistry (https://rxn.res.ibm.com) treats reaction prediction as a translation problem, by using transformer-based machine learning models trained on patent data to convert reactant SMILES string sequences into product strings. Here we characterize the performance of transformer models on 100 undergraduate text-book problems to expose reaction classes where the fundamentals of organic chemistry are violated. The forward prediction model is generally successful in predicting outcomes for substitution reactions and unsuccessful for elimination and organocopper reactions. For the retrosynthesis model, we found characteristic examples of a lack of atom conservation and nonsensical chemical transformations. We also compared the dif- ferences in molecular complexity and synthetic accessibility between predicted and literature reactions to probe how AI plans reactions compared to humans. Forward predictions replicated a similar distribution of differences in molecular complexity as the human reactions from the literature, whereas retrosynthetic predictions resulted in both positive and negative deviations from literature complexity. Finally, we analyzed the atom mapping in test reactions to expose errors in how the model identifies reactive atoms and species.

Keywords

machine learning
sequence-to-sequence methods
reaction prediction
deep learning

Supplementary materials

Title
Description
Actions
Title
Supporting Information
Description
Description of columns in linked files Supporting Figures referred to in the text
Actions

Supplementary weblinks

Comments

Comments are not moderated before they are posted, but they can be removed by the site moderators if they are found to be in contravention of our Commenting Policy [opens in a new tab] - please read this policy before you post. Comments should be used for scholarly discussion of the content in question. You can find more information about how to use the commenting feature here [opens in a new tab] .
This site is protected by reCAPTCHA and the Google Privacy Policy [opens in a new tab] and Terms of Service [opens in a new tab] apply.