Biomedical Large Language Models and Prompt Engineering for Causality Assessment of Individual Case Safety Reports in Pharmacovigilance

Read full text
Authors: Nicole Sonne Heckmann, Despoina Georgia Papoutsi, María Antonietta Barbieri, Vera Battini, Soren Norlin Molgaard, Simon Orum Schmidt, Lars Melskens, Maurizio Sessa
Cited by: 1
References: 26

Abstract

Abstract Background Biomedical Large Language Models (LLMs) combined with prompt engineering offer domain-specific reasoning, yet their application to individual-level causality assessment remains unexplored. This study evaluated five combinations of biomedical LLMs, prompting strategies, and causality algorithms by comparing their agreement with two human expert evaluators. Research design and methods A total of 150 Individual Case Safety Reports (ICSRs) were analyzed: 140 reports from Food and Drug Administration Adverse Event Reporting System (FAERS), and 10 myocarditis/pericarditis ICSRs from Vaccine AERS (VAERS). Assessments were conducted using the Naranjo and WHO-UMC algorithms. Biomedical LLMs tested included TinyLlama 1.1B, Medicine LLaMA-3 8B, and MedLLaMA v20, combined with Chain-of-Thought (CoT) or Decomposition prompting. Agreement was measured using Gwet’s Agreement Coefficient 1 (AC1) and percentage agreement, alongside performance metrics and qualitative error analysis. Results The Medicine LLaMA-3 8B-Naranjo-CoT combination achieved the highest agreement with human assessors for the final classification of causality (64%). Biomedical LLMs demonstrated low inter-rater agreement on critical items of causality assessment such as identification of listed AE, temporal plausibility, alternative causes, and objective evidence of AEs. Frequent model failures included irrelevant responses. Conclusions Biomedical LLMs showed improved performance over general purpose models previously tested but remain suboptimal for reliable causality assessment of ICSRs.

Fields of Study & Subjects

Pharmacovigilance and Adverse Drug Reactions Biomedical Text Mining and Ontologies Advanced Causal Inference Techniques

Publication details

Journal / source
medRxiv
Publisher
openRxiv
Publication date
24 February 2026
Document type
Preprint