OntoMedRec: Logically-Pretrained Model-Agnostic Ontology Encoders for Medication Recommendation
Weicong Tan, Weiqing Wang, Xin Zhou, Wray Buntine, Gordon Bingham, Hongzhi Yin
TL;DR
OntoMedRec tackles data sparsity in medication recommendation by leveraging medical ontologies through Logic Tensor Networks to create logically-grounded, domain-agnostic ontology encoders. The three encoders (for diagnoses, procedures, and medications) are pre-trained with DAG-aware axioms and an axiom-oriented sampling strategy, then aligned with indication data from MEDI. The pre-trained embeddings are model-agnostic and can initialize both instance-based and longitudinal downstream models, improving performance especially in few-shot, sparse scenarios. This provides a scalable, interpretable pretraining paradigm for ontology-aware clinical decision support with demonstrated improvements on the MIMIC-III benchmark.
Abstract
Most existing medication recommendation models learn representations for medical concepts based on electronic health records (EHRs) and make recommendations with learnt representations. However, most medications appear in the dataset for limited times, resulting in insufficient learning of their representations. Medical ontologies are the hierarchical classification systems for medical terms where similar terms are in the same class on a certain level. In this paper, we propose OntoMedRec, the logically-pretrained and model-agnostic medical Ontology Encoders for Medication Recommendation that addresses data sparsity problem with medical ontologies. We conduct comprehensive experiments on benchmark datasets to evaluate the effectiveness of OntoMedRec, and the result shows the integration of OntoMedRec improves the performance of various models in both the entire EHR datasets and the admissions with few-shot medications. We provide the GitHub repository for the source code on https://anonymous.4open.science/r/OntoMedRec-D123
