Mapping the space of chemical reactions using attention-based neural networks
Open accessThe DOI matches its Crossref record; 58 of the 58 references it cites were found in a registry or an index.
Abstract
Organic reactions are usually assigned to classes containing reactions with similar reagents and mechanisms. Reaction classes facilitate the communication of complex concepts and efficient navigation through chemical reaction space. However, the classification process is a tedious task. It requires identification of the corresponding reaction class template via annotation of the number of molecules in the reactions, the reaction centre and the distinction between reactants and reagents. Here, we show that transformer-based models can infer reaction classes from non-annotated, simple text-based representations of chemical reactions. Our best model reaches a classification accuracy of 98.2%. We also show that the learned representations can be used as reaction fingerprints that capture fine-grained differences between reaction classes better than traditional reaction fingerprints. The insights into chemical reaction space enabled by our learned fingerprints are illustrated by an interactive reaction atlas providing visual clustering and similarity searching. Organic chemical reactions can be divided into classes that allow chemists to use the knowledge they have about optimal conditions for specific reactions in the context of other reactions of similar type. Schwaller et al. present here an efficient method based on transformer neural networks that learns a chemical space in which reactions of a similar class are grouped together.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404
Scikit-learn: Machine Learning in Python
Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Müller, A., Nothman, J., Louppe, G., et al. (2012) · arXiv · doi:10.48550/arxiv.1201.0490 · Cited by 71,016
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1423 · Cited by 54,325
PyTorch: An Imperative Style, High-Performance Deep Learning Library
Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., et al. (2019) · arXiv · doi:10.48550/arxiv.1912.01703 · Cited by 31,473
Advances in neural information processing systems 7
Cios, K., & Shields, M. (1997) · Neurocomputing · doi:10.1016/s0925-2312(97)90018-7 · Cited by 22,059
Palladium-Catalyzed Cross-Coupling Reactions of Organoboron Compounds
Miyaura, N., & Suzuki, A. (1995) · Chemical Reviews · doi:10.1021/cr00039a007 · Cited by 12,817
Transformers: State-of-the-Art Natural Language Processing
Wolf, T., Debut, L., Sanh, V., Chaumond, J., Delangue, C., Moi, A., Cistac, P., Rault, T., Louf, R., Funtowicz, M., et al. (2020) · Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing: System Demonstrations · doi:10.18653/v1/2020.emnlp-demos.6 · Cited by 8,741
Weininger, D. (1988) · Journal of Chemical Information and Computer Sciences · doi:10.1021/ci00057a005 · Cited by 7,436
Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank
Socher, R., Perelygin, A., Wu, J., Chuang, J., Manning, C. D., Ng, A., & Potts, C. (2013) · Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/d13-1170 · Cited by 6,878
Comparison of the predicted and observed secondary structure of T4 phage lysozyme
Matthews, B. W. (1975) · Biochimica et Biophysica Acta (BBA) - Protein Structure · doi:10.1016/0005-2795(75)90109-9 · Cited by 5,399
Billion-scale similarity search with GPUs
Johnson, J., Douze, M., & Jegou, H. (2021) · IEEE Transactions on Big Data · doi:10.1109/tbdata.2019.2921572 · Cited by 4,228
Billion-scale similarity search with GPUs
Johnson, J., Douze, M., & Jégou, H. (2017) · arXiv · doi:10.48550/arxiv.1702.08734 · Cited by 4,140
HuggingFace's Transformers: State-of-the-art Natural Language Processing
Wolf, T., Debut, L., Sanh, V., Chaumond, J., Delangue, C., Moi, A., Cistac, P., Rault, T., Louf, R., Funtowicz, M., et al. (2019) · arXiv · doi:10.48550/arxiv.1910.03771 · Cited by 3,347
Convolutional Networks on Graphs for Learning Molecular Fingerprints
Duvenaud, D., Maclaurin, D., Aguilera-Iparraguirre, J., Gómez-Bombarelli, R., Hirzel, T., Aspuru-Guzik, A., & Adams, R. P. (2015) · arXiv · doi:10.48550/arxiv.1509.09292 · Cited by 2,628
Analysis of the reactions used for the preparation of drug candidate molecules
Carey, J. S., Laffan, D., Thomson, C., & Williams, M. T. (2006) · Organic & Biomolecular Chemistry · doi:10.1039/b602413k · Cited by 1,915
Planning chemical syntheses with deep neural networks and symbolic AI
Segler, M. H. S., Preuss, M., & Waller, M. P. (2018) · Nature · doi:10.1038/nature25978 · Cited by 1,847
OpenNMT: Open-Source Toolkit for Neural Machine Translation
Klein, G., Kim, Y., Deng, Y., Senellart, J., & Rush, A. (2017) · Proceedings of ACL 2017, System Demonstrations · doi:10.18653/v1/p17-4012 · Cited by 1,749
JOURNAL OF CHEMICAL INFORMATION AND MODELING
(2005) · Chemical & Engineering News Archive · doi:10.1021/cen-v083n019.p031 · Cited by 1,553
SMILES. 2. Algorithm for generation of unique SMILES notation
Weininger, D., Weininger, A., & Weininger, J. L. (1989) · Journal of Chemical Information and Computer Sciences · doi:10.1021/ci00062a008 · Cited by 1,286
Neural Network Acceptability Judgments
Warstadt, A., Singh, A., & Bowman, S. R. (2019) · Transactions of the Association for Computational Linguistics · doi:10.1162/tacl_a_00290 · Cited by 1,215
Association for Computational Linguistics
Hirst, G. (2006) · Encyclopedia of Language & Linguistics · doi:10.1016/b0-08-044854-2/05234-2 · Cited by 1,140
Molecular Transformer: A Model for Uncertainty-Calibrated Chemical Reaction Prediction
Schwaller, P., Laino, T., Gaudin, T., Bolgar, P., Hunter, C. A., Bekas, C., & Lee, A. A. (2019) · ACS Central Science · doi:10.1021/acscentsci.9b00576 · Cited by 928
Self-citationPrediction of Organic Reaction Outcomes Using Machine Learning
Coley, C. W., Barzilay, R., Jaakkola, T. S., Green, W. H., & Jensen, K. F. (2017) · ACS Central Science · doi:10.1021/acscentsci.7b00064 · Cited by 751
Comparing two K-category assignments by a K-category correlation coefficient
Gorodkin, J. (2004) · Computational Biology and Chemistry · doi:10.1016/j.compbiolchem.2004.09.006 · Cited by 545
Willighagen, E. L., Mayfield, J. W., Alvarsson, J., Berg, A., Carlsson, L., Jeliazkova, N., Kuhn, S., Pluskal, T., Rojas-Chertó, M., Spjuth, O., et al. (2017) · Journal of Cheminformatics · doi:10.1186/s13321-017-0220-4 · Cited by 527
rdkit/rdkit: 2016_03_5 (Q1 2016) Release
Landrum, G. A., Kelley, B., Tosco, P., Sriniker, Gedeck, NadineSchneider, Vianello, R., Dalke, A., AlexanderSavelyev, Turk, S., et al. (2016) · Socio-Environmental Systems Modeling · doi:10.5281/zenodo.591637 · Cited by 449
Angewandte Chemie International Edition in English
(2018) · Angewandte Chemie International Edition in English · doi:10.1002/(issn)1521-3773a · Cited by 446
Schwaller, P., Gaudin, T., Lányi, D., Bekas, C., & Laino, T. (2018) · Chemical Science · doi:10.1039/c8sc02339e · Cited by 441
Self-citationUsing Machine Learning To Predict Suitable Conditions for Organic Reactions
Gao, H., Struble, T. J., Coley, C. W., Wang, Y., Green, W. H., & Jensen, K. F. (2018) · ACS Central Science · doi:10.1021/acscentsci.8b00357 · Cited by 431
Schneider, N., Lowe, D. M., Sayle, R. A., Tarselli, M. A., & Landrum, G. A. (2016) · Journal of Medicinal Chemistry · doi:10.1021/acs.jmedchem.6b00153 · Cited by 427
The CHEMDNER corpus of chemicals and drugs and its annotation principles
Krallinger, M., Rabal, O., Leitner, F., Vazquez, M., Salgado, D., Lu, Z., Leaman, R., Lu, Y., Ji, D., Lowe, D. M., et al. (2015) · Journal of Cheminformatics · doi:10.1186/1758-2946-7-s1-s2 · Cited by 404
Schwaller, P., Petraglia, R., Zullo, V., Nair, V. H., Haeuselmann, R. A., Pisoni, R., Bekas, C., Iuliano, A., & Laino, T. (2020) · Chemical Science · doi:10.1039/c9sc05704h · Cited by 403
Self-citationComputer-Assisted Retrosynthesis Based on Molecular Similarity
Coley, C. W., Rogers, L., Green, W. H., & Jensen, K. F. (2017) · ACS Central Science · doi:10.1021/acscentsci.7b00355 · Cited by 402
Neural Networks for the Prediction of Organic Chemistry Reactions
Wei, J. N., Duvenaud, D., & Aspuru-Guzik, A. (2016) · ACS Central Science · doi:10.1021/acscentsci.6b00219 · Cited by 392
One molecular fingerprint to rule them all: drugs, biomolecules, and the metabolome
Capecchi, A., Probst, D., & Reymond, J.-L. (2020) · Journal of Cheminformatics · doi:10.1186/s13321-020-00445-4 · Cited by 363
Self-citationExtraction of organic chemistry grammar from unsupervised learning of chemical reactions
Schwaller, P., Hoover, B., Reymond, J.-L., Strobelt, H., & Laino, T. (2021) · Science Advances · doi:10.1126/sciadv.abe4166 · Cited by 296
Self-citationVisualization of very large high-dimensional data sets as minimum spanning trees
Probst, D., & Reymond, J.-L. (2020) · Journal of Cheminformatics · doi:10.1186/s13321-020-0416-x · Cited by 295
Self-citationPrediction of chemical reaction yields using deep learning
Schwaller, P., Vaucher, A. C., Laino, T., & Reymond, J.-L. (2021) · Machine Learning: Science and Technology · doi:10.1088/2632-2153/abc81d · Cited by 291
Self-citationA Structure-Based Platform for Predicting Chemical Reactivity
Sandfort, F., Strieth-Kalthoff, F., Kühnemund, M., Beecks, C., & Glorius, F. (2020) · Chem · doi:10.1016/j.chempr.2020.02.017 · Cited by 288
Journal of Chemical Information and Computer Sciences
(2008) · Journal of Chemical Information and Computer Sciences · doi:10.1021/issn.0095-2338 · Cited by 262
Coley, C. W., Green, W. H., & Jensen, K. F. (2019) · Journal of Chemical Information and Modeling · doi:10.1021/acs.jcim.9b00286 · Cited by 224
Jorner, K., Brinck, T., Norrby, P.-O., & Buttar, D. (2021) · Chemical Science · doi:10.1039/d0sc04896h · Cited by 204
Automated extraction of chemical synthesis actions from experimental procedures
Vaucher, A. C., Zipoli, F., Geluykens, J., Nair, V. H., Schwaller, P., & Laino, T. (2020) · Nature Communications · doi:10.1038/s41467-020-17266-6 · Cited by 202
Self-citationWhat’s What: The (Nearly) Definitive Guide to Reaction Role Assignment
Schneider, N., Stiefl, N., & Landrum, G. A. (2016) · Journal of Chemical Information and Modeling · doi:10.1021/acs.jcim.6b00564 · Cited by 198
Schneider, N., Lowe, D. M., Sayle, R. A., & Landrum, G. A. (2015) · Journal of Chemical Information and Modeling · doi:10.1021/ci5006614 · Cited by 195
PyCM: Multiclass confusion matrix library in Python
Haghighi, S., Jasemi, M., Hessabi, S., & Zolanvari, A. (2018) · Journal of Open Source Software · doi:10.21105/joss.00729 · Cited by 167
The 'wired' universe of organic chemistry
Grzybowski, B. A., Bishop, K. J. M., Kowalczyk, B., & Wilmer, C. E. (2009) · Nature Chemistry · doi:10.1038/nchem.136 · Cited by 163
Thakkar, A., Kogej, T., Reymond, J.-L., Engkvist, O., & Bjerrum, E. J. (2020) · Chemical Science · doi:10.1039/c9sc04944d · Cited by 163
Self-citationSmilesDrawer: Parsing and Drawing SMILES-Encoded Molecular Structures Using Client-Side JavaScript
Probst, D., & Reymond, J. (2017) · Journal of Chemical Information and Modeling · doi:10.1021/acs.jcim.7b00425 · Cited by 86
Self-citationUnassisted noise reduction of chemical reaction datasets
Toniato, A., Schwaller, P., Cardinale, A., Geluykens, J., & Laino, T. (2021) · Nature Machine Intelligence · doi:10.1038/s42256-021-00319-w · Cited by 74
Self-citationAlgorithm for Reaction Classification
Kraut, H., Eiblmaier, J., Grethe, G., Löw, P., Matuszczyk, H., & Saller, H. (2013) · Journal of Chemical Information and Modeling · doi:10.1021/ci400442f · Cited by 70
Chen, L., & Gasteiger, J. (1997) · Journal of the American Chemical Society · doi:10.1021/ja960027b · Cited by 70
FUn: a framework for interactive visualizations of large, high-dimensional datasets on the web
Probst, D., & Reymond, J. (2017) · Bioinformatics · doi:10.1093/bioinformatics/btx760 · Cited by 70
Self-citationA novel measure for evaluating classifiers
Wei, J., Yuan, X., Hu, Q., & Wang, S. (2009) · Expert Systems with Applications · doi:10.1016/j.eswa.2009.11.040 · Cited by 68
LeadMine: a grammar and dictionary driven approach to entity recognition
Lowe, D. M., & Sayle, R. A. (2015) · Journal of Cheminformatics · doi:10.1186/1758-2946-7-s1-s5 · Cited by 66
Ghiandoni, G. M., Bodkin, M. J., Chen, B., Hristozov, D., Wallace, J. E. A., Webster, J., & Gillet, V. J. (2019) · Journal of Chemical Information and Modeling · doi:10.1021/acs.jcim.9b00537 · Cited by 47
Chen, L., & Gasteiger, J. (1996) · Angewandte Chemie International Edition in English · doi:10.1002/anie.199607631 · Cited by 28
Unassisted Noise-Reduction of Chemical Reactions Data SetsPreprint
Toniato, A., Schwaller, P., Cardinale, A., Geluykens, J., & Laino, T. (2020) · ChemRxiv · doi:10.26434/chemrxiv.12395120.v1 · Cited by 5
Self-citation
Cited by
Scientific discovery in the age of artificial intelligence.
Wang, H., Fu, T., Du, Y., Gao, W., Huang, K., Liu, Z., Chandak, P., Liu, S., Van Katwyk, P., Deac, A., et al. (2023) · Nature · doi:10.1038/s41586-023-06221-2 · Cited by 1,823
Combining Machine Learning and Computational Chemistry for Predictive Insights Into Chemical Systems
Keith, J. A., Vassilev-Galindo, V., Cheng, B., Chmiela, S., Gastegger, M., Müller, K.-R., & Tkatchenko, A. (2021) · Chemical Reviews · doi:10.1021/acs.chemrev.1c00107 · Cited by 849
Augmenting large language models with chemistry tools
M. Bran, A., Cox, S., Schilter, O., Baldassari, C., White, A. D., & Schwaller, P. (2024) · Nature Machine Intelligence · doi:10.1038/s42256-024-00832-8 · Cited by 794
Self-citationExplainable machine learning in materials science
Zhong, X., Gallagher, B., Liu, S., Kailkhura, B., Hiszpanski, A., & Han, T. Y.-J. (2022) · npj Computational Materials · doi:10.1038/s41524-022-00884-7 · Cited by 501
Artificial intelligence in drug development
Zhang, K., Yang, X., Wang, Y., Yu, Y., Huang, N., Li, G., Li, X., Wu, J. C., & Yang, S. (2025) · Nature Medicine · doi:10.1038/s41591-024-03434-4 · Cited by 498
Metadata
- Authors
- Schwaller, P., Probst, D., Vaucher, A. C., Nair, V. H., Kreutter, D., Laino, T., & Reymond, J.-L.
- Venue
- Nature Machine Intelligence
- Published
- 2021-01-28
- Volume
- 3
- Issue
- 2
- Pages
- 144-152
- ISSN
- 2522-5839 (ISSN-L)
- OpenAlex
- W3123901912
- Cited by
- 356
- References
- 58
- FWCI
- 26.24
- Type
- journal article
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.