Papers
Topics
Authors
Recent
Search
2000 character limit reached

ROAMM-EHR & SCMTF: EHR Phenotyping

Updated 13 May 2026
  • The paper introduces SCMTF, a supervised coupled matrix-tensor factorization method that integrates multi-modal EHR and PRO data for computational phenotyping in ulcerative colitis.
  • The methodology jointly factorizes static demographics with temporal lab and PRO data while handling up to 90% missing entries via masked reconstruction and imputation.
  • The approach achieved high predictive performance (AUC 0.853 at 8 months) and offered clinical interpretability by identifying distinct latent phenotypes.

ROAMM-EHR is not directly referenced or defined as a stand-alone term in the arXiv source, but its relevant context, methodologies, and technical workflows are exemplified by the Supervised Coupled Matrix-Tensor Factorization (SCMTF) approach for computational phenotyping of patient-reported outcomes (PROs) within electronic health record (EHR) systems, as applied to ulcerative colitis (UC) data (Minoccheri et al., 24 Jun 2025). The following sections detail the foundation, mathematical formalism, missing data handling, optimization, and the interpretability and significance of SCMTF-based approaches in EHR-driven clinical phenotyping.

1. Foundational Principles: Multi-Modal and Heterogeneous Data in EHR

SCMTF addresses computational phenotyping by distinguishing latent patient phenotypes through joint factorization of multi-modal, heterogeneous, and highly incomplete EHR-derived data. This paradigm incorporates both time-varying and static patient variables. Traditionally, patient-reported outcomes (PROs)—subjective, noisy, and overwhelmingly sparse—are routinely excluded from EHR-based machine learning pipelines due to their incomplete availability. SCMTF challenges this exclusion, leveraging deep low-rank matrix and tensor models to incorporate temporal PROs, laboratory measures, and baseline features for robust patient stratification and outcome prediction (Minoccheri et al., 24 Jun 2025).

2. Mathematical Architecture: Supervised Coupled Matrix-Tensor Factorization

The SCMTF model assumes availability of a third-order tensor XRI×J×K\mathcal{X} \in \mathbb{R}^{I\times J\times K}, where II is the patient index, JJ the set of time-varying variables (labs and PROs), and KK discrete time windows—here, seven bins of four months each, contextualized to key clinical events (e.g., medication initiation). Additionally, static feature matrices MRI×DM\in\mathbb{R}^{I\times D} (demographics, medication history, etc.) and binary outcome labels y{0,1}Iy\in\{0,1\}^I (e.g., medication persistence at a specific time horizon) are provided.

The factorization posits a rank-RR coupled CANDECOMP/PARAFAC (CP) decomposition:

X    [ ⁣[A,B,C] ⁣]+Bfeat+Bpat,\mathcal{X}\;\approx\;[\![\,\mathbf{A},\mathbf{B},\mathbf{C}\,]\!] + \mathbf{B}_{\text{feat}} + \mathbf{B}_{\text{pat}},

where:

  • ARI×R\mathbf{A} \in \mathbb{R}^{I\times R}: patient–phenotype membership matrix
  • BRJ×R\mathbf{B} \in \mathbb{R}^{J\times R}: variable–phenotype matrix (temporal features)
  • II0: time–pattern matrix
  • II1: feature bias (offsets per feature)
  • II2: patient bias (offsets per patient)

The static matrix II3 is coupled via the patient mode:

II4

A neural classifier II5 with parameters II6 links II7 to clinical outcome via cross-entropy loss:

II8

where II9.

The total loss incorporates tensor and matrix reconstruction, JJ0 sparsity, bias regularization, and the supervised loss, subject to nonnegativity constraints on all factor matrices.

3. Missing Data: Masking and Imputation

EHR and PRO data are typically characterized by severe missingness (up to 90%), particularly in longitudinal symptom reporting. SCMTF introduces binary masks JJ1 and JJ2 to indicate observed entries in JJ3 and JJ4 respectively. Reconstruction losses are masked via Hadamard product, ensuring that only observed entries contribute to the objective:

JJ5

After optimization, missing entries in both JJ6 and JJ7 are naturally imputed using the learned low-rank and bias structure.

4. Optimization Strategies and Hyperparameters

Training proceeds as joint all-at-once gradient-based optimization implemented in PyTorch, leveraging TensorLy-Torch for tensor operations. All factors JJ8, biases JJ9, and classifier parameters KK0 are updated simultaneously.

Key characteristics:

  • Nonnegativity enforced by clamping factors after each step.
  • Factor variables updated via Adam (KK1); classifier via SGD (KK2, momentum = 0.9)
  • Learning rates decayed by KK3 every KK4 steps
  • KK5 sparsity handled by proximal-gradient/soft-thresholding
  • Hyperparameters (KK6, KK7, KK8, KK9) selected through grid search on a held-out validation set, targeting AUC and imputation error

In the referenced work, the optimal configuration was MRI×DM\in\mathbb{R}^{I\times D}0, MRI×DM\in\mathbb{R}^{I\times D}1, and MRI×DM\in\mathbb{R}^{I\times D}2 (Minoccheri et al., 24 Jun 2025).

5. Application: Ulcerative Colitis Computational Phenotyping

For UC, the SCMTF workflow was instantiated as follows:

  • MRI×DM\in\mathbb{R}^{I\times D}3 comprising 24 laboratory variables and 34 PRO items, binned into seven 4-month intervals centered on medication start.
  • MRI×DM\in\mathbb{R}^{I\times D}4 reflecting static demographics (age, sex, BMI), disease/therapy history, and baseline endoscopic scores.
  • Labels MRI×DM\in\mathbb{R}^{I\times D}5 marking medication persistence at 8 and 20 months.

Post-training, each rank component MRI×DM\in\mathbb{R}^{I\times D}6 defines a distinct phenotype with interpretation derived from:

  • MRI×DM\in\mathbb{R}^{I\times D}7: per-patient phenotype strengths
  • MRI×DM\in\mathbb{R}^{I\times D}8: variable/PRO contributions
  • MRI×DM\in\mathbb{R}^{I\times D}9: temporal evolution
  • y{0,1}Iy\in\{0,1\}^I0: static feature influences

Features with maximal loadings (e.g., arthritis pain, CRP, prior biologic use) and their corresponding time profiles informed clinical interpretations such as “chronic inflammation” or “episodic systemic symptoms.”

6. Predictive and Clinical Significance

The learned patient phenotypes, summarized by y{0,1}Iy\in\{0,1\}^I1, served as covariates for medication persistence prediction with high accuracy:

  • Random Forest on y{0,1}Iy\in\{0,1\}^I2 yielded test AUC = 0.853 (8-month) and AUC = 0.803 (20-month)
  • A subset of three dominant phenotypes preserved AUC > 0.80
  • Imputation accuracy for missing tensor values was MAE y{0,1}Iy\in\{0,1\}^I3 0.145, RMSE y{0,1}Iy\in\{0,1\}^I4 0.197

Approximately 76% of tensor entries were missing (88% in PROs). The discovery of phenotypes featuring PROs indicates these data types, typically discarded for sparsity and subjectivity, contain clinically actionable information for outcome modeling in UC (Minoccheri et al., 24 Jun 2025).

7. Context and Implications

SCMTF represents the first tensor-based, supervised, and coupled factorization applied to the UC domain and to highly missing PRO data. It offers a unified, interpretable modeling framework capable of:

  • Jointly factorizing static and temporal, multi-modal clinical data
  • Absorbing patient and feature bias
  • Integrating clinical supervision directly in the factorization
  • Handling massive missingness via masked loss
  • Yielding interpretable latent phenotypes with demonstrable predictive utility

A plausible implication is the extension of similar SCMTF-based factorizations to broader EHR phenotyping tasks and other highly missing clinical data domains, where integration of multiple data types and interpretability are crucial for precision medicine (Minoccheri et al., 24 Jun 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to ROAMM-EHR.