Automated Drug Name Mapping Using Weighted Ensemble Natural Language Processing and Machine Learning Reranker

Drug names in Electronic Medical Records (EMR) are often entered by healthcare workers as free text, resulting in spelling errors, inconsistent formatting, and ambiguous abbreviations that hinder automated mapping to standardized drug databases. This study proposes an automated drug name-mapping system that integrates multi-method ensemble scoring with a supervised machine learning reranker. The system employs Term Frequency–Inverse Document Frequency (TF-IDF) character n-grams for candidate retrieval, followed by a weighted ensemble of five similarity methods, including Best Matching 25 and fuzzy string-matching variants, supplemented by pharmaceutical-domain features. A Random Forest reranker is subsequently applied to improve ranking accuracy. Experiments were conducted on 9,326 free-text prescriptions against a master database of 55,078 drug entries, using an 80:20 stratified split to train and evaluate the reranker. The proposed system achieved a Top-1 Accuracy of 79.53%, representing an 18.53 percentage-point improvement over the Euclidean Distance baseline (61.00%). The confidence-scoring mechanism categorized predictions into three tiers: HIGH-confidence cases achieved 87.44% accuracy, and LOW-confidence cases achieved 28.30% accuracy, enabling selective automation for HIGH-confidence cases and targeted manual review for ambiguous cases. These results confirm that ensemble-based Natural Language Processing, combined with machine-learning-based reranking, provides a reliable solution for automated drug name standardization in clinical information systems.

Authors

Institutions

Publication Details

Journal
MALCOM Indonesian Journal of Machine Learning and Computer Science
Published
2026-10-30
DOI
https://doi.org/10.57152/malcom.v6i4.2679
Primary Topic
Biomedical Text Mining and Ontologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automated Drug Name Mapping Using Weighted Ensemble Natural Language Processing and Machine Learning Reranker

Akhas Rahmadeyan, Shumaya Resty Ramadhani, Azmi Fadhilah Hasibuan
MALCOM Indonesian Journal of Machine Learning and Computer Science
Biomedical Text Mining and Ontologies
article

Automated Drug Name Mapping Using Weighted Ensemble Natural Language Processing and Machine Learning Reranker

Akhas Rahmadeyan, Shumaya Resty Ramadhani, Azmi Fadhilah Hasibuan
article en

Abstract

Drug names in Electronic Medical Records (EMR) are often entered by healthcare workers as free text, resulting in spelling errors, inconsistent formatting, and ambiguous abbreviations that hinder automated mapping to standardized drug databases. This study proposes an automated drug name-mapping system that integrates multi-method ensemble scoring with a supervised machine learning reranker. The system employs Term Frequency–Inverse Document Frequency (TF-IDF) character n-grams for candidate retrieval, followed by a weighted ensemble of five similarity methods, including Best Matching 25 and fuzzy string-matching variants, supplemented by pharmaceutical-domain features. A Random Forest reranker is subsequently applied to improve ranking accuracy. Experiments were conducted on 9,326 free-text prescriptions against a master database of 55,078 drug entries, using an 80:20 stratified split to train and evaluate the reranker. The proposed system achieved a Top-1 Accuracy of 79.53%, representing an 18.53 percentage-point improvement over the Euclidean Distance baseline (61.00%). The confidence-scoring mechanism categorized predictions into three tiers: HIGH-confidence cases achieved 87.44% accuracy, and LOW-confidence cases achieved 28.30% accuracy, enabling selective automation for HIGH-confidence cases and targeted manual review for ambiguous cases. These results confirm that ensemble-based Natural Language Processing, combined with machine-learning-based reranking, provides a reliable solution for automated drug name standardization in clinical information systems.

MALCOM Indonesian Journal of Machine Learning and Computer Science
Ecology and Ecosystem Health (FR), Ecosystem Sciences (AU), Caltex Riau Polytechnic (ID)
Good health and well-being
Openalex Percentile: Top 22%
Biomedical Text Mining and Ontologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Automated Drug Name Mapping Using Weighted Ensemble Natural Language Processing and Machine Learning Reranker — Akhas Rahmadeyan, Shumaya Resty Ramadhani, et al. · MALCOM Indonesian Journal of Machine Learning and Computer Science (2026) | TGRS Research Map | TGRS