English

HypKG: Hypergraph-based Knowledge Graph Contextualization for Precision Healthcare

Artificial Intelligence 2025-07-31 v2 Machine Learning

Abstract

Knowledge graphs (KGs) are important products of the semantic web, which are widely used in various application domains. Healthcare is one of such domains where KGs are intensively used, due to the high requirement for knowledge accuracy and interconnected nature of healthcare data. However, KGs storing general factual information often lack the ability to account for important contexts of the knowledge such as the status of specific patients, which are crucial in precision healthcare. Meanwhile, electronic health records (EHRs) provide rich personal data, including various diagnoses and medications, which provide natural contexts for general KGs. In this paper, we propose HypKG, a framework that integrates patient information from EHRs into KGs to generate contextualized knowledge representations for accurate healthcare predictions. Using advanced entity-linking techniques, we connect relevant knowledge from general KGs with patient information from EHRs, and then utilize a hypergraph model to "contextualize" the knowledge with the patient information. Finally, we employ hypergraph transformers guided by downstream prediction tasks to jointly learn proper contextualized representations for both KGs and patients, fully leveraging existing knowledge in KGs and patient contexts in EHRs. In experiments using a large biomedical KG and two real-world EHR datasets, HypKG demonstrates significant improvements in healthcare prediction tasks across multiple evaluation metrics. Additionally, by integrating external contexts, HypKG can learn to adjust the representations of entities and relations in KG, potentially improving the quality and real-world utility of knowledge.

Keywords

Cite

@article{arxiv.2507.19726,
  title  = {HypKG: Hypergraph-based Knowledge Graph Contextualization for Precision Healthcare},
  author = {Yuzhang Xie and Xu Han and Ran Xu and Xiao Hu and Jiaying Lu and Carl Yang},
  journal= {arXiv preprint arXiv:2507.19726},
  year   = {2025}
}

Comments

Extended version of paper accepted at the 24th International Semantic Web Conference (ISWC 2025), Main Conference, Research Track, Oral

R2 v1 2026-07-01T04:19:44.880Z