# Root-aligned SMILES: A Tight Representation for Chemical Reaction Prediction

arXiv: https://arxiv.org/abs/2203.11444 · HTML: https://mlsanity.com/paper/2203.11444/

## Key facts

- Cited by 51 papers in the map (data through 14 Oct 2026).
- Builds on 19 of its 57 references that are in the map.
- First posted on arXiv 22 Mar 2022.

## Builds on (most cited first, 19 of 19)

- [Attention Is All You Need](https://mlsanity.com/paper/1706.03762/) (2017)
- [BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding](https://mlsanity.com/paper/1810.04805/) (2018)
- [Graph Attention Networks](https://mlsanity.com/paper/1710.10903/) (2017)
- [Masked Autoencoders Are Scalable Vision Learners](https://mlsanity.com/paper/2111.06377/) (2021)
- [Modeling Relational Data with Graph Convolutional Networks](https://mlsanity.com/paper/1703.06103/) (2017)
- [Molecular Transformer - A Model for Uncertainty-Calibrated Chemical Reaction Prediction](https://mlsanity.com/paper/1811.02633/) (2018)
- [Variational Autoencoder for Deep Learning of Images, Labels and Captions](https://mlsanity.com/paper/1609.08976/) (2016)
- [Retrosynthesis Prediction with Conditional Graph Logic Network](https://mlsanity.com/paper/2001.01408/) (2020)
- [Predicting Organic Reaction Outcomes with Weisfeiler-Lehman Network](https://mlsanity.com/paper/1709.04555/) (2017)
- [Molecule Edit Graph Attention Network: Modeling Chemical Reactions as Sequences of Graph Edits](https://mlsanity.com/paper/2006.15426/) (2020)
- [Retrosynthetic reaction prediction using neural sequence-to-sequence models](https://mlsanity.com/paper/1706.01643/) (2017)
- [A Graph to Graphs Framework for Retrosynthesis Prediction](https://mlsanity.com/paper/2003.12725/) (2020)
- [RetroXpert: Decompose Retrosynthesis Prediction like a Chemist](https://mlsanity.com/paper/2011.02893/) (2020)
- [Learning Graph Models for Retrosynthesis Prediction](https://mlsanity.com/paper/2006.07038/) (2020)
- ["Found in Translation": Predicting Outcomes of Complex Organic Chemistry Reactions using Neural Sequence-to-Sequence Models](https://mlsanity.com/paper/1711.04810/) (2017)
- [Energy-based View of Retrosynthesis](https://mlsanity.com/paper/2007.13437/) (2020)
- [Linking the Neural Machine Translation and the Prediction of Organic Chemistry Reactions](https://mlsanity.com/paper/1612.09529/) (2016)
- [A Bayesian algorithm for retrosynthesis](https://mlsanity.com/paper/2003.03190/) (2020)
- [RetCL: A Selection-based Approach for Retrosynthesis via Contrastive Learning](https://mlsanity.com/paper/2105.00795/) (2021)

## Built on by (most cited first, 30 of 51)

- [LlaSMol: Advancing Large Language Models for Chemistry with a Large-Scale, Comprehensive, High-Quality Instruction Tuning Dataset](https://mlsanity.com/paper/2402.09391/) (2024)
- [Towards 3D Molecule-Text Interpretation in Language Models](https://mlsanity.com/paper/2401.13923/) (2024)
- [Developing ChemDFM as a large language foundation model for chemistry](https://mlsanity.com/paper/2401.14818/) (2024)
- [RetroBridge: Modeling Retrosynthesis with Markov Bridges](https://mlsanity.com/paper/2308.16212/) (2023)
- [Re-evaluating Retrosynthesis Algorithms with Syntheseus](https://mlsanity.com/paper/2310.19796/) (2023)
- [ChemDFM-R: A Chemical Reasoning LLM Enhanced with Atomized Chemical Knowledge](https://mlsanity.com/paper/2507.21990/) (2025)
- [ReactXT: Understanding Molecular "Reaction-ship" via Reaction-Contextualized Molecule-Text Pretraining](https://mlsanity.com/paper/2405.14225/) (2024)
- [Retro-fallback: retrosynthetic planning in an uncertain world](https://mlsanity.com/paper/2310.09270/) (2023)
- [LLM-Augmented Chemical Synthesis and Design Decision Programs](https://mlsanity.com/paper/2505.07027/) (2025)
- [Improving Expressivity of GNNs with Subgraph-specific Factor Embedded Normalization](https://mlsanity.com/paper/2305.19903/) (2023)
- [RetroGFN: Diverse and Feasible Retrosynthesis using GFlowNets](https://mlsanity.com/paper/2406.18739/) (2024)
- [DirectMultiStep: Direct Route Generation for Multistep Retrosynthesis](https://mlsanity.com/paper/2405.13983/) (2024)
- [Node-Aligned Graph-to-Graph (NAG2G): Elevating Template-Free Deep Learning Approaches in Single-Step Retrosynthesis](https://mlsanity.com/paper/2309.15798/) (2023)
- [Equivariant Denoisers Cannot Copy Graphs: Align Your Graph Diffusion Models](https://mlsanity.com/paper/2405.17656/) (2024)
- [RetroDiff: Retrosynthesis as Multi-stage Distribution Interpolation](https://mlsanity.com/paper/2311.14077/) (2023)
- [Chemist-aligned retrosynthesis by ensembling diverse inductive bias models](https://mlsanity.com/paper/2412.05269/) (2024)
- [UAlign: Pushing the Limit of Template-free Retrosynthesis Prediction with Unsupervised SMILES Alignment](https://mlsanity.com/paper/2404.00044/) (2024)
- [TempRe: Template generation for single and direct multi-step retrosynthesis](https://mlsanity.com/paper/2507.21762/) (2025)
- [Recent advances in artificial intelligence for retrosynthesis](https://mlsanity.com/paper/2301.05864/) (2023)
- [Retrosynthesis prediction enhanced by in-silico reaction data augmentation](https://mlsanity.com/paper/2402.00086/) (2024)
- [MolX: Enhancing Large Language Models for Molecular Understanding With A Multi-Modal Extension](https://mlsanity.com/paper/2406.06777/) (2024)
- [mathsfG2Retro as a Two-Step Graph Generative Models for Retrosynthesis Prediction](https://mlsanity.com/paper/2206.04882/) (2022)
- [RLSynC: Offline-Online Reinforcement Learning for Synthon Completion](https://mlsanity.com/paper/2309.02671/) (2023)
- [Accelerating the inference of string generation-based chemical reaction models for industrial applications](https://mlsanity.com/paper/2407.09685/) (2024)
- [Trustworthy Retrosynthesis: Eliminating Hallucinations with a Diverse Ensemble of Reaction Scorers](https://mlsanity.com/paper/2510.10645/) (2025)
- [Assessing the Extrapolation Capability of Template-Free Retrosynthesis Models](https://mlsanity.com/paper/2403.03960/) (2024)
- [RetroDFM-R: Reasoning-Driven Retrosynthesis Prediction with Large Language Models via Reinforcement Learning](https://mlsanity.com/paper/2507.17448/) (2025)
- [Retro-Expert: Collaborative Reasoning for Interpretable Retrosynthesis](https://mlsanity.com/paper/2508.10967/) (2025)
- [BioMedGPT-Mol: Multi-task Learning for Molecular Understanding and Generation](https://mlsanity.com/paper/2512.04629/) (2025)
- [Order Matters in Retrosynthesis: Structure-aware Generation via Reaction-Center-Guided Discrete Flow Matching](https://mlsanity.com/paper/2602.13136/) (2026)

## Abstract (arXiv)

Chemical reaction prediction, involving forward synthesis and retrosynthesis prediction, is a fundamental problem in organic synthesis. A popular computational paradigm formulates synthesis prediction as a sequence-to-sequence translation problem, where the typical SMILES is adopted for molecule representations. However, the general-purpose SMILES neglects the characteristics of chemical reactions, where the molecular graph topology is largely unaltered from reactants to products, resulting in the suboptimal performance of SMILES if straightforwardly applied. In this article, we propose the root-aligned SMILES (R-SMILES), which specifies a tightly aligned one-to-one mapping between the product and the reactant SMILES for more efficient synthesis prediction. Due to the strict one-to-one mapping and reduced edit distance, the computational model is largely relieved from learning the complex syntax and dedicated to learning the chemical knowledge for reactions. We compare the proposed R-SMILES with various state-of-the-art baselines and show that it significantly outperforms them all, demonstrating the superiority of the proposed method.
