Introduction
Computational phenotyping aims to algorithmically define medical conditions by grouping clinical characteristics—such as diagnoses and prescriptions—extracted from electronic health records (EHRs). While tensor factorization is a robust method for this task, it often captures "noise" due to the co-occurrence of unrelated conditions in patient records (e.g., a patient treated for both a foot fracture and heart disease). Traditionally, refining these models requires expensive and non-scalable manual input from medical experts.
PIVETed-Granite addresses this bottleneck by automating the injection of medical domain knowledge. By mining millions of PubMed articles, the framework identifies diagnosis-medication pairs that are medically unlikely to be related, creating a more accurate, sparse, and interpretable set of patient profiles without human intervention.
Methodology
The core of the approach is the Granite framework, which utilizes CANDECOMP/PARAFAC (CP) decomposition to factorize a three-mode tensor (Patients × Diagnoses × Medications). The researchers integrated the Phenotype Instance Verification and Evaluation Tool (PIVET) to provide automated supervision. PIVET calculates the "lift" between diagnosis-medication pairs in biomedical literature; pairs with low lift are flagged as "cannot-link" constraints.
These constraints are incorporated into the model's objective function as a soft penalty term ($\beta_3$). This discourages the algorithm from grouping unrelated items unless the patient data provides overwhelming evidence. The optimization process also employs:
- KL-divergence loss to model the Poisson distribution of count-based EHR data.
- Angular constraints to ensure phenotype diversity.
- L1/L2 regularization to maintain sparsity and succinctness.
Experimental Setup
The study utilized a large-scale dataset from the Vanderbilt University Medical Center (VUMC) Synthetic Derivative. The cohort consisted of 1,622 patients, including 304 cases of resistant hypertension and 399 controls. The resulting tensor dimensions were 1,622 patients × 1,325 diagnoses (PheWAS codes) × 148 medications (MeSH terms). Side information for the cannot-link matrix was extracted from PubMed via PIVET.
Results and Discussion
PIVETed-Granite demonstrated superior performance over standard sparse decomposition (Marble) and the original Granite model across several metrics:
- Reconstruction Accuracy: The model achieved a lower KL-divergence (2,224,824) compared to Granite (2,311,866), indicating a more faithful reconstruction of the underlying data.
- Phenotype Sparsity: The automated constraints significantly cleaned the output. The average number of diagnoses per phenotype was reduced from 18.21 in Granite to just 5.78 in PIVETed-Granite.
- Predictive Power: When used to predict resistant hypertension, PIVETed-Granite reached an AUC of 0.7172, outperforming Granite (0.7083) and Marble (0.6656).
Qualitatively, PIVETed-Granite produced much more cohesive phenotypes. As shown in the comparison below, the model successfully pruned irrelevant "noise" such as "Fracture of foot" from heart-related phenotypes, which the unsupervised Granite model failed to distinguish.
Conclusion
PIVETed-Granite proves that "proxy expertise" derived from automated literature mining can effectively replace manual expert labeling in guiding tensor factorization. This approach results in cleaner, more interpretable phenotypes that maintain high predictive accuracy. Future work will explore the model's sensitivity to lift thresholds and the impact of potentially noisy literature-mined constraints on clinical interpretability.
Summary updated