Hallucination Detection-Guided Preference Optimization for Clinical Summarization

Shamanth Kuthpadi Seethakantha, Dung Ngoc Thai, Vara Prasad Gudi, Simran Tiwari, Rami Matar, Avijit Mitra, Wenlong Zhao, Andrew McCallum, Wael SalloumarXiv 2026

TL;DR

Large Language Models (LLMs) frequently introduce medically plausible but entirely fabricated details when summarizing clinical notes. This paper introduces HDSR (an iterative self-refinement method guided by automated hallucination detectors) and HDSR-PL (which converts these refinement paths into preference pairs to fine-tune models via Direct Preference Optimization). Together, these methods slash clinical hallucinations by up to 48% while preserving summary quality—all without adding inference-time overhead during deployment.

What Problem Does This Paper Address?

In clinical summarization—such as translating a complex "Brief Hospital Course" note into patient-friendly "Discharge Instructions"—factual accuracy is a matter of patient safety. A single hallucinated medication, omitted procedure, or fabricated lab result can lead to dangerous medical errors.

Unfortunately, standard LLMs suffer from high hallucination rates (often 40-50% on standard benchmarks). Even worse, standard Supervised Fine-Tuning (SFT) on human-written summaries actually exacerbates the problem: it trains models to generate highly fluent, authoritative-sounding summaries that frequently mask subtle factual fabrications. Existing solutions like retrieval-augmented generation (RAG) or human-in-the-loop verification are either bottlenecked by retrieval quality or too expensive to scale.

Methods

The authors propose a two-pronged strategy to detect and fix hallucinations, moving from an expensive inference-time fix to a permanent, lightweight model update:

  1. Hallucination Detection-Guided Self-Refinement (HDSR): During inference, an initial summary is generated by the LLM. An automated medical hallucination detector (such as MedCat or a prompted MedAlign model) scans the summary against the source text, wrapping unsupported spans in <error> tags. The LLM is then prompted to iteratively revise only these flagged segments, preventing it from over-editing or altering factually correct text.
  2. HDSR for Preference Learning (HDSR-PL): Running iterative detector-correction loops during live deployment adds significant latency. To solve this, the authors use the intermediate outputs of HDSR to build a dataset of preference pairs. The initial flawed summary serves as the "dispreferred" output, and the final corrected summary serves as the "preferred" output. The base LLM is then fine-tuned on these pairs using Direct Preference Optimization (DPO), baking factual alignment directly into the model's weights.
Figure 1: Overview of hallucination mitigation via detection-informed self-refinement. Given an input clinical note, a language model generates an initial summary that may contain unsupported or hallucinated medical content. A hallucination detector identifies unsupported content, which is used to guide iterative self-refinement toward removing factual errors rather than stylistic changes (top; HDSR). The intermediate outputs from HDSR process are converted into preference pairs and used for preference learning (e.g., DPO), amortizing faithful behavior and yielding hallucination-mitigated summaries at inference time (bottom; HDSR-PL).

Datasets

The models were trained and evaluated using real-world clinical notes from the MIMIC-IV-Note v2.2 database. Specifically, the authors utilized the Hallucination-Generated-DI benchmark subset. Evaluation was conducted via rigorous, double-blinded annotations by professional clinicians alongside automated LLM-as-judge evaluations.

Key Insights and Ideas

  • The SFT Paradox: Standard fine-tuning on clinician-written references improves fluency and coherence but nearly doubles the hallucination count. It teaches the model to look professional while making things up.
  • Targeted Feedback is Essential: Self-refinement without an explicit detector reduces surface-level errors but leaves critical clinical errors untouched. Explicitly tagging errors guides the model to make precise, factually grounded revisions.
  • Amortizing Latency: HDSR-PL successfully transfers the benefits of a slow, multi-step inference loop into a single-pass model, making it highly practical for real-time clinical applications.

Key Results

The main experiments evaluated LLaMA-3.1-8B-Instruct alongside smaller open-source models like LLaMA-3.2-3B and Gemma-3-4B.

  • Hallucination Reduction: For LLaMA-3.1-8B-Instruct, zero-shot prompting yielded 29 hallucinations, which spiked to 57 after standard SFT. HDSR dropped this count to 22 (a 24% reduction from zero-shot), while HDSR-PL achieved the best performance with just 15 hallucinations—a 48% reduction from the baseline and a 74% drop compared to SFT.
  • Quality Preservation: Crucially, clinicians rated the summaries generated by HDSR and HDSR-PL as highly consistent, coherent, and fluent, matching or beating the baseline models on overall quality.
Main quantitative results across different models and methods

Limitations and Future Work

  • Garbage In, Garbage Out: The pipeline's success hinges entirely on the quality of the automated hallucination detector. False positives (flagging correct text) or false negatives (missing subtle errors) can limit the model's learning.
  • Scope of Evaluation: The study focused exclusively on one clinical task (Brief Hospital Course to Discharge Instructions). How well this approach transfers to other medical note types or broader non-clinical domains remains an open question.
  • Upfront Training Cost: While HDSR-PL eliminates inference-time overhead, generating the preference pairs and running DPO requires substantial upfront computational resources and training time.

Summary updated

BibTeX
@misc{seethakantha2026hallucination,
  author = {Shamanth Kuthpadi Seethakantha and Dung Ngoc Thai and Vara Prasad Gudi and Simran Tiwari and Rami Matar and Avijit Mitra and Wenlong Zhao and Andrew McCallum and Wael Salloum},
  title = {{Hallucination Detection-Guided Preference Optimization for Clinical Summarization}},
  year = {2026},
  eprint = {2605.28910},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.28910},
}
Figure