Scaling Recurrence-aware Foundation Models for Clinical Records via Next-Visit Prediction
Not on the map. Why?
Abstract (arXiv)
While large-scale pretraining has revolutionized language modeling, its potential remains underexplored in healthcare with structured electronic health records (EHRs). We present RAVEN, a novel generative pretraining strategy for sequential EHR data based on Recurrence-Aware next-Visit EveNt prediction. Leveraging a dataset of over one million unique individuals, our model learns to autoregressively generate tokenized clinical events for the next visit conditioned on patient history. We introduce regularization on predicting repeated events and highlight a key pitfall in EHR-based foundation model evaluations: repeated event tokens can inflate performance metrics when new onsets are not distinguished from subsequent occurrences. Furthermore, we empirically investigate the scaling behaviors in a data-constrained, compute-saturated regime, showing that simply increasing model size is suboptimal without commensurate increases in data volume. We evaluate our model via zero-shot prediction for forecasting the incidence of a diverse set of diseases, where it rivals fully fine-tuned representation-based Transformer models and outperforms both standard simulation-based next-token approaches and a prompted medical large language model baseline. Finally, without additional parameter updates, we show that RAVEN can generalize to an external patient cohort under lossy clinical code mappings and feature coverage gaps.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 20 of its 34 references that are in the map. First posted on arXiv 25 Mar 2026.
Builds on
20 of 34 references.
References · 20
- 2017Attention Is All You Needcited by 59,932
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2025MedGemma Technical Reportcited by 398
- 2023Scaling Data-Constrained Language Modelscited by 391
- 2018Scalable and accurate deep learning for electronic health recordscited by 275
- 2019BEHRT: Transformer for Electronic Health Recordscited by 258
- 2017Deep EHR: A Survey of Recent Advances in Deep Learning Techniques for Electronic Health Record (EHR) Analysiscited by 145
- 2023EHRSHOT: An EHR Benchmark for Few-Shot Evaluation of Foundation Modelscited by 101
- 2020Language Models Are An Effective Patient Representation Learning Technique For Electronic Health Record Datacited by 85
- 2021CEHR-BERT: Incorporating temporal information from structured EHR data to improve prediction taskscited by 75
8 more
- 2024Zero Shot Health Trajectory Prediction Using Transformercited by 74
- 2023Event Stream GPT: A Data Pre-processing and Modeling Library for Generative, Pre-trained Transformers over Continuous-time Sequences of Complex Eventscited by 46
- 2025Generative Medical Event Models Improve with Scalecited by 24
- 2025Pre-training under infinite computecited by 24
- 2022Foresight -- Generative Pretrained Transformer (GPT) for Modelling of Patient Timelines using EHRscited by 11
- 2025Exploring Scaling Laws for EHR Foundation Modelscited by 10
- 2017Loss Functions for Multiset Predictioncited by 6
- 2025CEHR-XGPT: A Scalable Multi-Task Foundation Model for Electronic Health Recordscited by 4
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026FlatASCEND: Autoregressive Clinical Sequence Generation with Continuous Time Prediction and Association-Based Pharmacological Testingcited by 0
- 2026Sparse Autoencoder Decomposition of Clinical Sequence Model Representations: Feature Complexity, Task Specialisation, and Mortality Predictioncited by 0
- 2026Foundation Agents Meet Agentic Deep Research: Evidence-Grounded Clinical Code Forecastingcited by 0
- 2026Foundation Agents Meet Agentic Deep Research: Evidence-Grounded Clinical Code Forecasting17 Aug 2026
- 2026Sparse Autoencoder Decomposition of Clinical Sequence Model Representations: Feature Complexity, Task Specialisation, and Mortality Prediction13 Apr 2026
- 2026FlatASCEND: Autoregressive Clinical Sequence Generation with Continuous Time Prediction and Association-Based Pharmacological Testing13 Apr 2026