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

TL;DR

MALADE (Multiple Agents powered by LLMs for Adverse Drug Event Extraction) is an open-source, multi-agent framework that extracts adverse drug events (ADEs) from FDA drug labels. By combining Retrieval-Augmented Generation (RAG), programmatic tool-use, and an iterative "Agent-Critic" verification loop, MALADE achieves an Area Under the ROC Curve (AUC) of 0.90 on the standard OMOP benchmark while producing transparent, clinically grounded rationales.

What Problem Does This Paper Address?

Pharmacovigilance (PhV)—identifying adverse reactions to pharmaceutical drugs post-market—is critical for patient safety. However, finding whether a drug category increases the risk of a specific health outcome is notoriously difficult. Critical safety signals are often buried within massive corpora of unstructured clinical text and regulatory drug labels, complicated by inconsistent naming conventions and complex medical phrasing.

Deploying off-the-shelf Large Language Models (LLMs) naively to this task fails for two main reasons:

  1. Static, ungrounded knowledge: Pre-trained models hallucinate and cannot cite up-to-date evidence from official regulatory sources.
  2. Brittle reasoning: Complex medical queries posed to single LLMs often collapse due to multi-step reasoning errors, without any mechanism to validate intermediate steps.

Methods

Built using the Langroid multi-agent framework, MALADE decomposes pharmacovigilance into specialized, smaller sub-tasks rather than relying on an all-in-one prompt.

The architecture is driven by two main design patterns:

  • The "LLM Minimization" Principle: Deterministic tasks (e.g., retrieving prescription frequencies or querying database tables) are executed using traditional code and SQL rather than LLMs, reducing token costs, latency, and hallucinations.
  • Agent-Critic Pairs: Inspired by interactive proof systems (prover vs. verifier), every worker agent is paired with an independent Critic agent that audits reasoning and forces iterative corrections before approving answers.

The end-to-end pipeline operates in three major steps:

  1. Drug Selection (DrugFinder): Identifies candidate drugs within a category from the FDA National Drug Code (NDC) database, queries the MIMIC-IV clinical database for prescription rates, and uses an LLM agent to group brand/generic variants into top-$k$ distinct representative drugs.
  2. Drug-Level RAG (DrugAgent & FDAHandler): Queries an OpenFDA API and vector database of official FDA drug labels via RAG, generating structured summaries of evidence for each individual drug.
  3. Category Synthesis (CategoryAgent): Synthesizes drug-level evidence into a standardized JSON report detailing the overall category effect (increase, decrease, no-effect), categorical risk frequency, evidence strength, confidence scores, and textual justifications.
[Query: Category C + Outcome H]
       │
       ▼
 [DrugFinder] ──► (Identifies representative drugs via NDC & MIMIC-IV)
       │
       ▼
  [DrugAgent] ──► (RAG via FDAHandler / Vector DB of FDA Labels)
       │
       ▼
[CategoryAgent] ──► [Critic Agent Verification Loop] ──► Structured Report & Scores

Datasets

The authors evaluate MALADE on the Observational Medical Outcomes Partnership (OMOP) Ground Truth table, an established benchmark comprising 10 drug categories/subcategories (e.g., ACE inhibitors, Benzodiazepines, Beta Blockers) and 10 clinical outcomes (e.g., angioedema, hip fracture, acute liver injury).

Supporting data resources integrated into the pipeline include:

  • The FDA National Drug Code (NDC) Directory for pharmacological classifications.
  • The MIMIC-IV Prescriptions database for clinical utilization rates.
  • OpenFDA Drug Label API and associated label text ingested into a vector store.

Key Insights and Ideas

  • Critiques Prevent Logical Slip-Ups: The paired Critic agent intervened and corrected 44.52% of CategoryAgent's initial outputs. For example, when evaluating Benzodiazepines and hip fractures, CategoryAgent initially predicted "no-effect" because fractures were listed only as infrequent traumatic events. The Critic forced the model to account for the sedative mechanism of action causing falls, successfully revising the prediction to "increased risk."
  • Confidence Outperforms Probability: Eliciting direct probability estimates (e.g., "What is the probability of this effect?") produced poor calibration. Mapping LLM confidence in a discrete label to a continuous score yielded substantially better discriminative power.
  • Why RAG Still Matters Despite High Pre-Trained Knowledge: While GPT-4 has strong memorized medical knowledge and can perform well on historical benchmarks without external retrieval, RAG remains indispensable for clinical safety to prevent hallucinations, incorporate newly updated labels, and generate exact citation trails for human experts.

Key Results

  • High Discriminative Accuracy: Evaluated against the OMOP ground truth:
  • GPT-4o: 0.903 ADE-based AUC (Effect-based AUC: 0.883; F1: 0.600)
  • GPT-4 Turbo: 0.851 ADE-based AUC (Effect-based AUC: 0.831; F1: 0.609)
  • High Clinical Concordance: In qualitative evaluations by clinicians, 85% of the natural-language justifications generated by MALADE aligned with clinical expert reasoning.

Limitations and Future Work

  • Single-Source Dependency: MALADE relies entirely on textual FDA package inserts. If an adverse event is omitted from the label or worded ambiguous (e.g., conflating gastric/duodenal ulcers with esophageal ulcers for alendronate), the system fails.
  • Open-Source LLM Fragility: Initial tests with local, open-weights models (e.g., Mistral, LLaMA) suffered from poor instruction following and tool-calling errors, highlighting a current reliance on frontier proprietary models (GPT-4o).
  • Future Work: Integrating causal discovery directly over Electronic Health Records (EHRs) to uncover novel adverse reactions not yet documented in official labels.

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},
}

Loading related content...

Figure