Proceedings

Patient-Visit-Spanned Hypergraph Learning for EHR-based Diagnosis Prediction

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. AI and Health. Pages 7010-7018.

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

Abstract

Hypergraphs effectively model complex interactions in structured Electronic Health Records (EHR). Consequently, Hypergraph Neural Networks (HGNNs) are commonly applied to EHR-based diagnosis prediction. However, existing HGNNs struggle to capture patient-visit long-range dependencies when processing EHR-derived hypergraphs. To tackle this issue, we propose a Patient-Visit-Spanned HyperGraph Learning (PVHGL) framework specifically designed for diagnosis prediction. Concretely, PVHGL initially constructs a unified patient-visit hypergraph that integrates visit records from all patients, enabling the capture of shared healthcare patterns across the patient population. Subsequently, it incorporates a Transformer architecture enhanced by two structure-encoding matrices to facilitate one-step message propagation, which preserves both local and global hypergraph structural properties effectively. Additionally, the framework integrates a medical code co-occurrence matrix to explicitly guide the learning process by highlighting critical medical code interactions. Comprehensive experiments on three real-world datasets demonstrate that the proposed PVHGL significantly outperforms state-of-the-art baselines in diagnosis prediction.

  1. [Cai et al., 2022] Derun Cai, Chenxi Sun, Moxian Song, Baofeng Zhang, Shenda Hong, and Hongyan Li. Hyper- graph contrastive learning for electronic health records. In Proceedings of the 2022 SIAM International Conference on Data Mining (SDM), pages 127-135, 2022.
  2. [Chan et al., 2024] Tsai Hor Chan, Guosheng Yin, Kyong- tae Bae, and Lequan Yu. Multi-task heterogeneous graph learning on electronic health records. Neural Networks, 180:106644, 2024.
  3. [Che and Liu, 2017] Zhengping Che and Yan Liu. Deep learning solutions to computational phenotyping in health care. In Proceedings of the 2017 IEEE International Conference on Data Mining Workshops (ICDMW), pages 1100-1109. IEEE, 2017.
  4. [Chen et al., 2025] Jiayuan Chen, Changchang Yin, Yuan- long Wang, and Ping Zhang. Predictive modeling with temporal graphical representation on electronic health records. In Proceedings of the 2025 International Joint Conference on Artificial Intelligence (IJCAI), pages 5763- 5771, 2025. IJCAI
  5. [Cheng et al., 2025] Hengliang Cheng, Shibo Li, Tao Shen, and Weihua Li. Enhancing diagnosis prediction with adap- tive disease representation learning. Artificial Intelligence in Medicine, 163:103098, 2025.
  6. [Chien et al., 2022] Eli Chien, Chao Pan, Jianhao Peng, and Olgica Milenkovic. You are allset: A multiset function framework for hypergraph neural networks. In Interna- tional Conference on Learning Representations, 2022.
  7. [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. In Advances in Neural Information Processing Systems, pages 3504-3512, 2016.
  8. [Choi et al., 2017] Edward Choi, Mohammad Taha Ba- hadori, Le Song, Walter F. Stewart, and Jimeng Sun. Gram: Graph-based attention model for healthcare rep- resentation learning. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discov- ery and Data Mining, pages 787-795, 2017.
  9. [Feng et al., 2019] Yifan Feng, Haoxuan You, Zizhao Zhang, Rongrong Ji, and Yue Gao. Hypergraph neural networks. In Proceedings of the AAAI Conference on Ar- tificial Intelligence, volume 33, pages 3558-3565, 2019.
  10. [Gao et al., 2020] Junyi Gao, Cao Xiao, Yasha Wang, Wen Tang, Lucas M Glass, and Jimeng Sun. Stagenet: Stage- aware neural networks for health risk prediction. In Pro- ceedings of The Web Conference 2020 (WWW), pages 530-540. ACM, 2020.
  11. [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:160035, 2016.
  12. [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, Li-wei H Lehman, Leo Anthony Celi, and Roger G Mark. Mimic-iv, a freely accessible electronic health record dataset. Scientific Data, 2023.
  13. [Kazi et al., 2019] Anees Kazi, Shayan Shekarforoush, S. Arvind Krishna, Hendrik Burwinkel, Gerome Vivar, Karsten Kortüm, Seyed-Ahmad Ahmadi, Shadi Albar- qouni, and Nassir Navab. Inceptiongcn: Receptive field aware graph convolutional network for disease prediction. In International Conference on Information Processing in Medical Imaging (IPMI), pages 73-85. Springer, Cham, 2019.
  14. [Kim et al., 2025] Taeri Kim, Jiho Heo, Hyunjoon Kim, and Sang-Wook Kim. Hi-dr: Exploiting health status-aware at- tention and an ehr graph+ for effective medication recom- mendation. In AAAI Conference on Artificial Intelligence, 2025.
  15. [Liu et al., 2022] Yuxi Liu, Shaowen Qin, Zhenhao Zhang, and Wei Shao. Compound density networks for risk pre- diction using electronic health records. In Proceedings of the 2022 IEEE International Conference on Bioinfor- matics and Biomedicine (BIBM), pages 1078-1085. IEEE, 2022.
  16. [Lu et al., 2021] Chang Lu, Chandan K. Reddy, Prithwish Chakraborty, Samantha Kleinberg, and Yue Ning. Col- laborative graph learning with auxiliary text for tempo- ral event prediction in healthcare. In Proceedings of the 30th International Joint Conference on Artificial Intelli- gence (IJCAI), pages 3529-3535, 2021. IJCAI
  17. [Lu et al., 2022] Chang Lu, Tian Han, and Yue Ning. Context-aware health event prediction via transition func- tions on dynamic disease graphs. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 4567- 4574, 2022.
  18. [Lu et al., 2023] Chang Lu, Chandan K. Reddy, and Yue Ning. Self-supervised graph learning with hyperbolic em- bedding for temporal health event prediction. IEEE Trans- actions on Cybernetics, 53(4):2124-2136, 2023.
  19. [Luo et al., 2020] Junyu Luo, Muchao Ye, Cao Xiao, and Fenglong Ma. Hitanet: Hierarchical time-aware attention networks for risk prediction on electronic health records. In Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, 2020.
  20. [Ma et al., 2017] Fenglong Ma, Radha Chitta, Jing Zhou, Quanzeng You, Tong Sun, and Jing Gao. Dipole: Diag- nosis prediction in healthcare via attention-based bidirec- tional recurrent neural networks. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowl- edge Discovery and Data Mining, 2017.
  21. [Ma et al., 2020] Liantao Ma, Chaohe Zhang, Yasha Wang, Wenjie Ruan, Jiangtao Wang, Wen Tang, Xinyu Ma, Xin Gao, and Junyi Gao. Concare: Personalized clinical fea- ture embedding via capturing the healthcare context. In Proceedings of the AAAI Conference on Artificial Intelli- gence, pages 833-840, 2020.
  22. [Pollard et al., 2018] Tom Pollard, Alistair Johnson, Jesse Raffa, Leo A. Celi, Omar Badawi, and Roger Mark. eICU Collaborative Research Database v2.0. PhysioNet, 2018.
  23. [Poulain and Beheshti, 2024] Raphael Poulain and Rahma- tollah Beheshti. Graph transformers on ehrs: Better rep- resentation improves downstream performance. In The Twelfth International Conference on Learning Represen- tations, 2024.
  24. [Shang et al., 2019] Junyuan Shang, Tengfei Ma, Cao Xiao, and Jimeng Sun. Pre-training of graph augmented trans- formers for medication recommendation. In Proceedings of the 28th International Joint Conference on Artificial In- telligence (IJCAI), pages 5953-5959, 2019. IJCAI
  25. [Sun et al., 2022] Ziyou Sun, Xiaohui Yang, Zhiquan Feng, Tao Xu, Xue Fan, and Jinglan Tian. EHR2HG: Modeling of EHRs data based on hypergraphs for disease prediction. In 2022 IEEE International Conference on Bioinformatics and Biomedicine (BIBM), pages 1730-1733. IEEE, 2022.
  26. [Vaswani et al., 2017] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Advances in Neural Information Processing Sys- tems (NeurIPS), volume 30, 2017.
  27. [Wen et al., 2022] Qianlong Wen, Zhongyu Ouyang, Jianfei Zhang, Yiyue Qian, Yanfang Ye, and Chuxu Zhang. Dis- entangled dynamic heterogeneous graph learning for opi- oid overdose prediction. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, pages 2009-2019, 2022.
  28. [Wu et al., 2021] Tong Wu, Yunlong Wang, Yue Wang, Emily Zhao, and Yilian Yuan. Leveraging graph-based hierarchical medical entity embedding for healthcare ap- plications. Scientific Reports, 11(1), 2021.
  29. [Wu et al., 2023] Jialun Wu, Kai He, Rui Mao, Chen Li, and Erik Cambria. MEGACare: Knowledge-guided multi- view hypergraph predictive framework for healthcare. In- formation Fusion, 100:101939, 2023.
  30. [Wu et al., 2025] Jialun Wu, Kai He, Rui Mao, Xuequn Shang, and Erik Cambria. Harnessing the potential of mul- timodal ehr data: A comprehensive survey of clinical pre- dictive modeling for intelligent healthcare. Information Fusion, page 103283, 2025.
  31. [Xing et al., 2024] Yujie Xing, Xiao Wang, Yibo Li, Hai Huang, and Chuan Shi. Less is more: On the over- globalizing problem in graph transformers. In Proceedings of the 41st International Conference on Machine Learning (ICML), 2024.
  32. [Xu et al., 2023] Ran Xu, Mohammed K Ali, Joyce C Ho, and Carl Yang. Hypergraph transformers for ehr-based clinical predictions. In AMIA Summits on Translational Science Proceedings 2023, page 582, 2023.
  33. [Yang et al., 2021] Chaoqi Yang, Cao Xiao, Fenglong Ma, Lucas Glass, and Jimeng Sun. Safedrug: Dual molecular graph encoders for recommending effective and safe drug combinations. In International Joint Conference on Artifi- cial Intelligence, 2021. IJCAI
  34. [Yu et al., 2025] Leisheng Yu, Yanxiao Cai, Minxing Zhang, and Xia Hu. Self-explaining hypergraph neural networks for diagnosis prediction. In ACM Conference on Health, Inference, and Learning, 2025.
  35. [Zhang et al., 2024a] Xin Zhang, Xueping Peng, Weimin Chen, Weiyu Zhang, Xiaoqiang Ren, and Wenpeng Luv. Multi-channel hypergraph network for sequential diagno- sis prediction in healthcare. In Proceedings of the 2024 27th International Conference on Computer Supported Cooperative Work in Design (CSCWD), pages 2937-2942, 2024.
  36. [Zhang et al., 2024b] Ziyang Zhang, Hejie Cui, Ran Xu, Yuzhang Xie, Joyce C. Ho, and Carl Yang. Tacco: Task- guided co-clustering of clinical concepts and patient visits for disease subtyping based on ehr data. In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Dis- covery and Data Mining, pages 6324-6334, 2024.

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

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