Abstract
This paper introduces RadPrompt, a hybrid methodology that integrates the structured precision of rule-based systems with the reasoning capabilities of Large Language Models (LLMs) to classify radiology reports. By utilizing a specialized tool called RadPert to provide structured "critiques" to an LLM in a multi-turn conversation, the researchers achieved state-of-the-art performance in extracting clinical findings from chest X-ray reports. The approach significantly improves uncertainty detection and demonstrates that LLMs can effectively refine their logic when guided by rule-based evidence.
Introduction
Training medical imaging AI requires massive amounts of labeled data, often obtained through "distant supervision"—extracting labels from free-text radiology reports. The current industry standard, CheXpert, relies on rigid "if-then" rules that often struggle with the complexities of human language, such as complex negations or varied sentence structures. While LLMs offer superior contextual understanding, they are prone to hallucinations or missing subtle medical nuances. RadPrompt seeks a "best of both worlds" approach: combining the reliability of medical rules with the flexibility of modern AI.
Methodology
The authors developed two primary components to bridge this gap:
- RadPert (The Rule-Based Expert): Built on the RadGraph knowledge graph, RadPert treats reports as a network of entities (e.g., "Anatomy" and "Observation") and relations. It uses hand-crafted rules to identify 13 common pathologies and determine if they are present, absent, or uncertain.
- RadPrompt (The Multi-Turn Strategy): This core innovation uses a two-turn dialogue. First, the LLM provides an initial classification. Second, RadPert analyzes the report independently, and its findings are presented to the LLM as "hints" (e.g., agreement on one pathology but a suggestion of uncertainty on another). The LLM then reconciles its initial logic with this evidence to produce a final label.
Datasets and Evaluation
The methodology was evaluated on two English-language corpora:
- MIMIC-CXR Gold Standard: A widely used public dataset with expert-verified labels.
- CUH Dataset: A new gold-standard dataset from Cambridge University Hospitals, consisting of 650 reports annotated by a consultant radiologist, used for external validation.
Key Results
RadPrompt demonstrated significant performance gains across multiple benchmarks:
- RadPert vs. SOTA: RadPert achieved an 8.0% improvement in weighted average F1 score over CheXpert on the MIMIC-CXR dataset.
- RadPrompt Performance: Using GPT-4 Turbo or Claude-3 Sonnet, RadPrompt achieved statistically significant improvements over zero-shot baselines. Smaller open-source models like Llama-2 70B saw massive gains of up to 12.5% when using the RadPrompt strategy.
- Uncertainty Detection: RadPert’s strongest improvement was in identifying when a doctor is unsure (e.g., "cannot exclude pneumonia"), a task traditionally difficult for NLP.
Discussion and Insights
The research highlights a powerful synergy: LLMs can effectively use structured critiques to correct their own reasoning errors. RadPert acts as a "tether," pulling the LLM back to the literal evidence in the report when it might otherwise "read between the lines." Furthermore, RadPert is highly efficient, running in seconds on standard hardware with a minimal carbon footprint compared to LLMs.
Limitations include a current focus on English-language chest X-ray reports and a specific set of 13 pathologies. Future work will explore expanding the system to other imaging modalities (like CT or MRI) and resolving discrepancies between report-derived labels and image-derived labels.
Conclusion
RadPrompt represents a significant step forward in automated medical labeling. By combining the structured logic of rule-based systems with the generative power of LLMs, it provides a more accurate and reliable method for generating the large-scale datasets necessary for the next generation of medical AI.
Summary updated