Effectiveness of Transformer-Based Large Language Models in Identifying Adverse Drug Reaction Relations from Unstructured Discharge Summaries in Singapore
Authors:
- 21 February 2025
- journal article
- research article
- Published by Springer Nature in Drug Safety
- Vol. 48 (6) , 667-677
Abstract
Introduction Transformer-based large language models (LLMs) have transformed the field of natural language processing and led to significant advancements in various text processing tasks. However, the applicability of these LLMs in identifying related drug-adverse event (AE) pairs within clinical context may be limited by the prevalent use of non-standard sentence structures and grammar. Method Nine transformer-based LLMs pre-trained on biomedical domain corpora are fine-tuned on annotated data (n = 5088) to classify drug-AE pairs in unstructured discharge summaries as causally related or unrelated. These LLMs are then validated on text segments from deidentified hospital discharge summaries from Singapore (n = 1647). To assess generalisability, the models are validated on annotated segments (n = 4418) from the Medical Information Mart for Intensive Care (MIMIC-III) database. Performance of LLMs in identifying related drug-AE pairs is then compared against a prior benchmark set by traditional machine learning models on the same data. Results Using an LLM-Bidirectional long short-term memory (LLM-BiLSTM) architecture, transformer-based LLMs improve F1 score as compared to prior benchmark with BioM-ELECTRA-Large-BiLSTM showing an average F1 score improvement of 16.1% (increase from 0.64 to 0.74). Applying additional rules on the LLM-based predictions, like ignoring drug-AE pairs when the AE is a known indication of the drug, results in a further reduction in false positive rates with precision increases of up to 5.6% (0.04 increment). Conclusion Transformer-based LLMs outperform traditional machine learning methods in identifying causally related drug-AE pairs embedded within unstructured discharge summaries. Nonetheless the improvement in performance with rules indicates that LLMs still possess some degree of imperfection for this causal relation detection task.Keywords
This publication has 34 references indexed in Scilit:
- Do cutting-edge CAR-T-cell therapies cause cancer? What the data sayNature, 2024
- A large language model for electronic health recordsnpj Digital Medicine, 2022
- Dealing with textual noise for robust and effective BERT re-rankingInformation Processing & Management, 2022
- Combining Machine Learning with a Rule-Based Algorithm to Detect and Identify Related Entities of Documented Adverse Drug Reactions on Hospital Discharge SummariesDrug Safety, 2022
- Normoglycemic diabetic ketoacidosis in a type 2 diabetes patient on dapagliflozin: A case reportClinical Case Reports, 2021
- Interventions to improve adverse drug reaction reporting: A scoping reviewPharmacoepidemiology and Drug Safety, 2020
- Detecting adverse drug reactions in discharge summaries of electronic medical records using ReadpeerInternational Journal of Medical Informatics, 2019
- Detecting Adverse Drug Events with Rapidly Trained Classification ModelsDrug Safety, 2019
- Overview of the First Natural Language Processing Challenge for Extracting Medication, Indication, and Adverse Drug Events from Electronic Health Record Notes (MADE 1.0)Drug Safety, 2019
- Towards Human–Machine Collaboration in Creating an Evaluation Corpus for Adverse Drug Events in Discharge Summaries of Electronic Medical RecordsBig Data Research, 2016