Abstract
This work introduces Constrained Non-Negative Matrix Factorization (CNMF), a weakly supervised framework designed to extract identifiable and interpretable medical phenotypes from unstructured clinical notes. By anchoring latent factors to known comorbidities using noisy administrative data, CNMF bridges the gap between high-dimensional raw text and actionable clinical insights, ensuring that learned factors correspond to specific, medically relevant conditions.
Introduction
Electronic Health Records (EHRs) contain vast amounts of unstructured clinical notes that are essential for understanding patient health. However, identifying "phenotypes"—concise sets of clinical features defining specific conditions—is traditionally a labor-intensive manual process. While unsupervised methods like standard Non-Negative Matrix Factorization (NMF) or Latent Dirichlet Allocation (LDA) can automate pattern discovery, they suffer from an identifiability problem: latent factors are often interchangeable, difficult to interpret, and lack a direct mapping to known diseases.
This paper addresses these challenges by proposing CNMF, which incorporates weak supervision to "ground" latent factors, making them both identifiable and clinically meaningful.
Methodology
CNMF augments the standard NMF objective with two primary constraints to improve the quality and interpretability of discovered phenotypes:
- Support Constraints (Weak Supervision): The model utilizes the Elixhauser Comorbidity Index (ECI), derived from administrative billing codes, as a source of noisy labels. For a given patient, if the ECI indicates the absence of a specific condition, the model forces the patient's "risk loading" for that condition's latent factor to zero. This anchors each factor to one of 30 target comorbidities.
- Sparsity Constraints: To ensure phenotypes are concise, the authors apply scaled simplex constraints. This encourages the model to represent each disease using a small set of highly relevant clinical terms rather than a broad, noisy distribution.
The optimization is performed using alternating minimization with projected gradient descent, learning a mapping between the 30 target comorbidities and the clinical vocabulary.
Experimental Setup
The study utilizes the MIMIC-III database, focusing on nursing progress reports and physician notes from the first 48 hours of ICU stays for approximately 17,000 patients. The feature set consists of ~3,600 clinical terms extracted using a custom vocabulary based on SNOMED CT and UMLS. The model targets 30 co-occurring medical conditions defined by the Elixhauser index.
Key Results and Discussion
Clinical Validation
Two clinicians independently evaluated the learned phenotypes on a 4-point scale. CNMF significantly outperformed baselines, with nearly 50% of its phenotypes rated as "good" or "excellent."
Predictive Performance
In a 30-day mortality prediction task, CNMF achieved an AUROC of 0.63 using only 30 features (the learned risk loadings). This is highly efficient compared to the full EHR baseline (AUROC 0.72), which uses over 3,500 features. When combined with a small subset of raw terms, CNMF matches the performance of the high-dimensional baseline, indicating that the learned phenotypes capture the most critical predictive information.
Challenges with Correlation
A notable limitation discovered was the model's difficulty in distinguishing between highly correlated conditions. For instance, Hypertension and Renal Failure co-occurred in 93% of the sample, leading the model to occasionally blend their clinical terms. This suggests a fundamental limit to purely data-driven phenotyping in complex, multi-morbid patient populations.
Conclusion
CNMF provides a robust method for automated phenotyping that maintains clinical interpretability through weak supervision and sparsity. By grounding latent factors in administrative data, the approach ensures that discovered patterns are identifiable and useful for downstream tasks like mortality prediction. Future work will explore extending this framework to other data modalities, such as lab results and medications, and refining the handling of highly correlated medical conditions.
Summary updated