FactCheXcker: Mitigating Measurement Hallucinations in Chest X-ray Report Generation Models

A. Heiman, Xiaoman Zhang, Emma Chen, Sung Eun Kim, P. Rajpurkar
2/9/2026

Official code: rajpurkarlab/FactCheXcker (13 stars, MIT, last commit 2025-12-30).

Abstract

Medical vision-language models often struggle with generating accurate quantitative measurements in radiology reports, leading to hallucinations that undermine clinical reliability. We introduce FactCheXcker, a modular framework that de-hallucinates radiology report measurements by leveraging an improved query-code-update paradigm. Specifically, FactCheXcker employs specialized modules and the code generation capabilities of large language models to solve measurement queries generated based on the original report. After extracting measurable findings, the results are incorporated into an updated report. We evaluate FactCheXcker on endotracheal tube placement, which accounts for an average of 78% of report measurements, using the MIMIC-CXR dataset and 11 medical reportgeneration models. Our results show that FactCheXcker significantly reduces hallucinations, improves measurement precision, and maintains the quality of the original reports. Specifically, FactCheXcker improves the performance of all 11 models and achieves an average improvement of 135.0% in reducing measurement hallucinations measured by mean absolute error. Code is available at https://github.com/rajpurkarlab/FactCheXcker.

View on arXivView PDF

Code Implementations(1)

MIT

This repository contains code to run the FactCheXcker pipeline on model-generated chest X-ray reports that contain quantifiable metrics, such as endotracheal tube placements.

131TeX, PythonMar 22, 20259 months agoMIT

Similar Papers

Cite this paper

@article{heiman2026factchexcker,
  title  = {FactCheXcker: Mitigating Measurement Hallucinations in Chest X-ray Report Generation Models},
  author = {A. Heiman and Xiaoman Zhang and Emma Chen and Sung Eun Kim and P. Rajpurkar},
  year   = {2026},
  eprint = {2411.18672},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2411.18672},
  journal = {CVPR 2024 2024}
}

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

Discussion