A collaborative large language model for drug analysis

Hongjian Zhou, Fenglin Liu, Jinge Wu, Wenjun Zhang, Guowei Huang, Lei Clifton, David W. Eyre, Haochen Luo, Kim Branson, Patrick Schwab, Xian Wu, Yefeng Zheng, Anshul Thakur, David A. CliftonNature Biomedical Engineering 2025

Abstract

Large language models (LLMs), such as ChatGPT, have substantially helped in understanding human inquiries and generating textual content with human-level fluency. However, directly using LLMs in healthcare applications faces several problems. LLMs are prone to produce hallucinations, or fluent content that appears reasonable and genuine but that is factually incorrect. Ideally, the source of the generated content should be easily traced for clinicians to evaluate. We propose a knowledge-grounded collaborative large language model, DrugGPT, to make accurate, evidence-based and faithful recommendations that can be used for clinical decisions. DrugGPT incorporates diverse clinical-standard knowledge bases and introduces a collaborative mechanism that adaptively analyses inquiries, captures relevant knowledge sources and aligns these inquiries and knowledge sources when dealing with different drugs. We evaluate the proposed DrugGPT on drug recommendation, dosage recommendation, identification of adverse reactions, identification of potential drug-drug interactions and answering general pharmacology questions. DrugGPT outperforms a wide range of existing LLMs and achieves state-of-the-art performance across all metrics with fewer parameters than generic LLMs.

Introduction: Addressing Hallucinations in Medical AI

While generic LLMs like ChatGPT and GPT-4 are impressively fluent, they suffer from two critical flaws in healthcare: hallucinations and lack of traceability. In a clinical setting, a model might confidently recommend a drug that sounds plausible but is factually incorrect or even dangerous. Furthermore, these models rarely provide the "why" behind their answers, making it impossible for a physician to verify the source of the advice.

The authors address this "black box" problem by moving away from a single-model approach toward a "knowledge-grounded collaborative" system. The goal is to ensure that every piece of medical advice is faithful to established clinical data and easily auditable by human experts.

Methods: The Collaborative Mechanism

The core innovation is the Collaborative Mechanism, which breaks the reasoning process into three specialized LLM-based modules:

  1. Inquiry Analysis LLM (IA-LLM): Acts as the "triage" agent. It analyzes the user's query to extract key medical entities like symptoms, diseases, and specific drugs.
  2. Knowledge Acquisition LLM (KA-LLM): Acts as the "librarian." It navigates a custom-built Disease–Symptom–Drug Graph (DSDG)—a massive knowledge graph synthesized from trusted sources like Drugs.com, the UK NHS, and PubMed.
  3. Evidence Generation LLM (EG-LLM): Acts as the "writer." It takes the raw facts from the KA-LLM and synthesizes a final response using Chain-of-Thought (CoT) prompting and a "knowledge-consistency" strategy.
The DrugGPT framework architecture, showing the collaborative mechanism between IA-LLM, KA-LLM, and EG-LLM grounded in external knowledge bases.

Crucially, the system uses Evidence-Traceable Prompting, requiring the model to output direct links and citations to the source material, allowing clinicians to verify the data in seconds.

Datasets and Evaluation

The researchers evaluated DrugGPT on 11 different datasets to ensure robustness:

  • Standard Benchmarks: MedQA-USMLE, MedMCQA, MMLU-Medicine, and PubMedQA for general medical knowledge.
  • Specialized Tasks: ADE-Corpus-v2 (adverse reactions), Drug-Effects, and DDI-Corpus (drug-drug interactions).
  • New "Leakage-Proof" Datasets: To ensure the models weren't just reciting memorized training data, the authors introduced DrugBank-QA, MIMIC-DrugQA, and COVID-Moderna, containing information on drugs released after the training cutoff for GPT-4.

Key Results

DrugGPT consistently set new state-of-the-art (SOTA) records across various medical and pharmacological tasks.

Radar chart comparing DrugGPT performance against GPT-4, ChatGPT, Med-PaLM-2, and human experts across multiple benchmarks.
  • USMLE Accuracy: Achieved 88.2%, surpassing GPT-4 (83.5%) and ChatGPT (63.7%).
  • Drug-Drug Interactions (DDI): DrugGPT reached 97.1% accuracy, nearly doubling the performance of ChatGPT (40.2%) and significantly beating GPT-4 (62.8%).
  • Human Evaluation: In a blind test with medical experts, DrugGPT’s responses were preferred over GPT-4’s 68% of the time, specifically due to its superior safety and factuality.

Key Insights

  • Knowledge Over Scale: A 175-billion parameter model (DrugGPT) can outperform a 1-trillion+ parameter model (GPT-4) by having better access to structured, external knowledge.
  • The Power of "No": Telling the model "only use the provided text" via knowledge-consistency prompting is more effective than simply asking it to be accurate.
  • Zero-Shot Reasoning: DrugGPT can pull fresh data from its knowledge graph to analyze brand-new pharmaceutical releases with high accuracy.

Limitations and Future Work

Despite its success, DrugGPT faces challenges:

  • Computational Overhead: Running three collaborative LLM calls increases latency.
  • Knowledge Base Dependency: The model is only as good as its sources.
  • Expansion: Future work aims to expand this collaborative RAG framework to other complex medical fields like oncology or rare disease diagnosis.

Summary updated

BibTeX
@inproceedings{zhou2025collaborative,
  author = {Hongjian Zhou and Fenglin Liu and Jinge Wu and Wenjun Zhang and Guowei Huang and Lei Clifton and David W. Eyre and Haochen Luo and F. Liu and Kim Branson and Patrick Schwab and Xian Wu and Yefeng Zheng and Anshul Thakur and David A. Clifton},
  title = {{A collaborative large language model for drug analysis}},
  booktitle = {Nature Biomedical Engineering},
  year = {2025},
  doi = {10.1038/s41551-025-01471-z},
}
Figure