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

HealthGAT: Node Classifications in Electronic Health Records using Graph Attention Networks

Fahmida Liza Piya, Mehak Gupta, Rahmatollah Beheshti

Abstract

HealthGAT is a novel hierarchical framework designed to transform flat Electronic Health Record (EHR) data into rich graph structures to enhance the prediction of patient outcomes. By utilizing Graph Attention Networks (GATs) and specialized auxiliary tasks—such as forecasting medical needs 24 hours into the future—the model effectively captures the relational and temporal complexities of clinical care. Experimental results on the eICU Collaborative Research Database demonstrate that HealthGAT significantly outperforms traditional embedding methods in diagnosis classification and hospital readmission prediction.

Introduction

Electronic Health Records (EHRs) are typically stored and processed as tabular data; however, clinical care is fundamentally relational and temporal. A patient's journey involves interactions with multiple providers, various diagnostic procedures, and treatments that evolve over time. Standard data processing techniques often fail to capture these interwoven relationships.

Conceptual relational model of healthcare entities

While Graph Neural Networks (GNNs) have been proposed to model these dependencies, existing implementations often struggle with the dynamic nature of hospital stays or require high-granularity data that is not universally available. HealthGAT addresses these challenges by constructing a model that integrates structural connections between medical services with the chronological progression of patient visits.

Methodology

HealthGAT employs a hierarchical approach to generate embeddings for medical data across three distinct stages:

  1. Service Embedding: The model utilizes node2vec to learn relationships between individual medical codes (diagnoses and procedures) based on their co-occurrence in patient histories.
  2. Visit Segmentation: Patient stays are partitioned into 24-hour disjoint segments. An initial "segment embedding" is calculated by averaging the medical codes present within each window.
  3. Hierarchical Refinement via GAT: These segments are processed through a Graph Attention Network. Unlike standard GNNs, GATs employ an attention mechanism to weigh the importance of neighboring nodes, allowing the model to prioritize clinically relevant interactions.
HealthGAT architecture including temporal segmentation and auxiliary pre-training tasks

Auxiliary Task Pre-training

To enhance the robustness of the learned embeddings, the framework incorporates two self-supervised auxiliary tasks during pre-training:

  • Current Code Prediction: The model identifies medical codes within the current 24-hour block.
  • Future Code Forecasting: The model predicts medical codes likely to appear in the subsequent 24-hour block. This encourages the network to learn the trajectory of disease progression rather than static snapshots.

Experimental Results

The researchers evaluated HealthGAT using the eICU Collaborative Research Database, which includes records from over 139,000 patients across 208 hospitals. The study focused particularly on cardiovascular diseases, representing 26% of the dataset.

HealthGAT was compared against established baselines, including node2vec, LINE, and ME2Vec.

  • Node Classification: HealthGAT achieved a Micro-F1 score of 0.926, significantly outperforming the best baseline, ME2Vec (0.879).
  • Readmission Prediction: In predicting hospital readmission, HealthGAT reached an AUROC of 0.59 and an AUPRC of 0.20, the highest among tested models.
  • Clinical Specificity: The model demonstrated high efficacy for specific categories, such as Oncology (0.85 AUROC) and Infectious Diseases (0.67 AUROC).

Discussion and Future Work

HealthGAT demonstrates that healthcare data is more effectively represented as a network of entities rather than independent database rows. The integration of temporal segmentation and predictive pre-training allows the model to mimic clinical intuition regarding disease evolution.

Future research directions include incorporating multimodal data such as vital signs and clinical notes, investigating the impact of varying temporal granularity (e.g., 1-hour segments), and ensuring algorithmic fairness across diverse demographic groups.

Summary updated

BibTeX
@inproceedings{piya2024healthgat,
  author = {Fahmida Liza Piya and Mehak Gupta and Rahmatollah Beheshti},
  title = {{HealthGAT: Node Classifications in Electronic Health Records using Graph Attention Networks}},
  booktitle = {CHASE},
  year = {2024},
  url = {https://openreview.net/forum?id=3Lj7qJNG16},
}
Figure