Back to Search Start Over

Developing large language models to detect adverse drug events in posts on X.

Authors :
Deng, Yu
Xing, Yunzhao
Quach, Jason
Chen, Xiaotian
Wu, Xiaoqiang
Zhang, Yafei
Moureaud, Charlotte
Yu, Mengjia
Zhao, Yujie
Wang, Li
Zhong, Sheng
Source :
Journal of Biopharmaceutical Statistics. Sep2024, p1-12. 12p. 3 Illustrations.
Publication Year :
2024

Abstract

Adverse drug events (ADEs) are one of the major causes of hospital admissions and are associated with increased morbidity and mortality. Post-marketing ADE identification is one of the most important phases of drug safety surveillance. Traditionally, data sources for post-marketing surveillance mainly come from spontaneous reporting system such as the Food and Drug Administration Adverse Event Reporting System (FAERS). Social media data such as posts on X (formerly Twitter) contain rich patient and medication information and could potentially accelerate drug surveillance research. However, ADE information in social media data is usually locked in the text, making it difficult to be employed by traditional statistical approaches. In recent years, large language models (LLMs) have shown promise in many natural language processing tasks. In this study, we developed several LLMs to perform ADE classification on X data. We fine-tuned various LLMs including BERT-base, Bio_ClinicalBERT, RoBERTa, and RoBERTa-large. We also experimented ChatGPT few-shot prompting and ChatGPT fine-tuned on the whole training data. We then evaluated the model performance based on sensitivity, specificity, negative predictive value, positive predictive value, accuracy, F1-measure, and area under the ROC curve. Our results showed that RoBERTa-large achieved the best F1-measure (0.8) among all models followed by ChatGPT fine-tuned model with F1-measure of 0.75. Our feature importance analysis based on 1200 random samples and RoBERTa-Large showed the most important features are as follows: “withdrawals”/”withdrawal”, “dry”, “dealing”, “mouth”, and “paralysis”. The good model performance and clinically relevant features show the potential of LLMs in augmenting ADE detection for post-marketing drug safety surveillance. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
10543406
Database :
Academic Search Index
Journal :
Journal of Biopharmaceutical Statistics
Publication Type :
Academic Journal
Accession number :
179731303
Full Text :
https://doi.org/10.1080/10543406.2024.2403442