A Temporal Machine Learning-Based Time-to-Event Model for Predicting ALS Progression and Healthcare Utilization


Abstract

1 Amyotrophic lateral sclerosis (ALS) is a progressive and heterogeneous neurodegenerative disease in which predicting clinically meaningful milestones, such as assistive device use, remains challenging. We developed a time-to-event, digital-twin-inspired framework that integrates longitudinal ALS Functional Rating Scale–Revised (ALSFRS-R) trajectories with survival modeling to support individualized prediction of functional decline and assistive device utilization. We constructed a harmonized longitudinal dataset by integrating diagnosis records, ALSFRS-R assessments, activities of daily living, and demographic information, followed by preprocessing to ensure data quality, temporal alignment, and cohort consistency. Correlation-based clustering identified coherent functional domains spanning bulbar, upper limb, axial, lower limb, and respiratory systems. Generalized additive mixed models characterized nonlinear, domain-specific functional decline across all domains. In addition, a temporal machine learning model was developed to predict longitudinal functional decline and capture stage-dependent disease progression. Cox proportional hazards modeling further identified lower limb function, particularly walking and stair climbing, as the strongest predictors of earlier wheelchair access. Building on these results, we implemented a digital twin-inspired temporal machine learning-based time-to-event (TTE) model that generates individualized survival curves and dynamically predicts wheelchair-free survival (http://als-digital-twin-app.streamlit.app). This framework provides a scalable, interpretable, and clinically actionable approach for linking ALS progression with personalized decision support, with applications in proactive care planning, clinical trial stratification, and precision medicine.

1 Introduction↩︎

Amyotrophic lateral sclerosis (ALS) is a progressive neurodegenerative disorder characterized by the degeneration of upper and lower motor neurons, leading to muscle weakness, loss of mobility, respiratory failure, and ultimately death [1][3]. The disease affects approximately 2.2 individuals per 100,000 in Europe and 1.9 per 100,000 in the United States annually and remains without a curative therapy. The median survival ranges from 2 to 5 years following diagnosis [4]. Clinically, ALS exhibits substantial heterogeneity in both presentation and progression, including variability in site of onset (bulbar vs. limb), rate of functional decline, and patterns of system involvement across motor and respiratory domains [1], [5]. This heterogeneity is further reflected in longitudinal measures such as the ALS Functional Rating Scale–Revised (ALSFRS-R), where patients demonstrate markedly different trajectories even at similar baseline stages [6]. Although ALS is universally progressive, the timing, sequence, and manifestation of clinically meaningful milestones—such as loss of ambulation, dysphagia requiring gastrostomy, or respiratory insufficiency necessitating ventilatory support—vary widely across individuals [7][9]. These intermediate events represent critical transitions in disease burden and healthcare utilization, often preceding terminal outcomes and directly impacting quality of life, caregiver needs, and clinical management strategies [8], [10]. However, predicting when such events will occur remains challenging due to the complex and nonlinear nature of disease progression [11][13].

Existing modeling efforts have primarily focused on survival or composite endpoints, with limited ability to capture the dynamic and individualized nature of disease progression. While approaches such as landmark modeling and semi-competing risks have improved time-to-event prediction by incorporating longitudinal information, they remain largely population-level tools and are not explicitly designed for real-time, patient-specific prediction [14], [15]. In parallel, machine learning–based prognostic models have demonstrated improved predictive performance by leveraging high-dimensional clinical and molecular data; however, many of these models operate as static predictors and often lack interpretability and temporal adaptability required for clinical deployment [16][18]. These approaches vary substantially in their treatment of time and interpretability: some incorporate longitudinal observations and nonlinear relationships, whereas others rely primarily on baseline variables, summary measures, or fixed prediction horizons. Consequently, dynamic updating of patient-specific risk and explicit modeling of interactions among functional domains and intermediate clinical events remain inconsistent across studies. Joint models, longitudinal subgroup analyses, and deep learning approaches have begun to address these limitations, although challenges remain in external generalizability, clinical interpretability, and multimodal integration [19][23]. Consequently, there is a critical need for next-generation modeling frameworks that can capture individual-level disease trajectories, integrate heterogeneous data streams, and provide reliable, time-resolved predictions of clinically relevant events to support both precision medicine and adaptive clinical trial design.

The concept of a digital twin—a dynamic, computational representation of an individual that evolves with incoming data—provides a promising framework to address current limitations in modeling ALS progression [24][27]. Originating from engineering and cyber-physical systems, digital twins have been increasingly applied in healthcare to enable real-time monitoring, prediction, and simulation of patient-specific trajectories [28]. In ALS, integrating longitudinal functional assessments, demographic characteristics, and clinical events may support individualized prediction of disease progression and healthcare utilization. By incorporating heterogeneous data sources and capturing temporal dynamics, a good predictive model could extend beyond static prediction by enabling continuous updating of risk profiles and simulation of future disease trajectories under varying clinical scenarios [29]. Advances in machine learning, multimodal data integration, and mechanistic modeling further support the development of scalable and interpretable systems [30]. However, despite growing interest and successful applications in cardiovascular disease and oncology, temporal machine-learning approaches to time-to-event prediction remain underexplored in neurodegenerative diseases, particularly for linking longitudinal functional decline with clinical outcomes in ALS [31]. This gap underscores the need for time-aware, patient-specific predictive frameworks that generate clinically actionable forecasts to support precision care and proactive intervention.

In this study, we develop a temporal machine learning-based time-to-event (TTE) model for ALS that integrates longitudinal ALSFRS-R trajectories with survival modeling to predict clinically relevant healthcare utilization events. We first construct a harmonized dataset by cross-linking ALS diagnosis records, longitudinal functional assessments, activities of daily living (ADL), and demographic data, followed by rigorous filtering to ensure temporal consistency and data completeness, yielding a high-quality analytic cohort. We then identify data-driven functional domains using correlation-based clustering of ALSFRS-R items, revealing coherent structures across bulbar, limb, axial, and respiratory functions. Longitudinal progression is characterized using generalized additive mixed models (GAMMs), capturing nonlinear and domain-specific patterns of functional decline. Additionally, we develop a temporal machine learning framework to model stage-dependent functional transitions across longitudinal visits, enabling individualized prediction of future disease trajectories and capturing the evolving dynamics of ALS progression over time. Building on these dynamics, we apply a Cox proportional hazards model to quantify the association between functional impairment and time to healthcare utilization, demonstrating that lower limb decline—particularly walking and stair-climbing ability—is the strongest predictor of earlier assistive device use. Finally, we implement a this prototype that integrates patient-specific features to generate individualized survival curves and enable dynamic prediction of wheelchair-free survival. Together, this unified framework provides a scalable, interpretable, and clinically actionable approach for linking disease progression with personalized decision support in ALS.

2 Methods↩︎

2.1 Data Preprocessing↩︎

We generated a cross-linked dataset using the ALS Natural History Consortium (ALSNHC), integrating four data files: diagnosis records, ALS diagnostic history, longitudinal ALSFRS-R assessments, and assistive device logs. Unique patient identifiers (SubjectUID) were used to harmonize records across datasets.

Diagnosis records were loaded to obtain subject identifiers, diagnosis dates (cdalsdt), and ALS phenotype labels (cdalsphn). Phenotype codes were retained as six predefined categories: classical ALS with balanced upper and lower motor neuron involvement, upper motor neuron–predominant disease, lower motor neuron–predominant disease, progressive bulbar palsy, primary lateral sclerosis, and progressive muscular atrophy. ALS diagnostic history records were processed to derive regional topographical involvement. For each anatomical region (bulbar, left and right upper extremity, trunk, left and right lower extremity), the corresponding upper motor neuron, lower motor neuron, and electrophysiological evidence fields were collapsed into a binary region-level indicator. A region was coded as affected if any of its component indicators equaled 1. To establish temporality relative to diagnosis, subjects with missing diagnosis date or follow-up visit date were excluded. For the remaining records, time since diagnosis at the visit level (\(t_{\text{visit\_since\_dx}}\)) was calculated as the interval between visit date and diagnosis date, expressed in months (days divided by 30.4).

Longitudinal ALSFRS-R data were loaded and transformed into domain-level severity measures. Domain-specific percentages were generated for bulbar, upper extremity, axial, lower extremity, respiratory, and overall function. Records with missing overall percentage were removed. For item 5, subitems ALSFRS5a and ALSFRS5b were harmonized into a single derived variable (ALSFRS5) according to the branching logic defined by the original item 5 response. ALSFRS-R records were then merged with the filtered diagnosis dataset by SubjectUID. For each follow-up record, functional follow-up time since diagnosis (\(t_{\text{FU\_since\_dx}}\)) was computed from the interval between ALSFRS follow-up date and diagnosis date in months. Assistive device log data were loaded to identify clinically meaningful mobility events. Records with non-missing device dates were retained; wheelchair-related events were defined as device codes 4 or 6. Event time since diagnosis (\(t_{\text{dev\_since\_dx}}\)) was calculated in months. Finally, demographic data were merged by SubjectUID, and age at each functional assessment was calculated from date of birth and follow-up date, converted to years by dividing days by 365.25.

2.2 Correlation-Based Feature Clustering and Aggregated ALSFRS-R Derivation↩︎

To quantify relationships among ALSFRS-R items and derive data-driven aggregated ALSFRS-R scores, we performed a correlation-based clustering analysis using Pearson correlation coefficients (PCC). Each ALSFRS-R item is scored on a 5-point ordinal scale (0–4), where 0 indicates the most severe functional impairment and 4 represents normal function. Pairwise Pearson correlations and corresponding \(p\)-values were computed to construct a correlation matrix. To reduce noise, correlations below an absolute threshold were set to zero.

Hierarchical clustering was applied to the correlation matrix using Ward’s linkage method, which minimizes within-cluster variance and promotes compact, interpretable clusters. Clusters were determined either by specifying a fixed number of clusters \(k\) or by applying a distance-based cutoff on the dendrogram. The resulting clustered correlation structure was visualized using heatmaps with dendrograms, enabling identification of coherent groups of highly correlated functions.

2.3 Generalized Additive Mixed Models for Longitudinal ALSFRS-R Dynamics↩︎

To evaluate whether changes in ALSFRS-R scores from diagnosis to follow-up visits are associated with demographic and temporal factors, we applied a generalized additive mixed modeling (GAMM) framework, which combines flexible spline-based modeling of nonlinear effects with random effects for repeated-measures data [32], [33]. This approach enables flexible modeling of nonlinear temporal effects while accounting for repeated measurements within individuals.

For each subject \(i\) at visit \(j\), the longitudinal outcome \(Y_{i,j}\) (either the total ALSFRS-R score or individual item/domain scores) was modeled as: \[Y_{i,j} = \beta_0 + \beta_1 \times \mathrm{Age}_{i,j} + \beta_2 \times \mathrm{Sex}_i + \sum_{k=1}^{df} B_k\!\left(t_{\mathrm{FU\_since\_dx}_{i,j}}\right) + \mu_i + \varepsilon_{i,j}, \label{eq:gamm}\tag{1}\] where \(Y_{i,j}\) denotes the observed ALSFRS-R outcome for subject \(i\) at visit \(j\); \(\beta_0\) is the population-level intercept; \(\beta_1\) and \(\beta_2\) denote fixed effects for age at visit and biological sex, respectively; \(B_k(\cdot)\) represents the \(k\)-th basis function of a natural cubic spline capturing nonlinear temporal effects; \(df\) is the degrees of freedom controlling spline flexibility; \(\mu_i \sim \mathcal{N}(0, \sigma_\mu^2)\) is a patient-specific random intercept accounting for within-subject correlation; and \(\varepsilon_{i,j} \sim \mathcal{N}(0, \sigma_\varepsilon^2)\) is the residual error term.

2.4 Function Decline Prediction Using a Temporal Machine Learning Model↩︎

We formulate ALS functional-domain decline as a multi-domain discrete-time survival problem and introduce a novel five-head hazard model that simultaneously predicts time-to-next-transition for all five ALSFRS-R domains, building on discrete-time survival modeling, neural survival analysis, and attention-based sequence modeling for irregular longitudinal data[34][37].

2.4.1 Problem Formulation↩︎

Let a patient be characterised by a sequence of clinical visits \(\mathcal{H}_i = \{(\mathbf{x}_t, \mathbf{s}_t, \tau_t)\}_{t=1}^{T_i}\), where \(\mathbf{x}_t \in \mathbb{R}^{d_s}\) denotes static demographic features (identical across visits), \(\mathbf{s}_t \in \mathbb{R}^{d_v}\) denotes longitudinal visit measurements, and \(\tau_t\) is the calendar date of visit \(t\). For each patient we define five domain scores \(y_t^{(d)}\):

\[y_t^{(d)} \in \mathbb{R}_{\geq 0}, d \in \{\text{bulbar, fine\_motor, gross\_motor, walking, respiratory}\},\]

computed from subsets of ALSFRS-R items.

Event definition. Intuitively, a domain transition event marks the first clinically detectable worsening within a functional domain after the landmark (index) visit operationally, a drop of at least one point on that domain’s ALSFRS-R subscale.For domain \(d\) at landmark visit \(t_0\), the domain transition event \(E_d\) is the first future visit \(t > t_0\) at which \(y_t^{(d)} \leq y_{t_0}^{(d)} - 1\). If no such visit is observed (patient lost to follow-up or drop not reached), the observation is right-censored at the last available follow-up.

Discrete-time formulation. We discretise the time axis into \(K = 24\) intervals of width \(\Delta = 30\) days, yielding a prediction horizon of 720 days (approximately 2 years). For event \(E_d\), let \(T_d\) denote the event time in days and let \(b_d = \lfloor T_d / \Delta \rfloor\) be the corresponding bin index, clamped to \([0, K{-}1]\). The per-interval hazard is \(h_{d,k} = P(b_d = k \mid b_d \geq k, \mathcal{H})\), and the survival function is: \[S_d(k) = \prod_{j=0}^{k-1}(1 - h_{d,j}). \label{eq:survival}\tag{2}\] The goal is to learn a function \(f_\theta(\mathcal{H}_i) = \{h_{d,k}\}_{d,k}\) that maps patient history to per-domain hazard curves.

2.4.2 Model Architecture↩︎

The Attention-based Stage Transition Predictor (ASTP) model comprises four components.

2.4.2.1 Static Embedding

Static features \(\mathbf{x} \in \mathbb{R}^{d_s}\) are embedded via a two-layer MLP followed by LayerNorm and ReLU: \[\mathbf{e}_s = \text{ReLU}(\text{LN}(W_s \mathbf{x} + b_s)) \in \mathbb{R}^{d}. \label{eq:static95embed}\tag{3}\] This embeds the fixed patient demographics into the model dimension \(d = 128\).

2.4.2.2 Transformer Sequence Encoder

Visit sequences are projected to model dimension via a linear layer and LayerNorm, then processed by a standard Transformer encoder with pre-norm (“Pre-LN”) residual connections [38]: \[\mathbf{Z} = \text{TransformerEncoder}(\text{LN}(W_v \mathbf{S})) \in \mathbb{R}^{T \times d}. \label{eq:encoder}\tag{4}\] The encoder consists of \(L = 3\) layers, each with \(H = 4\) attention heads, a feedforward dimension of \(4d\), GELU activations, and dropout \(p = 0.1\). Sequences are left-padded to the batch maximum length; a per-patient Boolean padding mask (\(\texttt{True} = \text{ignore}\)) is passed to all attention operations in PyTorch’s convention. Temporal ordering and irregular spacing are encoded explicitly through the elapsed-time input features (months since diagnosis and days since the previous visit) rather than through sinusoidal positional encodings, which assume regular sampling; cross-visit dependencies are then captured by the self-attention layers.

2.4.2.3 Cross-Attention Pooling

To aggregate the variable-length encoded sequence into a fixed-size patient state, we use cross-attention with a single learnable query vector: \[\mathbf{c} = \text{MultiheadAttn}(\mathbf{q}, \mathbf{Z}, \mathbf{Z}) \in \mathbb{R}^{d}, \label{eq:pool}\tag{5}\] where \(\mathbf{q} \in \mathbb{R}^{d}\) is learned jointly with the model. The static embedding and context vector are then fused: \[\mathbf{u} = \text{ReLU}(\text{LN}(W_f [\mathbf{e}_s \| \mathbf{c}])) \in \mathbb{R}^{d}, \label{eq:fusion}\tag{6}\] where \(\|\) denotes concatenation.

2.4.2.4 Domain-Specific Hazard Heads

For each domain \(d\), a two-layer MLP receives the fused representation augmented by the current normalised domain score \(\tilde{y}_d = y_{t_0}^{(d)} / y_{\max}^{(d)} \in [0,1]\): \[\mathbf{h}_d = \sigma\!\left(W_d^{(2)} \text{ReLU}(W_d^{(1)} [\mathbf{u} \| \tilde{y}_d] + b_d^{(1)}) + b_d^{(2)}\right) \in [0,1]^K, \label{eq:head}\tag{7}\] where \(\sigma\) is the element-wise sigmoid function and \(K = 24\) is the number of time bins. Conditioning on the current score is critical: a domain near its maximum (no room to drop) behaves differently from one near the floor, where further decline is impossible. The domain heads are fully independent—they do not share parameters beyond the fused representation \(\mathbf{u}\).

The total model has approximately 749K trainable parameters.

2.4.3 Inference and 5-Year Extrapolation↩︎

At inference time, for each domain \(d\) the survival curve is computed via 2 over the model horizon of 720 days. To provide a clinically useful 5-year view, we extrapolate beyond 720 days by holding the hazard constant at the mean of the last three predicted hazard bins: \[h_{d,k}^\text{ext} = \frac{1}{3}\sum_{j=K-3}^{K-1} h_{d,j}, \quad k \geq K.\] The predicted time to domain transition under probability threshold \(\kappa\) is the first day \(t^*\) such that \(S_d(t^*) < \kappa\): \[t_d^*(\kappa) = \inf \{t \geq 0 : S_d(t) < \kappa\},\] which defaults to \(\kappa = 0.70\) (i.e., a 30% cumulative probability of transition has been crossed). Users of the clinical interface can adjust \(\kappa\) interactively.

2.5 Time-to-Event Modeling Using Cox Proportional Hazards↩︎

To evaluate the association between longitudinal functional status and the timing of assistive device utilization, we applied a Cox proportional hazards regression model, a standard semiparametric survival modeling framework for estimating covariate effects on TTE outcomes [39]. The primary outcome was defined as the time to device use (e.g., wheelchair), \(t_{\text{dev\_since\_dx}}\), representing the time in months from diagnosis to the recorded device usage event. Gastrostomy and ventilatory support were not modeled because these events, particularly ventilation initiation, were too sparsely and incompletely recorded for robust TTE analysis.

The model incorporated both demographic and longitudinal clinical features. Predictor variables included age at visit, follow-up time since diagnosis (\(t_{\text{FU\_since\_dx}}\)), sex, and individual ALSFRS-R item scores (ALSFRS1–ALSFRS9 and ALSFRS1r–ALSFRS3r) capturing multi-domain functional status. To account for repeated observations per subject, clustering was specified at the subject level using SubjectUID, and robust variance estimation was applied to adjust standard errors for within-subject correlation. Visit-level weighting (VisitCount) was incorporated to reflect the relative contribution of each observation. Model regularization was implemented using elastic net penalization (\(\lambda = 0.05\), \(\alpha_{\text{L1}} = 0.2\)) to mitigate multicollinearity among correlated ALSFRS-R predictors [40].

The Cox proportional hazards model is: \[h_i(t|\mathbf{X}_i) = h_0(t)\exp\!\left( \beta_1 t_{\mathrm{Age}_{t|i}} + \beta_2 t_{\mathrm{FU}_{t|i}} + \beta_3 \mathrm{Sex}_i + \sum_{k=1}^{12}\beta_{3+k} \, \mathrm{ALSFRS}_{k,t|i} \right), \label{eq:cox}\tag{8}\] where \(h_0(t)\) is the unspecified baseline hazard, \(\mathbf{X}_i\) is the covariate vector for subject \(i\), and \(\mathrm{ALSFRS}_{k,t|i}\) denotes the \(k\)-th ALSFRS-R item score for subject \(i\) at time \(t\).

The penalized Cox model estimates \(\hat{\beta}\) by maximizing the penalized partial log-likelihood: \[\hat{\beta} = \arg\max_{\beta}\!\left( \ell(\beta) - \lambda\!\left[ \alpha \sum_{j=1}^{p}|\beta_j| + \frac{1-\alpha}{2}\sum_{j=1}^{p}\beta_j^2 \right] \right), \label{eq:penalized}\tag{9}\] where \(\ell(\beta)\) is the Cox partial log-likelihood, \(\lambda\) is the overall penalty strength, and \(\alpha\) controls the elastic net mixing between L1 and L2 penalties (\(\lambda = 0.05\), \(\alpha = 0.2\)).

The partial log-likelihood is: \[\ell(\beta) = \sum_{i:\delta_i=1}\!\left[ x_i^{\top}\beta - \log\!\left(\sum_{l \in R(t_i)}\exp(x_l^{\top}\beta)\right) \right], \label{eq:partial95ll}\tag{10}\] where \(\delta_i\) is the event indicator for patient \(i\), \(t_i\) is the observed event time, and \(R(t_i)\) is the risk set at time \(t_i\).

2.6 Interactive Clinical Decision-Support Application↩︎

Beyond the underlying models, we deploy the predictive model as a publicly available, open-source Streamlit web application to translate TTE models into interactive clinical decision-support systems while maintaining interpretability and usability [41]. It translates a single clinic visit into a multi-horizon prognostic readout, lowering the data-entry burden that has historically gated bedside adoption of ALS progression models. The interface collects only the routinely-captured ALSFRS-R items. Using these inputs, the application drives two complementary back-ends in parallel. The first mode invokes the Transformer-based Domain Stage Predictor and renders, per ALSFRS-R domain (bulbar, upper limb, axial, lower limb, respiratory), the survival probability of remaining at the current functional stage together with the underlying 30-day-bin hazard rates, the predicted transition time at a user-tunable survival threshold \(k\), and a four-level risk band (\(<\)​6 mo, \(<\)​1 yr, \(<\)​2 yr, \(>\)​2 yr); to extend the trained 24-bin (720-day) horizon to a five-year clinically meaningful window, the application applies a constant-hazard tail extrapolation derived from the final three trained bins, with the extrapolated region visually shaded so users can distinguish it from in-distribution predictions. The second mode wraps a Cox proportional-hazards model fit to time-to-wheelchair-access (\(n = 15\) predictors: age at visit, follow-up since diagnosis, sex, and the 12 ALSFRS-R items) and reports the wheelchair-free survival curve, the median time-to-event, and discrete five-horizon probabilities (6, 12, 24, 36, 60 months). All figures are rendered with Plotly for interactive inspection (per-point hover, hazard overlays, threshold sliders), and each prediction view is paired with an expandable Model & Data Details panel that surfaces the architecture, training cohort size, feature set, and the research use only qualifier required for non-regulatory deployment. The application caches model weights and scalers via Streamlit’s resource-caching layer, so inference for a single visit runs in well under a second on commodity CPU hardware, making the tool deployable on a clinic laptop without GPU access.

3 Results↩︎

3.1 Cohort Construction and Data Integration↩︎

a

Figure 1: Workflow for cross-linked dataset construction and cohort selection. Overview of data preprocessing and integration across ALS diagnosis, ALSFRS-R, ADL, and demographic datasets. Records were filtered for completeness and merged at the subject level. The final analytic dataset was derived after sequential filtering and integration steps..

Cohort assembly is summarized in Fig. 1. After excluding records with missing diagnosis dates and non-ALS motor neuron diseases, 1,776 ALS-specific cases (1,765 patients) were retained from the initial diagnosis dataset. ALSFRS-R data were filtered to remove missing scores, yielding 11,704 observations (2,119 patients), which were subsequently linked to diagnosis records to form a combined dataset of 9,485 cases (1,639 patients). ADL records were similarly filtered for completeness and merged, resulting in 1,505 cases from 187 patients. Integration with demographic data and additional filtering for longitudinal completeness produced the final analytic cohort of 1,409 cases from 187 patients.

3.2 Functional Domain Identification Based on Question-Level Similarity↩︎

a

Figure 2: Correlation structure and domain organization of ALSFRS-R items. Left: Hierarchical clustering heatmap of Pearson correlations among ALSFRS-R items. Right: Clinical grouping of ALSFRS-R items into functional domains (bulbar, upper limb, axial, lower limb, respiratory)..

To examine the internal structure of ALSFRS-R items and validate domain-level groupings, we performed Pearson correlation analysis followed by hierarchical clustering using Ward’s linkage (Fig. 2). The clustered heatmap revealed strong within-domain correlations and clear separation across functional domains. Items related to limb function (ALSFRS4–ALSFRS9) formed a tightly correlated cluster, indicating coordinated decline in motor function. A minimum pairwise Pearson correlation threshold of \(\geq 0.7\) supported subdivision into upper limb (ALSFRS4–ALSFRS6), axial (ALSFRS7), and lower limb (ALSFRS8–ALSFRS9) components. Bulbar items (ALSFRS1–ALSFRS3) exhibited high inter-item correlations and clustered distinctly, reflecting shared cranial nerve–mediated impairments. Similarly, respiratory items (ALSFRSR1–ALSFRSR3) demonstrated strong internal correlations and formed a separate cluster. Cross-domain correlations were comparatively weaker, supporting the relative independence of functional systems.

3.3 Longitudinal Effects on ALSFRS-R Functional Decline↩︎

Generalized additive mixed modeling revealed a consistent and significant decline in ALSFRS-R item scores over time across all functional domains (Table 1). The nonlinear time effects were highly significant (\(p < 0.001\) for most components) and uniformly negative, indicating progressive functional deterioration from diagnosis. The magnitude of decline was particularly pronounced in upper and lower limb functions (ALSFRS4–ALSFRS9) and respiratory measures.

Sex effects were observed in selected domains, with significant associations in handwriting (ALSFRS4, \(p = 0.002\)) and dressing (ALSFRS6, \(p = 0.016\)), as well as in respiratory orthopnea (ALSFRSR2, \(p = 0.041\)). In contrast, age at visit showed limited influence on functional outcomes, with only salivation (ALSFRS2, \(p = 0.024\)) exhibiting a modest age-associated decline.

Table 1: Longitudinal effects of time, sex, and age on ALSFRS-R item-leveloutcomes from GAMMs. \(\downarrow\) indicates decline over time; (***) \(p<0.001\),(**) \(p<0.01\), (*) \(p<0.05\), ns = not significant.
Domain Function Var. Time Sex Age
Bulbar Speech ALSFRS1 \(\downarrow\)(***) ns ns
Salivation ALSFRS2 \(\downarrow\)(**) ns \(\downarrow\)(*)
Swallowing ALSFRS3 \(\downarrow\)(***) ns ns
Upper limb Handwriting ALSFRS4 \(\downarrow\)(***) \(\downarrow\)(**) ns
Cutting food ALSFRS5 \(\downarrow\)(**) ns ns
Dress.&hyg. ALSFRS6 \(\downarrow\)(***) \(\downarrow\)(*) ns
Axial Turn. in bed ALSFRS7 \(\downarrow\)(***) ns ns
Lower limb Lower limb ALSFRS8 \(\downarrow\)(***) ns ns
Cl. stairs ALSFRS9 \(\downarrow\)(***) ns ns
Respiratory Dyspnea ALSFRSR1 \(\downarrow\)(**) ns ns
Orthopnea ALSFRSR2 \(\downarrow\)(**) \(\downarrow\)(*) ns
Resp.insuf. ALSFRSR3 \(\downarrow\)(**) ns ns

3.4 Stage Predictor: Single-Patient Case Study↩︎

We evaluate the multi-domain stage predictor in two complementary ways: (i) qualitative inspection of per-patient trajectory and survival-curve outputs (§3.4–§3.6), and (ii) quantitative summaries of per-domain hazard discrimination across the held-out test set (§2.4–§2.4.2). The two views correspond to different evaluation units (patient-level trajectory MAE in ALSFRS-R points vs.domain-level event-time MAE in days and concordance via the C-index) and therefore report on different scales.

a

Figure 3: ASTP model output for a representative held-out test patient (PATIENT 015; female, age 68 at diagnosis, 9 longitudinal visits, ALSFRS-R total 19/48 at the anchor visit 40 months post-diagnosis). Top row: discrete-time survival curves \(S(t) = \Pr(\text{still in current stage})\) for the bulbar, upper limb, and axial domains across the 720-day model horizon; bottom-left two panels: lower limb and respiratory curves. Bottom-right: per-domain median predicted time to a \(\geq\)​1-point drop. Dashed line marks the 50% survival threshold; dotted vertical lines mark the predicted median transition time per domain..

To illustrate the per-patient output of the ASTP model, we applied the trained model to a held-out test patient (PATIENT 015) using all visits up to the most recent landmark as input (Fig. 3). For each of the five functional domains the model emits a hazard vector \(h_d(t)\) over 24 monthly bins, from which the discrete-time survival function \(S_d(t) = \prod_{u \leq t}(1 - h_d(u))\) is obtained and three clinically interpretable milestones are read off the curve: the 25% transition time (first bin at which \(S_d(t)<0.75\)), the median (first bin at which \(S_d(t)<0.50\)), and the 75% transition time (first bin at which \(S_d(t)<0.25\)). In this case the heterogeneity the model is designed to capture is clearly expressed: the bulbar domain—still scoring 11/12 at the anchor—retains a near-flat survival curve with a median transition time of 345 days, whereas the three motor domains (upper limb 2/8, axial 1/8, lower limb 1/8), which are already close to the floor, enter steeply declining hazard trajectories with median transition windows of only 225–255 days; the respiratory domain (4/12) sits between these extremes at 285 days. Each predicted milestone is paired with the corresponding ground-truth visit, when available, allowing direct visual verification of whether the observed score drop fell inside the predicted credible window. Fig. 4 complements this single-patient view with three additional representative held-out trajectories spanning rapid, moderate, and slow progressors.

a

b

c

Figure 4: Predicted 5-year domain survival curves for three representative ALS patients: rapid, slow, and moderate progressors. Solid lines show predicted survival probabilities, shaded regions indicate quartile prediction intervals, and vertical dashed lines mark the predicted transition time at \(\kappa = 0.70\)..

3.5 Cohort-Wide Decline Projection to Floor Score↩︎

a

b

c

d

Figure 5: Best-case cohort-wide decline-to-zero projections, one representative patient per visit-count group: Short, Medium, Long, and Extended. For each ALSFRS-R domain, the expected trajectory (solid line) and 50% prediction interval (shaded band) are projected forward from the anchor visit until the score is expected to reach zero. Grey dots indicate past input visits; red squares indicate held-out future visits. The right-most panel of each subfigure summarizes the per-domain time-to-zero with error bars spanning the 25%–75% interval..

We extended the single-patient analysis to the full cohort by running the ASTP model on every subject with \(\geq 2\) recorded visits across the train, validation, and test splits, yielding 173 evaluable patients. For each patient, the first half of their visit sequence was used as model input and the remaining half was withheld as ground truth. Because the trained model horizon is 720 days, hazard rates were extrapolated to a 5-year window by carrying the mean of the final three bins as a constant tail, after which the predicted survival curve was inverted to obtain three quantiles of time-to-floor-score (\(T_{25\%}\), \(T_{50\%}\), \(T_{75\%}\)) per domain by scaling the predicted slope by the current score. Fig. 5 shows the best-fitting case from each of the four visit-count groups (Short, Medium, Long, Extended; see §3.6 for group definitions), demonstrating that the model’s expected decline trajectory and 50% prediction band closely track the held-out actual visits across the full range of follow-up densities. In the Short group (Fig. 5 (a)), a single input visit is sufficient to anchor a near-perfect short-horizon projection (MAE 0.44 across all five domains). In the Medium (Fig. 5 (b)) and Long (Fig. 5 (c)) groups, the held-out trajectories sit inside the 50% prediction band for every domain, including domains that remain well above the floor at the end of follow-up (annotated as \(>5\) yr). The Extended case (Fig. 5 (d), 22 visits over \(\approx\)​4.3 years) achieves the lowest per-patient error in the cohort (MAE 0.24) and demonstrates that the constant-hazard tail extrapolation remains faithful to a multi-year slow-progressor trajectory. Across the four sub-figures, the per-patient MAE decreases monotonically with follow-up density (0.44 \(\rightarrow\) 0.30 \(\rightarrow\) 0.63 \(\rightarrow\) 0.24), mirroring the cohort-level monotonic improvement reported in §3.6 (the apparent non-monotonicity at the Long representative reflects that we display each group’s single best case rather than its mean).

3.6 Projection Accuracy Stratified by Follow-up Density↩︎

a

Figure 6: Decline-projection accuracy by visit-count group across \(N=173\) evaluable patients. (a) Per-patient MAE distribution within each group; (b) group-mean MAE with \(\pm\)​1 SD error bars (best group highlighted); (c) per-domain MAE heatmap (lower is better); (d) per-patient MAE versus follow-up duration, coloured by group. Groups defined by total visit count: Short (2–3 visits), Medium (4–6), Long (7–10), Extended (\(\geq 11\))..

To quantify how follow-up density shapes projection accuracy, we binned the 173 evaluable patients by their total visit count into four groups chosen from the cohort distribution (median = 6 visits, IQR 4–9): Short (2–3 visits, \(n=32\)), Medium (4–6, \(n=55\)), Long (7–10, \(n=47\)), and Extended (\(\geq 11\), \(n=39\)). For each patient, we computed the mean absolute error (MAE) and root-mean-square error (RMSE) of the predicted ALSFRS-R trajectory against held-out ground-truth scores (Fig. 6). MAE varied across the selected representative cases, whereas cohort-level mean MAE decreased with increasing follow-up density. — \(1.48 \pm 0.73\) points for Short, \(1.45 \pm 0.70\) for Medium, \(1.42 \pm 0.48\) for Long, and \(1.39 \pm 0.65\) for Extended — with a corresponding tightening of the per-patient error distribution (IQR width \(0.95 \rightarrow 0.77 \rightarrow 0.64 \rightarrow 0.70\)). The Extended group, with a median follow-up duration of 1,057 days versus 119 days for Short, achieved the lowest mean error despite spanning the broadest temporal extrapolation, indicating that additional input observations stabilise the latent state estimate faster than longer prediction windows degrade it. Per-domain analysis (Fig. 6c) showed that respiratory and bulbar items remained the hardest to forecast across all groups (MAE 1.27–2.00 and 1.45–1.70 respectively), whereas the axial domain improved most as follow-up grew (MAE 1.47 \(\rightarrow\) 1.14). Overall, these results confirm that the model preserves accuracy across both rapid sub-year declines and multi-year slow-progressor trajectories when sufficient input history is provided.

3.7 Per-Domain Survival Performance↩︎

Table 2 presents the test-set evaluation for the ASTP model on the 28 held-out patients (194 landmark samples). The model achieves C-index values ranging from 0.513 (Respiratory) to 0.598 (Lower limb), consistently above the random-chance baseline of 0.500. Lower limb achieves the best discrimination, likely because gait decline in ALS follows a stereotyped pattern with strong temporal signal [2]. Respiratory domain shows the weakest discrimination (C-index 0.513), which is consistent with the high baseline respiratory scores (mean 9.2 out of 12) and the known bimodal distribution of respiratory onset patterns in ALS.

Table 2: Test Set Evaluation — ALS Domain Stage Transition Predictor (ASTP).\(n_\text{obs}\) = number of observed transitions; \(n_\text{cens}\) = number of right-censored samples.MAE and Median |error| computed over observed transitions only.
Domain \(n_\text{obs}\) \(n_\text{cens}\) C-index MAE (d) Med. |err.| (d)
Bulbar 133 61 0.544 154.7 120.0
Upper limb 130 64 0.543 160.8 120.0
Axial 144 50 0.547 126.7 90.0
Lower limb 124 70 0.598 169.4 120.0
Respiratory 130 64 0.513 197.3 150.0
Mean 0.549 161.8 120.0

3.8 Per-Domain Survival NLL↩︎

Table 3 breaks down the best-epoch validation NLL per domain. Bulbar and Respiratory domains achieve lower NLL (1.97 and 2.05 respectively), suggesting that these domains follow more predictable hazard patterns. Upper limb and Axial show higher NLL (\(\approx\)​2.5), consistent with their greater sensitivity to handedness-specific function loss and compensation strategies.

Table 3: Per-Domain Validation NLL at Best Epoch (Epoch 19)
Domain Val. NLL
Bulbar 1.970
Upper limb 2.502
Axial 2.513
Lower limb 2.244
Respiratory 2.050
Mean (total) 2.250

3.9 Mobility Decline Shows Strong Association with Earlier Healthcare Utilization↩︎

Cox proportional hazards modeling (Table 4) identified lower limb functional decline as the strongest predictor of earlier care utilization. Impairments in walking (ALSFRS8: coef \(= -0.30\), \(p < 0.005\)) and climbing stairs (ALSFRS9: coef \(= -0.40\), \(p < 0.005\)) were significantly associated with increased hazard, indicating that reduced mobility substantially accelerates the timing of assistive device use. Follow-up time since diagnosis was also significantly associated with the event (\(p < 0.005\)), reflecting the expected progression-dependent increase in care needs over time.

Several additional functional measures demonstrated marginal associations with healthcare utilization, including bulbar speech (ALSFRS1, \(p = 0.08\)) and salivation (ALSFRS2, \(p = 0.06\)), as well as axial function (ALSFRS7, \(p = 0.05\)). Dressing and hygiene (ALSFRS5) showed a borderline positive association (\(p = 0.05\)), and sex exhibited a marginal effect (\(p = 0.06\)). In contrast, age at visit and respiratory function measures (ALSFRSR1–ALSFRSR3) were not significantly associated with time to healthcare utilization.

Table 4: Cox proportional hazards model for time-to-event prediction of healthcareutilization. Negative coefficients indicate a lower hazard per one-unit increase in the covariate. Because higher ALSFRS-R scores represent better function, negative item coefficients imply that poorer function is associated with an earlier wheelchair event.Lower limb items (ALSFRS8, ALSFRS9) and follow-up time are the strongestpredictors (\(p < 0.005\)).
Covariate coef se lo 95% hi 95% z p
age_at_visit 0.00 0.01 \(-\)0.02 0.01 \(-\)0.58 0.56
FU_since_dx \(-\)0.00 0.00 \(-\)0.01 0.00 \(-\)2.86 \(<\)0.005
sex \(-\)0.30 0.14 \(-\)0.54 0.02 \(-\)1.85 0.06
ALSFRS1 \(-\)0.10 0.05 \(-\)0.19 0.01 \(-\)1.74 0.08
ALSFRS2 \(-\)0.10 0.04 \(-\)0.17 0.00 \(-\)1.89 0.06
ALSFRS3 0.00 0.06 \(-\)0.11 0.11 \(-\)0.05 0.96
ALSFRS4 0.00 0.04 \(-\)0.08 0.08 0.12 0.90
ALSFRS5 0.30 0.16 0.00 0.60 1.93 0.05
ALSFRS6 0.05 0.06 \(-\)0.06 0.17 0.94 0.35
ALSFRS7 \(-\)0.10 0.05 \(-\)0.19 0.00 \(-\)1.97 0.05
ALSFRS8 \(-\)0.30 0.06 \(-\)0.45 \(-\)0.21 \(-\)5.45 \(<\)0.005
ALSFRS9 \(-\)0.40 0.05 \(-\)0.53 \(-\)0.34 \(-\)8.87 \(<\)0.005
ALSFRSR1 \(-\)0.00 0.04 \(-\)0.11 0.06 \(-\)0.52 0.60
ALSFRSR2 0.00 0.04 \(-\)0.07 0.07 \(-\)0.02 0.99
ALSFRSR3 0.06 0.07 \(-\)0.07 0.19 0.91 0.37

a

Figure 7: Digital twin-inspired temporal machine learning-based TTE model for domain stage prediction and time-to-event prediction of healthcare utilization. A Cox-based probabilistic framework generates a personalized survival curve reflecting the evolving risk of wheelchair-free survival. In the example shown, a patient with relatively preserved baseline function has a predicted median time to event of approximately 75.5 months..

4 Discussion↩︎

In this study, we developed a time-to-event digital twin-inspired framework to model ALS disease progression and predict clinically meaningful healthcare utilization outcomes. By integrating longitudinal ALSFRS-R trajectories, diagnostic metadata, and assistive device records, our approach provides a unified representation of disease dynamics that bridges functional decline and real-world clinical events.

A key finding of this work is the dominant role of mobility decline, particularly lower limb function, in driving earlier care utilization. Both walking (ALSFRS8) and climbing stairs (ALSFRS9) emerged as the strongest predictors of time to wheelchair access, significantly outperforming other functional domains. This observation is consistent with the known clinical progression of ALS, where lower limb impairment often precedes more advanced disability and triggers transitions to assistive care.

The longitudinal GAMM analysis further revealed that ALS progression is characterized by strong, nonlinear temporal decline across all functional domains, with coordinated but domain-specific deterioration patterns. While all domains exhibited significant decline over time, the most rapid changes were observed in motor-related functions, aligning with the survival analysis findings. In contrast, age showed minimal influence on disease trajectories, and sex effects were limited to specific domains, suggesting that functional decline in ALS is largely governed by disease-intrinsic mechanisms.

Another important contribution is the data-driven validation of ALSFRS-R functional domains through correlation-based clustering. The emergence of distinct bulbar, motor, and respiratory clusters supports the biological coherence of these domains and justifies their use in both longitudinal modeling and predictive frameworks. The identification of subdomain structure within limb functions further highlights the potential for more granular phenotyping of disease progression.

Building on these findings, we implemented a Cox-based predictive model that enables individualized prediction of time to healthcare utilization. By dynamically integrating patient-specific functional scores and demographic features, the system generates interpretable survival curves that reflect evolving risk profiles.

Despite these strengths, several limitations should be considered. First, the analysis is based on observational data, which may be subject to selection bias and unmeasured confounding. Second, the Cox model assumes proportional hazards, which may not fully capture complex, time-varying effects inherent in ALS progression. Third, the framework complements rather than replaces individualized clinical assessment. Although trained on population-level data, it generates patient-specific risk estimates from each individual’s longitudinal history and updates them as new data become available. Predictions should therefore be interpreted alongside clinical judgment and patient preferences. Fourth, the predictive model prototype currently relies on structured clinical variables and does not incorporate additional modalities such as imaging, genomics, or environmental factors. Finally, external validation in independent cohorts is necessary to assess the generalizability of the model.

Future work will focus on extending this framework to incorporate multimodal data integration, including molecular and imaging biomarkers, and developing an adaptive digital-twin-inspired predictive model that continuously updates predictions as new patient data become available. Future model extensions could incorporate time-varying coefficients and joint longitudinal-survival models to improve temporal flexibility [42]. Additionally, integrating mechanistic modeling with data-driven approaches may further improve interpretability and clinical relevance.

5 Conclusion↩︎

We presented a time-to-event model for ALS that integrates longitudinal functional trajectories with survival modeling to enable individualized prediction of clinically meaningful healthcare utilization events. By combining data-driven functional domain discovery, nonlinear longitudinal modeling, transformer-based stage transition prediction, and Cox proportional hazards–based risk estimation, the proposed framework captures both the temporal dynamics and clinical heterogeneity of ALS progression. The temporal modeling is an attention-based discrete-time survival model, not a neural sparse-regression method [27]. Rather than discovering governing equations, it predicts patient-specific time-to-event risks from irregular ALSFRS-R trajectories and generates domain-specific hazards for functional decline. The model avoids derivative estimation and predefined equation libraries, accommodates irregular follow-up, and provides dynamically updated, clinically interpretable survival probabilities within a digital-twin-inspired decision-support framework. Our analyses consistently identified mobility decline—particularly impairments in walking and stair climbing—as the strongest predictors of earlier wheelchair utilization, highlighting lower limb dysfunction as a critical marker for proactive intervention and personalized care planning. The predictive model further demonstrates the feasibility of generating interpretable, patient-specific survival trajectories and dynamic risk predictions from routinely collected clinical data, supporting real-time clinical decision-making and longitudinal disease monitoring. Beyond ALS, this work could serve as a foundation for a scalable, extensible, and clinically actionable computational framework for precision neurodegenerative disease modeling, with future potential for multimodal integration of imaging, molecular, wearable, and environmental data to support adaptive, continuously updated digital twin systems for personalized medicine.

Acknowledgments↩︎

The authors thank the participants, families, and clinical investigators of the ALS Natural History Consortium who contributed data. This research is partially supported by the National Academies of Sciences, Engineering, and Medicine, grant number SCON-10001538 to Z.Y.

Accessibility↩︎

The code is publicly available via: https://github.com/qilimk/als-digital-twin-app/

References↩︎

[1]
E. L. Feldman et al., “Amyotrophic lateral sclerosis,” The Lancet, vol. 400, no. 10360, pp. 1363–1380, 2022.
[2]
M. C. Kiernan et al., “Amyotrophic lateral sclerosis,” The Lancet, vol. 377, no. 9769, pp. 942–955, 2011.
[3]
M. A. van Es et al., “Amyotrophic lateral sclerosis,” Lancet, vol. 390, no. 10107, pp. 2084–2098, Nov. 2017.
[4]
I. R. Marcu, O. C. Rogoveanu, R. Padureanu, V. Padureanu, and D. Dop, “Diagnostic elements in amyotrophic lateral sclerosis: A case report,” Biomed Rep., vol. 21, no. 4, p. 141, Oct. 2024.
[5]
D. Schneck et al., “Time-to-event prediction in ALS using a landmark modeling approach, using the ALS natural history consortium dataset,” Amyotroph Lateral Scler Frontotemporal Degener, vol. 26, no. 5–6, pp. 417–425, Aug. 2025.
[6]
J. M. Cedarbaum et al., “The ALSFRS-r: A revised ALS functional rating scale that incorporates assessments of respiratory function,” J. Neurol. Sci., vol. 169, no. 1–2, pp. 13–21, 1999.
[7]
A. Arguedas et al., “Risk prediction for ALS using semi-competing risk models with applications to the ALS natural history consortium dataset,” Amyotroph Lateral Scler Frontotemporal Degener, vol. 26, no. 5–6, pp. 550–557, Aug. 2025.
[8]
R. L. Prentice and A. K. Aragaki, “The semi-competing risk problem revisited,” Lifetime Data Anal., vol. 32, no. 2, Apr. 2026.
[9]
A. Chio et al., “Development and evaluation of a clinical staging system for amyotrophic lateral sclerosis,” J. Neurol. Neurosurg. Psychiatry, vol. 86, no. 1, pp. 38–44, Jan. 2015.
[10]
R. G. Miller et al., “Practice parameter update: The care of the patient with amyotrophic lateral sclerosis,” Neurology, vol. 73, no. 15, pp. 1218–1226, Oct. 2009.
[11]
S. C. Bourke et al., “Effects of non-invasive ventilation on survival and quality of life in patients with amyotrophic lateral sclerosis: A randomised controlled trial,” Lancet Neurol., vol. 5, no. 2, pp. 140–147, Feb. 2006.
[12]
Ö. O. Dalgıç et al., “Mapping of critical events in disease progression through binary classification: Application to amyotrophic lateral sclerosis,” J. Biomed. Inform., vol. 123, p. 103895, 2021.
[13]
A. L. Ward, C. Nooijen, and J. Bernstein, “Power wheelchair users with ALS: Impact of an alerting system on complications with prolonged sitting and power feature utilization,” Assistive Technology, pp. 1–10, 2025.
[14]
A. Arguedas et al., “Risk prediction for ALS using semi-competing risk models,” Amyotroph Lateral Scler Frontotemporal Degener, vol. 26, no. 5–6, pp. 550–557, 2025.
[15]
H. Putter, M. Fiocco, and R. B. Geskus, “Tutorial in biostatistics: Competing risks and multi-state models,” Stat. Med., vol. 26, no. 11, pp. 2389–2430, 2007.
[16]
H. K. van der Burgh et al., “Deep learning predictions of survival based on MRI in amyotrophic lateral sclerosis,” NeuroImage: Clinical, vol. 13, pp. 361–369, 2017.
[17]
F. G. Vieira et al., “A machine-learning based objective measure for ALS disease severity,” npj Digit. Med., vol. 5, no. 1, p. 45, 2022.
[18]
C. Pancotti et al., “Deep learning methods to predict amyotrophic lateral sclerosis disease progression,” Sci. Rep., vol. 12, no. 1, p. 13738, 2022.
[19]
F. Faghri et al., “Identifying and predicting amyotrophic lateral sclerosis clinical subgroups: A population-based machine-learning study,” Lancet Digit. Health, vol. 4, no. 5, pp. e359–e369, 2022.
[20]
D. Rizopoulos, Joint models for longitudinal and time-to-event data: With applications in r. Boca Raton, FL: CRC Press, 2012.
[21]
J. P. A. Ioannidis, “Why most published research findings are false,” PLoS Medicine, vol. 2, no. 8, p. e124, 2005, doi: 10.1371/journal.pmed.0020124.
[22]
G. S. Collins, J. B. Reitsma, D. G. Altman, and K. G. M. Moons, “Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD): The TRIPOD statement,” Journal of British Surgery, vol. 102, no. 3, pp. 148–158, 2015, doi: 10.1002/bjs.9736.
[23]
[24]
F. Tao, H. Zhang, A. Liu, and A. Y. C. Nee, “Digital twin in industry: State-of-the-art,” IEEE Trans. Ind. Inform., vol. 15, no. 4, pp. 2405–2415, 2018.
[25]
B. Björnsson et al., “Digital twins to personalize medicine,” Genome Med., vol. 12, no. 1, p. 4, 2019.
[26]
J. Corral-Acero et al., “The ‘digital twin’ to enable the vision of precision cardiology,” Eur. Heart J., vol. 41, no. 48, pp. 4556–4564, 2020.
[27]
C. Métayer, A. Ballesta, and J. Martinelli, “Data-driven discovery of digital twins in biomedical research,” Briefings in Bioinformatics, vol. 27, no. 1, p. bbaf722, 2026, doi: 10.1093/bib/bbaf722.
[28]
K. Bruynseels, F. Santoni de Sio, and J. Van den Hoven, “Digital twins in health care: Ethical implications of an emerging engineering paradigm,” Front. Genet., vol. 9, p. 31, 2018.
[29]
T. Sun, X. He, and Z. Li, “Digital twin in healthcare: Recent updates and challenges,” Digit. Health, vol. 9, p. 20552076221149651, 2023.
[30]
E. J. Topol, “High-performance medicine: The convergence of human and artificial intelligence,” Nat. Med., vol. 25, no. 1, pp. 44–56, 2019.
[31]
N. J. Schork, “Personalized medicine: Time for one-person trials,” Nature, vol. 520, no. 7549, pp. 609–611, 2015.
[32]
V. Gómez-Rubio, “Generalized additive models: An introduction with r,” Journal of Statistical Software, vol. 86, pp. 1–5, 2018.
[33]
S. N. Wood, “Fast stable restricted maximum likelihood and marginal likelihood estimation of semiparametric generalized linear models,” Journal of the Royal Statistical Society: Series B (Statistical Methodology), vol. 73, no. 1, pp. 3–36, 2011, doi: 10.1111/j.1467-9868.2010.00749.x.
[34]
P. D. Allison, “Discrete-time methods for the analysis of event histories,” Sociological Methodology, vol. 13, pp. 61–98, 1982, doi: 10.2307/270718.
[35]
H. Kvamme, Ø. Borgan, and I. Scheel, “Time-to-event prediction with neural networks and cox regression,” Journal of Machine Learning Research, vol. 20, no. 129, pp. 1–30, 2019.
[36]
C. Lee, W. Zame, J. Yoon, and M. van der Schaar, “DeepHit: A deep learning approach to survival analysis with competing risks,” in Proceedings of the AAAI conference on artificial intelligence, 2018, vol. 32.
[37]
A. Vaswani et al., “Attention is all you need,” in Advances in neural information processing systems, 2017, vol. 30.
[38]
R. Xiong et al., “On layer normalization in the transformer architecture,” in International conference on machine learning, 2020, pp. 10524–10533.
[39]
D. R. Cox, “Regression models and life-tables,” Journal of the Royal Statistical Society: Series B (Methodological), vol. 34, no. 2, pp. 187–202, 1972.
[40]
H. Zou and T. Hastie, “Regularization and variable selection via the elastic net,” Journal of the Royal Statistical Society: Series B (Statistical Methodology), vol. 67, no. 2, pp. 301–320, 2005, doi: 10.1111/j.1467-9868.2005.00503.x.
[41]
A. J. London, “Artificial intelligence and black-box medical decisions: Accuracy versus explainability,” Hastings Center Report, vol. 49, no. 1, pp. 15–21, 2019, doi: 10.1002/hast.973.
[42]
Q. Zhong, J. W. Mueller, and J.-L. Wang, “Deep extended hazard models for survival analysis,” in Advances in neural information processing systems, 2021, vol. 34, pp. 15111–15124.

  1. \(\dagger\): equal contribution; \(*\): corresponding author.↩︎