Large Language Models for Medical Forecasting -- Foresight 2

Zeljko Kraljevic, Joshua Au Yeung, Daniel Bean, James Teo, Richard J. Dobson
12/14/2024
cs.CLcs.AIcs.LG

No official code found. Best implementation: w-is-h/fs2 (8 stars, last commit 2024-04-18).

Abstract

Foresight 2 (FS2) is a large language model fine-tuned on hospital data for modelling patient timelines (GitHub 'removed for anon'). It can understand patients' clinical notes and predict SNOMED codes for a wide range of biomedical use cases, including diagnosis suggestions, risk forecasting, and procedure and medication recommendations. FS2 is trained on the free text portion of the MIMIC-III dataset, firstly through extracting biomedical concepts and then creating contextualised patient timelines, upon which the model is then fine-tuned. The results show significant improvement over the previous state-of-the-art for the next new biomedical concept prediction (P/R - 0.73/0.66 vs 0.52/0.32) and a similar improvement specifically for the next new disorder prediction (P/R - 0.69/0.62 vs 0.46/0.25). Finally, on the task of risk forecast, we compare our model to GPT-4-turbo (and a range of open-source biomedical LLMs) and show that FS2 performs significantly better on such tasks (P@5 - 0.90 vs 0.65). This highlights the need to incorporate hospital data into LLMs and shows that small models outperform much larger ones when fine-tuned on high-quality, specialised data.

View on arXivView PDF

Code Implementations(1)

w-is-h/fs2Community71%

Foresight v2 - A Large Language Model Medical Forecaster

80Shell, PythonApr 17, 20242 years ago

Similar Papers

Cite this paper

@article{kraljevic2024large,
  title  = {Large Language Models for Medical Forecasting -- Foresight 2},
  author = {Zeljko Kraljevic and Joshua Au Yeung and Daniel Bean and James Teo and Richard J. Dobson},
  year   = {2024},
  eprint = {2412.10848},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.10848v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.10848.svg)](https://codeofpaper.com/paper/2412.10848)

Discussion