with Application to Electrocardiograms in Chronic Kidney Disease
2026-04-20
Motivation: Chronic Renal Insufficiency Cohort (CRIC) study and Heart Failure
Methodology: Supervised Functional Feature Extraction
Existing methods: FPCA and FSIR
Our proposed alternative approach
Application: Construct features characterizing HF with promise for tracking disease progression in CKD patients
An observational study, ages 21-74, varying stages of chronic kidney disease (CKD)
Examine risk factors for the progression of CKD and cardiovascular disease (CVD) in CKD patients.

Electrocardiograms (ECGs) record the electrical activity from the heart impulses during the cardiac cycle - the sequence of events for one complete heartbeat.

Electrocardiograms (ECGs) record the electrical activity from the heart impulses during the cardiac cycle - the sequence of events for one complete heartbeat.

Full 12-lead ECG recorded per visit in CRIC; but only interested in lead I

Heart Failure (HF) has conventionally been classified by the left ventricular ejection fraction (LVEF) measurment from an echocardiogram
Most HF (> 80%) cases are classified as HF with preserved ejection fraction (HFpEF), or HF with reduced ejection fraction (HFrEF)
HF with preserved EF (LVEF \(\geq 50\)):
Diastolic (relaxation) Dysfunction
Therapies: SGLT2, lifestyle
HF with reduced EF (LVEF \(\leq 40\)):
Systolic (contraction) Dysfunction
Therapies: ACE-inhibitors/ARB/ARNI/\(\beta\)-blockers, device implants, SGLT2, lifestyle
“The primary objectives of the CRIC Study were to examine risk factors for progression of CKD and CVD … study aimed to develop predictive models to identify high-risk subgroups…”1
Use dimension reduction to construct features of Heart Failure sub-types from patient ECGs
Develop models for tracking disease progression over multi-year visits
Papers that address using ECGs for analyzing HFpEF and HFrEF:
conventional statistical methods compare ECG summary parameters to identify and differentiate HFpEF and HFrEF
ECG parameters are summary quantities of the ECG recordings, like heart rate, QRS duration, QT interval, etc.
Cumbersome and inefficient;
DL and AI methods12 focus on prediction error
Leverage functional nature of ECGs to improve feature extraction
Derive features reflective of physiological mechanisms and interpretable to clinicians
Use features to perform longitudinal analysis of disease progression
Functional data:
Assume recorded observations \({X(t_1), X(t_2), \ldots, X(t_J)}\) come from underlying smooth function \(\{X(t): t \in [0,1]\}\)
Current value of observation depends on values adjacent
Ideal to account for functional nature instead of using as raw image or euclidean vector.
Applications:
Electrocardiograms
Accelerometer data from activity and gait analyses
Real-time monitoring devices for biomarkers
Circadian rhythms from wearable devices
But the underlying curves are infinite dimensional; need to project into finite space
PCA: Unsupervised feature extraction method in multivariate analysis, \(X \in \R^p\)
\(\var(X) = \sum_{j=1}^p \lambda_j v_j v_j^\top\)
Features \(v_1, \ldots, v_p\) represent the variability in \(X\), from largest to smallest
FPCA: extends PCA to functional \(X(t) \in \sH\);
\(\var(X) = \sum_{j=1}^\infty \lambda_j (\psi_j \otimes \psi_j )\)
Feature functions \(\{\psi_j(t)\}_{j=1}^{\infty}\) represent variability in \(X(t)\)
Limitation: FPCA extracts the leading features most relevant to \(X(t)\); not necessarily relevant to outcome, \(Y\)

Use Sufficient Dimension Reduction (SDR) derive features that are relevant to the outcome \(Y\).
Sufficient Dimension Reduction (SDR) problem:
For \(X \in \R^p\) and \(Y \in \R\), assume \(Y \indep X | \ipl \beta_1, X \ipr, \ldots, \ipl \beta_d, X \ipr\).
Finding the \(d\) features \(\beta_1, \ldots, \beta_d\) are sufficient for characterizing the relationship between \(X\) and \(Y\).
Seminal SDR method: Sliced Inverse Regression (SIR) (1991); \(X \in \R^p, Y \in \R\):
Generalized Eigenvalue Problem; \(GEP(\cov\{E(X|Y)\}, \var(X))\):
\(\max_{\beta_j} \beta_j^\top \cov\{E(X|Y)\} \beta_j\) such that \(\beta_j^\top \var(X) \beta_k = \delta_{jk}\) for \(j, k = 1, \ldots, d\);
Returns features related to \(Y\) as opposed to just characterizing \(X\) like FPCA;
Let \(X = (X_1, X_2) \in [0,1]^2\)
\(Y = X_1^2 = (\beta^\top X)^2\), where \(\beta = (1,0)^\top\)

Let \(X = (X_1, X_2) \in [0,1]^2\)
\(Y = X_1^2 = (\beta^\top X)^2\), where \(\beta = (1,0)^\top\)
Slice \(Y\) into \(H=5\) partitions

Let \(X = (X_1, X_2) \in [0,1]^2\)
\(Y = X_1^2 = (\beta^\top X)^2\), where \(\beta = (1,0)^\top\)
Find corresponding/induced partitions of \(X\)

Let \(X = (X_1, X_2) \in [0,1]^2\)
\(Y = X_1^2 = (\beta^\top X)^2\), where \(\beta = (1,0)^\top\)
Compute mean of \(X\) in each partition; this is \(E(X|Y)\)

Let \(X = (X_1, X_2) \in [0,1]^2\)
\(Y = X_1^2 = (\beta^\top X)^2\), where \(\beta = (1,0)^\top\)
Perform PCA on \(E(X|Y)\)
Returns direction in which \(E(X|Y)\) varies the most;
\(\max_{\beta_j} \beta_j^\top \cov\{E(X|Y)\} \beta_j\) such that \(\beta_j^\top \var(X) \beta_k = \delta_{jk}\) for \(j, k = 1, \ldots, d\);

Sliced Inverse Regression (1991); \(X \in \R^p, Y \in \R\):
Functional Sliced Inverse Regression (2003); \(X(t) \in \sH\), \(Y \in \R\):

Functional Sliced Inverse Regression (2003); \(X(t) \in \sH\), \(Y \in \R\):
GEP: \(\{\var(X)\}^{\dagger} \cov\{E(X|Y)\}\)
\(\var(X)\) is now an infinite-dimensional operator; requires a generalized inverse for GEP;
Conventional FSIR approach truncates \(\var(X)\) to compute \(\{\var(X)\}^{\dagger}\);
\(\var(X) = \sum_{j=1}^\infty \lambda_j \psi_j \otimes \psi_j\) is truncated to finite-operator \(\sum_{j=1}^K \lambda_j \psi_j \otimes \psi_j\) for some \(K\);
\(K\) is commonly chosen based on the proportion of variance explained of \(X(t)\), not necessarily \(Y\);
Truncating \(\var(X)\) projects \(X(t)\) onto a finite subspace spanned by the leading eigenfunctions of \(\var(X)\);
\(X(t) = \mu_X(t) + \sum_{j=1}^\infty \xi_j \psi_j(t)\) becomes \(\tilde X(t) = \mu_X(t) + \sum_{j=1}^K \xi_j \psi_j(t)\)
This subspace of \(\var(X)\) might miss relevant information on \(Y\);
More be ideal to project \(X(t)\) onto a finite subspace that retains as much relevant information on \(Y\)
From the FSIR GEP:
\(\max_{\beta_j} \beta_j^\top \cov\{E(X|Y)\} \beta_j\) such that \(\beta_j^\top \var(X) \beta_k = \delta_{jk}\) for \(j, k = 1, \ldots, d\);
\(\Lambda = \cov\{E(X|Y)\}\) is a finite operator and contains all the relevant information on \(Y\);
So we can project \(X(t)\) onto this finite subspace without losing information on \(Y\);
Finite-ness by SDR assumption that \(Y \indep X | \ipl \beta_1, X \ipr, \ldots, \ipl \beta_d, X \ipr\);
Assume \(\Lambda\) has sufficient rank, \(d\), for convenience
The NAPFSIR GEP algorithm:
Project \(X(t)\) onto \(\Lambda = \cov\{E(X|Y)\}\) (instead of a finite subspace of \(\var(X)\));
Estimate \(\cov\{E(X|Y)\}\) by B-spline basis expansion;
Project \(X(t)\) onto the eigenfunctions of \(\cov\{E(X|Y)\}\)
Carry out SIR by solving the usual GEP on the new basis coefficients;
Empirically, improves recovery of relationships between \(X(t)\) and \(Y\)
Theoretically consistent with conventional non-parametric convergence rates
Theorem 1 Natural Projections for FSIR
Solutions to FSIR problem, \[GEP \bigg ( \cov\{E(X|Y)\}, \var(X) \bigg ),\] are equivalent to solutions to \[GEP \bigg (\cov\{E(X|Y)\}, P_{\cov\{E(X|Y)\}} \var(X) P^\top_{\cov\{E(X|Y)\}} \bigg ),\] where \(P\) is the projection operator onto \(\cov\{E(X|Y)\}\).
Trivial when \(X\) and \(Y\) are euclidean.
Non-trivial implications when \(X\) or \(Y\) are more complex, like functional data;
Theorem 2 Consistency of NAPFSIR
Let \(J\) be the number of observed time points, \(K\) be number of B-spline basis functions used to estimate \(\cov\{E(X|Y)\}\) and \(\var(X)\), and \(n\) be the sample size.
Under conventional SDR and B-spline assumptions, with \(\lim_{J \to \infty} \frac{K \log J}{J} = 0\) and \(c \sim J^{2/3} n^\g\), the solutions to \[GEP \bigg (\cov\{E(X|Y)\}, P_{\cov\{E(X|Y)\}} \var(X) P^\top_{\cov\{E(X|Y)\}} \bigg ).\]
are consistent with convergence rate \[ \sup_{t \in [0,1]} \left| \hat{\beta}_j(t) - \beta_j(t) \right|^2 = O_p\left( J^{-2/3} + n^{-1} \right). \]

Phase 1 participants
no history of CVD at study entry, and have at least two ECGs;
Use ECGs closest to diagnosis time for individuals with HFpEF or HFrEF;
Use ECGs closest to study entry for Healthy individuals;
We retrospectively validate our features on Phase 3 CRIC participants

Outcome \(Y\) is Healthy, HFpEF_1, HFpEF_2, HFrEF
Supervised features may correspond to physiological mechanisms
Linearly combine them for diesease-specific features
Determine combination via multinomial logistic regression
HF vs Healthy; HFpEF vs HFrEF
Subtype-specific features are \[\hat f_{HFpEF}(t) = c_1 \text{component}_1 + c_2 \text{component}_2 + c_3 \text{component}_3\]
with \(\hat f_{HFrEF}(t)\) fitted similarly.
To score a patient’s ECG, we use the feature, \(\hat f_{HFpEF}(t)\), as a weight function applied to the ECG curve: \[ s = \ipl \hat f_{HFrEF}, X - \mu_X \ipr = \frac{1}{J} \sum_{j=1}^J \hat f(t_j) X(t_j) \]
To the scores \(\{s_1, \dots, s_n\}\) for each HF-subtype,
we fit a linear mixed model to time (in years) with random intercept and slope for each patient \[ s = \b_0 + \b_1 t + \g_0 + \g_1 t + \vep \]
the estimated average slope, \(\b_1\), reflects the longitudinal changes in scores over time
the subject-specific intercept, \(\b_0 + \g_0\) and slope, \(\b_1 + \g_1\), can be used to evaluate the association between longitudinal changes in scores and disease progression

Among individuals with CKD, the longitudinal changes in our features can strongly discern individuals with HF from Healthy and individuals with HFpEF from HFrEF.

Model 1: Just feature slope and intercepts
Model 2: Model 1 + relevant baseline covariates
Model 3: Model 2 + baseline Echo


No Echocardiograms were measured in Phase 3
After adjusting for baseline covariates, on average, a one-standard deviation increase in the feature slope is associated with a 46% decrease in odds of HFpEF compared to healthy; insufficient HFrEF cases to evaluate association with HFrEF in Phase 3.
Contributions to CRIC aim:
Developed NAPFSIR for supervised feature extraction in functional data;
Constructed features reflecting physiological cardiac phenomena in HF-subtypes;
Demonstrated Longitudinal changes in features within subject can discern HFpEF from HFrEF
Thanks to my collaborators at Penn Medicine:


