Skip to main content
QUICK REVIEW

[Paper Review] CPLLM: Clinical Prediction with Large Language Models

Ofir Ben Shoham, Nadav Rappoport|arXiv (Cornell University)|Sep 20, 2023
Machine Learning in HealthcareComputer Science9 citations
TL;DR

CPLLM fine-tunes large language models with prompts on structured EHR data to predict future diagnoses, outperforming RETAIN, Med-BERT, and Logistic Regression on three disease prediction tasks across two datasets.

ABSTRACT

We present Clinical Prediction with Large Language Models (CPLLM), a method that involves fine-tuning a pre-trained Large Language Model (LLM) for clinical disease and readmission prediction. We utilized quantization and fine-tuned the LLM using prompts. For diagnosis prediction, we predict whether patients will be diagnosed with a target disease during their next visit or in the subsequent diagnosis, leveraging their historical diagnosis records. We compared our results to various baselines, including RETAIN, and Med-BERT, the current state-of-the-art model for disease prediction using temporal structured EHR data. In addition, We also evaluated CPLLM for patient hospital readmission prediction and compared our method's performance with benchmark baselines. Our experiments have shown that our proposed method, CPLLM, surpasses all the tested models in terms of PR-AUC and ROC-AUC metrics, showing state-of-the-art results for diagnosis prediction and patient hospital readmission prediction. Such a method can be easily implemented and integrated into the clinical process to help care providers estimate the next steps of patients

Motivation & Objective

  • Motivate the use of large language models to capture sequential clinical events from structured EHR data.
  • Propose a prompt-based fine-tuning method (CPLLM) that uses textized medical concepts and an extended tokenizer.
  • Evaluate CPLLM on three disease prediction tasks across MIMIC-IV and eICU-CRD datasets.
  • Show that CPLLM can outperform state-of-the-art baselines without additional clinical-domain pre-training and with longer sequence handling.

Proposed method

  • Convert structured EHR data into text sequences where each diagnosis is a token and each patient history is a document.
  • Fine-tune two LLMs (Llama2-13B and BioMedLM-2.7B) using PEFT with QLoRA for efficiency.
  • Use prompts that include patient diagnosis history and the target disease to yield a binary prediction.
  • Add new tokens to the LLM tokenizer to cover diagnosis code descriptions, and compare with/without added tokens (ablation).
  • No additional clinical pre-training is required; train for six epochs and select best checkpoint by validation PR-AUC.
  • Report performance using PR-AUC (primary) and ROC-AUC (secondary) across tasks.

Experimental results

Research questions

  • RQ1Does CPLLM achieve PR-AUC and ROC-AUC improvements over baselines (Logistic Regression, RETAIN, Med-BERT) on structured EHR disease prediction?
  • RQ2What is the impact of augmenting the tokenizer vocabulary with extra tokens on model performance?
  • RQ3How does CPLLM perform across ICD-9 vs ICD-10 based datasets and across different diseases?
  • RQ4Is clinical-domain pre-training necessary for competitive performance in structured EHR prediction tasks?

Key findings

  • CPLLM outperforms all baselines on PR-AUC and ROC-AUC across the three tasks and two datasets.
  • Adult respiratory failure task: CPLLM-Llama2 PR-AUC 35.962% vs Logistic Regression 35.050% (absolute gain 0.912%, relative 2.6%).
  • Chronic kidney disease task: CPLLM-Llama2 PR-AUC 33.992% and ROC-AUC 83.034%; CPLLM-BioMedLM closely matches with 33.984% PR-AUC and 83.404% ROC-AUC.
  • Acute and unspecified renal failure task: CPLLM-Llama2 PR-AUC 45.442% and ROC-AUC 78.504%.
  • Ablation shows added tokenizer tokens improve performance in 9 of 12 measurements across tasks.
  • CPLLM achieves longer sequence handling (1024 tokens for BioMedLM, 4096 tokens for Llama2) than many baselines.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.