NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Medical Knowledge Extraction from Graph-Based Modeling of Electronic Health Records

Athanasios Kallipolitis, Parisis Gallos, Andreas Menychtas, Panayiotis Tsanakas, Ilias MaglogiannisIFIP 2023 · OpenAlex

Introduction

Electronic Health Records (EHRs) are the backbone of modern clinical informatics, yet their traditional storage in "flat" tabular formats often obscures the complex relationships inherent in patient care. While efficient for database management, these structures treat medical events—such as encounters, observations, and immunizations—as isolated data points. This fragmentation prevents machine learning models from capturing the "hidden knowledge" found in the interconnected journey of a patient through the healthcare system.

In response, this research introduces a novel framework that transforms tabular EHRs into rich, interconnected graphs. By modeling patients and clinical events as nodes and their interactions as edges, the framework enables the extraction of structural context that significantly enhances predictive performance, particularly in high-stakes scenarios like COVID-19 fatality prediction.

Methodology

The proposed approach follows a structured six-step pipeline designed to bridge the gap between tabular data and graph-based intelligence.

The proposed six-step pipeline for transforming tabular EHR data into fused graph-based embeddings for clinical prediction tasks.
  1. Tabular Preprocessing: Raw data undergoes standard cleaning, normalization, and one-hot encoding for categorical variables to prepare it for both baseline models and graph construction.
  2. Tabular to Graph Transformation: The data is mapped onto a heterogeneous graph where entities such as Patients, Encounters, Observations, and Immunizations are represented as nodes, with their clinical relationships forming undirected edges.
  3. Graph Embeddings: To navigate this complex network, the researchers utilized meta-path random walks. They extended the metapath2vec paradigm using Doc2Vec and Fasttext to generate 64-dimensional vectors that encapsulate the local neighborhood context of each node.
  4. Fisher Vector Encoding: A key innovation in this pipeline is the use of Fisher Vector encoding to aggregate temporal data. Instead of relying on computationally intensive Recurrent Neural Networks (RNNs), the team applied higher-order statistics to Gaussian Mixture Models (GMMs). This process compresses multiple low-level observation embeddings into a single, high-level "signature" for each patient.
  5. Embedding Fusion: The final patient representation is a concatenated vector. It combines the original tabular attributes, the graph-based patient embedding, and the Fisher-encoded observation vector, providing a holistic view of the patient's state.
  6. Downstream Tasks: These fused embeddings are then fed into an XGBoost classifier for binary fatality prediction or used in k-means clustering for unsupervised patient stratification.

Datasets and Experimental Setup

The framework was evaluated using a synthetic COVID-19 dataset generated by the Synthea model, comprising 10,000 and 100,000 patient records. Synthetic data allowed for the exploration of realistic clinical patterns while avoiding the privacy constraints of real-world EHRs. Crucially, the researchers filtered the data to exclude any information recorded after a COVID-19 diagnosis, ensuring the model's utility as a predictive tool for hospital resource management.

Results and Discussion

The integration of graph-based context yielded substantial improvements over traditional methods. While baseline models using only tabular data achieved accuracies between 0.70 and 0.78, the fused models—specifically PAFEFV (Fasttext-based) and PADVFV (Doc2Vec-based)—reached accuracy and balanced accuracy scores of 0.95 to 0.96.

Beyond raw accuracy, the graph-based approach demonstrated remarkable resilience to data imbalance. In medical datasets where survivors (negative cases) often vastly outnumber fatalities (positive cases), traditional models frequently struggle with bias. The Doc2Vec variant, in particular, maintained high performance even as the level of imbalance increased. Furthermore, in unsupervised clustering tasks, the inclusion of graph information led to significantly higher Silhouette and Adjusted Rand Index scores, indicating more meaningful patient groupings.

Conclusion

This research demonstrates that "context is king" in medical data analysis. By fusing tabular data with graph-based embeddings and leveraging the efficiency of Fisher Vectors, the proposed framework offers a powerful alternative to standard deep learning architectures. While challenges remain regarding the scalability of graph construction and the interpretability of high-dimensional embeddings, this work paves the way for more nuanced and accurate clinical decision support systems. Future efforts will focus on integrating explainability mechanisms to provide clinicians with transparent insights into model predictions.

Summary updated

BibTeX
@inproceedings{kallipolitis2023medical,
  author = {Athanasios Kallipolitis and Parisis Gallos and Andreas Menychtas and Panayiotis Tsanakas and Ilias Maglogiannis},
  title = {{Medical Knowledge Extraction from Graph-Based Modeling of Electronic Health Records}},
  booktitle = {IFIP},
  year = {2023},
  doi = {10.1007/978-3-031-34111-3\_24},
}
Figure