[Paper Review] DrugChat: Towards Enabling ChatGPT-Like Capabilities on Drug Molecule Graphs
DrugChat presents a prototype system that combines a Graph Neural Network with a Large Language Model via an adaptor to enable multi-turn Q&A about drug molecule graphs. It uses instruction-tuning data from ChEMBL and PubChem to train the adaptor end-to-end.
A ChatGPT-like system for drug compounds could be a game-changer in pharmaceutical research, accelerating drug discovery, enhancing our understanding of structure-activity relationships, guiding lead optimization, aiding drug repurposing, reducing the failure rate, and streamlining clinical trials. In this work, we make an initial attempt towards enabling ChatGPT-like capabilities on drug molecule graphs, by developing a prototype system DrugChat. DrugChat works in a similar way as ChatGPT. Users upload a compound molecule graph and ask various questions about this compound. DrugChat will answer these questions in a multi-turn, interactive manner. The DrugChat system consists of a graph neural network (GNN), a large language model (LLM), and an adaptor. The GNN takes a compound molecule graph as input and learns a representation for this graph. The adaptor transforms the graph representation produced by the GNN into another representation that is acceptable to the LLM. The LLM takes the compound representation transformed by the adaptor and users' questions about this compound as inputs and generates answers. All these components are trained end-to-end. To train DrugChat, we collected instruction tuning datasets which contain 10,834 drug compounds and 143,517 question-answer pairs. The code and data is available at \url{https://github.com/UCSD-AI4H/drugchat}
Motivation & Objective
- Motivate a ChatGPT-like system for drug compound analysis to accelerate discovery and SAR understanding.
- Enable interactive, multi-turn Q&A on drug molecule graphs.
- Create an end-to-end trainable pipeline linking graph representations to an LLM via an adaptor.
Proposed method
- GNN learns a representation for the compound molecule graph.
- Adaptor transforms the GNN graph representation into an LLM-compatible soft prompt.
- LLM (Vicuna-13b) generates answers from the prompt and user questions.
- End-to-end training updates only the adaptor while fixing the GNN and LLM.
- Instruction-tuning data collected: 10,834 drug compounds and 143,517 QA pairs from ChEMBL and PubChem.

Experimental results
Research questions
- RQ1Can a ChatGPT-like system answer multi-turn questions about drug compounds from molecular graphs?
- RQ2Can graph-to-LLM alignment via an adaptor enable informative, accurate drug descriptions and answers?
- RQ3What is the feasibility of end-to-end training with a fixed GNN and LLM plus trainable adaptor for drug-graph tasks?
- RQ4How well does DrugChat generalize to compounds not seen in training?
Key findings
- DrugChat can answer diverse multi-turn questions about compounds not contained in the training data.
- The system consists of a GNN, an adaptor, and an LLM, trained end-to-end with a fixed GNN and LLM.
- Datasets for training include 10,834 drugs with 129,699 QA pairs (ChEMBL) and 6,942 drugs with 13,818 QA pairs (PubChem).
- The authors provide code and data publicly and claim this is the first system bridging graph data with LLMs for interactive graph conversations.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.