Abstract
Combinatorial medication recommendation (CMR) is a fundamental task in healthcare, offering clinical physicians the opportunity to provide precise prescriptions for patients with complex health conditions. While previous efforts have extracted information from electronic health records (EHRs) and chemical structures, they often ignore textual medication descriptions and the rich textual knowledge within EHRs. We introduce Natural Language-Assisted Multi-modal Medication Recommendation (NLA-MMR), a framework that treats CMR as an alignment problem between patient and medication modalities. By employing pretrained language models (PLMs) to extract in-domain knowledge, NLA-MMR integrates chemical structures and textual descriptions for medications, alongside textual descriptions of diagnoses, procedures, and symptoms for patients. Extensive experiments on three public datasets show that NLA-MMR achieves state-of-the-art performance, with an average improvement of 4.72% in Jaccard score.
Introduction
Combinatorial Medication Recommendation (CMR) involves suggesting a set of medications for a patient based on their Electronic Health Records (EHRs). This task is critical for managing patients with multimorbidity—multiple concurrent chronic conditions—where the risk of adverse Drug-Drug Interactions (DDI) is high.
Traditional learning-based approaches typically rely on discrete medical codes (e.g., ICD-9) and chemical structures. However, these methods suffer from two primary limitations: the "lossy" nature of discrete codes, which fail to capture clinical nuances found in physician notes, and the underutilization of functional drug descriptions that explain a medication's therapeutic purpose in natural language. NLA-MMR addresses these gaps by establishing a deep semantic link between patient clinical states and medication functionalities through multi-modal alignment.
Methodology
NLA-MMR is designed as a multi-modal alignment framework consisting of three primary components: the Patient Representation Module, the Medication Representation Module, and the Cross-Modal Alignment Module.
Patient and Medication Representation
In the Patient Representation Module, the system utilizes a frozen PLM (such as BioBERT) to encode textual descriptions of diagnoses, procedures, and symptoms. A cross-attention fusion mechanism is employed to weigh these inputs based on their relevance to the current clinical visit.
The Medication Representation Module combines structural and functional knowledge. Structural features are extracted from chemical bonds using a Graph Neural Network (GNN), while functional knowledge is derived from textual descriptions (e.g., from DrugBank) via a PLM.
Cross-Modal Alignment and Retrieval
Unlike traditional multi-label classification approaches, NLA-MMR treats recommendation as a similarity retrieval problem. Both patient and medication representations are projected into a shared latent space. The model identifies medications whose functional descriptions align most closely with the patient's clinical state. To ensure continuity in long-term care, the model also integrates historical medication data through an additional attention layer.
Experimental Evaluation
The model was evaluated on three gold-standard datasets: MIMIC-III, MIMIC-IV, and eICU.
Performance and Safety
NLA-MMR established new state-of-the-art benchmarks across all datasets. It achieved significant improvements in the Jaccard score: +2.86% on MIMIC-III, +7.01% on MIMIC-IV, and +4.29% on eICU. Beyond accuracy, the model demonstrated superior safety profiles by achieving the lowest ΔDDI (the difference between predicted and real-world drug-drug interaction rates), effectively mimicking the safety considerations of human physicians.
Efficiency and Insights
Despite the use of heavy-duty PLMs, NLA-MMR proved highly efficient. Training time per epoch on MIMIC-III was approximately 50 seconds, significantly faster than GNN-heavy baselines like MoleRec (~470 seconds). Visualization using t-SNE confirmed that the integration of GNN-based structural features with text-based features creates more distinct and clinically useful drug clusters than using either modality in isolation.
Conclusion
NLA-MMR demonstrates that medication recommendation can be significantly improved by leveraging the semantic power of natural language. By aligning the textual nuance of patient records with the functional descriptions of drugs, the framework provides a more holistic and accurate approach to clinical decision support. Future work may involve fine-tuning PLMs on specific clinical dialects and integrating additional EHR modalities such as laboratory results and medical imaging.
Summary updated