UniTox: Leveraging LLMs to Curate a Unified Dataset of Drug-Induced Toxicity from FDA Labels

Jake Silberg, Kyle Swanson, E Simón, Angela Zhang, Zaniar Ghazizadeh, Scott Ogden, Hisham K. Hamadeh, James Zou

Abstract

Drug-induced toxicity is a primary driver of clinical trial failures. Predicting these effects early in development requires large, high-quality datasets that reflect human in vivo responses. However, existing resources are often fragmented and manually curated from lengthy FDA labels. We present UniTox, a unified dataset of 2,418 FDA-approved drugs covering eight toxicity types, curated using GPT-4o. Our pipeline achieves 87–96% concordance with clinician reviews and significantly outperforms previous automated methods. We demonstrate UniTox's utility by training a graph neural network that achieves a mean ROC-AUC > 0.7 for most toxicities, providing a scalable path for early-stage toxicity screening.

Introduction: The Safety Challenge in Drug Discovery

The journey of a drug candidate from the lab to the pharmacy is fraught with risk, with approximately 90% of candidates failing during clinical trials. Safety concerns, particularly unanticipated toxicities, account for nearly 25% of these failures. Even after market approval, some drugs are withdrawn due to rare but serious adverse effects.

To mitigate these risks, researchers aim to predict toxicity using machine learning models early in the development process. However, the field faces a data bottleneck. Existing toxicity datasets are typically small, limited to single organ systems (e.g., just the liver or heart), and rely on labor-intensive manual curation of FDA labels that can exceed 100 pages. Furthermore, many rely on in vitro assays that may not accurately predict human in vivo outcomes.

Methods: Automating Toxicity Curation with GPT-4o

UniTox addresses these limitations by leveraging the reasoning capabilities of Large Language Models (LLMs) to extract safety data directly from FDA drug labels. The researchers curated a dataset of 2,418 unique drugs, including both small molecules and biologics.

The UniTox pipeline: from raw FDA labels to validated toxicity ratings and predictive models.

The core of the UniTox approach is a two-tiered "Chain-of-Thought" prompting strategy:

  1. Summary Generation: GPT-4o processes the full text of a drug label to produce a concise summary (averaging 297 words) focused on a specific toxicity type. This step ensures the model captures nuanced safety signals buried in long documents.
  2. Toxicity Rating: Using the generated summary, the model assigns a ternary rating (No, Less, or Most toxicity) and a binary rating (No or Yes).

This method was found to be superior to Retrieval-Augmented Generation (RAG) because the LLM can reason across the entire document context rather than relying on isolated text fragments.

Key Results: Validation and Predictive Utility

The quality of UniTox was validated through comparisons with gold-standard human-curated datasets and direct clinician review. On the DICTrank cardiotoxicity benchmark, UniTox achieved an impressive 93% accuracy, a substantial improvement over the 78% achieved by previous state-of-the-art automated tools.

Validation results showing high clinician agreement (top) and the predictive performance of the GNN model across different toxicities (bottom).

As illustrated in Figure 6, clinician reviews of a random sample showed 87–96% agreement with the LLM's ratings across five toxicity categories. To demonstrate the dataset's practical value, the authors trained a Graph Neural Network (GNN) on the UniTox small-molecule subset. The model achieved a mean ROC-AUC exceeding 0.7 for five of the eight toxicity types, confirming that the LLM-derived labels are robust enough to train effective predictive models for in silico screening.

Insights into Toxicity Co-occurrence

Because UniTox provides a unified view across eight organ systems, it enables the study of how different toxicities correlate. The researchers identified that liver and hematological (blood) toxicities have the highest correlation (0.45). Such insights help researchers understand how a single drug might simultaneously impact multiple biological systems, a critical consideration in drug safety assessment.

Limitations and Future Outlook

Despite its success, UniTox has limitations. Binarizing complex clinical data into "Yes/No" labels can obscure important context, such as dose-dependency or risks specific to certain patient populations. Additionally, the dataset reflects inherent class imbalances in drug safety profiles—for instance, dermatological issues are far more common than ototoxicity. Future work will focus on refining prompts to capture the severity and frequency of adverse events more granularly, further enhancing the utility of LLM-curated datasets in pharmaceutical research.

Summary updated

Abstract

Abstract Drug-induced toxicity is one of the leading reasons new drugs fail clinical trials. Machine learning models that predict drug toxicity from molecular structure could help researchers prioritize less toxic drug candidates. However, current toxicity datasets are typically small and limited to a single organ system (e.g., cardio, renal, or liver). Creating these datasets often involved time-intensive expert curation by parsing drug label documents that can exceed 100 pages per drug. Here, we introduce UniTox 1 , a unified dataset of 2,418 FDA-approved drugs with drug-induced toxicity summaries and ratings created by using GPT-4o to process FDA drug labels. UniTox spans eight types of toxicity: cardiotoxicity, liver toxicity, renal toxicity, pulmonary toxicity, hematological toxicity, dermatological toxicity, ototoxicity, and infertility. This is, to the best of our knowledge, the largest such systematic human in vivo database by number of drugs and toxicities, and the first covering nearly all FDA-approved medications for several of these toxicities. We recruited clinicians to validate a random sample of our GPT-4o annotated toxicities, and UniTox’s toxicity ratings concord with clinician labelers 87–96% of the time. Finally, we benchmark a graph neural network trained on UniTox to demonstrate the utility of this dataset for building molecular toxicity prediction models.
BibTeX
@inproceedings{silberg2024unitox,
  author = {Jake Silberg and Kyle Swanson and E Simón and Angela Zhang and Zaniar Ghazizadeh and Scott Ogden and Hisham K. Hamadeh and James Zou},
  title = {{UniTox: Leveraging LLMs to Curate a Unified Dataset of Drug-Induced Toxicity from FDA Labels}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=Vb1vVr75JT},
}
Figure