arXiv(opens in a new tab)cs.LGSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.09140

NOAH: Learning the Full Patient Journey. A Longitudinal Multimodal Time-Aware Model for Representation and Forecasting

Tobias Susetzky, Raphael Rehms, Dmitrii Seletkov, Özgün Turgut, Michelle Espranita Liman, Lisa Steinhelfer, Rickmer Braren, Daniel Rueckert

Abstract

The digitization of healthcare has generated vast, longitudinal, and multimodal patient records over a lifetime, yet fully exploiting these data to represent and predict patient state trajectories remains a critical challenge. Current AI models often struggle to capture the complex, irregular temporal dynamics and inherent stochasticity of real-world multimodal patient data. In the biomedical domain, existing AI approaches for modeling longitudinal patient records are predominantly discriminative, limited to a few modalities, constrained by closed categorical vocabularies, treating time as a monotonic inductive bias, or they are limited in forecasting future patient states. We introduce NOAH, a time-aware, task-agnostic, generative transformer model representing and forecasting the full multimodal patient journey. NOAH features a novel bidirectional time integration and a variational latent space to capture both the continuous evolution of patient states and the stochasticity of clinical trajectories. Built from over 559 million clinical events from 431,000 hospital visits of 299,000 patients across the MIMIC dataset family, NOAH natively processes multiple kinds of medical images, time-series and numeric signals, categorical events, as well as structured and unstructured clinical records. NOAH is the first truly holistic generative model in its field, enabling autoregressive forecasting with optional time control, zero-shot classification, and counterfactual simulation of clinical interventions. Furthermore, its novel approach generates highly informative and predictive patient state representations that demonstrate strong performance in probing for clinical outcomes, 15 ICD chapters, and 29 comorbidities, as well as in time-to-event prediction. Seamlessly handling diverse modalities and complex temporal dynamics, NOAH provides a versatile, task-agnostic, scalable foundation for intelligent predictive systems in personalized clinical care and digital medicine.

Introduction

Personal health tracking, wearable devices, as well as primary and secondary healthcare systems collect vast amounts of data describing a patient's medical history over time. This comprises vital measurements, medical imaging, textual reports, signals, e.g. from electrocardiograms (ECG), drug prescriptions and intake, medical procedures, diagnoses, and administrative events. The sheer scale, multimodal complexity, and irregular temporal distribution of these lifelong records exceed human personnel capacities by far. Thus, medicine has a critical need for intelligent systems that enable their semantic analysis, at patient and population level, and also predict future disease trajectories. In particular, these systems must accurately reflect the stochasticity of clinical progression where unforeseeable events are omnipresent. By robustly predicting future events and simulating individualized treatment outcomes under specific clinical interventions, such generative models hold the potential to accelerate and improve personalized clinical care and may even exceed human prognostic abilities. For example, such models could support complex scenarios involving multiple subspecialty disciplines (e.g. an acute medical condition superimposed on a chronic disease state), likely to become a more frequent event in an aging society.

With recent AI advances, there is growing interest in exploiting their enormous potential across the medical domain (for instance [1,2]). However, previous approaches largely focus on few isolated modalities (e.g. vision and language [2–6], imaging and tabular [7,8], or imaging and signals [9–12]). Also, they often specialize in specific types of signals [13], require a fixed sampling rate of signals or events, or restrict to inputs at few specific points in time [5]. In medical representation learning, contrastive approaches have widely proven successful, e.g. [14], albeit subject to the aforementioned restrictions. Simultaneously, transformer-based architectures have been commonly applied e.g. for forecasting [15]. However, like natural language models, these approaches usually use inputs consisting solely of categorical data over a closed vocabulary, for instance sequences of ICD diagnosis codes [15, 16]. Altogether, even though many promising approaches exist, they fail to holistically capture all of a patient's data and their dynamics in a task-agnostic way that also allows for meaningful, clinical predictions.

Among AI architectures, transformer-based models have proven tremendously successful. Adapting them for irregular clinical event sequences necessitates the integration of temporal position information: current methods commonly apply an additive encoding to a transformer's input tokens or rely on rotary position embedding (RoPE) [17] to inject temporal information directly into the attention module. RoPE has been adopted in both general-purpose and clinical models, e.g. [18]. However, this approach is insensitive to the prediction horizon: a past event may be highly informative for a chronic-disease onset months ahead, yet irrelevant for an acute event in the coming days.

To capture the uncertainty resulting from complex longitudinal dynamics, sequential variational models have historically been the architecture of choice. Variational Recurrent Neural Networks (VRNNs) [19] integrate the principles of Variational Autoencoders (VAEs) [20]. By providing randomness at inference time, they non-deterministically generate highly structured sequences such as speech or handwriting. In the clinical domain, a patient's state at any given time inherently admits multiple plausible future continuations. Robust forecasting models must explicitly represent this stochasticity. Thus, we adapt this sequential variational concept for a transformer.

Most recent advances show that including a patient's long-term history can improve a model's diagnostic and prognostic abilities (cf. [15,21]). They have established flexible token representation methods for multimodal patient data: TAMME [21] considers health records a sequence of timestamped events with both continuous and discrete information, and represents them jointly in a shared space. This makes them easily accessible for transformer-based classification models and unsupervised pretraining via random masking and reconstruction. Scaling up TAMME's token representation methodology and pretraining strategy, APOLLO [22] demonstrates its real-world applicability to representation learning and clinical downstream usage. At inference time, it uses a learned token tied to a specific event type, e.g. diagnosis, to prompt the model to produce one patient representation vector. However, approaches in this family are, at their core, discriminative, lacking the ability to fully reflect temporal dynamics and sequential inter-event dependencies, as well as the capacity for true forecasting and generative application with a source of variability. Neither their architecture nor their training objective directly encourages learning clinical dynamics and progression.

To overcome these limitations, we introduce NOAH, a time-aware, task-agnostic, generative, multimodal transformer model designed to learn a latent space of patient states and transitions from lifetime sequences of multimodal patient data. We adapt a context-conditional variational approach to explicitly capture the stochasticity of disease progression, enabling the model to learn predictive patient state representations over time while accounting for unexpected transitions. Notably, NOAH fully consumes the actual content of all modalities, e.g. imaging data or waveforms, while providing variation at inference time when autoregressively forecasting the next events. With a novel bidirectional time integration NOAH can natively handle irregular inter-event time gaps and weight the relevance of elements in a patient's history for the next prediction based on both recency and prediction horizon.

We demonstrate that NOAH serves as a highly versatile task-agnostic foundation for holistic patient trajectory analysis. Pretrained and evaluated on 559 million timestamped clinical events across the MIMIC dataset family [23–28], NOAH successfully captures the temporal dynamics of patient journeys. We validate its performance across a diverse suite of clinical downstream tasks, demonstrating its efficacy in probabilistic zero-shot forecasting, time-to-event prediction, and generating compact patient state representations. Finally, we highlight its generative capabilities for autoregressive rollouts with optional time control and counterfactual simulations of clinical interventions, providing a scalable architecture for hypothesis generation and in silico trial design.

Overall, with NOAH, we introduce a ready-to-scale architecture for a foundational holistic patient trajectory model and demonstrate its potential and versatile applicability.

Results

a Merged MIMIC dataset family

Figure

b Per-modality volume

c Per-modality coverage

d Primary diagnosis

e Modality co-occurrence

f Architecture overview

g Full forecasting

of all event components incl.

time of next token at each step

h Time-controlled forecasting

injecting time of next token

during rollout steps

i Simulation

for zero-shot classification and counterfactuals

Figure

Figure

j Patient state embeddings

Figure

Figure

Figure 1: NOAH understands, represents, and extends multimodal patient records. (a-e) Patient journey dataset built from MIMIC. (f) NOAH architecture: multimodal health record events embedded through type category, type specifics, and value. A transformer decoder pretrains on these sequences with causal masking and novel time integration. A novel latent module explicitly learns context-conditional patient states and transitions. (g-h) Autoregressive rollout with optional time control. (i) Outcome simulation for Monte Carlo-style classification and counterfactual analysis. (j) Downstream applications of NOAH's patient state embeddings.

References (50)