NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MALADE: Orchestration of LLM-powered Agents with Retrieval Augmented Generation for Pharmacovigilance

Jihye Choi, Nils Palumbo, Prasad Chalasani, Matthew M. Engelhard, Somesh Jha, Anivarya Kumar, David Page

Abstract

In the era of Large Language Models (LLMs), given their remarkable text understanding and generation abilities, there is an unprecedented opportunity to develop new, LLM-based methods for trustworthy medical knowledge synthesis, extraction and summarization. This paper focuses on the problem of Pharmacovigilance (PhV), where the significance and challenges lie in identifying Adverse Drug Events (ADEs) from diverse text sources, such as medical literature, clinical notes, and drug labels. Unfortunately, this task is hindered by factors including variations in the terminologies of drugs and outcomes, and ADE descriptions often being buried in large amounts of narrative text. We present MALADE, the first effective collaborative multi-agent system powered by LLM with Retrieval Augmented Generation for ADE extraction from drug label data. MALADE is a general LLM-agnostic architecture that leverages external sources like medical literature and FDA tools to extract drug-outcome associations in a structured format. Instantiated with GPT-4 Turbo or GPT-4o, MALADE demonstrates its efficacy with an Area Under ROC Curve of 0.90 against the OMOP Ground Truth table of ADEs.

Introduction

Pharmacovigilance (PhV)—the science of detecting and preventing adverse drug effects—is a high-stakes field currently facing a data deluge. While identifying whether a drug causes a specific side effect is critical for public health, the information is often "buried" in massive volumes of narrative text, such as FDA drug labels, clinical notes, and medical journals. Traditional NLP methods struggle with the sheer variety of medical terminology, while "off-the-shelf" LLMs face significant hurdles regarding knowledge cutoffs and the risk of hallucinations in high-stakes medical contexts.

To bridge this gap, we introduce MALADE (Multiple Agents powered by LLMs for ADE Extraction). MALADE moves beyond simple chatbots to provide a structured, verifiable pipeline for medical knowledge synthesis, moving from unstructured text to actionable safety data.

System Architecture and Methodology

The core of MALADE is its multi-agent orchestration, built on the Langroid framework. Rather than relying on a single monolithic LLM, the system decomposes the complex PhV task into three distinct, manageable steps handled by specialized agents.

The three-step MALADE workflow: finding representative drugs, identifying associations via RAG, and synthesizing category-level outcomes.

The Three-Step Pipeline

  1. DrugFinder: This agent identifies representative drugs for a given category (e.g., "Lisinopril" for "ACE Inhibitors") by querying the FDA’s National Drug Code database and analyzing prescription rates in clinical databases like MIMIC-IV.
  2. DrugAgent: Utilizing Retrieval-Augmented Generation (RAG), this agent pulls specific passages from FDA drug labels via the OpenFDA API to determine if a specific drug is associated with a specific outcome.
  3. CategoryAgent: This agent synthesizes drug-level findings into a final report for the entire drug category, assigning a risk label (increase, decrease, or no-effect) and a confidence score.

The Agent-Critic Pattern and Orchestration

Crucially, every primary agent is paired with a Critic agent. The Critic validates the primary agent's reasoning and compliance with instructions. If the Critic identifies a flaw—such as a missed detail in a drug label—the primary agent must revise its response. This iterative "prover-verifier" loop significantly boosts reliability; for instance, the CategoryAgent required correction from its Critic in 44.5% of cases during testing.

The hierarchical task orchestration framework, demonstrating how complex pharmacovigilance tasks are decomposed into manageable sub-tasks within the multi-agent system.

MALADE also follows an "LLM Minimization Principle," using deterministic code for tasks like calculating prescription frequencies while reserving the LLM's reasoning budget for unstructured text analysis.

Experimental Evaluation

MALADE was evaluated using GPT-4 Turbo and GPT-4o against the OMOP Ground Truth table, the "gold standard" benchmark for Adverse Drug Events. The system achieved an Area Under the ROC Curve (AUC) of 0.90 with GPT-4o.

Beyond quantitative metrics, a clinician review found that 85% of the justifications produced by the agents aligned with expert medical reasoning. Unlike "black box" classifiers, MALADE provides structured JSON outputs that include the strength of evidence and specific citations from drug labels, allowing human clinicians to audit the system's logic.

Discussion and Conclusion

Our results demonstrate that RAG is essential for trustworthy medical systems, as it forces models to cite authoritative, up-to-date sources rather than relying on internal memory. However, some limitations remain: the system currently depends heavily on FDA labels and may miss very rare or new side effects not yet officially documented.

Future work will focus on integrating Electronic Health Records (EHR) for causal discovery and exploring the use of local, privacy-preserving LLMs (like Llama 3) to handle sensitive patient data. MALADE represents a significant step toward automated, reliable, and explainable pharmacovigilance in the age of generative AI.

Summary updated

BibTeX
@inproceedings{choi2024malade,
  author = {Jihye Choi and Nils Palumbo and Prasad Chalasani and Matthew M. Engelhard and Somesh Jha and Anivarya Kumar and David Page},
  title = {{MALADE: Orchestration of LLM-powered Agents with Retrieval Augmented Generation for Pharmacovigilance}},
  booktitle = {MLHC},
  year = {2024},
  url = {https://openreview.net/forum?id=ku82frxGKM},
}
Figure