Skip to main content
QUICK REVIEW

[Paper Review] DrugPilot: LLM-based Parameterized Reasoning Agent for Drug Discovery

Kun Li, Zhennan Wu|ArXiv.org|May 20, 2025
Statistical and Computational ModelingComputer Science3 citations
TL;DR

DrugPilot is an LLM-based parameterized reasoning agent for automating multi-stage drug discovery tasks, featuring a parameterized memory pool and a Fe-Fo feedback mechanism to improve tool calling and task focus.

ABSTRACT

Large language models (LLMs) integrated with autonomous agents hold significant potential for advancing scientific discovery through automated reasoning and task execution. However, applying LLM agents to drug discovery is still constrained by challenges such as large-scale multimodal data processing, limited task automation, and poor support for domain-specific tools. To overcome these limitations, we introduce DrugPilot, a LLM-based agent system with a parameterized reasoning architecture designed for end-to-end scientific workflows in drug discovery. DrugPilot enables multi-stage research processes by integrating structured tool use with a novel parameterized memory pool. The memory pool converts heterogeneous data from both public sources and user-defined inputs into standardized representations. This design supports efficient multi-turn dialogue, reduces information loss during data exchange, and enhances complex scientific decision-making. To support training and benchmarking, we construct a drug instruction dataset covering eight core drug discovery tasks. Under the Berkeley function-calling benchmark, DrugPilot significantly outperforms state-of-the-art agents such as ReAct and LoT, achieving task completion rates of 98.0%, 93.5%, and 64.0% for simple, multi-tool, and multi-turn scenarios, respectively. These results highlight DrugPilot's potential as a versatile agent framework for computational science domains requiring automated, interactive, and data-integrated reasoning.

Motivation & Objective

  • Automate end-to-end drug discovery workflows using an LLM-based agent.
  • Handle multi-modal drug data with a parameterized memory pool to standardize and retrieve information efficiently.
  • Mitigate reasoning errors and task drift in long multi-turn dialogues with a feedback and focus mechanism.
  • Provide a domain-specific tool-calling dataset (TCDD) to fine-tune and evaluate LLMs on drug-discovery tasks.

Proposed method

  • Introduce DrugPilot's four-component framework: LLM backbone, parameterized memory pool (PMP), eight drug-discovery tools with tool calling, and Fe-Fo mechanism.
  • Create and use the TCDD dataset (2,800 samples across 8 tasks) to fine-tune LLMs for drug-discovery tool calling.
  • Develop PMP to store parameters as structured key-value pairs, enabling efficient parameter extraction and reduced prompt length.
  • Implement a Fe-Fo mechanism to provide error feedback and task-focused prompts to maintain alignment during multi-turn reasoning.
  • Apply LoRA fine-tuning on 7B–9B LLMs using TCDD and post-process outputs with a regex-based parser to improve formatting reliability.
  • Evaluate DrugPilot against baseline agents using a Berkeley Function Calling framework, reporting task completion rates across simple, multi-function, and multi-turn tasks.

Experimental results

Research questions

  • RQ1How can an LLM-based agent automate multi-stage drug discovery tasks via tool calling?
  • RQ2Can a parameterized memory pool improve handling of large-scale multi-modal drug data and reduce information loss?
  • RQ3Does the Fe-Fo mechanism reduce common LLM reasoning errors and maintain task focus during long dialogues?
  • RQ4How effective is domain-specific fine-tuning with TCDD for drug-discovery tool calling accuracy?
  • RQ5How does DrugPilot perform compared with state-of-the-art agents on tool calling benchmarks in drug discovery?

Key findings

  • DrugPilot achieved task completion rates of 98.0%, 93.5%, and 64.0% on simple, multiple, and multi-turn tasks, respectively.
  • DrugPilot improves over the SOTA agent ReAct by 13.2%, 66.1%, and 80.3% on the three evaluation categories.
  • The approach demonstrates advanced tool calling capabilities on the drug discovery tool instruction dataset (TCDD) under the Berkeley framework.
  • A parameterized memory pool (PMP) enables structured, scalable parameter handling for multi-modal data, reducing context size and improving retrieval.
  • The Fe-Fo mechanism provides targeted feedback and task-focused prompts to mitigate errors and maintain focus during reasoning.
  • The authors release a code repository at https://github.com/wzn99/DrugPilot.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.