CDMed: Medication Recommendation via Causal Inference and Dual-Granularity Information Enhancement
Abstract
1. Introduction
- (1)
- Misleading Co-occurrence of Diseases and Medications. High co-occurrence between medications and diseases in medical data is often mistaken for direct therapeutic relationships. As shown in Figure 1, while pairs like and reflect true treatment links, causal chains among diseases (e.g., ) cause and to co-occur statistically with and . Existing methods over-rely on co-occurrence statistics and cannot separate direct therapeutic effects from indirect correlations, leading to accumulated semantic errors in feedback loops that ultimately compromise the clinical accuracy and safety of recommendation systems.
- (2)
- Inadequate Medication Representation. Current medication representation methods can be categorized into two types: entity-based (coarse-grained) and molecular structure-based (fine-grained) approaches. Coarse-grained methods treat drugs as basic entities, ignoring their chemical and structural properties, which hinders the recognition of drug similarities and interactions. Fine-grained methods provide richer chemical information but primarily operate at the molecular level, while the recommendation target is the complete medication.This may lead the model to favor optimizing molecular-level features over the overall therapeutic efficacy of medications, thereby causing the learning objective to deviate from the medication recommendation task. Furthermore, if fine-grained representations rely solely on 2D structures, they lack 3D conformational information and may lead to misleading recommendations due to high similarity in 2D structures.
- (3)
- DDIs have not been adequately addressed. Recommended medication combinations may involve complex and clinically significant DDIs. For instance, concurrent use of olanzapine (an antipsychotic) and lorazepam (an anxiolytic) can lead to excessive central nervous system depression, increasing risks of over-sedation, respiratory depression, or coma. Therefore, effective DDI control is essential for patient safety. Prior work remains insufficient: some studies [8,13] focus only on recommendation accuracy and neglect DDI considerations, while others [11,14] that do address DDI still exhibit methodological limitations and performance bottlenecks.
- We propose the CDMed framework, which integrates causal reasoning and dual-granularity information enhancement to address issues of misleading co-occurrence associations, insufficient representation, and the balance between safety and accuracy in medication recommendation.
- We develop an innovative medication recommendation framework that integrates coarse-grained entity information with fine-grained molecular structural information, incorporates a molecular contrastive learning mechanism, and distills 3D molecular spatial information into a 2D graph encoder to facilitate effective extraction of molecular features.
- We design a DDI-constrained bias correction module that enhances recommendation safety and accuracy by removing spurious correlations and mitigating DDI risks, achieving an optimal balance between safety and efficacy.
- We conduct comprehensive experiments on two real-world data sets. The results demonstrate the superiority of the proposed method compared to other state-of-the-art baseline models.
2. Related Work
2.1. Medication Recommendation
2.2. Causal Inference in Recommendation Systems
3. Problem Definition
3.1. Medical Entities
3.2. Input and Output
3.3. DDI Matrix
3.4. Causal Discovery and Causal Inference
4. Methodology
4.1. Relationship Mining
4.2. Molecular Pretraining
4.3. Representation Learning
4.3.1. Enhancing Fine-Grained Molecular Structural Features
4.3.2. Integrating Coarse-Grained Causal Associations
4.3.3. Patient Representation
4.4. DDI-Constrained Bias Correction
4.5. Model Training
5. Experiments
5.1. Datasets
5.2. Compared Baselines
- LR [38] (Logistic Regression) is a linear algorithm that estimates category probabilities through feature combinations. It is widely utilized for data classification.
- RETAIN [17] is an attention-based model for sequential data that integrates temporal dynamics to capture key clinical events and provide medication combinations.
- GAMENet [8] combines Graph Neural Networks with memory networks to identify patterns and temporal sequences in medical data, enhancing predictive precision.
- SafeDrug [11] integrates patient health status with molecular knowledge to mitigate the effects of DDI and recommend safer medication combinations.
- MoleRec [12] enhances medication recommendation accuracy by leveraging fine-grained molecular substructure representations.
- BiMoRec [23] utilizes 3D molecular structures to capture atomic coordinates and edge indices, overcoming the information limitations of 2D structures.
- DPID [39] employs dual-view encoding and iterative denoising to filter encounter noise and prevent information loss, improving recommendation robustness.
- PAUP [13] proposes a “Standardized Physician” module that mitigates bias via universal predictions, employs attention to integrate historical medication data, and enhances drug representations with 2D/3D molecular structures
- CIDGMed [16] utilizes causal inference to reveal associations between diseases and medications, fusing global effects with molecular information for comprehensive representations.
5.3. Evaluation Metrics
- Jaccard: Measures the similarity between the set of predicted medications and the set of ground-truth medications.
- DDI Rate: Calculates the ratio of DDI within the recommended medication combinations.
- F1-Score: Provides a comprehensive assessment metric by combining precision and recall.
- PRAUC: Represents the area under the precision–recall curve.
- Average Number of Medications: Represents the mean quantity of medications included in each recommendation.
5.4. Setup Protocol
5.4.1. Experimental Environment
5.4.2. Configuration and Parameter
5.5. Overall Performance Comparison
5.6. Time Efficiency Analysis
5.7. Ablation Study
- CDMed w/o P: This variant removes the pretraining module. Instead, it utilizes SMILES strings to construct graph data for the GIN, generating embeddings for molecular structures and substructures from scratch.
- CDMed w/o C: This variant disregards the coarse-grained causal-based relationship learning. Instead, the association is modeled as co-occurrence-based relationships, where edge weights between disease/procedure-medication pairs are directly assigned according to their frequency in the training data.
- CDMed w/o F: This variant disregards the fine-grained relationship learning. Instead, medication representations are initialized randomly, without leveraging molecular structural information.
- CDMed w/o DBC: This variant removes the DDI-constrained bias correction module, does not apply causal inference to post-process the recommendation probabilities, and generates medication combinations solely based on the initial probabilities derived from the representation learning stage.
- CDMed w/o C + F: This variant disregards the dual-granularity representation learning module based on causal inference and the molecular pretraining module. Instead, medication representations are generated via random initialization, and the graph network is constructed solely based on co-occurrence frequency statistics.
- CDMed w/o C + F + BC: This variant retains only the co-occurrence-based baseline, which constructs medical-entity graphs and generates recommendations without molecular, causal, or bias-correction components.
5.8. Hyperparameter Analysis
5.9. Case Study
6. Discussion
7. Conclusions and Future Work
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Zhang, S.; Li, J.; Zhou, H.; Zhu, Q.; Zhang, S.; Wang, D. Merits: Medication recommendation for chronic disease with irregular time-series. In Proceedings of the 2021 IEEE International Conference on Data Mining (ICDM); IEEE: Piscataway, NJ, USA, 2021; pp. 1481–1486. [Google Scholar]
- Menachemi, N.; Collum, T.H. Benefits and drawbacks of electronic health record systems. Risk Manag. Healthc. Policy 2011, 4, 47–55. [Google Scholar] [CrossRef] [PubMed]
- Deng, Y.; Xu, X.; Qiu, Y.; Xia, J.; Zhang, W.; Liu, S. A multimodal deep learning framework for predicting drug–drug interaction events. Bioinformatics 2020, 36, 4316–4322. [Google Scholar] [CrossRef]
- Gong, F.; Wang, M.; Wang, H.; Wang, S.; Liu, M. SMR: Medical knowledge graph embedding for safe medicine recommendation. Big Data Res. 2021, 23, 100174. [Google Scholar] [CrossRef]
- An, Y.; Zhang, L.; You, M.; Tian, X.; Jin, B.; Wei, X. MeSIN: Multilevel selective and interactive network for medication recommendation. Knowl.-Based Syst. 2021, 233, 107534. [Google Scholar] [CrossRef]
- Zhang, Y.; Chen, R.; Tang, J.; Stewart, W.F.; Sun, J. LEAP: Learning to prescribe effective and safe treatment combinations for multimorbidity. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining; Association for Computing Machinery: New York, NY, USA, 2017; pp. 1315–1324. [Google Scholar]
- Yang, C.; Xiao, C.; Glass, L.; Sun, J. Change Matters: Medication Change Prediction with Recurrent Residual Networks. In Proceedings of the 30th International Joint Conference on Artificial Intelligence (IJCAI), Online, 19–26 August 2021; pp. 3728–3734. [Google Scholar]
- Shang, J.; Xiao, C.; Ma, T.; Li, H.; Sun, J. Gamenet: Graph augmented memory networks for recommending medication combination. AAAI Conf. Artif. Intell. 2019, 33, 1126–1133. [Google Scholar] [CrossRef]
- Zheng, Z.; Wang, C.; Xu, T.; Shen, D.; Qin, P.; Huai, B.; Liu, T.; Chen, E. Drug package recommendation via interaction-aware graph induction. In Proceedings of the Web Conference 2021; Association for Computing Machinery: New York, NY, USA, 2021; pp. 1284–1295. [Google Scholar]
- Ma, T.; Lin, X.; Song, B.; Yu, P.S.; Zeng, X. Kg-mtl: Knowledge graph enhanced multi-task learning for molecular interaction. IEEE Trans. Knowl. Data Eng. 2022, 35, 7068–7081. [Google Scholar] [CrossRef]
- Yang, C.; Xiao, C.; Ma, F.; Glass, L.; Sun, J. SafeDrug: Dual molecular graph encoders for safe drug recommendations. In Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, Montreal, QC, Canada, 19–27 August 2021. [Google Scholar]
- Yang, N.; Zeng, K.; Wu, Q.; Yan, J. Molerec: Combinatorial drug recommendation with substructure-aware molecular representation learning. In Proceedings of the ACM Web Conference 2023; Association for Computing Machinery: New York, NY, USA, 2023; pp. 4075–4085. [Google Scholar]
- Ma, G.-F.; Wen, X.; Yang, X.-H.; Zhou, Y.; Huang, W.; Li, X.-X.; Jiang, P. Robust drug recommendation based on patient status awareness and unbiased prediction. Inf. Process. Manag. 2026, 63, 104698. [Google Scholar] [CrossRef]
- Mi, J.; Zu, Y.; Wang, Z.; He, J. ACDNet: Attention-guided Collaborative Decision Network for effective medication recommendation. J. Biomed. Inform. 2024, 149, 104570. [Google Scholar] [CrossRef]
- Li, X.; Liang, S.; Lei, Y.; Li, C.; Hou, Y.; Zheng, D.; Ma, T. Causalmed: Causality-based personalized medication recommendation centered on patient health state. In Proceedings of the 33rd ACM International Conference on Information and Knowledge Management; Association for Computing Machinery: New York, NY, USA, 2024; pp. 1276–1285. [Google Scholar]
- Liang, S.; Li, X.; Mu, S.; Li, C.; Lei, Y.; Hou, Y.; Ma, T. CIDGMed: Causal inference-driven medication recommendation with enhanced dual-granularity learning. Knowl.-Based Syst. 2025, 309, 112685. [Google Scholar] [CrossRef]
- Choi, E.; Bahadori, M.T.; Sun, J.; Kulas, J.; Schuetz, A.; Stewart, W. Retain: An interpretable predictive model for healthcareusing reverse time attention mechanism. In Proceedings of the 30th International Conference on Neural Information Processing Systems, Barcelona, Spain, 5–10 December 2016. [Google Scholar]
- Wu, R.; Qiu, Z.; Jiang, J.; Qi, G.; Wu, X. Conditional generation net for medication recommendation. In Proceedings of the ACM Web Conference 2022; Association for Computing Machinery: New York, NY, USA, 2022; pp. 935–945. [Google Scholar]
- Zheng, Z.; Wang, C.; Xu, T.; Shen, D.; Qin, P.; Zhao, X.; Huai, B.; Wu, X.; Chen, E. Interaction-aware drug package recommendation via policy gradient. ACM Trans. Inf. Syst. 2023, 41, 1–32. [Google Scholar] [CrossRef]
- Li, X.; Liang, S.; Hou, Y.; Ma, T. StratMed: Relevance stratification between biomedical entities for sparsity on medication recommendation. Knowl.-Based Syst. 2024, 284, 111239. [Google Scholar] [CrossRef]
- Chen, Q.; Li, X.; Geng, K.; Wang, M. Context-aware safe medication recommendations with molecular graph and DDI graph embedding. AAAI Conf. Artif. Intell. 2023, 37, 7053–7060. [Google Scholar] [CrossRef]
- Kang, A.; Lu, M.-Y.; Tian, Y.-K.; Zhang, Y.-J. DFHD: Dual-granularity Fusion Network using Historical Drugs for Drug Recommendation. Expert Syst. Appl. 2025, 298, 129693. [Google Scholar] [CrossRef]
- Mu, S.; Li, C.; Li, X.; Liang, S. Medication recommendation via dual molecular modalities and multi-step enhancement. Expert Syst. Appl. 2025, 276, 127163. [Google Scholar] [CrossRef]
- Gao, C.; Zheng, Y.; Wang, W.; Feng, F.; He, X.; Li, Y. Causal inference in recommender systems: A survey and future directions. ACM Trans. Inf. Syst. 2024, 42, 1–32. [Google Scholar] [CrossRef]
- Wei, T.; Feng, F.; Chen, J.; Wu, Z.; Yi, J.; He, X. Model-agnostic counterfactual reasoning for eliminating popularity bias in recommender system. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining; Association for Computing Machinery: New York, NY, USA, 2021; pp. 1791–1800. [Google Scholar]
- Hoffman, K.B.; Dimbil, M.; Erdman, C.B.; Tatonetti, N.P.; Overstreet, B.M. The Weber effect and the United States Food and Drug Administration’s Adverse Event Reporting System (FAERS): Analysis of sixty-two drugs approved from 2006 to 2010. Drug Saf. 2014, 37, 283–294. [Google Scholar] [CrossRef]
- Hasan, U.; Hossain, E.; Gani, M.O. A survey on causal discovery methods for temporal and non-temporal data. arXiv 2023, arXiv:2303.15027. [Google Scholar]
- Johnson, A.E.; Pollard, T.J.; Shen, L.; Lehman, L.W.H.; Feng, M.; Ghassemi, M.; Moody, B.; Szolovits, P.; Anthony Celi, L.; Mark, R.G. MIMIC-III, a freely accessible critical care database. Sci. Data 2016, 3, 160035. [Google Scholar] [CrossRef]
- Johnson, A.E.; Bulgarelli, L.; Shen, L.; Gayles, A.; Shammout, A.; Horng, S.; Pollard, T.J.; Hao, S.; Moody, B.; Gow, B. MIMIC-IV, a freely accessible electronic health record dataset. Sci. Data 2023, 10, 1. [Google Scholar] [CrossRef]
- Hastie, T.J.; Pregibon, D. Generalized linear models. In Statistical Models in S; Routledge: London, UK, 2017; pp. 195–247. [Google Scholar]
- Xu, K.; Hu, W.; Leskovec, J.; Jegelka, S. How powerful are graph neural networks? arXiv 2018, arXiv:1810.00826. [Google Scholar]
- Townshend, R.J.; Vögele, M.; Suriana, P.; Derry, A.; Powers, A.; Laloudakis, Y.; Balachandar, S.; Jing, B.; Anderson, B.; Eismann, S. Atom3d: Tasks on molecules in three dimensions. arXiv 2020, arXiv:2012.04035. [Google Scholar]
- Jing, B.; Eismann, S.; Suriana, P.; Townshend, R.J.; Dror, R. Learning from protein structure with geometric vector perceptrons. arXiv 2020, arXiv:2009.01411. [Google Scholar]
- Landrum, G. Rdkit documentation. Release 2013, 1, 4. [Google Scholar]
- Luo, Y.; Liu, Y.; Peng, J. Calibrated geometric deep learning improves kinase–drug binding predictions. Nat. Mach. Intell. 2023, 5, 1390–1401. [Google Scholar] [CrossRef]
- Schlichtkrull, M.; Kipf, T.N.; Bloem, P.; Van Den Berg, R.; Titov, I.; Welling, M. Modeling relational data with graph convolutional networks. In Proceedings of the European Semantic Web Conference; Springer International Publishing: Cham, Switzerland, 2018; pp. 593–607. [Google Scholar]
- Lee, J.; Lee, Y.; Kim, J.; Kosiorek, A.; Choi, S.; Teh, Y.W. Set transformer: A framework for attention-based permutation-invariant neural networks. In Proceedings of the International Conference on Machine Learning; PMLR: Long Beach, CA, USA, 2019; pp. 3744–3753. [Google Scholar]
- Indra, S.; Wikarsa, L.; Turang, R. Using logistic regression method to classify tweets into the selected topics. In Proceedings of the 2016 International Conference on Advanced Computer Science and Information Systems (ICACSIS); IEEE: Piscataway, NJ, USA, 2016; pp. 385–390. [Google Scholar]
- Li, X.; Meng, F.; Wei, J.; Zhang, Y. Towards robust drug recommendation based on dual perspective encoder and iterative denoising mechanism. Expert Syst. Appl. 2025, 283, 127784. [Google Scholar] [CrossRef]
- Cheng, K.; Xue, X.; Chan, K. Zero emission electric vessel development. In Proceedings of the 2015 6th International Conference on Power Electronics Systems and Applications (PESA); IEEE: Piscataway, NJ, USA, 2015; pp. 1–5. [Google Scholar]
- Sanders, M.P.; Barbosa, A.J.; Zarzycka, B.; Nicolaes, G.A.; Klomp, J.P.; De Vlieg, J.; Del Rio, A. Comparative analysis of pharmacophore screening tools. J. Chem. Inf. Model. 2012, 52, 1607–1620. [Google Scholar] [CrossRef]
- Tutsoy, O.; Ozturk, H.A.; Sumbul, H.E. Big data dimensionality reduction-based supervised machine learning algorithms for NASH diagnosis. BMC Bioinform. 2025, 26, 256. [Google Scholar] [CrossRef]









| MIMIC-III | MIMIC-IV | |
|---|---|---|
| # of patients | 6350 | 60,125 |
| # of visits | 15,032 | 156,810 |
| # of diagnoses | 1958 | 2000 |
| # of procedures | 1430 | 1500 |
| # of medications | 131 | 131 |
| Average # visits | 2.37 | 2.61 |
| Average # medications | 8.80 | 6.66 |
| Methods | Jaccard ↑ | F1-Score ↑ | PRAUC ↑ | DDI Rate ↓ | Avg. Med. ↓ |
|---|---|---|---|---|---|
| LR | 0.4348 ± 0.0019 | 0.6491 ± 0.0019 | 0.7433 ± 0.0019 | 0.0831 ± 0.0025 | 16.0489 ± 0.0015 |
| RETAIN | 0.4871 ± 0.0021 | 0.6478 ± 0.0027 | 0.7600 ± 0.0024 | 0.0879 ± 0.0022 | 19.4222 ± 0.0017 |
| GAMENet | 0.4994 ± 0.0013 | 0.6560 ± 0.0016 | 0.7656 ± 0.0023 | 0.0891 ± 0.0006 | 27.7311 ± 0.0018 |
| SafeDrug | 0.5154 ± 0.0015 | 0.6722 ± 0.0011 | 0.7627 ± 0.0008 | 0.0655 ± 0.0021 | 19.4316 ± 0.0019 |
| MoleRec | 0.5293 ± 0.0021 | 0.6834 ± 0.0008 | 0.7746 ± 0.0012 | 0.0728 ± 0.0024 | 22.0125 ± 0.0006 |
| BiMoRec | 0.5414 ± 0.0019 | 0.6944 ± 0.0015 | 0.7853 ± 0.0019 | 0.0707 ± 0.0019 | 20.3989 ± 0.0009 |
| DPID | 0.5428 ± 0.0013 | 0.6948 ± 0.0019 | 0.7877 ± 0.0021 | 0.0671 ± 0.0018 | 19.9611 ± 0.0014 |
| PAUP | 0.5455 ± 0.0017 | 0.6979 ± 0.0009 | 0.7896 ± 0.0017 | 0.0736 ± 0.0015 | 21.4357 ± 0.0016 |
| CIDGMed | 0.5503 ± 0.0016 | 0.7053 ± 0.0021 | 0.7891 ± 0.0026 | 0.0684 ± 0.0014 | 22.0311 ± 0.0012 |
| CDMed | 0.5627 ± 0.0011 | 0.7142 ± 0.0019 | 0.7975 ± 0.0015 | 0.0661 ± 0.0019 | 20.2911 ± 0.0016 |
| Methods | Jaccard ↑ | F1-Score ↑ | PRAUC ↑ | DDI Rate ↓ | Avg. Med. ↓ |
|---|---|---|---|---|---|
| LR | 0.4264 ± 0.0011 | 0.5546 ± 0.0016 | 0.6613 ± 0.0019 | 0.0783 ± 0.0025 | 8.5738 ± 0.0013 |
| RETAIN | 0.4234 ± 0.0021 | 0.5792 ± 0.0017 | 0.6792 ± 0.0013 | 0.0936 ± 0.0022 | 10.9522 ± 0.0010 |
| GAMENet | 0.4565 ± 0.0018 | 0.6103 ± 0.0019 | 0.7092 ± 0.0023 | 0.0685 ± 0.0017 | 18.5895 ± 0.0018 |
| SafeDrug | 0.4487 ± 0.0012 | 0.6014 ± 0.0017 | 0.6948 ± 0.0018 | 0.0604 ± 0.0011 | 13.6943 ± 0.0014 |
| MoleRec | 0.4744 ± 0.0013 | 0.6262 ± 0.0018 | 0.7124 ± 0.0017 | 0.0722 ± 0.0014 | 13.4806 ± 0.0015 |
| BiMoRec | 0.4917 ± 0.0015 | 0.6424 ± 0.0009 | 0.7366 ± 0.0015 | 0.0696 ± 0.0018 | 13.5489 ± 0.0011 |
| DPID | 0.5052 ± 0.0024 | 0.6548 ± 0.0014 | 0.7521 ± 0.0022 | 0.0650 ± 0.0019 | 16.9611 ± 0.0013 |
| PAUP | 0.4960 ± 0.0021 | 0.6474 ± 0.0011 | 0.7426 ± 0.0017 | 0.0671 ± 0.0012 | 13.5357 ± 0.0014 |
| CIDGMed | 0.5013 ± 0.0011 | 0.6523 ± 0.0015 | 0.7449 ± 0.0026 | 0.0653 ± 0.0016 | 18.4811 ± 0.0015 |
| CDMed | 0.5129 ± 0.0011 | 0.6611 ± 0.0019 | 0.7561 ± 0.0015 | 0.0641 ± 0.0019 | 13.9191 ± 0.0012 |
| Model | Convergence Epoch | Training Time /Epoch (s) | Total Training Times (s) | Inference Times (s) |
|---|---|---|---|---|
| LEAP | 30 | 380.1 | 11,403.0 | 380.1 |
| GAMENet | 39 | 45.5 | 1774.5 | 19.5 |
| SafeDrug | 54 | 38.4 | 2073.6 | 20.2 |
| MoleRec | 25 | 250.8 | 6270.0 | 32.1 |
| BiMoRec | 15 | 409.3 | 6139.5 | 15.1 |
| CIDGMed | 10 | 332.7 | 3327.0 | 22.7 |
| CDMed | 12 | 354.4 | 4252.8 | 18.4 |
| Model Variant | MIMIC-III | MIMIC-IV | ||||||
|---|---|---|---|---|---|---|---|---|
| Jaccard | DDI | F1 | PRAUC | Jaccard | DDI | F1 | PRAUC | |
| CDMed w/o P | 0.5511 | 0.0679 | 0.7029 | 0.7930 | 0.5035 | 0.0686 | 0.6535 | 0.7481 |
| CDMed w/o C | 0.5489 | 0.0679 | 0.6921 | 0.7902 | 0.4892 | 0.0672 | 0.6443 | 0.7389 |
| CDMed w/o F | 0.5497 | 0.0711 | 0.6992 | 0.7911 | 0.4878 | 0.0712 | 0.6457 | 0.7428 |
| CDMed w/o DBC | 0.5472 | 0.0672 | 0.6882 | 0.7816 | 0.4801 | 0.0688 | 0.6382 | 0.7363 |
| CDMed w/o C + F | 0.5468 | 0.0722 | 0.6987 | 0.7830 | 0.4825 | 0.0709 | 0.6419 | 0.7376 |
| CDMed w/o C + F + DBC | 0.5401 | 0.0715 | 0.7017 | 0.7781 | 0.4798 | 0.0697 | 0.6392 | 0.7314 |
| CDMed | 0.5627 | 0.0661 | 0.7142 | 0.7975 | 0.5129 | 0.0641 | 0.6611 | 0.7561 |
| Patient | Methods | Recommended Medication Combination |
|---|---|---|
| 1 | Ground-Truth (23) | A06A B05C C07A A12B C03C A12A A02A J01M C02A B01A A11C C03A A03B N06A A01A C01A A02B C02D C01B N05C A12C C09A D01A |
| SafeDrug | 13 correct + 10 missed + 6 unseen | |
| BiMoRec | 14 correct + 9 missed + 7 unseen | |
| CIDGMed | 14correct + 9 missed + 5 unseen | |
| CDMed | 16correct + 7 missed + 4 unseen | |
| 2 | Ground-Truth (20) | C07A N02B B01A H03A R01A R03A A02B R05D J01F J01D N05B A04A N04C B10A G04C N06A A07E A06A A12C A07A |
| SafeDrug | 11 correct + 9 missed + 6 unseen | |
| BiMoRec | 13 correct + 7 missed + 6 unseen | |
| CIDGMed | 14correct + 6 missed + 4 unseen | |
| CDMed | 16correct + 4 missed + 4 unseen | |
| 3 | Ground-Truth (20) | A06A B05C A12C A07A N02B C03C A02A B01A A02B C01C A12B H03A J01M N02A R03A J01C B02B H01C N05A C01B |
| SafeDrug | 10correct + 10 missed + 5 unseen | |
| BiMoRec | 14correct + 11 missed + 6 unseen | |
| CIDGMed | 14correct + 11 missed + 4 unseen | |
| CDMed | 15correct + 10 missed + 5 unseen |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Liu, J.; Wang, H.; He, J. CDMed: Medication Recommendation via Causal Inference and Dual-Granularity Information Enhancement. Electronics 2026, 15, 2087. https://doi.org/10.3390/electronics15102087
Liu J, Wang H, He J. CDMed: Medication Recommendation via Causal Inference and Dual-Granularity Information Enhancement. Electronics. 2026; 15(10):2087. https://doi.org/10.3390/electronics15102087
Chicago/Turabian StyleLiu, Jialei, Haitao Wang, and Jianfeng He. 2026. "CDMed: Medication Recommendation via Causal Inference and Dual-Granularity Information Enhancement" Electronics 15, no. 10: 2087. https://doi.org/10.3390/electronics15102087
APA StyleLiu, J., Wang, H., & He, J. (2026). CDMed: Medication Recommendation via Causal Inference and Dual-Granularity Information Enhancement. Electronics, 15(10), 2087. https://doi.org/10.3390/electronics15102087
