arXiv:2610.07388stat.APOct 2026

Manuscript Offprint

arXiv:2610.07388

DeepAJM: Deep Association Joint Model for Irregularly Sampled data

Barsha Halder, Jeffrey A. Thompson

Abstract

Joint Models simultaneously model longitudinal and survival outcomes, leveraging patterns in patients' longitudinal trajectory to improve the prediction of survival outcomes. The classical parametric joint models, however, rely on fixed parametric assumptions, making them susceptible to bias under model misspecification, smaller sample sizes. We propose a deep joint model, DeepAJM that does not require any parametric assumptions, while retaining a partially interpretable, per-longitudinal-outcome association structure. The joint model uses an encoder-decoder (sequence-to-sequence) architecture to learn the latent structure in patients' time-varying covariate trajectories. The model links the longitudinal processes to the survival processes through a learned interpretable association structure, in which each longitudinal output from the decoder gets remodulated by baseline covariates before it contributes to the risk scores from the survival head of the architecture. The model was evaluated on three datasets—a cardiovascular-disease EHR cohort, a primary biliary cirrhosis (PBC2) dataset, and a simulated dataset—against a classical parametric joint model, TransformerJM, DA-LSTM and a Cox-based survival-only model. All models were assessed using C-index, integrated brier score (IBS), time-dependent AUROC, and time-dependent AUPRC. Our model achieved the best discrimination in terms of the C-index, time-dependent AUROC, and AUPRC across all datasets.

1 Introduction

A Joint model analyzes longitudinal and survival data simultaneously, rather than modeling them separately, in order to capture how longitudinal information influences the risk of an event. The two processes – longitudinal and survival are linked through a shared latent effect, such that changes in a variable trajectory directly inform, and are reflected in, the survival outcomes. In clinical studies, joint models play a significant role in predicting survival outcomes. Wulfsohn and Tsiatis (1997) first proposed jointly modeling longitudinal and time-to-event data [22]. Later, Rizopoulos developed practical tools in R [16, 17] to make this computationally intensive framework accessible and extended it to accommodate non-linear time-varying trajectories and different functional forms.

for the association linking the longitudinal and survival processes. However, the traditional parametric joint model relies heavily on rigid parametric assumptions and conditional independence assumption between the two processes given the shared random effects [5, 16]. Furthermore, with higher dimensionality, the parametric approach suffers from computationally complexity as numerical integrations are required for the likelihood estimation.

Non-parametric deep-learning approaches have been proposed to overcome these parametric constraints. Generally, these methods use a shared temporal layer –recurrent (RNN/LSTM) or transformer-based that exploits the temporal information in the longitudinal trajectory, including its shape, and feeds both longitudinal and survival submodels. To date, a few studies have explored joint models using deep learning. TransformerJM [11], a transformer-based architecture that jointly models longitudinal and survival data to predict survival probabilities. It discretizes time into a fixed set of intervals and uses a binary discrete-time survival loss. However, this approach can be dominated by multiple follow-up visits with no events, skewing predictions toward higher survival and leading to poor discrimination. TransformerLSR, a continuous-time transformer model was proposed to jointly model longitudinal measurements, survival and recurrent events, and modeling survival and recurrent-event as flexible temporal point processes [23]. However, rather than using an explicit association structure that link submodels as in classical joint models, TransformerLSR captures dependence implicitly through shared representations. DA-LSTM [10] also models longitudinal and time-to-event data using RNN-based architecture with a multi-task learning approach but relies on discrete-step RNN and does not explicitly handle continuous, irregular time gaps between consecutive observations. All these deep-learning methods [9–11, 19, 23] jointly model longitudinal and survival data, but none link the longitudinal process to survival through an explicit shared effect as in a classical joint model [16], and none models baseline covariates as outcome-specific modulation weights. Our study addresses both gaps and designs a joint model that processes longitudinal outcomes using a seq2seq architecture and survival processes with a semi-parametric cox formulation without discretizing event time into fixed intervals, modulating each longitudinal outcome by baseline-covariates-specific weights, and linking the two processes through an interpretable association structure. Our proposed model, DeepAJM, comprises four components: an LSTM-based seq2seq network with cross-attention mechanism, a baseline-modulation network, an association structure producing per outcome association weight, and a survival sub-network that maps the association-weighted longitudinal outcomes to survival risk scores.