Skip to main content
QUICK REVIEW

[Paper Review] TASTE: Temporal and Static Tensor Factorization for Phenotyping Electronic Health Records

Ardavan Afshar, Ioakeim Perros|arXiv (Cornell University)|Nov 13, 2019
Tensor decomposition and applicationsMathematics7 citations
TL;DR

TASTE proposes a novel tensor factorization method that jointly models static (e.g., demographics) and temporal (e.g., longitudinal visits) features in electronic health records (EHRs) using a hybrid PARAFAC2 and non-negative matrix factorization framework. It achieves up to 14× faster computation than baselines and extracts clinically meaningful heart failure phenotypes that match deep learning performance in prediction with minimal features.

ABSTRACT

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.

Motivation & Objective

  • Address the gap in existing EHR phenotyping methods that fail to jointly model both static patient attributes (e.g., race, gender) and dynamic clinical trajectories.
  • Develop a scalable, interpretable method that preserves model uniqueness and interpretability while handling irregular, sparse longitudinal EHR data.
  • Improve predictive performance for heart failure phenotyping by integrating both static and dynamic clinical features.
  • Enable efficient computation through mathematical reformulation of the non-convex optimization problem into tractable sub-problems.

Proposed method

  • Formulate a joint tensor factorization model combining PARAFAC2 for temporal data and non-negative matrix factorization for static features, sharing a common phenotype score matrix.
  • Model temporal data using patient-specific factor matrices (U_k) and shared factor matrices (V), with orthogonal constraints via Q_k and H to handle irregular visit counts.
  • Model static features (A) by decomposing them into shared phenotype scores (S_k) and a factor matrix (F), enabling joint learning.
  • Reformulate the original non-convex optimization into alternating sub-problems: orthogonal Procrustes, least squares, and non-negative least squares, avoiding expensive Khatri-Rao products.
  • Use efficient solvers for each sub-problem, including closed-form solutions and iterative algorithms with convergence guarantees.
  • Ensure non-negativity and orthogonality constraints to promote model uniqueness and clinical interpretability.

Experimental results

Research questions

  • RQ1Can a unified tensor factorization model effectively integrate both static and dynamic features in EHRs to improve phenotyping accuracy?
  • RQ2How does joint modeling of static and temporal features compare to modeling them separately in terms of predictive performance for heart failure?
  • RQ3Can the proposed method achieve significant speedups over existing baselines while preserving model interpretability and uniqueness?
  • RQ4Do the phenotypes discovered by TASTE align with clinically recognized patterns as validated by domain experts?

Key findings

  • TASTE achieved an AUC of 0.7554 on heart failure prediction using only 80 phenotypes, outperforming a baseline RNN model with 345 features.
  • TASTE was up to 14× faster than state-of-the-art baselines while maintaining model uniqueness and interpretability.
  • The method successfully extracted five clinically meaningful heart failure phenotypes—Atrial Fibrillation, Hypertensive Heart Failure, Obese-Induced, Cardiometabolic, and Coronary Heart Disease—confirmed by a cardiologist.
  • Incorporating static features via TASTE’s joint modeling framework improved AUC by 0.0056 over a baseline that only used dynamic features (0.7426 vs. 0.7498), and by 0.0056 over a static-augmented PARAFAC2 baseline.
  • Phenotype scores (S_k) were shared across static and dynamic modalities, enabling consistent, personalized representation of patient trajectories.
  • The model’s efficiency was driven by reformulating the optimization into simpler sub-problems, avoiding computationally expensive operations like Khatri-Rao products.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.