Introduction
Electronic Health Records (EHR) offer a wealth of information for clinical decision support, yet their high dimensionality, extreme sparsity, and heterogeneity pose significant challenges for analysis. Traditional representation learning methods often compress this data into lower-dimensional "phenotypes" using unsupervised techniques. However, these methods typically operate in two disconnected stages: feature extraction followed by predictive modeling. This separation provides no guarantee that the learned features are optimal for specific clinical tasks, such as predicting readmission or medical costs.
To address these limitations, we present TaGiTeD (Predictive Task Guided Tensor Decomposition), a supervised framework that integrates representation learning and predictive modeling into a single optimization process. By guiding the decomposition with a specific predictive task, TaGiTeD extracts interpretable clinical phenotypes that are directly aligned with predictive power.
Methodology
TaGiTeD models EHR data as a 3-way tensor (Patient $\times$ Diagnosis $\times$ Medication). Unlike standard unsupervised tensor decomposition (e.g., CP-APR), TaGiTeD incorporates a "guidance" term into its objective function.
Supervised Poisson Tensor Decomposition
The framework simultaneously aims to reconstruct the original data tensor and minimize the error on a target predictive task. Recognizing that EHR data often consists of counts (e.g., frequency of a diagnosis), TaGiTeD utilizes Poisson Tensor Decomposition, which is better suited for such distributions than traditional Gaussian models.
Flexible Optimization
The framework is versatile, supporting various predictive models by adjusting the loss function:
- Log-loss for classification tasks (e.g., Logistic Regression).
- Hinge-loss for margin-based classification (e.g., SVM).
- Quadratic-loss for regression tasks (e.g., Linear Regression).
To ensure scalability and interpretability, the authors developed a multiplicative update algorithm based on proximal gradient methods. This approach maintains non-negativity in the learned factors, allowing them to be directly interpreted as clinical phenotypes.
Experimental Evaluation
The model was evaluated on two real-world EHR datasets: a large sparse dataset with over 34 million medical events and a smaller, denser subset. TaGiTeD was compared against several baselines, including PCA, Gaussian Mixture Models (GMM), and unsupervised CP-APR.
Performance in Clinical Prediction
Inhospital prediction performance (AUC) across different representation lengths on the dense dataset. TaGiTeD: Predictive Task Guided Tensor Decomposition for Representation Learning from Electronic Health Records, page 6
In classification tasks (predicting in-hospitalization), TaGiTeD-Log achieved an AUC of 0.7886 on the dense dataset, significantly outperforming unsupervised CP-APR (0.7593) and traditional vector-based methods. The task-guidance acts as a filter, allowing the model to ignore noise and focus on features relevant to the clinical outcome.
For regression tasks (predicting medical expenses), TaGiTeD-Linear (utilizing quadratic loss) achieved an $R^2$ of 0.2830, surpassing both unsupervised tensor decomposition (0.2653) and PCA-based approaches.
Discussion and Key Insights
- High-Order Interactions: By using a tensor structure, TaGiTeD naturally captures the interactions between diagnoses and medications, reflecting the complex nature of clinical practice more accurately than independent vector representations.
- Interpretability: The non-negative decomposition ensures that latent factors correspond to meaningful clinical groupings. For instance, the model successfully identified a phenotype grouping "Chronic Kidney Disease" with related medications and treatments like hemodialysis.
- Efficiency: Despite the added complexity of supervised guidance, TaGiTeD maintains a runtime per iteration comparable to unsupervised methods, ensuring its viability for large-scale clinical datasets.
Conclusion
TaGiTeD demonstrates that integrating predictive tasks into the representation learning process significantly enhances the utility of EHR-derived phenotypes. Future work will explore multi-task learning to predict multiple outcomes simultaneously and the incorporation of additional data modalities, such as lab results and temporal dynamics, to further refine patient representations.
Summary updated