Elamur Research⌕
☰
home / papers / 2026 / KGRxn-LLM: Knowledge Graph Enhanced Large Language Models for Molecular Reaction Reasoning

KGRxn-LLM: Knowledge Graph Enhanced Large Language Models for Molecular Reaction Reasoning

Paper · 2026 · Weichen Liu, Qiyao Xue, Yuyang Wu et al.

Summary

General-purpose LLMs often reason poorly about chemical reactions. They mislabel functional groups, mix up reaction classes and propose products with atoms that have no source in the reactants. Existing benchmarks mostly test product generation or fact recall, not mechanistic understanding. The authors address both gaps with KGRxn-LLM and a new benchmark, KGRxn-Bench.

They took 32,000 USPTO reactions and processed them with RDKit (canonicalization, atom mapping, functional-group detection). An LLM-assisted, expert-checked annotation loop then labelled the data. The result is a knowledge graph with several levels, linking individual compounds and the groups they contain to reaction categories (both their identifiers and their names) and to specific reaction instances. An agent-based retriever pulls relevant evidence from the graph, such as group changes, typical patterns and analogous reactions, and supplies it to the LLM. When no exact match exists, it falls back on similarity search.

Grounding 7–8B models this way strongly improves accuracy on both seen and held-out reactions, and also helps on external chemistry and biology benchmarks. This suggests that structured chemical knowledge reduces hallucination in reaction reasoning.

Key points

  • Data split: 30,000 USPTO reactions build the KG and the KG-covered benchmark part, and 2,000 are reserved for a hold-out split. KGRxn-Bench contains 1,200 questions on four tasks: functional group identification, reaction type classification, product prediction and reagent prediction.
  • Annotation and retrieval: Annotation is iterative human-in-the-loop, with resampling until accuracy reaches at least 90%. For unseen reactions, retrieval falls back to Jaccard similarity over the sets of functional groups consumed and formed.
  • Gains on KGRxn-Bench:
    • Llama-3.1-8B functional group identification on the KG-covered split rises from 58.82% to 94.12%.
    • Qwen2.5-7B on the hold-out split goes from 67.00% to 92.00%.
  • Gains on external benchmarks:
    • FGBench interaction queries (Qwen2.5-7B): 39.33% → 49.64%.
    • SciKnowEval biology boolean subset (Llama): 88.24% → 95.76%.
  • Limitations:
    • Only ten coarse reaction types are used.
    • The graph is modest at about 30K reactions.
    • Testing covered only 7–8B models.
    • Code and benchmark are released on GitHub (pitt-miskov-zivanov-lab).

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

 Fields, topics and concepts

Cite

Cite as Weichen Liu, Qiyao Xue, Yuyang Wu, Olexandr Isayev and Natasa Miskov-Zivanov. 2026. KGRxn-LLM: Knowledge Graph Enhanced Large Language Models for Molecular Reaction Reasoning. BioNLP 2026.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2026.bionlp-1.22

@inproceedings{liu2026kgrxn,
  title = {{KGRxn-LLM: Knowledge Graph Enhanced Large Language Models for Molecular Reaction Reasoning}},
  author = {Weichen Liu, Qiyao Xue, Yuyang Wu, Olexandr Isayev and Natasa Miskov-Zivanov},
  booktitle = {BioNLP 2026},
  year = {2026},
  doi = {10.18653/v1/2026.bionlp-1.22},
  url = {https://doi.org/10.18653/v1/2026.bionlp-1.22}
}

References

41 references, 11 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Carl Edwards, Tuan Lai, Kevin Ros, Garrett Honke, Kyunghyun Cho, and Heng Ji. 2022. Translation between molecules and natural language. arXiv preprint arXiv:2204.11817.
  2. Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad, Ilge Akkaya, Florencia Leoni Aleman, Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, and 1 others. 2023. Gpt-4 technical report. arXiv preprint arXiv:2303.08774.
  3. Mattias Akke, Soojung Yang, Jurgis Ruza, Jinyeop Song, Elton Pan, and Rafael Gomez-Bombarelli. 2025. Bayesian optimization for biochemical discovery with llms. find
  4. Jinze Bai, Shuai Bai, Yunfei Chu, Zeyu Cui, Kai Dang, Xiaodong Deng, Yang Fan, Wenbin Ge, Yu Han, Fei Huang, and 1 others. 2023. Qwen technical report. arXiv preprint arXiv:2309.16609.
  5. Andres M Bran, Sam Cox, Oliver Schilter, Carlo Baldassari, Andrew D White, and Philippe Schwaller. 2023. Chemcrow: Augmenting large-language models with chemistry tools. arXiv preprint arXiv:2304.05376. find
  6. Quintina Campbell, Sam Cox, Jorge Medina, Brittany Watterson, and Andrew White. 2025. Mdcrow: Automating molecular dynamics workflows with large language models. Machine Learning: Science and Technology. find
  7. Shuan Chen, Ramil Babazade, Taewan Kim, Sunkyu Han, and Yousung Jung. 2024. A large-scale reaction dataset of mechanistic pathways of organic reactions. Scientific Data, 11(1):863. find
  8. Yufan Chen, Ching Ting Leung, Jianwei Sun, Yong Huang, Linyan Li, Hao Chen, and Hanyu Gao. 2025. Towards large-scale chemical reaction image parsing via a multimodal large language model. arXiv preprint arXiv:2503.08156. — [arXiv:2503.08156](https://arxiv.org/abs/2503.08156) find
  9. Seyone Chithrananda, Gabriel Grand, and Bharath Ramsundar. 2020. Chemberta: large-scale self-supervised pretraining for molecular property prediction. arXiv preprint arXiv:2010.09885. find
  10. Connor W Coley, Wengong Jin, Luke Rogers, Timothy F Jamison, Tommi S Jaakkola, William H Green, Regina Barzilay, and Klavs F Jensen. 2019. A graph-convolutional neural network model for the prediction of chemical reactivity. Chemical science, 10(2):370–377. find
  11. Dong-Xu Cui, Shi-Yu Long, Yi-Xuan Tang, Yue Zhao, and Qiao Li. 2025. Can reasoning power significantly improve the knowledge of large language models for chemistry?� based on conversations with llms. Journal of Chemical Information and Modeling, 65(18):9516–9527. find
  12. Kehua Feng, Xinyi Shen, Weijie Wang, Xiang Zhuang, Yuqi Tang, Qiang Zhang, and Keyan Ding. 2024. Sciknoweval: Evaluating multi-level scientific knowledge of large language models. arXiv preprint arXiv:2406.09098.
  13. Yunfan Gao, Yun Xiong, Xinyu Gao, Kangxiang Jia, Jinliu Pan, Yuxi Bi, Yixin Dai, Jiawei Sun, Haofen Wang, Haofen Wang, and 1 others. 2023. Retrieval-augmented generation for large language models: A survey. arXiv preprint arXiv:2312.10997, 2(1):32.
  14. Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi Wang, Qihao Zhu, Runxin Xu, Ruoyu Zhang, Shirong Ma, Xiao Bi, and 1 others. 2025. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. arXiv preprint arXiv:2501.12948.
  15. Taicheng Guo, Bozhao Nan, Zhenwen Liang, Zhichun Guo, Nitesh Chawla, Olaf Wiest, Xiangliang Zhang, and 1 others. 2023. What can large language models do in chemistry? a comprehensive benchmark on eight tasks. Advances in neural information processing systems, 36:59662–59688. find
  16. Yang Han, Ziping Wan, Lu Chen, Kai Yu, and Xin Chen. 2025. From generalist to specialist: A survey of large language models for chemistry. In Proceedings of the 31st International Conference on Computational Linguistics, pages 1106–1123. find
  17. Ross Irwin, Spyridon Dimitriadis, Jiazhen He, and Esben Jannik Bjerrum. 2022. Chemformer: a pre-trained transformer for computational chemistry. Machine Learning: Science and Technology, 3(1):015022. find
  18. Aaron Jaech, Adam Kalai, Adam Lerer, Adam Richardson, Ahmed El-Kishky, Aiden Low, Alec Helyar, Aleksander Madry, Alex Beutel, Alex Carney, and 1 others. 2024. Openai o1 system card. arXiv preprint arXiv:2412.16720.
  19. José Jiménez-Luna, Francesca Grisoni, Nils Weskamp, and Gisbert Schneider. 2021. Artificial intelligence in drug discovery: recent advances and future perspectives. Expert opinion on drug discovery, 16(9):949–959. find
  20. Qiao Jin, Yifan Yang, Qingyu Chen, and Zhiyong Lu. 2024. Genegpt: augmenting large language models with domain tools for improved access to biomedical information. Bioinformatics, 40(2):btae075.
  21. Siddhartha Laghuvarapu, Namkyeong Lee, Chufan Gao, and Jimeng Sun. 2025. Moltextqa: A question-answering dataset and benchmark for evaluating multimodal architectures and llms on molecular structure– text understanding. Journal of Data-centric Machine Learning Research. find
  22. Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, and 1 others. 2023. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971.
  23. Patrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni, Vladimir Karpukhin, Naman Goyal, Heinrich Küttler, Mike Lewis, Wen-tau Yih, Tim Rocktäschel, and 1 others. 2020. Retrieval-augmented generation for knowledge-intensive nlp tasks. Advances in neural information processing systems, 33:9459–…
  24. Gonzalo Travieso, Alexandre Benatti, and Luciano da F Costa. 2024. An analytical approach to the jaccard similarity index. arXiv preprint arXiv:2410.16436. — [arXiv:2410.16436](https://arxiv.org/abs/2410.16436) find
  25. Hao Li, He Cao, Bin Feng, Yanjun Shao, Xiangru Tang, Zhiyuan Yan, Li Yuan, Yonghong Tian, and Yu Li. 2025. Beyond chemical qa: Evaluating llm’s chemical reasoning with modular chemical operations. arXiv preprint arXiv:2505.21318. — [arXiv:2505.21318](https://arxiv.org/abs/2505.21318) find
  26. Xuan Liu, Siru Ouyang, Xianrui Zhong, Jiawei Han, and Huimin Zhao. 2025. Fgbench: A dataset and benchmark for molecular property reasoning at functional group-level in large language models. arXiv preprint arXiv:2508.01055. find
  27. Micha Livne, Zulfat Miftahutdinov, Elena Tutubalina, Maksim Kuznetsov, Daniil Polykovskiy, Annika Brundyn, Aastha Jhunjhunwala, Anthony Costa, Alex Aliper, Alán Aspuru-Guzik, and 1 others. 2024. nach0: multimodal natural and chemical languages foundation model. Chemical Science, 15(22):8380–8389. find
  28. Xingyu Lu, He Cao, Zijing Liu, Shengyuan Bai, Leqing Chen, Yuan Yao, Hai-Tao Zheng, and Yu Li. 2024. Moleculeqa: A dataset to evaluate factual accuracy in molecular comprehension. arXiv preprint arXiv:2403.08192. find
  29. Naoto Usuyama, Cliff Wong, Sheng Zhang, Tristan Naumann, and Hoifung Poon. 2025. Biomedical natural language processing in the era of large language models. Annual Review of Biomedical Data Science, 8. find
  30. Yuyang Wu, Jinhui Ye, Shuhao Zhang, Lu Dai, Yonatan Bisk, and Olexandr Isayev. 2025. Molerr2fix: Benchmarking llm trustworthiness in chemistry via modular error detection, localization, explanation, and correction. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Proces… find
  31. Michihiro Yasunaga, Antoine Bosselut, Hongyu Ren, Xikun Zhang, Christopher D Manning, Percy S Liang, and Jure Leskovec. 2022. Deep bidirectional language-knowledge graph pretraining. Advances in Neural Information Processing Systems, 35:37309–37323. find
  32. Botao Yu, Frazier N Baker, Ziqi Chen, Xia Ning, and Huan Sun. 2024. Llasmol: Advancing large language models for chemistry with a large-scale, comprehensive, high-quality instruction tuning dataset. arXiv preprint arXiv:2402.09391. find
  33. Shen Yuan, Shukai Gong, and Hongteng Xu. 2025. Uspto-llm: A large language model-assisted information-enriched chemical reaction dataset. In Companion Proceedings of the ACM on Web Conference 2025, pages 817–820. find
  34. Linhao Luo, Yuan-Fang Li, Gholamreza Haffari, and Shirui Pan. 2023. Reasoning on graphs: Faithful and interpretable large language model reasoning. arXiv preprint arXiv:2310.01061. find
  35. Alan C Marco, Amanda Myers, Stuart JH Graham, Paul D’Agostino, and Kirsten Apple. 2015. The uspto patent assignment dataset: Descriptions and analysis. find
  36. Shirui Pan, Linhao Luo, Yufei Wang, Chen Chen, Jiapu Wang, and Xindong Wu. 2024. Unifying large language models and knowledge graphs: A roadmap. IEEE Transactions on Knowledge and Data Engineering, 36(7):3580–3599.
  37. Di Zhang, Wei Liu, Qian Tan, Jingdan Chen, Hang Yan, Yuliang Yan, Jiatong Li, Weiran Huang, Xiangyu Yue, Wanli Ouyang, and 1 others. 2024. Chemllm: A chemical large language model. arXiv preprint arXiv:2402.06852. find
  38. Nicholas T Runcie, Charlotte M Deane, and Fergus Imrie. 2025. Assessing the chemical intelligence of large language models. Journal of Chemical Information and Modeling, 66(1):216–227. find
  39. Qiang Zhang, Keyan Ding, Tianwen Lv, Xinda Wang, Qingyu Yin, Yiwen Zhang, Jing Yu, Yuhao Wang, Xiaotong Li, Zhuoyi Xiang, and 1 others. 2025. Scientific large language models: A survey on biological & chemical domains. ACM Computing Surveys, 57(6):1–38. find
  40. Jiashuo Sun, Chengjin Xu, Lumingyuan Tang, Saizhuo Wang, Chen Lin, Yeyun Gong, Lionel M Ni, Heung-Yeung Shum, and Jian Guo. 2023. Think-on-graph: Deep and responsible reasoning of large language model on knowledge graph. arXiv preprint arXiv:2307.07697. find
  41. Zihan Zhao, Bo Chen, Ziping Wan, Lu Chen, Xuanze Lin, Shiyang Yu, Situo Zhang, Da Ma, Zichen Zhu, Danyang Zhang, and 1 others. 2025. Chemdfm-r: An chemical reasoner llm enhanced with atomized chemical knowledge. arXiv e-prints, pages arXiv– 2507. find

Updated

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/liu-2026-kgrxn-llm-knowledge-graph-enhanced/