Knowledge Graph-Enhanced AI for Early Detection of Adverse Drug Reactions from Longitudinal Clinical Data
Main Article Content
Abstract
Early detection of adverse drug reactions (ADRs) is challenging because drug-related risks may emerge from complex interactions among medications, diseases, laboratory abnormalities, and patient-specific characteristics. This study proposes a knowledge graph-enhanced AI framework for ADR prediction using longitudinal clinical data. A heterogeneous medical graph is constructed with patients, drugs, diagnoses, laboratory abnormalities, and adverse events as interconnected entities. Graph neural networks are used to learn relational representations, while a temporal encoder captures changes in medication exposure and clinical measurements over time. The resulting graph and temporal representations are integrated through a gated fusion mechanism for patient-level ADR risk estimation. Evaluation is performed across common adverse-event categories and compared with conventional machine learning, sequential neural networks, and graph-based baselines. Ablation experiments further quantify the contributions of drug–drug interactions, disease–drug relationships, and temporal laboratory information. The proposed framework improves early identification of high-risk patients while providing relational evidence that helps explain predicted adverse reactions. This approach illustrates how structured biomedical knowledge and longitudinal patient data can be jointly exploited for pharmacovigilance.
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
Mind forge Academia also operates under the Creative Commons Licence CC-BY 4.0. This allows for copy and redistribute the material in any medium or format for any purpose, even commercially. The premise is that you must provide appropriate citation information.
References
Y. Li, W. Zhao, B. Dang, X. Yan, M. Gao, W. Wang, and M. Xiao, “Research on adverse drug reaction prediction model combining knowledge graph embedding and deep learning,” MLISE, pp. 322–329, 2024.
A. Rajkomar et al., “Scalable and accurate deep learning with electronic health records,” npj Digital Medicine, vol. 1, Art. no. 18, 2018.
H. Zheng, Y. Ma, Y. Wang, G. Liu, Z. Qi, and X. Yan, “Structuring low-rank adaptation with semantic guidance for model fine-tuning,” ICECAI, pp. 731–735, 2025.
A. Bordes, N. Usunier, A. Garcia-Duran, J. Weston, and O. Yakhnenko, “Translating embeddings for modeling multi-relational data,” Advances in Neural Information Processing Systems, vol. 26, 2013.
X. Yan, W. Wang, M. Xiao, Y. Li, and M. Gao, “Survival prediction across diverse cancer types using neural networks,” pp. 134–138, 2024.
J. Wei, Y. Liu, X. Huang, X. Zhang, W. Liu, and X. Yan, “Self-Supervised Graph Neural Networks for Enhanced Feature Extraction in Heterogeneous Information Networks,” ICMLCA, pp. 272–276, 2024.
M. Xiao, Y. Li, X. Yan, M. Gao, and W. Wang, “Convolutional neural network classification of cancer cytopathology images: Taking breast cancer as an example,” pp. 145–149, 2024.
X. Yan, Y. Jiang, W. Liu, D. Yi, and J. Wei, “Transforming Multidimensional Time Series into Interpretable Event Sequences for Advanced Data Mining,” ICHCI, pp. 126–130, 2024.
M. Zitnik, M. Agrawal, and J. Leskovec, “Modeling polypharmacy side effects with graph convolutional networks,” Bioinformatics, vol. 34, no. 13, pp. i457–i466, 2018.
H. Zheng, L. Zhu, W. Cui, R. Pan, X. Yan, and Y. Xing, “Selective knowledge injection via adapter modules in large-scale language models,” ICAIDE, pp. 373–377, 2025.
X. Yan, J. Du, X. Li, X. Wang, X. Sun, P. Li, and H. Zheng, “A Hierarchical Feature Fusion and Dynamic Collaboration Framework for Robust Small Target Detection,” IEEE Access, vol. 13, pp. 92953–92964, 2025.
R. Miotto et al., “Deep Patient: An unsupervised representation to predict the future of patients from the electronic health records,” Scientific Reports, vol. 6, Art. no. 26094, 2016.
Y. Li, X. Yan, M. Xiao, W. Wang, and F. Zhang, “Investigation of Creating Accessibility Linked Data Based on Publicly Available Accessibility Datasets,” pp. 77–81, 2024.
W. Wang, Y. Li, X. Yan, M. Xiao, and M. Gao, “Breast cancer image classification method based on deep transfer learning,” pp. 190–197, 2024.
X. Yan, J. Du, L. Wang, Y. Liang, J. Hu, and B. Wang, “The Synergistic Role of Deep Learning and Neural Architecture Search in Advancing Artificial Intelligence,” ICEDCS, pp. 452–456, 2024.
B. Shickel et al., “Deep EHR: A survey of recent advances in deep learning techniques for electronic health record analysis,” IEEE Journal of Biomedical and Health Informatics, vol. 22, no. 5, pp. 1589–1604, 2018.
J. N. Acosta et al., “Multimodal biomedical AI,” Nature Medicine, vol. 28, pp. 1773–1784, 2022.
H. Harutyunyan et al., “Multitask learning and benchmarking with clinical time series data,” Scientific Data, vol. 6, Art. no. 96, 2019.