Retrosynthesis Prediction with Local Template Retrieval
Shufang Xie, Rui Yan, Junliang Guo, Yingce Xia, Lijun Wu, Tao Qin
Abstract
Retrosynthesis, which predicts the reactants of a given target molecule, is an essential task for drug discovery. In recent years, the machine learing based retrosynthesis methods have achieved promising results. In this work, we introduce RetroKNN, a local reaction template retrieval method to further boost the performance of template-based systems with non-parametric retrieval. We first build an atom-template store and a bond-template store that contains the local templates in the training data, then retrieve from these templates with a k-nearest-neighbor (KNN) search during inference. The retrieved templates are combined with neural network predictions as the final output. Furthermore, we propose a lightweight adapter to adjust the weights when combing neural network and KNN predictions conditioned on the hidden representation and the retrieved templates. We conduct comprehensive experiments on two widely used benchmarks, the USPTO-50K and USPTO-MIT. Especially for the top-1 accuracy, we improved 7.1% on the USPTO-50K dataset and 12.0% on the USPTO-MIT dataset.These results demonstrate the effectiveness of our method.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 81d30cf3-74fe-4b10-b620-a71b6f225792Cited by top-tier papers7
- Preference Optimization for Molecule Synthesis with Conditional Residual Energy-based ModelsSongtao Liu, Hanjun Dai, Yue Zhao, Peng LiuICML 2024 · 8 citations
- When Single Answer Is Not Enough: Rethinking Single-Step Retrosynthesis Benchmarks for LLMsBogdan Zagribelnyy, Ivan Ilin, Maksim Kuznetsov, Nikita Bondarev et al.ICML 2026 · 3 citations
- Active Retrosynthetic Planning Aware of Route QualityLuotian Yuan, Yemin Yu, Ying Wei, Yongwei Wang et al.ICLR 2024 · 3 citations
- RetrOrchestrator: A Multi-Step Retrosynthesis Agent Dynamically Orchestrating Single-Step Transition ModelsLiao Chang, Luotian Yuan, Yiping Ke, Ying WeiICML 2026
- Equivariant Denoisers Cannot Copy Graphs: Align Your Graph Diffusion ModelsNajwa Laabid, Severi Rissanen, Markus Heinonen, Arno Solin et al.ICLR 2025
Builds on7
- Strategies for Pre-training Graph Neural NetworksWeihua Hu, Bowen Liu, Joseph Gomes, Marinka Zitnik et al.ICLR 2020 · 1,744 citations
- Generalization through Memorization: Nearest Neighbor Language ModelsUrvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer et al.ICLR 2020 · 1,038 citations
- A Graph to Graphs Framework for Retrosynthesis PredictionChence Shi, Minkai Xu, Hongyu Guo, Ming Zhang et al.ICML 2020 · 176 citations
- RetroXpert: Decompose Retrosynthesis Prediction Like A ChemistChaochao Yan, Qianggang Ding, Peilin Zhao, Shuangjia Zheng et al.NeurIPS 2020 · 151 citations
- Learning Graph Models for Retrosynthesis PredictionVignesh Ram Somnath, Charlotte Bunne, Connor W. Coley, Andreas Krause et al.NeurIPS 2021 · 137 citations
Related papers
- GTA: Graph Truncated Attention for RetrosynthesisSeung-Woo Seo, You Young Song, June Yong Yang, Seohui Bae et al.AAAI 2021 · 73 citations
- Towards understanding retrosynthesis by energy-based modelsRuoxi Sun, Hanjun Dai, Li Li, Steven Kearnes et al.NeurIPS 2021 · 45 citations
- Retroformer: Pushing the Limits of End-to-end Retrosynthesis TransformerYue Wan, Chang-Yu Hsieh, Ben Liao, Shengyu ZhangICML 2022 · 13 citations
- Order Matters in Retrosynthesis: Structure-aware Generation via Reaction-Center-Guided Discrete Flow MatchingChenguang Wang, Zihan Zhou, LEI BAI, Tianshu YuICML 2026 · 1 citation
- RetroGraph: Retrosynthetic Planning with Graph SearchShufang Xie, Rui Yan, Peng Han, Yingce Xia et al.KDD 2022 · 22 citations
