SynthStrategy: Extracting and Formalizing Latent Strategic Insights from LLMs in Organic Chemistry
Daniel Armstrong, Zlatko Jončev, Andres M Bran, Philippe Schwaller
TL;DR
This work introduces SynthStrategy, a framework that distills tacit strategic knowledge from large language models into an extensible library of executable Python functions. By converting multi-step synthetic strategy into testable code, it enables strategy-based retrieval, clustering, and evaluation in computer-assisted synthesis planning (CASP). The authors release the USPTO-ST dataset and demonstrate that strategy-aware retrieval and clustering provide more nuanced organization and scalable, interpretable reasoning than traditional template- or topology-based approaches. Temporal trend analyses on patent data and case studies underscore the practical value of explicit strategic representations for guiding route selection. Overall, this approach advances CASP toward planning that more closely mirrors expert chemists' strategic thinking while maintaining computational efficiency and transparency.
Abstract
Modern computer-assisted synthesis planning (CASP) systems show promises at generating chemically valid reaction steps but struggle to incorporate strategic considerations such as convergent assembly, protecting group minimization, and optimal ring-forming sequences. We introduce a methodology that leverages Large Language Models to distill synthetic knowledge into code. Our system analyzes synthesis routes and translates strategic principles into Python functions representing diverse strategic and tactical rules, such as strategic functional group interconversions and ring construction strategies. By formalizing this knowledge as verifiable code rather than simple heuristics, we create testable, interpretable representations of synthetic strategy. We release the complete codebase and the USPTO-ST dataset -- synthesis routes annotated with strategic tags. This framework unlocks a novel capability for CASP: natural language-based route retrieval, achieving 75\% Top-3 accuracy on our benchmark. We further validate our library through temporal analysis of historical trends and chemically intuitive route clustering that offers more granular partitioning than common previous methods. This work bridges the tactical-strategic divide in CASP, enabling specification, search, and evaluation of routes by strategic criteria rather than structure alone.
