Skip to main content
QUICK REVIEW

[Paper Review] Retrosynthesis with Attention-Based NMT Model and Chemical Analysis of the "Wrong" Predictions

Hongliang Duan, Ling Wang|arXiv (Cornell University)|Aug 2, 2019
Genomics and Phylogenetic StudiesBiochemistry, Genetics and Molecular Biology40 references5 citations
TL;DR

This paper proposes an attention-based neural machine translation (NMT) model for retrosynthesis, treating reaction prediction as a sequence-to-sequence translation task. Using a 50,000-reaction USPTO dataset, the model achieves 54.1% top-1 accuracy, significantly outperforming baseline seq2seq models, with chemically plausible 'wrong' predictions revealing deeper insights into model generalization and potential for improved real-world utility when re-evaluated by experts.

ABSTRACT

We cast retrosynthesis as a machine translation problem by introducing a special Tensor2Tensor, an entire attention-based and fully data-driven model. Given a data set comprising about 50,000 diverse reactions extracted from USPTO patents, the model significantly outperforms seq2seq model (34.7%) on a top-1 accuracy by achieving 54.1%. For yielding better results, parameters such as batch size and training time are thoroughly investigated to train the model. Additionally, we offer a novel insight into the causes of grammatically invalid SMILES, and conduct a test in which experienced chemists pick out and analyze the "wrong" predictions that may be chemically plausible but differ from the ground truth. Actually, the effectiveness of our model is un-derestimated and the "true" top-1 accuracy can reach to 64.6%.

Motivation & Objective

  • To improve retrosynthesis prediction accuracy by framing it as a neural machine translation (NMT) task.
  • To evaluate the performance of an attention-based NMT model on a large-scale, diverse retrosynthetic dataset from USPTO patents.
  • To investigate the causes of grammatically invalid SMILES in model outputs and understand the nature of 'wrong' but chemically plausible predictions.
  • To assess the true predictive value of the model by having expert chemists evaluate 'wrong' predictions for chemical plausibility.
  • To optimize model hyperparameters such as batch size and training duration to maximize performance.

Proposed method

  • The model uses a sequence-to-sequence architecture with self-attention mechanisms, implemented via the Tensor2Tensor framework.
  • It is trained on approximately 50,000 diverse chemical reactions extracted from USPTO patents.
  • Hyperparameters including batch size and training time are systematically tuned to improve model generalization and performance.
  • The model generates retrosynthetic pathways by predicting reactants from a given product SMILES string.
  • A chemical analysis is conducted on 'wrong' predictions—those not matching the ground truth but potentially chemically valid—by experienced chemists.
  • The model's output is evaluated not only by standard top-1 accuracy but also by expert assessment of chemical plausibility of incorrect predictions.

Experimental results

Research questions

  • RQ1Can an attention-based NMT model outperform traditional seq2seq models in retrosynthesis prediction tasks?
  • RQ2What are the underlying causes of grammatically invalid SMILES in model-generated retrosynthetic pathways?
  • RQ3How common are 'wrong' predictions that are chemically plausible but differ from the ground truth?
  • RQ4To what extent does expert evaluation reveal that the model's true predictive capability exceeds standard top-1 accuracy metrics?
  • RQ5How do hyperparameter choices such as batch size and training duration affect model performance in retrosynthesis?

Key findings

  • The attention-based NMT model achieves a top-1 accuracy of 54.1% on the retrosynthesis task, significantly outperforming the baseline seq2seq model at 34.7%.
  • The model demonstrates a strong capacity to generate chemically plausible retrosynthetic pathways even when they do not match the ground truth.
  • A subset of 'wrong' predictions identified by experts as chemically valid suggests that the model's true top-1 accuracy could reach 64.6% when evaluated with chemical plausibility in mind.
  • The analysis reveals that grammatical errors in SMILES strings are often due to incorrect bond order or valence assignment, indicating a need for improved tokenization or post-processing.
  • Systematic hyperparameter tuning, particularly of batch size and training duration, leads to measurable improvements in model performance.
  • The study highlights that standard evaluation metrics may underestimate the real-world utility of neural models in retrosynthesis due to overlooked chemically valid alternatives.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.