Grounding Large Language Models in Reaction Knowledge Graphs for Synthesis Retrieval

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Bunkova, Olga, Di Fruscia, Lorenzo, Rupprecht, Sophia, Schweidtmann, Artur M., Reinders, Marcel J. T., Weber, Jana M.
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911392277200896
author Bunkova, Olga
Di Fruscia, Lorenzo
Rupprecht, Sophia
Schweidtmann, Artur M.
Reinders, Marcel J. T.
Weber, Jana M.
author_facet Bunkova, Olga
Di Fruscia, Lorenzo
Rupprecht, Sophia
Schweidtmann, Artur M.
Reinders, Marcel J. T.
Weber, Jana M.
contents Large Language Models (LLMs) can aid synthesis planning in chemistry, but standard prompting methods often yield hallucinated or outdated suggestions. We study LLM interactions with a reaction knowledge graph by casting reaction path retrieval as a Text2Cypher (natural language to graph query) generation problem, and define single- and multi-step retrieval tasks. We compare zero-shot prompting to one-shot variants using static, random, and embedding-based exemplar selection, and assess a checklist-driven validator/corrector loop. To evaluate our framework, we consider query validity and retrieval accuracy. We find that one-shot prompting with aligned exemplars consistently performs best. Our checklist-style self-correction loop mainly improves executability in zero-shot settings and offers limited additional retrieval gains once a good exemplar is present. We provide a reproducible Text2Cypher evaluation setup to facilitate further work on KG-grounded LLMs for synthesis planning. Code is available at https://github.com/Intelligent-molecular-systems/KG-LLM-Synthesis-Retrieval.
format Preprint
id arxiv_https___arxiv_org_abs_2601_16038
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Grounding Large Language Models in Reaction Knowledge Graphs for Synthesis Retrieval
Bunkova, Olga
Di Fruscia, Lorenzo
Rupprecht, Sophia
Schweidtmann, Artur M.
Reinders, Marcel J. T.
Weber, Jana M.
Artificial Intelligence
Large Language Models (LLMs) can aid synthesis planning in chemistry, but standard prompting methods often yield hallucinated or outdated suggestions. We study LLM interactions with a reaction knowledge graph by casting reaction path retrieval as a Text2Cypher (natural language to graph query) generation problem, and define single- and multi-step retrieval tasks. We compare zero-shot prompting to one-shot variants using static, random, and embedding-based exemplar selection, and assess a checklist-driven validator/corrector loop. To evaluate our framework, we consider query validity and retrieval accuracy. We find that one-shot prompting with aligned exemplars consistently performs best. Our checklist-style self-correction loop mainly improves executability in zero-shot settings and offers limited additional retrieval gains once a good exemplar is present. We provide a reproducible Text2Cypher evaluation setup to facilitate further work on KG-grounded LLMs for synthesis planning. Code is available at https://github.com/Intelligent-molecular-systems/KG-LLM-Synthesis-Retrieval.
title Grounding Large Language Models in Reaction Knowledge Graphs for Synthesis Retrieval
topic Artificial Intelligence
url https://arxiv.org/abs/2601.16038