Related Experiment Video
Updated: Aug 5, 2026

High-throughput and Comprehensive Drug Surveillance Using Multisegment Injection-Capillary Electrophoresis-Mass Spectrometry
Published on: April 23, 2019
Automated Multi-Label Adverse drug Reaction Extraction from Malaysia's National Pharmacovigilance Narratives
Sze Gee Lim1, Maizatul Akmar Ismail2
1Department of Information Systems, Faculty of Computer Science and Information Technology, Universiti Malaya, Kuala Lumpur, 50603, Malaysia.
Abstract:
Extracting multiple adverse drug reaction (ADR) terms from unstructured narratives remains challenging, particularly under severe label imbalance that limits the detection of rare ADRs. This study aimed to develop and evaluate a multi-label natural language processing framework for automated ADR extraction within Malaysia's national pharmacovigilance reporting system. We evaluated classical machine learning and transformer-based models within a common framework, incorporating domain-specific preprocessing and imbalance-aware optimization strategies to improve the detection of rare ADRs. The framework was applied to 28,980 real-world ADR narratives annotated with 80 Medical Dictionary for Regulatory Activities (MedDRA) Preferred Terms (PTs) from the Skin and Subcutaneous Tissue Disorders System Organ Class (SOC). Performance was evaluated using micro-F1, macro-F1, precision, recall, and label coverage using a predefined 80/20 train-test evaluation strategy, complemented by pharmacist pilot review. Transformer-based models achieved the strongest performance, with the augmented model attaining a micro-F1 of 0.88, macro-F1 of 0.55, recall of 0.88, and the highest label coverage, correctly predicting 60 of 80 PTs (75%). However, a 70/10/20 sensitivity analysis on the improved transformer model yielded lower micro-F1 and precision, highlighting the impact of further data partitioning on model performance. Improved classical models also showed substantial gains over their baseline models, particularly in micro-F1, macro-F1, recall, and label coverage, consistent with improved detection of rare ADRs. During the pilot review, pharmacists accepted the model-preselected PTs without modification in 19 of 25 narratives (76%), while additional PTs were added in the remaining cases. Although the study was limited to a single SOC and one national pharmacovigilance database, the findings demonstrate that optimization strategies, domain-specific feature enrichment, and targeted augmentation can substantially improve multi-label ADR classification under severe imbalance. These findings support further evaluation of AI-assisted pharmacovigilance with pharmacist oversight in real-world practice.
Insights
Developing an AI framework for adverse drug reaction (ADR) extraction significantly improved rare ADR detection in Malaysia
Area of Science:
- Natural Language Processing
- Pharmacovigilance
- Machine Learning
Background:
- Extracting multiple adverse drug reactions (ADRs) from narratives is challenging due to label imbalance, hindering rare ADR detection.
- Malaysia's national pharmacovigilance system contains valuable ADR data but requires advanced analytical tools.
Purpose of the Study:
- To develop and evaluate a multi-label natural language processing (NLP) framework for automated ADR extraction.
- To enhance the detection of rare ADRs within a national pharmacovigilance reporting system.
Main Methods:
- Evaluated classical machine learning and transformer-based models using domain-specific preprocessing and imbalance-aware optimization.
- Applied the framework to 28,980 real-world ADR narratives from the Skin and Subcutaneous Tissue Disorders System Organ Class (SOC), annotated with 80 Medical Dictionary for Regulatory Activities (MedDRA) Preferred Terms (PTs).
- Performance assessed using micro-F1, macro-F1, precision, recall, and label coverage, with a pharmacist pilot review.
Main Results:
- Transformer-based models outperformed classical models, with an augmented model achieving a micro-F1 of 0.88 and predicting 75% of PTs.
- Improved classical models also showed significant gains, particularly in detecting rare ADRs.
- Pharmacists accepted 76% of model-preselected PTs without modification during pilot review.
Conclusions:
- Optimization strategies, domain-specific features, and augmentation substantially improve multi-label ADR classification under severe imbalance.
- Findings support AI-assisted pharmacovigilance with pharmacist oversight for real-world practice.
- The developed NLP framework shows promise for enhancing ADR extraction and rare ADR detection.
Related Concept Videos
Pharmacovigilance
This process, termed pharmacovigilance, aims to detect, evaluate, and minimize harmful effects related to medication use. The data collection for pharmacovigilance depends on spontaneous reporting systems, where healthcare professionals or patients voluntarily report suspected ADRs.
In some cases, there...
Pharmaceutical Poisoning: Potential Scenarios
Drug Toxicity: Risk factors
Therapeutic Drug Monitoring: Drug Analysis Methods
Drug Regulation
Automated Microbial Diagnostics