Phenotyping using Structured Collective Matrix Factorization of Multi--source EHR Data

Suriya Gunasekar, Joyce C. Ho, Joydeep Ghosh, Stephanie Kreml, Abel Kho, Joshua C. Denny, Bradley Malin, Jimeng SunarXiv 2016 · DOI

Abstract

The increased availability of electronic health records (EHRs) have spearheaded the initiative for precision medicine using data driven approaches. Essential to this effort is the ability to identify patients with certain medical conditions of interest from simple queries on EHRs, or EHR-based phenotypes. Existing rule-based phenotyping approaches are extremely labor intensive. Instead, dimensionality reduction and latent factor estimation techniques from machine learning can be adapted for phenotype extraction with no (or minimal) human supervision. We propose to identify an easily interpretable latent space shared across various sources of EHR data as potential candidates for phenotypes. By incorporating multiple EHR data sources (e.g., diagnosis, medications, and lab reports) available in heterogeneous datatypes in a generalized Collective Matrix Factorization (CMF), our methods can generate rich phenotypes. Further, easy interpretability in phenotyping application requires sparse representations of the candidate phenotypes, for example each phenotype derived from patients' medication and diagnosis data should preferably be represented by handful of diagnosis and medications, (5–10 active components). We propose a constrained formulation of CMF for estimating sparse phenotypes. We demonstrate the efficacy of our model through an extensive empirical study on EHR data from Vanderbilt University Medical Center.

Introduction

In the era of precision medicine, "phenotyping"—the process of identifying patients with specific medical conditions based on their records—is a critical task. Traditionally, this relies on complex, manually designed "rule-based" systems. However, these systems are labor-intensive and difficult to scale across the vast diversity of conditions found in Electronic Health Records (EHRs).

While unsupervised machine learning techniques like tensor factorization have been proposed to automate this process, they often struggle with the "flat" nature of EHR data. Forcing disparate lists of diagnoses and medications into a 3D tensor requires assuming interactions that may not exist, leading to noisy results. Furthermore, for a phenotype to be useful to a clinician, it must be interpretable, meaning it should be defined by a handful of key medications or symptoms rather than a dense list of hundreds of variables.

Methodology: SiCNMF

To address these challenges, we introduce Sparsity-inducing Collective Matrix Factorization (SiCNMF). Instead of a single tensor, our framework factorizes multiple related matrices (such as Patient-Diagnosis and Patient-Medication) simultaneously. These matrices are linked by a shared "latent space" that represents the patients' underlying health states.

Key innovations in SiCNMF include:

  • Generalized Divergences: Using Bregman divergences to handle heterogeneous data types, such as counts of diagnoses or binary demographic flags.
  • Heuristic Weighting: An automated method to weight different data sources so that high-volume data (like diagnosis tables) does not drown out smaller but critical sources (like medication tables).
  • Sparsity Constraints: By applying $\ell_1$ norm constraints, the model is forced to select only the most relevant clinical features for each phenotype, ensuring human-readability.
  • Feature Bias Factors: A "bias" term captures common, non-discriminative data (like generic pain relievers) to prevent them from cluttering the discovered phenotypes.

Experimental Setup and Data Preprocessing

The study utilized de-identified EHR data from Vanderbilt University Medical Center (BioVU), focusing on a cohort of 2,039 patients. To facilitate robust factorization, raw clinical data was mapped to standardized categories.

Mapping of raw EHR data to standardized clinical categories.

As illustrated above, granular ICD-9 diagnosis codes were mapped to PheWAS groups, and specific medications were categorized into RxNorm classes. This preprocessing step ensures that the model operates on clinically meaningful groupings rather than noisy, low-level codes.

Key Results

Our empirical evaluation yielded several critical insights:

  • Clinical Relevance: In a blind survey, medical experts rated phenotypes discovered by weighted SiCNMF as significantly more "clinically meaningful" than those from standard NMF or tensor-based baselines.
  • The Interpretability Trade-off: We found that sparsity can be significantly increased with only a minimal impact on predictive accuracy. SiCNMF successfully reduced the number of "active" components in a phenotype from hundreds down to a manageable 5–10 features.
  • Predictive Power: Despite being unsupervised, the 20-dimensional phenotype representations achieved an AUROC (Area Under the Receiver Operating Characteristic) of 0.65 to 0.70 for chronic conditions like Type-2 diabetes, comparable to results using the full, high-dimensional EHR data.
  • CMF vs. Tensors: Collective matrix factorization outperformed state-of-the-art tensor methods when multi-way interactions were sparse, as it avoids the noise introduced by approximating 3D interactions from flat files.

Conclusion and Future Work

SiCNMF offers a scalable and interpretable approach to automated phenotyping. By leveraging the shared structure across multiple EHR data sources and enforcing sparsity, it generates clinical profiles that are both accurate and accessible to medical professionals. Future research will focus on incorporating "hard" sparsity constraints and improving the model's robustness to the missing data frequently encountered in real-world EHR environments.

Summary updated

BibTeX
@misc{gunasekar2016phenotyping,
  author = {Suriya Gunasekar and Joyce C. Ho and Joydeep Ghosh and Stephanie Kreml and Abel Kho and Joshua C. Denny and Bradley Malin and Jimeng Sun},
  title = {{Phenotyping using Structured Collective Matrix Factorization of Multi--source EHR Data}},
  year = {2016},
  eprint = {1609.04466},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1609.04466},
}
Figure