DeepMech: a machine learning framework for chemical reaction mechanism prediction

Read full text
Authors: Manajit Das, Ajnabiul Hoque, Mayank Baranwal, Raghavan B. Sunoj
Cited by: 1
References: 59

Abstract

to the product of immediate interest. Since sequence-to-sequence models that generate products character by character are prone to hallucination, we consider it important to develop DL models that prioritize reactivity over learning the syntax and semantics of sequences. The progress in reaction mechanism predictions is further limited by the lack of large-scale, mass-balanced datasets with mechanistic annotations. Motivated by these key lacunae, we introduce DeepMech, an interpretable graph-based DL framework that employs attention mechanisms at both atom and bond levels. Instead of end-to-end learning from reactants to products, our model incorporates a template of mechanistic operations (TMOp) for the generation of intermediates in elementary mechanistic steps. It leverages TMOps, to predict step-by-step mechanisms toward realizing full CRMs for a multitude of reaction classes of high contemporary significance. To train our DeepMech model, first we construct ReactMech, a meticulously curated dataset of about 30 K full reaction mechanisms, each comprising several atom-mapped elementary steps (totaling 100 K). DeepMech achieves a state-of-the-art accuracy of 98.98 ± 0.12% in predicting elementary steps and 95.94 ± 0.21% in complete CRM tasks. The model maintains high fidelity even in out-of-distribution scenarios involving unseen catalysts, ligands, and/or mechanistic classes. In so far as the generalizability goes, DeepMech effectively reconstructs multistep CRMs relevant to prebiotic chemistry, beginning from trivial primordial substrates such as nitrogen, ammonia, methane, water, and hydrogen cyanide, to complex biomolecules like serine and aldopentose. Further, attention-based interpretability analysis reveals that DeepMech correctly identifies reactive atoms and bonds, in line with chemical intuition. Collectively, DeepMech offers a promising step toward data-driven prediction of CRMs, with potential to expedite mechanistic understanding and reaction design across domains.

Fields of Study & Subjects

Machine Learning in Materials Science

Publication details

Journal / source
Chemical Science
Publisher
Royal Society of Chemistry (RSC)
Volume
17
Issue
33
Pages
15745–15761
Publication date
1 January 2026
Language
EN