A Data-Centric Approach To Generate Faithful and High Quality Patient Summaries with Large Language Models

Stefan Hegselmann, Shannon Zejiang Shen, Florian Gierse, Monica Agrawal, David Sontag +1 more
2/23/2024
cs.CLcs.AIcs.LG

No official code found. Best implementation: stefanhgm/patient_summaries_with_llms (17 stars, MIT, last commit 2025-07-20).

Abstract

Patients often face difficulties in understanding their hospitalizations, while healthcare workers have limited resources to provide explanations. In this work, we investigate the potential of large language models to generate patient summaries based on doctors' notes and study the effect of training data on the faithfulness and quality of the generated summaries. To this end, we release (i) a rigorous labeling protocol for errors in medical texts and (ii) a publicly available dataset of annotated hallucinations in 100 doctor-written and 100 generated summaries. We show that fine-tuning on hallucination-free data effectively reduces hallucinations from 2.60 to 1.55 per summary for Llama 2, while preserving relevant information. We observe a similar effect on GPT-4 (0.70 to 0.40), when the few-shot examples are hallucination-free. We also conduct a qualitative evaluation using hallucination-free and improved training data. We find that common quantitative metrics do not correlate well with faithfulness and quality. Finally, we test GPT-4 for automatic hallucination detection, which clearly outperforms common baselines.

View on arXivView PDF

Code Implementations(1)

MIT

Code for "A Data-Centric Approach To Generate Faithful and High Quality Patient Summaries with Large Language Models"

177Shell, PythonFeb 22, 20241 years agoMIT

Similar Papers

Cite this paper

@article{hegselmann2024datacentric,
  title  = {A Data-Centric Approach To Generate Faithful and High Quality Patient Summaries with Large Language Models},
  author = {Stefan Hegselmann and Shannon Zejiang Shen and Florian Gierse and Monica Agrawal and David Sontag and Xiaoyi Jiang},
  year   = {2024},
  eprint = {2402.15422},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.15422v2}
}

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/2402.15422.svg)](https://codeofpaper.com/paper/2402.15422)

Discussion