SafeDrug: A Benchmark Dataset for Safety-Critical Pharmacological Reasoning in LLMs

Evaluating large language models on adverse drug events, drug-drug interactions, polypharmacy risk assessment, and therapeutic substitution across diverse clinical scenarios.

Abstract

Large language models (LLMs) have shown strong performance on biomedical tasks, yet evaluating their reasoning in safety-critical pharmacological contexts requires large-scale, structured datasets. We present SafeDrug, a benchmark dataset for systematic evaluation of pharmacological reasoning across multiple task dimensions. SafeDrug integrates heterogeneous sources, including adverse drug event records, drug–drug interaction knowledge, literature-derived evidence, and population-specific information such as child, adult, and older adult groups, into a unified reasoning-oriented QA format. The benchmark comprises two complementary subsets. SafeDrug-large provides broad coverage at scale, while SafeDrug-small is a high-quality human-annotated subset for precise evaluation. It supports tasks such as prediction, risk assessment, mechanism explanation, evidence-grounded QA, and drug replacement across both single-drug and multi-drug settings. Our evaluation shows that LLMs capture outcome-level associations but struggle with mechanistic reasoning, evidence alignment, and population-aware predictions. SafeDrug provides a foundation for reproducible benchmarking and advances research on evidence-grounded and population-aware pharmacological reasoning in LLMs.

Dataset Overview

SafeDrug comprises 7 task categories and 17 sub-datasets covering diverse aspects of drug safety evaluation.

Dataset Explorer

Browse dataset structure, view examples, and download individual files.

Select a dataset from the left panel to view details.

Leaderboard

Model performance comparison on SafeDrug benchmark tasks.

Large Benchmark — Exact Match (EM%)

9 models evaluated across 17 sub-tasks spanning 7 categories. Higher is better. Click column headers to sort.

Filter by Sub-Task:

Small Benchmark — DDI Agent Evaluation

9 models (5 proprietary + 4 open-source) evaluated across 11 tasks with diverse formats. Metrics vary by task type.

Filter by Task:

Loading...

Model Comparison Radar

Select Models

Table Metric: