ChatGPT-powered Conversational Drug Editing Using Retrieval and Domain Feedback
Shengchao Liu, Jiongxiao Wang, Yijin Yang, Chengpeng Wang, Ling Liu, Hongyu Guo, Chaowei Xiao
TL;DR
This work addresses the challenge of applying conversational LLMs to drug editing by introducing ChatDrug, a modular framework that combines domain-specific prompt design (PDDS), retrieval-and-domain-feedback (ReDF), and interactive conversation. The approach enables open-vocabulary, compositional drug editing across small molecules, peptides, and proteins, yielding top performance on most tasks and providing interpretable domain insights. Empirical results across 39 tasks show that ChatDrug achieves state-of-the-art or competitive performance, supported by qualitative case studies of substructure and motif edits. The work demonstrates the potential to augment drug discovery pipelines with iterative, knowledge-grounded human-in-the-loop guidance from LLMs.
Abstract
Recent advancements in conversational large language models (LLMs), such as ChatGPT, have demonstrated remarkable promise in various domains, including drug discovery. However, existing works mainly focus on investigating the capabilities of conversational LLMs on chemical reaction and retrosynthesis. While drug editing, a critical task in the drug discovery pipeline, remains largely unexplored. To bridge this gap, we propose ChatDrug, a framework to facilitate the systematic investigation of drug editing using LLMs. ChatDrug jointly leverages a prompt module, a retrieval and domain feedback (ReDF) module, and a conversation module to streamline effective drug editing. We empirically show that ChatDrug reaches the best performance on 33 out of 39 drug editing tasks, encompassing small molecules, peptides, and proteins. We further demonstrate, through 10 case studies, that ChatDrug can successfully identify the key substructures (e.g., the molecule functional groups, peptide motifs, and protein structures) for manipulation, generating diverse and valid suggestions for drug editing. Promisingly, we also show that ChatDrug can offer insightful explanations from a domain-specific perspective, enhancing interpretability and enabling informed decision-making. This research sheds light on the potential of ChatGPT and conversational LLMs for drug editing. It paves the way for a more efficient and collaborative drug discovery pipeline, contributing to the advancement of pharmaceutical research and development.
