Joint Learning of Phenotypes and Diagnosis-Medication Correspondence via Hidden Interaction Tensor Factorization

Kejing Yin, William K. Cheung, Yang Liu, Benjamin C. M. Fung, Jonathan Poon

Introduction

Electronic Health Records (EHR) provide a rich substrate for clinical research, yet their inherent noise and lack of explicit structure pose significant challenges. Computational phenotyping aims to distill these raw data points—such as diagnosis codes (DX) and medication prescriptions (RX)—into interpretable clinical concepts. A common approach involves Non-negative Tensor Factorization (NTF), which organizes patient data into a multi-dimensional "cube." However, a fundamental limitation of standard NTF is the "correspondence problem": EHRs rarely specify which medication was prescribed for which diagnosis during a clinical encounter.

The Challenge of Correspondence

Traditional models often rely on an "equal-correspondence" assumption, where every medication recorded during a visit is associated with every diagnosis recorded in the same period. This heuristic introduces substantial noise, particularly in complex clinical settings like the Intensive Care Unit (ICU), where patients often present with multiple co-occurring conditions.

Comparison of equal-correspondence (a) versus HITF-inferred correspondence (b). HITF correctly identifies that Metoprolol (RX 2) relates to Hypertension (DX 1) rather than Pneumonitis (DX 2).

As illustrated in the figure above, equal-correspondence incorrectly links medications to unrelated diagnoses. For instance, a patient with both hypertension and pneumonia might be prescribed Metoprolol for the former; traditional methods would erroneously associate it with the latter, muddling the resulting phenotype.

The HITF Framework

To address these shortcomings, researchers developed Hidden Interaction Tensor Factorization (HITF). This novel method treats the interaction between patients, diagnoses, and medications as a hidden variable to be inferred jointly with the phenotypes.

  • Poisson Modeling: HITF utilizes a Poisson non-negative tensor factorization framework, which is naturally suited for the count-based nature of clinical data (e.g., frequency of drug administration).
  • Joint Learning: Rather than pre-defining the interaction tensor, HITF "back-calculates" the most probable hidden interactions using observed patient-medication counts and patient-diagnosis binary indicators.
  • Efficient Optimization: The model employs a Block Coordinate Descent (BCD) algorithm with a projected line search to ensure efficient convergence while maintaining the non-negativity required for interpretability.

Evaluation and Results

The HITF model was rigorously evaluated using the MIMIC-III dataset, encompassing over 7,600 adult ICU patients. The primary task was to use the discovered phenotypes to predict in-hospital mortality.

Predictive performance (ROC AUC) of HITF compared to baselines across varying training set sizes. HITF consistently maintains superior accuracy and robustness.

HITF consistently outperformed state-of-the-art baselines, including Rubik, CP-APR, and SiCNMF. Notably, as shown in the performance graph, HITF maintains high predictive accuracy (ROC AUC) even when the training data is significantly reduced. This suggests that the model's internal logic regarding drug-disease correspondence acts as an effective regularizer, preventing overfitting in data-sparse scenarios.

Interpretability and Distinctiveness

Beyond predictive power, HITF offers superior clinical interpretability. By filtering out irrelevant correspondences, the model produces "sparser" phenotypes—clusters containing fewer, more specific elements. Qualitative analysis confirmed this; for example, HITF accurately linked Insulin to Diabetes with high confidence, whereas baseline models struggled to separate it from ubiquitous "background" medications. Furthermore, the phenotypes generated by HITF exhibited lower average cosine similarity to one another, indicating that the model is more effective at identifying unique, non-overlapping clinical patterns.

Conclusion and Future Directions

HITF represents a significant advancement in computational phenotyping by moving beyond simplistic correspondence assumptions. By jointly learning hidden interactions and latent phenotypes, it provides a clearer, more accurate window into complex patient data. Future work will explore extending the model to higher-order tensors (incorporating lab results or vitals) and accounting for temporal dynamics to better understand disease progression over time.

Summary updated

BibTeX
@inproceedings{yin2018joint,
  author = {Kejing Yin and William K. Cheung and Yang Liu and Benjamin C. M. Fung and Jonathan Poon},
  title = {{Joint Learning of Phenotypes and Diagnosis-Medication Correspondence via Hidden Interaction Tensor Factorization}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/504},
}
Figure