# TASTE: Temporal and Static Tensor Factorization for Phenotyping Electronic Health Records

arXiv: https://arxiv.org/abs/1911.05843 · HTML: https://mlsanity.com/paper/1911.05843/

## Key facts

- Cited by 11 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 13 Nov 2019.

## Built on by (most cited first, 11 of 11)

- [Deep learning for temporal data representation in electronic health records: A systematic review of challenges and methodologies](https://mlsanity.com/paper/2107.09951/) (2021)
- [DPar2: Fast and Scalable PARAFAC2 Decomposition for Irregular Dense Tensors](https://mlsanity.com/paper/2203.12798/) (2022)
- [Unsupervised EHR-based Phenotyping via Matrix and Tensor Decompositions](https://mlsanity.com/paper/2209.00322/) (2022)
- [PARAFAC2-based Coupled Matrix and Tensor Factorizations](https://mlsanity.com/paper/2210.13054/) (2022)
- [MULTIPAR: Supervised Irregular Tensor Factorization with Multi-task Learning](https://mlsanity.com/paper/2208.00993/) (2022)
- [PheME: A deep ensemble framework for improving phenotype prediction from multi-modal data](https://mlsanity.com/paper/2303.10794/) (2023)
- [Compensating trajectory bias for unsupervised patient stratification using adversarial recurrent neural networks](https://mlsanity.com/paper/2112.07239/) (2021)
- [SWoTTeD: An Extension of Tensor Decomposition to Temporal Phenotyping](https://mlsanity.com/paper/2310.01201/) (2023)
- [PARAFAC2-based Coupled Matrix and Tensor Factorizations with Constraints](https://mlsanity.com/paper/2406.12338/) (2024)
- [Supervised Coupled Matrix-Tensor Factorization (SCMTF) for Computational Phenotyping of Patient Reported Outcomes in Ulcerative Colitis](https://mlsanity.com/paper/2506.20065/) (2025)
- [Improving Group Fairness in Tensor Completion via Imbalance Mitigating Entity Augmentation](https://mlsanity.com/paper/2507.20542/) (2025)

## Abstract (arXiv)

Phenotyping electronic health records (EHR) focuses on defining meaningful patient groups (e.g., heart failure group and diabetes group) and identifying the temporal evolution of patients in those groups. Tensor factorization has been an effective tool for phenotyping. Most of the existing works assume either a static patient representation with aggregate data or only model temporal data. However, real EHR data contain both temporal (e.g., longitudinal clinical visits) and static information (e.g., patient demographics), which are difficult to model simultaneously. In this paper, we propose Temporal And Static TEnsor factorization (TASTE) that jointly models both static and temporal information to extract phenotypes. TASTE combines the PARAFAC2 model with non-negative matrix factorization to model a temporal and a static tensor. To fit the proposed model, we transform the original problem into simpler ones which are optimally solved in an alternating fashion. For each of the sub-problems, our proposed mathematical reformulations lead to efficient sub-problem solvers. Comprehensive experiments on large EHR data from a heart failure (HF) study confirmed that TASTE is up to 14x faster than several baselines and the resulting phenotypes were confirmed to be clinically meaningful by a cardiologist. Using 80 phenotypes extracted by TASTE, a simple logistic regression can achieve the same level of area under the curve (AUC) for HF prediction compared to a deep learning model using recurrent neural networks (RNN) with 345 features.
