{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,15]],"date-time":"2026-10-15T00:04:25Z","timestamp":1792022665329,"version":"4.4.0"},"reference-count":30,"publisher":"Springer Science and Business Media LLC","issue":"1","license":[{"start":{"date-parts":[[2025,12,17]],"date-time":"2025-12-17T00:00:00Z","timestamp":1765929600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2026,1,20]],"date-time":"2026-01-20T00:00:00Z","timestamp":1768867200000},"content-version":"vor","delay-in-days":34,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"name":"the General Scientific Research Project from the Educational Department of Liaoning Province","award":["LJ242510146006"],"award-info":[{"award-number":["LJ242510146006"]}]},{"name":"the General Scientific Research Project from the Educational Department of Liaoning Province","award":["LJ242510146006"],"award-info":[{"award-number":["LJ242510146006"]}]},{"name":"the General Scientific Research Project from the Educational Department of Liaoning Province","award":["LJ242510146006"],"award-info":[{"award-number":["LJ242510146006"]}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Sci Rep"],"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>With the continuous development of Electronic Health Record (EHRs), medical heterogeneous data have become increasingly abundant, containing diverse types of entities and complex semantic relationships that provide essential support for disease diagnosis. However, conventional heterogeneous graph neural networks struggle to distinguish semantic differences among multi-type nodes and k-hop neighbors, often leading to semantic confusion and vulnerability to noise, which limits their classification performance and generalization capability. To tackle these challenges, we present a novel framework named Heterogeneous Graph Transformer and Diffusion mechanism for Disease Diagnosis (TD4DD), which captures multi-scale semantic dependencies across k-hop neighborhoods, while the diffusion module performs latent-space denoising to alleviate noise interference. Specifically, a k-hop hierarchical Transformer is introduced to capture multi-scale dependencies across different hop layers, enabling the differentiation of fine-grained semantic variations among neighbors at various distances. Additionally, a diffusion module is designed to handle noise in the data by performing denoising in the latent space through auxiliary subgraphs constructed using different meta-paths, thereby generating more discriminative node representations. Finally, the model fuses structural information with denoised embeddings to accomplish disease classification. Experiments conducted on two real-world clinical datasets, MIMIC-III(7,000 patients, 5 disease categories) and MIMIC-IV(8,331 patients, 6 disease categories), demonstrate that TD4DD consistently outperforms existing baseline methods in terms of both Micro-F1 and Macro-F1 scores, showing strong generalization ability. On MIMIC-III, TD4DD achieves a Micro-F1 of 88.29 and a Macro-F1 of 86.11, while on MIMIC-IV, it reaches 83.60 and 83.94, respectively. Furthermore, ablation studies and t-SNE visualizations further validate the effectiveness of each module and the distinguishing capability of the learned embeddings.<\/jats:p>","DOI":"10.1038\/s41598-025-32220-6","type":"journal-article","created":{"date-parts":[[2025,12,17]],"date-time":"2025-12-17T02:25:10Z","timestamp":1765938310000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":3,"title":["Heterogeneous graph transformer and diffusion model for disease diagnosis"],"prefix":"10.1038","volume":"16","author":[{"given":"Xiaodong","family":"Zhu","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Dan","family":"Yang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yang","family":"Liu","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2025,12,17]]},"reference":[{"key":"32220_CR1","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1038\/sdata.2016.35","volume":"3","author":"AEW Johnson","year":"2016","unstructured":"Johnson, A. E. W., Pollard, T. J., Shen, L. & Lehman, L. H. MIMIC-III, a freely accessible critical care database. Sci. Data. 3, 1\u20139 (2016).","journal-title":"Sci. Data"},{"key":"32220_CR2","doi-asserted-by":"publisher","first-page":"357","DOI":"10.1109\/TKDE.2018.2833443","volume":"31","author":"C Shi","year":"2019","unstructured":"Shi, C., Hu, B., Zhao, W. X. & Yu, P. S. Heterogeneous information network embedding for recommendation. IEEE Trans. Knowl. Data Eng. 31, 357\u2013370 (2019).","journal-title":"IEEE Trans. Knowl. Data Eng."},{"key":"32220_CR3","doi-asserted-by":"publisher","first-page":"17","DOI":"10.1109\/TKDE.2016.2598561","volume":"29","author":"C Shi","year":"2017","unstructured":"Shi, C., Li, Y., Zhang, J. & Sun, Y. A survey of heterogeneous information network analysis. IEEE Trans. Knowl. Data Eng. 29, 17\u201337 (2017).","journal-title":"IEEE Trans. Knowl. Data Eng."},{"key":"32220_CR4","doi-asserted-by":"publisher","first-page":"4","DOI":"10.1109\/TNNLS.2020.2978386","volume":"32","author":"Z Wu","year":"2021","unstructured":"Wu, Z., Pan, S., Chen, F. & Long, G. A comprehensive survey on graph neural networks. IEEE Trans. Neural Netw. Learn. Syst. 32, 4\u201324 (2021).","journal-title":"IEEE Trans. Neural Netw. Learn. Syst."},{"key":"32220_CR5","unstructured":"Zheng, X., Wang, Y., Liu, Y. & Li, M. Graph neural networks for graphs with heterophily: A survey. https:\/\/arxiv.org\/abs\/2202.07082 (2022)."},{"key":"32220_CR6","doi-asserted-by":"crossref","unstructured":"Shang, J., Ma, T., Xiao, C. & Sun, J. Pre-training of graph augmented Transformers for medication recommendation. https:\/\/arxiv.org\/abs\/1906.00346 (2019).","DOI":"10.24963\/ijcai.2019\/825"},{"key":"32220_CR7","first-page":"1114","volume":"53","author":"Z Zhang","year":"2023","unstructured":"Zhang, Z., Yang, D. & Zhang, Y. Disease diagnosis based on Multi-View contrastive learning for electronic medical records. IAENG Int. J. Appl. Math. 53, 1114\u20131122 (2023).","journal-title":"IAENG Int. J. Appl. Math."},{"key":"32220_CR8","first-page":"2290","volume":"32","author":"J Luo","year":"2024","unstructured":"Luo, J., Yang, D., Liu, Y. & Liang, J. Medical heterogeneous graph transformer for disease diagnosis. Eng. Lett. 32, 2290\u20132298 (2024).","journal-title":"Eng. Lett."},{"key":"32220_CR9","first-page":"2200","volume":"32","author":"C Yang","year":"2024","unstructured":"Yang, C., Yang, D. & Gong, X. Disease diagnosis based on heterogeneous graph contrastive learning. Eng. Lett. 32, 2200\u20132209 (2024).","journal-title":"Eng. Lett."},{"key":"32220_CR10","doi-asserted-by":"crossref","unstructured":"Wang X, Ji H, Shi C and Wang B. Heterogeneous graph attention network. In Proceedings of the World Wide Web Conference, 2022\u201332 (2019).","DOI":"10.1145\/3308558.3313562"},{"key":"32220_CR11","doi-asserted-by":"crossref","unstructured":"Dong Y, Chawla NV and Swami A. metapath2vec: Scalable representation learning for heterogeneous networks. In: Proceedings of the 23rd ACM SIGKDD Int Conf on Knowledge Discovery and Data Mining, 135\u201344 (2017).","DOI":"10.1145\/3097983.3098036"},{"key":"32220_CR12","doi-asserted-by":"crossref","unstructured":"Liu, Zheng, et al. Heterogeneous similarity graph neural network on electronic health records. 2020 IEEE international conference on big data (big data). IEEE, 1196-1205 (2020).","DOI":"10.1109\/BigData50022.2020.9377795"},{"key":"32220_CR13","doi-asserted-by":"crossref","unstructured":"Wang, Xiao, et al. Self-supervised heterogeneous graph neural network with co-contrastive learning. Proceedings of the 27th ACM SIGKDD conference on knowledge discovery & data mining, 1726-1736 (2021).","DOI":"10.1145\/3447548.3467415"},{"key":"32220_CR14","doi-asserted-by":"crossref","unstructured":"Fu, Xinyu, et al. Magnn: Metapath aggregated graph neural network for heterogeneous graph embedding. Proceedings of the web conference 2020, 2331-2341(2020).","DOI":"10.1145\/3366423.3380297"},{"key":"32220_CR15","unstructured":"Dwivedi VP and Bresson X. A Generalization of Transformer Networks to Graphs. https:\/\/arxiv.org\/abs\/2012.09699 (2020)."},{"key":"32220_CR16","doi-asserted-by":"crossref","unstructured":"Li, Yikuan, et al. BEHRT: transformer for electronic health records. Scientific reports, 10-7155 (2020).","DOI":"10.1038\/s41598-020-62922-y"},{"key":"32220_CR17","doi-asserted-by":"crossref","unstructured":"Rasmy, Laila, et al. Med-BERT: pretrained contextualized embeddings on large-scale structured electronic health records for disease prediction. NPJ digital medicine, 4-86 (2021).","DOI":"10.1038\/s41746-021-00455-y"},{"key":"32220_CR18","unstructured":"Vaswani A, Shazeer N, Parmar N and Uszkoreit J. Attention is all you need. Adv Neural Inf Process Syst, 30, 5998\u20136008 (2017)."},{"key":"32220_CR19","unstructured":"Ying C, Cai T, Luo S and Zheng S. Do transformers really perform badly for graph representation? Adv Neural Inf Process Syst, 34, 28877\u201388 (2021)."},{"key":"32220_CR20","unstructured":"Chen J, Ma T and Xiao C. FastGCN: Fast Learning with Graph Convolutional Networks via Importance Sampling. https:\/\/arxiv.org\/abs\/1801.10247 (2018)."},{"key":"32220_CR21","unstructured":"Zhou Z, Shi J, Yang R and Zou Y. SlotGAT: Slot-based message passing for heterogeneous graphs. In: Proceedings of the International Conference on Machine Learning, 42644\u201357 (2023)."},{"key":"32220_CR22","doi-asserted-by":"crossref","unstructured":"Zhu Q, Zhang L, Xu Q and Liu K. HHGT: Hierarchical Heterogeneous Graph Transformer for Heterogeneous Graph Representation Learning. In: Proceedings of the 18th ACM Int Conf on Web Search and Data Mining, 318\u201326 (2025).","DOI":"10.1145\/3701551.3703511"},{"key":"32220_CR23","unstructured":"Veli\u010dkovi\u0107 P, Cucurull G, Casanova A and Romero A. Graph Attention Networks. https:\/\/arxiv.org\/abs\/1710.10903 (2017)."},{"key":"32220_CR24","unstructured":"Brody S, Alon U and Yahav E. How Attentive are Graph Attention Networks? https:\/\/arxiv.org\/abs\/2105.14491 (2021)."},{"key":"32220_CR25","unstructured":"Ho J, Jain A and Abbeel P. Denoising Diffusion Probabilistic Models. Adv Neural Inf Process Syst, 33, 6840\u201351 (2020)."},{"key":"32220_CR26","doi-asserted-by":"crossref","unstructured":"Li Z, Xia L, Hua H and Zhang S. DiffGraph: Heterogeneous Graph Diffusion Model. In: Proceedings of the 18th ACM Int Conf on Web Search and Data Mining, 40\u20139 (2025).","DOI":"10.1145\/3701551.3703590"},{"key":"32220_CR27","unstructured":"Kipf TN and Welling M. Semi-Supervised Classification with Graph Convolutional Networks. https:\/\/arxiv.org\/abs\/1609.02907 (2016)."},{"key":"32220_CR28","unstructured":"Brody, S., Alon, U. & Yahav, E. How Attentive are Graph Attention Networks? https:\/\/arxiv.org\/abs\/2105.14491  (2021)."},{"key":"32220_CR29","doi-asserted-by":"crossref","unstructured":"Yun S, Jeong M, Yoo S and Lee S. Graph Transformer Networks: Learning meta-path graphs to improve GNNs. Neural Netw, 153, 104\u201319 (2022).","DOI":"10.1016\/j.neunet.2022.05.026"},{"key":"32220_CR30","first-page":"2579","volume":"9","author":"L Van der Maaten","year":"2008","unstructured":"Van der Maaten, L. & Hinton, G. Visualizing data using t-SNE. J. Mach. Learn. Res. 9, 2579\u20132605 (2008).","journal-title":"J. Mach. Learn. Res."}],"container-title":["Scientific Reports"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.nature.com\/articles\/s41598-025-32220-6.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/www.nature.com\/articles\/s41598-025-32220-6","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/www.nature.com\/articles\/s41598-025-32220-6.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,16]],"date-time":"2026-06-16T15:17:39Z","timestamp":1781623059000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.nature.com\/articles\/s41598-025-32220-6"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,12,17]]},"references-count":30,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2026,12]]}},"alternative-id":["32220"],"URL":"https:\/\/doi.org\/10.1038\/s41598-025-32220-6","relation":{"has-preprint":[{"id-type":"doi","id":"10.21203\/rs.3.rs-7721398\/v1","asserted-by":"object"}]},"ISSN":["2045-2322"],"issn-type":[{"value":"2045-2322","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,12,17]]},"assertion":[{"value":"26 September 2025","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"9 December 2025","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"17 December 2025","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"The authors declare no competing interests.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Competing interests"}}],"article-number":"2509"}}