Towards modeling evolving longitudinal health trajectories with a transformer-based deep learning model
Hans Moen, Vishnu Raj, Andrius Vabalas, Markus Perola, Samuel Kaski,, Andrea Ganna, Pekka Marttinen

TL;DR
This paper presents a transformer-based deep learning approach for modeling and analyzing evolving health trajectories over time using longitudinal health data, enabling continuous predictions and early detection of disease onset.
Contribution
It introduces a novel training method with causal attention masks for transformers to model health trajectories continuously over time.
Findings
Model performs comparably to existing models in disease prediction.
Enables continuous health trajectory analysis at every time point.
Potential for early intervention and ongoing health monitoring.
Abstract
Health registers contain rich information about individuals' health histories. Here our interest lies in understanding how individuals' health trajectories evolve in a nationwide longitudinal dataset with coded features, such as clinical codes, procedures, and drug purchases. We introduce a straightforward approach for training a Transformer-based deep learning model in a way that lets us analyze how individuals' trajectories change over time. This is achieved by modifying the training objective and by applying a causal attention mask. We focus here on a general task of predicting the onset of a range of common diseases in a given future forecast interval. However, instead of providing a single prediction about diagnoses that could occur in this forecast interval, our approach enable the model to provide continuous predictions at every time point up until, and conditioned on, the time…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsHealth, Environment, Cognitive Aging
MethodsSoftmax · Attention Is All You Need · Focus
