Proceedings

MGRec: Structure-Grounded Medication Recommendation via Condition-Aware Molecular Representation Learning

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 2599-2607.

https://doi.org/10.24963/ijcai.2026/289

Abstract

Medication recommendation plays a critical role in clinical decision-making by supporting personalized and safe treatment planning. Existing methods rely heavily on historical co-occurrence patterns and primarily optimize discrete prescription prediction objectives, limiting generalization in rare or emerging disease settings. We propose MGRec, a framework that shifts learning from discrete prescription prediction to condition-aware modeling in a continuous molecular representation space. MGRec treats molecular structure as the primary modeling target and employs a Therapeutic--Safety Factorized Conditional Variational Autoencoder to disentangle therapeutic and safety-related factors in a condition-aware molecular latent space. The model infers treatment-relevant molecular representations conditioned on current patient-specific clinical context, which are mapped to clinically approved medications for final recommendation. To improve clinical safety, we further introduce a DDI (drug-drug interaction)-guided latent regularization to integrate drug interaction knowledge at the representation level. Experiments on two real-world benchmarks demonstrate that MGRec achieves state-of-the-art accuracy and reduced interaction risk, particularly in data-sparse scenarios.

  1. [Agrawal and Prabakaran, 2020] Raag Agrawal and Sud- hakaran Prabakaran. Big data in digital healthcare: lessons learnt and recommendations for general practice. Hered- ity, 124(4):525-534, 2020.
  2. [Ben-Zeev et al., 2004] Bruria Ben-Zeev, Nathan Watem- berg, Pinchas Lerman, Itshak Barash, Nathan Brand, and Tally Lerman-Sagie. Sulthiame in childhood epilepsy. Pe- diatrics international, 46(5):521-524, 2004.
  3. [Brater, 1998] D Craig Brater. Diuretic therapy. New Eng- land Journal of Medicine, 339(6):387-395, 1998.
  4. [Bresnahan et al., 2019] Rebecca Bresnahan, Kirsty J Martin-McGill, Philip Milburn-McNulty, Graham Powell, Graeme J Sills, and Anthony G Marson. Sulthiame add-on therapy for epilepsy. Cochrane Database of Systematic Reviews, (8), 2019.
  5. [Choi et al., 2016] Edward Choi, Mohammad Taha Ba- hadori, Jimeng Sun, Joshua Kulas, Andy Schuetz, and Walter Stewart. Retain: An interpretable predictive model for healthcare using reverse time attention mechanism. Advances in neural information processing systems, 29, 2016.
  6. [Dagliati et al., 2021] Arianna Dagliati, Alberto Malovini, Valentina Tibollo, and Riccardo Bellazzi. Health infor- matics and ehr to support clinical research in the covid- 19 pandemic: an overview. Briefings in bioinformatics, 22(2):812-822, 2021.
  7. [Esteva et al., 2019] Andre Esteva, Alexandre Robicquet, Bharath Ramsundar, Volodymyr Kuleshov, Mark De- Pristo, Katherine Chou, Claire Cui, Greg Corrado, Sebas- tian Thrun, and Jeff Dean. A guide to deep learning in healthcare. Nature medicine, 25(1):24-29, 2019.
  8. [Faviez et al., 2020] Carole Faviez, Xiaoyi Chen, Nicolas Garcelon, Antoine Neuraz, Bertrand Knebelmann, Rémi Salomon, Stanislas Lyonnet, Sophie Saunier, and Anita Burgun. Diagnosis support systems for rare diseases: a scoping review. Orphanet journal of rare diseases, 15(1):94, 2020.
  9. [Garbe et al., 1993] E Garbe, J Röhmel, and U Gundert- Remy. Clinical and statistical issues in therapeutic equiv- alence trials. European journal of clinical pharmacology, 45:1-7, 1993.
  10. [Garriga et al., 2022] Roger Garriga, Javier Mas, Semhar Abraha, Jon Nolan, Oliver Harrison, George Tadros, and Aleksandar Matic. Machine learning model to predict mental health crises from electronic health records. Na- ture medicine, 28(6):1240-1248, 2022.
  11. [Gómez-Bombarelli et al., 2018] Rafael Gómez- Bombarelli, Jennifer N Wei, David Duvenaud, José Miguel Hernández-Lobato, Benjamín Sánchez- Lengeling, Dennis Sheberla, Jorge Aguilera-Iparraguirre, Timothy D Hirzel, Ryan P Adams, and Alán Aspuru- Guzik. Automatic chemical design using a data-driven continuous representation of molecules. ACS central science, 4(2):268-276, 2018.
  12. [Gorman and Shahwan, 2016] Kathleen M Gorman and Amre Shahwan. Sultiame revisited: treatment of refrac- tory absence seizures. Epileptic Disorders, 18(3):329- 333, 2016.
  13. [Heard, 2008] Kennon J Heard. Acetylcysteine for ac- etaminophen poisoning. New England Journal of Medicine, 359(3):285-292, 2008.
  14. [Jensen, 1906] Johan Ludwig William Valdemar Jensen. Sur les fonctions convexes et les inégalités entre les valeurs moyennes. Acta mathematica, 30(1):175-193, 1906.
  15. [Jin et al., 2018] Wengong Jin, Regina Barzilay, and Tommi Jaakkola. Junction tree variational autoencoder for molec- ular graph generation. In International conference on ma- chine learning, pages 2323-2332. PMLR, 2018.
  16. [Johnson et al., 2016] Alistair EW Johnson, Tom J Pollard, Lu Shen, Li-wei H Lehman, Mengling Feng, Mohammad Ghassemi, Benjamin Moody, Peter Szolovits, Leo An- thony Celi, and Roger G Mark. Mimic-iii, a freely ac- cessible critical care database. Scientific data, 3(1):1-9, 2016.
  17. [Johnson et al., 2023] Alistair EW Johnson, Lucas Bulgar- elli, Lu Shen, Alvin Gayles, Ayad Shammout, Steven Horng, Tom J Pollard, Sicheng Hao, Benjamin Moody, Brian Gow, et al. Mimic-iv, a freely accessible electronic health record dataset. Scientific data, 10(1):1, 2023.
  18. [Jones et al., 2008] Kate E Jones, Nikkita G Patel, Marc A Levy, Adam Storeygard, Deborah Balk, John L Gittleman, and Peter Daszak. Global trends in emerging infectious diseases. Nature, 451(7181):990-993, 2008.
  19. [Kingma, 2013] Diederik P Kingma. Auto-encoding varia- tional bayes. arXiv preprint arXiv:1312.6114, 2013.
  20. [Kou et al., 2024] Zhiqiang Kou, Jing Wang, Jiawei Tang, Yuheng Jia, Boyu Shi, and Xin Geng. Exploiting multi- label correlation in label distribution learning. In Proceed- ings of the Thirty-Third International Joint Conference on Artificial Intelligence, pages 4326-4334, 2024.
  21. [Kou et al., 2025] Zhiqiang Kou, Si Qin, Hailin Wang, Jing Wang, Mingkun Xie, Shuo Chen, Yuheng Jia, Tongliang Liu, Masashi Sugiyama, and Xin Geng. Label distribution learning with biased annotations assisted by multi-label learning. In Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence, 8 2025. IJCAI
  22. [Kuang and Xie, 2024] Yabin Kuang and Minzhu Xie. Drug- doctor: enhancing drug recommendation in cold-start sce- nario via visit-level representation learning and training. Briefings in Bioinformatics, 25(6):bbae464, 2024.
  23. [Liu et al., 2023] Sicen Liu, Xiaolong Wang, Jingcheng Du, Yongshuai Hou, Xianbing Zhao, Hui Xu, Hui Wang, Yang Xiang, and Buzhou Tang. Shape: A sample-adaptive hier- archical prediction network for medication recommenda- tion. IEEE Journal of Biomedical and Health Informatics, 2023.
  24. [Loshchilov and Hutter, 2017] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. arXiv preprint arXiv:1711.05101, 2017.
  25. [Ochiai et al., 2023] Toshiki Ochiai, Tensei Inukai, Man- ato Akiyama, Kairi Furui, Masahito Ohue, Nobuaki Matsumori, Shinsuke Inuki, Motonari Uesugi, Toshiaki Sunazuka, Kazuya Kikuchi, et al. Variational autoencoder- based chemical latent space for large molecular struc- tures with 3d complexity. Communications Chemistry, 6(1):249, 2023.
  26. [Oduah et al., 2016] Eziafa I Oduah, Robert J Linhardt, and Susan T Sharfstein. Heparin: past, present, and future. Pharmaceuticals, 9(3):38, 2016.
  27. [Pang et al., 2023] Chao Pang, Jianbo Qiao, Xiangxiang Zeng, Quan Zou, and Leyi Wei. Deep generative models in de novo drug molecule generation. Journal of Chemical Information and Modeling, 64(7):2174-2194, 2023.
  28. [Ryan and Warden, 2003] Laurie M Ryan and Deborah L Warden. Post concussion syndrome. International review of psychiatry, 15(4):310-316, 2003.
  29. [Samanta et al., 2020] Soumitra Samanta, Steve O'Hagan, Neil Swainston, Timothy J Roberts, and Douglas B Kell. Vae-sim: a novel molecular similarity measure based on a variational autoencoder. Molecules, 25(15):3446, 2020.
  30. [Schellekens et al., 2011] Huub Schellekens, Ety Klinger, Stefan Mühlebach, Jean-Francois Brin, Gert Storm, and Daan JA Crommelin. The therapeutic equivalence of com- plex drugs. Regulatory Toxicology and Pharmacology, 59(1):176-183, 2011.
  31. [Schieppati et al., 2008] Arrigo Schieppati, Jan-Inge Hen- ter, Erica Daina, and Anita Aperia. Why rare diseases are an important medical and social issue. The Lancet, 371(9629):2039-2041, 2008.
  32. [Senbekov et al., 2020] Maksut Senbekov, Timur Saliev, Zhanar Bukeyeva, Aigul Almabayeva, Marina Zhanaliyeva, Nazym Aitenova, Yerzhan Toishibekov, and Ildar Fakhradiyev. The recent progress and appli- cations of digital technologies in healthcare: a review. International journal of telemedicine and applications, 2020(1):8830200, 2020.
  33. [Shang et al., 2019] Junyuan Shang, Cao Xiao, Tengfei Ma, Hongyan Li, and Jimeng Sun. Gamenet: Graph augmented memory networks for recommending medication combi- nation. In proceedings of the AAAI Conference on Artifi- cial Intelligence, volume 33, pages 1126-1133, 2019.
  34. [Shi and others, 2025] Jiangming Shi et al. Mipt: Multilevel informed prompt tuning for robust molecular property pre- diction. In Forty-second International Conference on Ma- chine Learning, 2025. Vaswani et al., 2017]
  35. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. Advances in neural information processing systems, 30, 2017.
  36. [Wigh et al., 2022] Daniel S Wigh, Jonathan M Goodman, and Alexei A Lapkin. A review of molecular representa- tion in the age of machine learning. Wiley Interdisciplinary Reviews: Computational Molecular Science, 12(5):e1603, 2022.
  37. [Wu et al., 2022] Rui Wu, Zhaopeng Qiu, Jiacheng Jiang, Guilin Qi, and Xian Wu. Conditional generation net for medication recommendation. In Proceedings of the ACM Web Conference 2022, pages 935-945, 2022.
  38. [Xu et al., 2018] Keyulu Xu, Weihua Hu, Jure Leskovec, and Stefanie Jegelka. How powerful are graph neural net- works? arXiv preprint arXiv:1810.00826, 2018.
  39. [Xue et al., 2019] Dongyu Xue, Yukang Gong, Zhaoyi Yang, Guohui Chuai, Sheng Qu, Aizong Shen, Jing Yu, and Qi Liu. Advances and challenges in deep generative models for de novo molecule generation. Wiley Inter- disciplinary Reviews: Computational Molecular Science, 9(3):e1395, 2019.
  40. [Yang et al., 2021a] Chaoqi Yang, Cao Xiao, Lucas Glass, and Jimeng Sun. Change matters: Medication change pre- diction with recurrent residual networks. arXiv preprint arXiv:2105.01876, 2021. IJCAI
  41. [Yang et al., 2021b] Chaoqi Yang, Cao Xiao, Fenglong Ma, Lucas Glass, and Jimeng Sun. Safedrug: Dual molecular graph encoders for recommending effective and safe drug combinations. arXiv preprint arXiv:2105.02711, 2021. IJCAI
  42. [Yang et al., 2023] Nianzu Yang, Kaipeng Zeng, Qitian Wu, and Junchi Yan. Molerec: Combinatorial drug recom- mendation with substructure-aware molecular representa- tion learning. In Proceedings of the ACM Web Conference 2023, pages 4075-4085, 2023.
  43. [Zeng et al., 2022] Xiangxiang Zeng, Fei Wang, Yuan Luo, Seung-gu Kang, Jian Tang, Felice C Lightstone, Evan- dro F Fang, Wendy Cornell, Ruth Nussinov, and Feixiong Cheng. Deep generative molecular design reshapes drug discovery. Cell Reports Medicine, 3(12), 2022.
  44. [Zhang et al., 2017] Yutao Zhang, Robert Chen, Jie Tang, Walter F Stewart, and Jimeng Sun. Leap: learning to pre- scribe effective and safe treatment combinations for mul- timorbidity. In proceedings of the 23rd ACM SIGKDD in- ternational conference on knowledge Discovery and data Mining, pages 1315-1324, 2017.
  45. [Zhao et al., 2024] Zihao Zhao, Yi Jing, Fuli Feng, Jiancan Wu, Chongming Gao, and Xiangnan He. Leave no patient behind: Enhancing medication recommendation for rare disease patients. In Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval, pages 533-542, 2024.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards