Related Experiment Video
Updated: Dec 2, 2025

Augmenting Large Language Models via Vector Embeddings to Improve Domain-Specific Responsiveness
Published on: December 6, 2024
State-of-the-art augmented NLP transformer models for direct and single-step retrosynthesis
Igor V Tetko1,2, Pavel Karpov3,4, Ruud Van Deursen5
1Institute of Structural Biology, Helmholtz Zentrum München-Research Center for Environmental Health (GmbH), Ingolstädter Landstraße 1, D-85764, Neuherberg, Germany. i.tetko@helmholtz-muenchen.de.
Abstract:
We investigated the effect of different training scenarios on predicting the (retro)synthesis of chemical compounds using text-like representation of chemical reactions (SMILES) and Natural Language Processing (NLP) neural network Transformer architecture. We showed that data augmentation, which is a powerful method used in image processing, eliminated the effect of data memorization by neural networks and improved their performance for prediction of new sequences. This effect was observed when augmentation was used simultaneously for input and the target data simultaneously. The top-5 accuracy was 84.8% for the prediction of the largest fragment (thus identifying principal transformation for classical retro-synthesis) for the USPTO-50k test dataset, and was achieved by a combination of SMILES augmentation and a beam search algorithm. The same approach provided significantly better results for the prediction of direct reactions from the single-step USPTO-MIT test set. Our model achieved 90.6% top-1 and 96.1% top-5 accuracy for its challenging mixed set and 97% top-5 accuracy for the USPTO-MIT separated set. It also significantly improved results for USPTO-full set single-step retrosynthesis for both top-1 and top-10 accuracies. The appearance frequency of the most abundantly generated SMILES was well correlated with the prediction outcome and can be used as a measure of the quality of reaction prediction.
Related Concept Videos
Synthesis and Decomposition Reactions
Synthetic Biology
Golden rice
Golden rice is a genetically modified...
Synthesis of α-Substituted Carbonyl Compounds: The Stork Enamine Reaction
Multi-Step Reactions
SN2 Reaction: Transition State
When the nucleophile approaches the electrophilic carbon with its lone pairs, the halide acts as a leaving group and moves away with the electron-pair bonded to the carbon. Dotted partial bonds represent the bonds being formed or broken...
Olefin Metathesis Polymerization: Overview
Ruthenium-based Grubbs catalyst is the most commonly used catalyst for olefin metathesis polymerization. Grubbs catalyst consists of a...