Integrating Biomedical Research and Electronic Health Records to Create Knowledge Based Biologically Meaningful Machine Readable Embeddings

Charlotte Nelson, Atul J. Butte, Sergio E. Baranzini

Abstract

In order to advance precision medicine, detailed clinical features ought to be described in a way that leverages current knowledge. Although data collected from biomedical research is expanding at an almost exponential rate, our ability to transform that information into patient care has not kept at pace. A major barrier preventing this transformation is that multi-dimensional data collection and analysis is usually carried out without much understanding of the underlying knowledge structure. In an effort to bridge this gap, Electronic Health Records (EHRs) of individual patients were connected to a heterogeneous knowledge network called Scalable Precision Medicine Oriented Knowledge Engine (SPOKE). Then an unsupervised machine-learning algorithm was used to create Propagated SPOKE Entry Vectors (PSEVs) that encode the importance of each SPOKE node for any code in the EHRs. We argue that these results, alongside the natural integration of PSEVs into any EHR machine-learning platform, provide a key step toward precision medicine.

Introduction

The rapid expansion of biomedical research has created a vast repository of knowledge, yet translating this information into clinical practice remains a significant challenge. Most current machine learning applications in healthcare treat Electronic Health Record (EHR) data as "flat" features, ignoring the complex biological context that links clinical observations. To address this, we present a method to enrich EHR data with a massive knowledge network, creating biologically meaningful embeddings that move beyond simple data collection toward a "clear box" approach.

Methodology

The SPOKE Network

The foundation of this approach is the Scalable Precision Medicine Oriented Knowledge Engine (SPOKE), a massive heterogeneous network containing over 47,000 nodes (including genes, drugs, diseases, and symptoms) and 2.25 million edges derived from 29 public databases. By mapping structured EHR data—such as ICD codes, medication orders, and lab tests—to specific nodes in SPOKE (termed SPOKE Entry Points or SEPs), we create a bridge between clinical observations and biological knowledge.

Generating PSEVs

To create machine-readable embeddings, we utilized a modified PageRank algorithm. This process simulates a "random walker" starting from the SEPs and traversing the SPOKE network. The resulting Propagated SPOKE Entry Vectors (PSEVs) represent the importance of each node in the network relative to the starting clinical code. Unlike traditional "black box" embedding methods where vector dimensions are abstract, every dimension in a PSEV corresponds to a real-world biological entity, allowing for direct interpretability.

Key Results and Validation

Knowledge Redundancy and Relationship Recovery

A critical finding of this study is the robustness provided by knowledge redundancy. When the researchers intentionally deleted all direct Disease-Gene and Disease-Disease edges from SPOKE, the PSEVs were still able to recover the correct associations with high significance—showing up to a 40.6x fold change improvement over random models. This suggests that the network can "infer" relationships through indirect paths, such as shared symptoms or biological pathways.

High-Throughput Inference

The method successfully inferred SideEffect-Anatomy relationships, which are not directly connected in the SPOKE network, with 18.1 times more accuracy than expected by chance. For instance, it correctly linked the side effect "Aggression" to the locus coeruleus, a brain region involved in the stress response.

Biological Meaningfulness

The PSEVs for Body Mass Index (BMI) demonstrated clinical relevance by correctly prioritizing the FTO gene (a known obesity-linked gene). Furthermore, the model identified that medications for ADHD are ranked lower in high-BMI cohorts, reflecting the known side effect of weight loss associated with these treatments.

Conclusion and Future Directions

The transition from abstract embeddings to "clear box" PSEVs represents a significant step toward interpretable AI in medicine. By providing a biological context for clinical data, PSEVs allow researchers to trace the mechanistic pathways underlying disease and treatment. While the current system is limited by the completeness of existing biological knowledge, future work will focus on incorporating temporal EHR data and implementing these embeddings into active clinical decision support systems to improve real-time patient outcomes.

Summary updated

BibTeX
@inproceedings{nelson2019integrating,
  author = {Charlotte Nelson and Atul J. Butte and Sergio E. Baranzini},
  title = {{Integrating Biomedical Research and Electronic Health Records to Create Knowledge Based Biologically Meaningful Machine Readable Embeddings}},
  booktitle = {Nature Communications},
  year = {2019},
  doi = {10.1038/s41467-019-11069-0},
}
Figure