Foresight -- Generative Pretrained Transformer (GPT) for Modelling of Patient Timelines using EHRs
Not on the map. Why?
Abstract (arXiv)
Background: Electronic Health Records hold detailed longitudinal information about each patient's health status and general clinical history, a large portion of which is stored within the unstructured text. Existing approaches focus mostly on structured data and a subset of single-domain outcomes. We explore how temporal modelling of patients from free text and structured data, using deep generative transformers can be used to forecast a wide range of future disorders, substances, procedures or findings. Methods: We present Foresight, a novel transformer-based pipeline that uses named entity recognition and linking tools to convert document text into structured, coded concepts, followed by providing probabilistic forecasts for future medical events such as disorders, substances, procedures and findings. We processed the entire free-text portion from three different hospital datasets totalling 811336 patients covering both physical and mental health. Findings: On tests in two UK hospitals (King's College Hospital, South London and Maudsley) and the US MIMIC-III dataset precision@10 0.68, 0.76 and 0.88 was achieved for forecasting the next disorder in a patient timeline, while precision@10 of 0.80, 0.81 and 0.91 was achieved for forecasting the next biomedical concept. Foresight was also validated on 34 synthetic patient timelines by five clinicians and achieved relevancy of 97% for the top forecasted candidate disorder. As a generative model, it can forecast follow-on biomedical concepts for as many steps as required. Interpretation: Foresight is a general-purpose model for biomedical concept modelling that can be used for real-world risk forecasting, virtual trials and clinical research to study the progression of disorders, simulate interventions and counterfactuals, and educational purposes.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 14 of its 30 references that are in the map. First posted on arXiv 13 Dec 2022.
Builds on
14 of 30 references.
References · 14
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
- 2020Med-BERT: pre-trained contextualized embeddings on large-scale structured electronic health records for disease predictioncited by 368
- 2017Population Based Training of Neural Networkscited by 351
- 2019BEHRT: Transformer for Electronic Health Recordscited by 258
- 2020A Diagnostic Study of Explainability Techniques for Text Classificationcited by 158
- 2019Pre-training of Graph Augmented Transformers for Medication Recommendationcited by 124
- 2019Neural Machine Translation with Byte-Level Subwordscited by 115
- 2020Multi-domain Clinical Natural Language Processing with MedCAT: the Medical Concept Annotation Toolkitcited by 66
Built on by
Citing papers per year: 2023: 2; 2024: 4; 2025: 4; 2026: 1.
11 papers.
- 2023Creating Trustworthy LLMs: Dealing with Hallucinations in Healthcare AIcited by 33
- 2023HyKGE: A Hypothesis Knowledge Graph Enhanced Framework for Accurate and Reliable Medical LLMs Responsescited by 25
- 2024CEHR-GPT: Generating Electronic Health Records with Chronological Patient Timelinescited by 22
- 2024ClinicalMamba: A Generative Clinical Language Model on Longitudinal Clinical Notescited by 22
- 2024Can GPT-3.5 Generate and Code Discharge Summaries?cited by 12
- 2024Large Language Models for Medical Forecasting -- Foresight 2cited by 5
- 2025CEHR-XGPT: A Scalable Multi-Task Foundation Model for Electronic Health Recordscited by 4
- 2025Foundation Models for Clinical Records at Health System Scalecited by 3
- 2026Scaling Recurrence-aware Foundation Models for Clinical Records via Next-Visit Predictioncited by 3
- 2025Scaling Electronic Health Record Foundation Models for Population Health Managementcited by 0
- 2025Building Models of Neurological Languagecited by 0
- 2026Scaling Recurrence-aware Foundation Models for Clinical Records via Next-Visit Prediction25 Mar 2026
- 2025CEHR-XGPT: A Scalable Multi-Task Foundation Model for Electronic Health Records3 Sep 2025
- 2025Foundation Models for Clinical Records at Health System Scale1 Jul 2025
- 2025Building Models of Neurological Language6 Jun 2025
- 2025Scaling Electronic Health Record Foundation Models for Population Health Management30 May 2025
- 2024Large Language Models for Medical Forecasting -- Foresight 214 Dec 2024
- 2024ClinicalMamba: A Generative Clinical Language Model on Longitudinal Clinical Notes9 Mar 2024
- 2024CEHR-GPT: Generating Electronic Health Records with Chronological Patient Timelines6 Feb 2024
- 2024Can GPT-3.5 Generate and Code Discharge Summaries?24 Jan 2024
- 2023HyKGE: A Hypothesis Knowledge Graph Enhanced Framework for Accurate and Reliable Medical LLMs Responses26 Dec 2023
- 2023Creating Trustworthy LLMs: Dealing with Hallucinations in Healthcare AI26 Sep 2023