Improving the performance of machine learning penicillin adverse drug reaction classification with synthetic data and transfer learning
- 14 March 2024
- journal article
- research article
- Published by Wiley in Internal Medicine Journal
- Vol. 54 (7) , 1183-1189
Abstract
Background: Machine learning may assist with the identification of potentially inappropriate penicillin allergy labels. Strategies to improve the performance of existing models for this task include the use of additional training data, synthetic data and transfer learning.Aims: The aims of this study were to investigate the use of additional training data and novel machine learning strategies, namely synthetic data and transfer learning, to improve the performance of penicillin adverse drug reaction (ADR) machine learning classification.Methods: Machine learning natural language processing was applied to free‐text penicillin ADR data extracted from a public health system electronic health record (EHR). The models were developed by training on various labelled data sets. ADR entries were split into training and testing data sets and used to develop and test a variety of machine learning models. The effect of training on additional data and synthetic data versus the use of transfer learning was analysed.Results: Following the application of these techniques, the area under the receiver operator curve of best‐performing models for the classification of penicillin allergy (vs intolerance) and high‐risk allergy (vs low‐risk allergy) improved to 0.984 (using the artificial neural network model) and 0.995 (with the transfer learning approach) respectively.Conclusions: Machine learning models demonstrate high levels of accuracy in the classification and risk stratification of penicillin ADR labels using the reaction documented in the EHR. The model can be further optimised by incorporating additional training data and using transfer learning. Practical applications include automating case detection for penicillin allergy delabelling programmes.Keywords
This publication has 14 references indexed in Scilit:
- Automation of penicillin adverse drug reaction categorisation and risk stratification with machine learning natural language processingInternational Journal of Medical Informatics, 2021
- Synthetic data in machine learning for medicine and healthcareNature Biomedical Engineering, 2021
- Med-BERT: pretrained contextualized embeddings on large-scale structured electronic health records for disease predictionnpj Digital Medicine, 2021
- Evaluation of a Pharmacist-Led Penicillin Allergy Assessment Program and Allergy Delabeling in a Tertiary Care HospitalJAMA Network Open, 2021
- The Penicillin Allergy Delabeling Program: A Multicenter Whole-of-Hospital Health Services Intervention and Comparative Effectiveness StudyClinical Infectious Diseases, 2020
- Categorization of adverse drug reactions in electronic health recordsPharmacology Research & Perspectives, 2020
- Pathways to improved antibiotic allergy and antimicrobial stewardship practice: The validation of a beta-lactam antibiotic allergy assessment toolThe Journal of Allergy and Clinical Immunology: In Practice, 2019
- The Cost of Self-Reported Penicillin Allergy: A Systematic ReviewThe Journal of Allergy and Clinical Immunology: In Practice, 2018
- Documentation of penicillin adverse drug reactions in electronic health records: inconsistent use of allergy and intolerance labelsInternal Medicine Journal, 2017
- Drug allergyJournal of Allergy and Clinical Immunology, 2010