Improving Reliability and Explainability of Medical Question Answering Through Atomic Fact-Checking in Retrieval-Augmented Large Language Models: Creation and Validation Study
Abstract Background Large language models (LLMs) exhibit extensive medical knowledge but are prone to hallucinations and show low fact-level explainability, limiting clinical adoption and regulatory compliance. Existing approaches, such as retrieval-augmented generation, partially address these issues by grounding answers in source documents; however, the aforementioned problems persist. Objective We propose the application of an atomic fact-checking framework designed to enhance the reliability and explainability of LLMs in medical long-form question answering. By decomposing generated answers into discrete atomic facts and verifying each against an authoritative knowledge base of medical guidelines, this approach enables precise identification and correction of incorrect statements, alongside explicit linkage to supporting literature. Methods The fact-checking algorithm operates within a retrieval-augmented generation framework: LLM-generated answers are decomposed into atomic facts (smallest and self-contained information units), each of which is assessed and corrected if FALSE. To determine an optimal strategy, the validation–question and answer (Q&A) set on prostate cancer treatment was tested under varying instructions. An extensive evaluation, including multireader assessments by human medical experts and the automated open Q&A benchmark AMEGA (Autonomous Medical Evaluation for Guideline Adherence), was conducted for the final pipeline. In addition to another radiooncologic test–Q&A set, anonymized real-world tumor board cases and an independent, established neurology-Q&A set were used. Given their transparency and accessibility advantages, we compared various open-source models in pairs of generalist models and their medical fine-tuned counterparts, with regard to performance and improvements by fact-checking. Results The framework significantly reduced hallucinations and inaccuracies. Medical expert assessment and automated benchmarks demonstrated significant improvements in factual accuracy, achieving up to a 50% overall answer improvement and an 80% hallucination detection rate. Notably, the observed gain was strongest in real tumor-board questions—the most challenging dataset. Additionally, the framework achieved high explainability by tracing each atomic fact back to the most relevant chunks from the database, providing a granular, transparent explanation of the generated responses. Conclusions To conclude, we present the application of an atomic fact-checking algorithm to medical Q&A. It identifies factual inaccuracies and hallucinations in LLM-generated answers, achieving the greatest gains on clinically realistic, complex questions. Correction via fact-checking improves the overall answer quality while achieving fact-wise explainability, paving the way for more credible clinical use of LLMs.
Authors
- Lisa C. Adams (ORCID: https://orcid.org/0000-0001-5836-4542)
- Keno K. Bressem (ORCID: https://orcid.org/0000-0001-9249-8624)
- Florian Matthes (ORCID: https://orcid.org/0000-0002-6667-5452)
- Felix Busch (ORCID: https://orcid.org/0000-0001-9770-8555)
- Stephanie Elisabeth Combs (ORCID: https://orcid.org/0000-0002-6934-2864)
- Denise Bernhardt (ORCID: https://orcid.org/0000-0001-5231-9097)
- Jan Caspar Peeken (ORCID: https://orcid.org/0000-0003-2679-9853)
- Jana Nano (ORCID: https://orcid.org/0000-0003-4731-5491)
- R. Moser
- A. Domres
- Mai Nguyen
- Kai Borm (ORCID: https://orcid.org/0009-0005-8580-890X)
- Juraj Vladika
Publication Details
- Journal
- Journal of Medical Internet Research
- Published
- 2026-09-21
- DOI
- https://doi.org/10.2196/92090
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00