ReXErr: Synthesizing Clinically Meaningful Errors in Diagnostic Radiology Reports

Vishwanatha M. Rao, Serena Zhang, Julian N. Acosta, Subathra Adithan, Pranav RajpurkararXiv 2024

TL;DR

ReXErr is a novel methodology that leverages Large Language Models (LLMs) to synthesize clinically plausible errors in chest X-ray reports. By creating a diverse, labeled dataset of human-like and AI-like mistakes, it provides a critical foundation for training and evaluating next-generation radiology report correction and detection algorithms.

What Problem Does This Paper Address?

Radiology reports are the backbone of clinical decision-making, yet they are prone to errors. Human radiologists face fatigue and high case volumes, leading to misinterpretations or omissions. Meanwhile, emerging AI report generation models often "hallucinate" non-existent findings or struggle with linguistic consistency.

The core challenge is that developing automated tools to fix these errors requires massive amounts of high-quality, labeled data—specifically, pairs of "correct" and "erroneous" reports. Real-world error data is scarce and difficult to curate. ReXErr fills this gap by providing a pipeline to synthetically generate representative errors that are realistic enough to fool (or at least challenge) both clinicians and algorithms.

Methods

The ReXErr pipeline is a multi-stage process that combines clinical expertise with advanced LLM prompting:

  1. Error Categorization: In collaboration with board-certified radiologists, the authors defined 12 specific error categories. These are grouped into AI-Generated Errors (e.g., false predictions, repetitions) and Human Errors (e.g., typos, homophones).
  2. Context-Aware Sampling: The system doesn't just inject errors randomly. It uses a regex-based labeling system to identify "tags" (like medical devices or measurements) within a report. Errors like "Change Position of Device" are only sampled if a device is actually present, ensuring clinical plausibility.
  3. Error Injection (GPT-4o): The pipeline uses GPT-4o to rewrite reports based on a sophisticated sampling strategy. The model is prompted to inject three errors per report while maintaining the overall structure and believability of the medical text.
  4. Sentence-Level Splicing (Llama 3.1): To create fine-grained data, the authors used Llama 3.1 to map original sentences to their erroneous counterparts. This allows for the creation of datasets for sentence-level entailment tasks, where each sentence is labeled as "correct," "error," or "neutral."
Summary of ReXErr error generation pipeline

Datasets

The authors demonstrated ReXErr using the MIMIC-CXR dataset, a large, publicly available database of chest radiographs and free-text reports. They applied the pipeline across the standard train, dev, and test splits to ensure a consistent distribution of synthetic errors for downstream model training.

Key Insights and Ideas

  • Plausibility over Randomness: The authors emphasize that for synthetic data to be useful, errors must be "plausible"—mistakes that a human or AI could realistically make. This is achieved through the context-dependent sampling described in Figure 2.
  • The "Neutral" Category: A key insight in their sentence-level labeling is the inclusion of a "neutral" label for sentences referencing prior reports or scans. These sentences cannot be judged as correct or incorrect without external context, a nuance often missed in simpler NLP tasks.
  • Radiologist-in-the-Loop: The error taxonomy wasn't just derived from literature; it was built by analyzing actual failures in state-of-the-art AI models and consulting directly with clinicians to capture the "flavor" of human mistakes.
Summary of the errors incorporated within the ReXErr pipeline

Key Results

  • High Plausibility: In a blinded review of 100 synthetic reports, a clinician found 83% of the modified reports to be plausible, meaning the errors successfully mimicked real-world scenarios.
  • Consistent Distribution: The sampling strategy maintained a stable frequency of error types across different dataset splits, though context-dependent errors (like measurement changes) naturally occurred less frequently due to their rarity in the source text.
  • Effective Splicing: The pipeline successfully generated side-by-side comparisons of original vs. erroneous sentences, as shown in Figure 5, providing a clear roadmap for training error-detection models.
Examples of ground truth and error reports generated through ReXErr

Limitations and Future Work

While ReXErr is proficient at generating errors, it occasionally struggles with cross-sectional consistency. For instance, it might change a finding in the "Findings" section but fail to update the corresponding "Impression" section, creating a discrepancy that is easy for a human to spot but might confuse a model.

Future work involves refining the prompts to ensure these sections remain synchronized and using the ReXErr-generated datasets to train and benchmark new autonomous error-correction models that can eventually be integrated into clinical workflows.

Summary updated

BibTeX
@misc{rao2024rexerr,
  author = {Vishwanatha M. Rao and Serena Zhang and Julian N. Acosta and Subathra Adithan and Pranav Rajpurkar},
  title = {{ReXErr: Synthesizing Clinically Meaningful Errors in Diagnostic Radiology Reports}},
  year = {2024},
  eprint = {2409.10829},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.10829},
}
Figure