{"title":"Guiding large language models to predict edit sequences for molecular synthesizability optimization","authors":"Junren Li, Luhua Lai","doi":"10.1038/s42256-026-01304-x","DOIUrl":null,"url":null,"abstract":"Generative artificial intelligence has revolutionized the exploration of chemical space, yet a critical bottleneck remains that a substantial fraction of generated molecules is synthetically inaccessible. Current solutions, such as post hoc filtering or projection-based methods, often compromise structural novelty or disrupt key pharmacophores by forcing molecules into predefined synthetic templates. Here we introduce SynCraft, a reasoning-based framework that reframes synthesizability optimization not as a sequence translation task but as a precise structural editing problem. Leveraging the emergent reasoning capabilities of large language models, SynCraft navigates the ‘synthesis cliff’ where minimal structural modifications yield substantial gains in synthetic feasibility. By predicting executable sequences of atom-level edits rather than generating SMILES strings directly, SynCraft circumvents the syntactic fragility of LLMs while harnessing their chemical intuition. Extensive benchmarks demonstrate that SynCraft outperforms state-of-the-art baselines in generating synthesizable analogues with high structural fidelity, with comparable performance across both proprietary and open-weight backends. Furthermore, through interaction-aware prompting, SynCraft successfully replicates expert medicinal chemistry intuition in editing PLK1 inhibitors and rescuing high-scoring RIPK1 candidates previously discarded in the molecular generation literature. For application convenience, we package the framework as an agent skill and demonstrate an end-to-end rescue workflow on candidate molecules generated for the SARS-CoV-2 main protease as an example. Computational drug design often generates molecules that cannot be synthesized. Li and Lai show how large language models can predict precise structural edits to fix these molecules, outperforming traditional methods and preserving key features.","PeriodicalId":48533,"journal":{"name":"Nature Machine Intelligence","volume":"8 10","pages":"1537-1547"},"PeriodicalIF":29.8000,"publicationDate":"2026-09-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Nature Machine Intelligence","FirstCategoryId":"94","ListUrlMain":"https://www.nature.com/articles/s42256-026-01304-x","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Generative artificial intelligence has revolutionized the exploration of chemical space, yet a critical bottleneck remains that a substantial fraction of generated molecules is synthetically inaccessible. Current solutions, such as post hoc filtering or projection-based methods, often compromise structural novelty or disrupt key pharmacophores by forcing molecules into predefined synthetic templates. Here we introduce SynCraft, a reasoning-based framework that reframes synthesizability optimization not as a sequence translation task but as a precise structural editing problem. Leveraging the emergent reasoning capabilities of large language models, SynCraft navigates the ‘synthesis cliff’ where minimal structural modifications yield substantial gains in synthetic feasibility. By predicting executable sequences of atom-level edits rather than generating SMILES strings directly, SynCraft circumvents the syntactic fragility of LLMs while harnessing their chemical intuition. Extensive benchmarks demonstrate that SynCraft outperforms state-of-the-art baselines in generating synthesizable analogues with high structural fidelity, with comparable performance across both proprietary and open-weight backends. Furthermore, through interaction-aware prompting, SynCraft successfully replicates expert medicinal chemistry intuition in editing PLK1 inhibitors and rescuing high-scoring RIPK1 candidates previously discarded in the molecular generation literature. For application convenience, we package the framework as an agent skill and demonstrate an end-to-end rescue workflow on candidate molecules generated for the SARS-CoV-2 main protease as an example. Computational drug design often generates molecules that cannot be synthesized. Li and Lai show how large language models can predict precise structural edits to fix these molecules, outperforming traditional methods and preserving key features.
期刊介绍:
Nature Machine Intelligence is a distinguished publication that presents original research and reviews on various topics in machine learning, robotics, and AI. Our focus extends beyond these fields, exploring their profound impact on other scientific disciplines, as well as societal and industrial aspects. We recognize limitless possibilities wherein machine intelligence can augment human capabilities and knowledge in domains like scientific exploration, healthcare, medical diagnostics, and the creation of safe and sustainable cities, transportation, and agriculture. Simultaneously, we acknowledge the emergence of ethical, social, and legal concerns due to the rapid pace of advancements.
To foster interdisciplinary discussions on these far-reaching implications, Nature Machine Intelligence serves as a platform for dialogue facilitated through Comments, News Features, News & Views articles, and Correspondence. Our goal is to encourage a comprehensive examination of these subjects.
Similar to all Nature-branded journals, Nature Machine Intelligence operates under the guidance of a team of skilled editors. We adhere to a fair and rigorous peer-review process, ensuring high standards of copy-editing and production, swift publication, and editorial independence.