Information Flow in Graph Neural Networks: A Clinical Triage Use Case

Víctor Valls, Mykhaylo Zayats, Alessandra Pascale

Abstract

Graph Neural Networks (GNNs) are increasingly utilized in healthcare for processing multi-modal and multi-relational Knowledge Graphs (KGs). However, the optimal architecture for information propagation remains an open research question. This paper investigates the impact of embedding flow on link prediction within a clinical triage context. By decoupling GNN connectivity from the underlying KG structure and incorporating domain-specific constraints, we demonstrate significant performance gains. Our findings highlight the importance of negative edge sampling and the risks of over-smoothing in deep GNN architectures.

Introduction

In modern digital healthcare, Electronic Health Records (EHRs) are frequently represented as Knowledge Graphs (KGs), where nodes represent entities such as patients, symptoms, and medical encounters, and edges represent the relationships between them. A critical task in this domain is clinical triage—predicting the appropriate care action for a given patient encounter. This can be framed as a link prediction problem: determining which "Care Action" node should be connected to a specific "Encounter" node.

While standard GNN approaches typically propagate information along the existing edges of the KG, this "follow-the-data" strategy is often suboptimal. Irrelevant connections can introduce noise, while essential pathways for decision-making may be underrepresented. This study proposes a mathematical model to decouple GNN connectivity from the physical data structure, allowing for a more intentional design of information flow.

Methodology

The core of our approach is the separation of the graph's data structure from the GNN's computational architecture. We utilize a Relational Graph Convolutional Network (RGCN) to handle the multi-relational nature of healthcare data.

Decoupled Connectivity

To control the flow of information, we implemented "communication masks" within the PyTorch Geometric (PyG) framework. These masks allow us to specify which nodes can exchange messages during the GNN's propagation phase, independent of whether a physical edge exists in the raw KG. This allows the architecture to prioritize specific pathways that are clinically relevant.

Scoring and Prediction

For the link prediction task, we employed a DistMult decoder. This scoring function calculates the likelihood of a link between two nodes based on their learned embeddings, effectively translating the GNN's output into actionable triage predictions.

Experimental Design

We evaluated our model using data from Synthea, a high-fidelity synthetic healthcare record generator. The resulting KG included five node types (encounter, observation, condition, patient, and care action) and four relation types. To ensure statistical robustness, we utilized random samples of 50 patients for training and 10 for testing, repeated over 50 realizations.

We compared four distinct information flow strategies:

  • C1 (Baseline): Information flow strictly follows the KG edges.
  • C2 (Unconstrained): Bidirectional flow across all edges.
  • C3: A variation of constrained flow.
  • C4 (Domain-Informed): Information flows exclusively from symptoms and conditions toward the encounter node, mimicking clinical reasoning.

Key Findings

The Superiority of Domain-Informed Flow

The results indicate that the GNN architecture should not blindly mirror the KG. The C4 model achieved a prediction accuracy of 88%, significantly outperforming the standard C1 model (43%). Conversely, the unconstrained C2 model performed the worst at 19%, suggesting that bidirectional flow introduces excessive noise that obscures the relevant clinical signals.

The Role of Negative Edges

A critical finding was the necessity of "negative edges"—explicitly defining links that do not exist (e.g., an encounter that was definitely not an emergency). In many KGs, only positive truths are recorded. However, we found that explicitly adding these negative samples is critical for the model to learn the boundaries between different triage categories.

Model Depth and Over-smoothing

In contrast to trends in Computer Vision where "deeper is better," increasing the number of GNN layers was found to be detrimental. Deeper models suffered from over-smoothing, a phenomenon where node embeddings become increasingly similar across the graph, losing the distinct feature signatures required for accurate classification.

Embedding Dimensions

We observed that performance improves rapidly as embedding sizes increase to a certain point. Accuracy plateaued after a dimension of 5, suggesting that the essential features for clinical triage can be captured in a relatively low-dimensional latent space.

Conclusion and Future Work

This research demonstrates that incorporating domain knowledge into GNN connectivity is more effective than relying on the raw data structure or increasing model complexity. By intentionally designing the flow of information, we can build more accurate and robust clinical decision support systems.

The primary limitation of this study is its reliance on synthetic data. Future research will focus on validating these methods with real-world clinical data and moving beyond manual connectivity design. We aim to explore Neural Architecture Search (NAS) to automatically identify optimal information flow patterns, potentially discovering non-intuitive pathways that further enhance predictive performance.

Summary updated

Abstract

Graph Neural Networks (GNNs) have gained popularity in healthcare and other domains due to their ability to process multi-modal and multi-relational graphs. However, efficient training of GNNs remains challenging, with several open research questions. In this paper, we investigate how the flow of embedding information within GNNs affects the prediction of links in Knowledge Graphs (KGs). Specifically, we propose a mathematical model that decouples the GNN connectivity from the connectivity of the graph data and evaluate the performance of GNNs in a clinical triage use case. Our results demonstrate that incorporating domain knowledge into the GNN connectivity leads to better performance than using the same connectivity as the KG or allowing unconstrained embedding propagation. Moreover, we show that negative edges play a crucial role in achieving good predictions, and that using too many GNN layers can degrade performance.
BibTeX
@inproceedings{valls2023information,
  author = {Víctor Valls and Mykhaylo Zayats and Alessandra Pascale},
  title = {{Information Flow in Graph Neural Networks: A Clinical Triage Use Case}},
  booktitle = {ICDH},
  year = {2023},
  url = {https://openreview.net/forum?id=1EBwremxyt},
}
Figure