Retrieve, Reason, and Refine: Generating Accurate and Faithful Patient Instructions

Fenglin Liu, Bang Yang, Chenyu You, Xian Wu, Shen Ge, Zhangdaihong Liu, Xu Sun, David A. Clifton

Abstract

The "Patient Instruction" (PI), which contains critical instructional information provided both to carers and to the patient at the time of discharge, is essential for the patient to manage their condition outside hospital. An accurate and easy-to-follow PI can improve the self-management of patients which can in turn reduce hospital readmission rates. However, writing an appropriate PI can be extremely time-consuming for physicians, and is subject to being incomplete or error-prone for (potentially overworked) physicians. Therefore, we propose a new task that can provide an objective means of avoiding incompleteness, while reducing clinical workload: the automatic generation of the PI, which is imagined as being a document that the clinician can review, modify, and approve as necessary (rather than taking the human "out of the loop"). We build a benchmark clinical dataset and propose the Re3Writer, which imitates the working patterns of physicians to first retrieve related working experience from historical PIs written by physicians, then reason related medical knowledge. Finally, it refines the retrieved working experience and reasoned medical knowledge to extract useful information, which is used to generate the PI for previously-unseen patient according to their health records during hospitalization. Our experiments show that, using our method, the performance of five different models can be substantially boosted across all metrics, with up to 20%, 11%, and 19% relative improvements in BLEU-4, ROUGE-L, and METEOR, respectively. Meanwhile, we show results from human evaluations to measure the effectiveness in terms of its usefulness for clinical practice.

Introduction

When a patient is discharged from the hospital, they receive a set of "Patient Instructions" (PI). This document is a cornerstone of post-hospital care, detailing the patient's condition, medication schedules, and self-care protocols. For clinicians, drafting these instructions is a high-stakes task that requires synthesizing complex technical data into layperson-friendly language. However, the process is notoriously time-consuming and prone to omissions, contributing significantly to physician burnout.

While Large Language Models (LLMs) offer a potential solution for automating clinical documentation, they face a critical barrier in the medical domain: hallucinations. Standard generative models often produce text that is linguistically fluent but factually unaligned with the patient's specific medical history. This research introduces the Re3Writer framework, designed to generate faithful and comprehensive PIs by mimicking the cognitive workflow of a physician.

Methodology: The Re3Writer Framework

The Re3Writer framework operates on a three-stage process: Retrieve, Reason, and Refine. This architecture is model-agnostic, allowing it to be integrated with various underlying architectures, such as LSTMs or Transformers.

1. Retrieve (Working Experience)

Physicians often rely on their past experiences with similar cases when drafting new instructions. Re3Writer replicates this by accessing a "library" of historical PIs. Using BERT-based embeddings, the system retrieves instructions given to previous patients with similar diagnoses, procedures, and medication profiles. This provides a structural and stylistic template for the new document.

2. Reason (Medical Knowledge)

To ensure factual accuracy, the system consults a global medical knowledge graph constructed from standardized clinical codes. Utilizing a Graph Convolutional Network (GCN), the model reasons through the relationships between medical concepts—for instance, understanding the necessary post-operative care associated with a specific surgical procedure.

3. Refine (Synthesis)

The final stage involves an adaptive attention mechanism that synthesizes three data streams: the current patient’s health records, the retrieved historical experience, and the reasoned medical knowledge. This "refinement" process dynamically weights the information sources word-by-word, ensuring the final output is personalized to the patient while remaining grounded in established medical reality.

Experimental Setup and Dataset

The researchers established a new benchmark for this task using the MIMIC-III v1.4 database, a de-identified repository of ICU patient data. The resulting dataset consists of 35,851 pairs of health records and corresponding patient instructions. These records include diverse clinical data such as admission notes, nursing reports, radiology findings, and medication lists. This dataset is unique in its focus on the translation of technical "doctor-speak" into accessible patient-facing instructions.

Key Findings

Quantitative Performance

The Re3Writer framework demonstrated significant improvements across all primary NLP metrics. When applied to a Transformer baseline, the framework achieved:

  • BLEU-4: 11.7% improvement
  • METEOR: 8.7% improvement
  • ROUGE-L: 11% relative improvement

Ablation studies revealed that retrieving cases based on medication codes provided the most significant performance boost, suggesting that pharmaceutical management is the primary anchor for effective post-discharge care.

Human Evaluation and Clinical Utility

In blind evaluations conducted by clinicians, the Re3Writer outperformed standard models by a wide margin. Clinicians rated the Re3Writer’s output as "helpful" 74% of the time, compared to just 32% for the baseline Transformer. Furthermore, annotators noted an 18-point increase in "faithfulness" (factual accuracy) and a 34-point increase in "comprehensiveness," indicating that the model successfully reduced hallucinations while capturing more necessary clinical details.

Discussion and Limitations

While Re3Writer represents a significant step toward faithful clinical AI, several challenges remain. The system’s performance is dependent on a large corpus of high-quality historical PIs, which may not be available in smaller or specialized clinical settings. Additionally, there is a risk of "automation bias," where clinicians might over-rely on the AI and neglect the necessary final review. Finally, future iterations must address personalization for varying health literacy levels, ensuring that instructions are as accessible to an elderly patient with cognitive decline as they are to a highly literate younger patient.

Conclusion

By integrating retrieval-augmented generation with knowledge-grounded reasoning, the Re3Writer framework provides a robust method for generating accurate clinical instructions. This approach not only reduces the administrative burden on physicians but also enhances patient safety by ensuring that discharge instructions are both comprehensive and faithful to the clinical record.

Summary updated

Abstract

The "Patient Instruction" (PI), which contains critical instructional information provided both to carers and to the patient at the time of discharge, is essential for the patient to manage their condition outside hospital. An accurate and easy-to-follow PI can improve the self-management of patients which can in turn reduce hospital readmission rates. However, writing an appropriate PI can be extremely time-consuming for physicians, and is subject to being incomplete or error-prone for (potentially overworked) physicians. Therefore, we propose a new task that can provide an objective means of avoiding incompleteness, while reducing clinical workload: the automatic generation of the PI, which is imagined as being a document that the clinician can review, modify, and approve as necessary (rather than taking the human "out of the loop"). We build a benchmark clinical dataset and propose the Re3Writer, which imitates the working patterns of physicians to first retrieve related working experience from historical PIs written by physicians, then reason related medical knowledge. Finally, it refines the retrieved working experience and reasoned medical knowledge to extract useful information, which is used to generate the PI for previously-unseen patient according to their health records during hospitalization. Our experiments show that, using our method, the performance of five different models can be substantially boosted across all metrics, with up to 20%, 11%, and 19% relative improvements in BLEU-4, ROUGE-L, and METEOR, respectively. Meanwhile, we show results from human evaluations to measure the effectiveness in terms of its usefulness for clinical practice. The code is available at https://github.com/AI-in-Hospitals/Patient-Instructions
BibTeX
@inproceedings{liu2022retrieve,
  author = {Fenglin Liu and Bang Yang and Chenyu You and Xian Wu and Shen Ge and Zhangdaihong Liu and Xu Sun and Yang Yang and David A. Clifton},
  title = {{Retrieve, Reason, and Refine: Generating Accurate and Faithful Patient Instructions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=dp0zWsdOV1h},
}
Figure