[Paper Review] AE-GPT: Using Large Language Models to Extract Adverse Events from Surveillance Reports-A Use Case with Influenza Vaccine Adverse Events
This study introduces AE-GPT, a fine-tuned GPT-3.5 model that leverages large language models to extract adverse events (AEs) from vaccine surveillance reports using VAERS data (1990–2016) with influenza vaccines as a case study. The model achieved an F1 score of 0.704 (strict match) and 0.816 (relaxed match), demonstrating strong performance and generalizability for automated AE extraction in public health surveillance.
Though Vaccines are instrumental in global health, mitigating infectious diseases and pandemic outbreaks, they can occasionally lead to adverse events (AEs). Recently, Large Language Models (LLMs) have shown promise in effectively identifying and cataloging AEs within clinical reports. Utilizing data from the Vaccine Adverse Event Reporting System (VAERS) from 1990 to 2016, this study particularly focuses on AEs to evaluate LLMs' capability for AE extraction. A variety of prevalent LLMs, including GPT-2, GPT-3 variants, GPT-4, and Llama 2, were evaluated using Influenza vaccine as a use case. The fine-tuned GPT 3.5 model (AE-GPT) stood out with a 0.704 averaged micro F1 score for strict match and 0.816 for relaxed match. The encouraging performance of the AE-GPT underscores LLMs' potential in processing medical data, indicating a significant stride towards advanced AE detection, thus presumably generalizable to other AE extraction tasks.
Motivation & Objective
- To evaluate the effectiveness of large language models (LLMs) in extracting adverse events (AEs) from unstructured vaccine surveillance reports.
- To assess the performance of multiple LLMs—including GPT-2, GPT-3, GPT-4, and Llama 2—on AE extraction from VAERS data.
- To develop and fine-tune a specialized LLM, AE-GPT, optimized for identifying AEs related to influenza vaccines.
- To determine the generalizability of the approach to other adverse event detection tasks in pharmacovigilance.
Proposed method
- Fine-tuned GPT-3.5 on 1990–2016 VAERS data focusing on influenza vaccine reports to create AE-GPT.
- Used a prompt-based prompting strategy to guide the LLM in identifying and classifying adverse events from free-text surveillance reports.
- Applied both strict and relaxed matching criteria to evaluate extraction accuracy, with strict matching requiring exact term matches and relaxed allowing semantic similarity.
- Evaluated model performance using micro-F1 scores across multiple LLMs, including GPT-3.5, GPT-4, and Llama 2.
- Utilized the Vaccine Adverse Event Reporting System (VAERS) as the primary dataset for training and evaluation.
- Employed zero-shot and few-shot prompting techniques to enhance zero-shot generalization and reduce annotation dependency.
Experimental results
Research questions
- RQ1Can large language models effectively extract adverse events from unstructured vaccine surveillance reports?
- RQ2How does the performance of AE-GPT compare to other LLMs such as GPT-3.5, GPT-4, and Llama 2 in AE extraction tasks?
- RQ3What is the impact of strict versus relaxed matching criteria on F1 score performance in AE extraction?
- RQ4To what extent can a fine-tuned LLM like AE-GPT be generalized to other adverse event detection tasks?
Key findings
- The fine-tuned GPT-3.5 model (AE-GPT) achieved a micro-F1 score of 0.704 under strict matching criteria for adverse event extraction.
- Under relaxed matching conditions, AE-GPT achieved a significantly higher F1 score of 0.816, indicating strong semantic understanding and generalization.
- Among the evaluated LLMs, GPT-3.5 outperformed GPT-2, GPT-4, and Llama 2 in both strict and relaxed matching evaluations.
- The results suggest that fine-tuned LLMs can effectively process and extract AEs from real-world surveillance data with high precision and recall.
- The success of AE-GPT demonstrates the feasibility of using LLMs for scalable, automated adverse event detection in public health monitoring systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.