Exploring the Boundaries of GPT-4 in Radiology

Qianchu Liu, Stephanie L. Hyland, Shruthi Bannur, Kenza Bouzid, Daniel C. Castro, Maria Wetscherek, Robert Tinn, Harshita Sharma, Fernando Pérez-García, Anton Schwaighofer, Pranav Rajpurkar, Sameer Tajdin Khanna, Hoifung Poon, Naoto Usuyama, Anja Thieme, Aditya V. Nori, Matthew P. Lungren, Ozan Oktay, Javier Alvarez-Valle

Introduction: The Shift Toward Foundation Models

In medical AI, the prevailing strategy has been the development of "narrow" models—specialized tools trained on specific datasets for singular tasks, such as summarizing chest X-ray findings. While effective, these models are resource-intensive to train, require vast amounts of labeled data, and often lack robustness when applied to novel clinical reports from different institutions.

The emergence of general-domain large language models (LLMs) like GPT-4 suggests a potential shift toward "foundation models" capable of handling diverse tasks out of the box. However, radiology is a high-stakes domain where nuance and precision are paramount. This study investigates whether GPT-4 is ready for clinical workflows by comparing it against specialized state-of-the-art (SOTA) models across seven distinct radiology text tasks.

Advanced Prompting and Evaluation

The researchers moved beyond simple queries, employing sophisticated prompting techniques to maximize GPT-4's clinical utility. These included:

  • Chain-of-Thought (CoT): Encouraging the model to "think step-by-step" before reaching a conclusion.
  • Few-Shot & Similarity-Based Selection: Providing the model with relevant examples to guide its output format and logic.
  • Self-Consistency (SC): Using majority voting across multiple model outputs to improve stability.
  • Uncertainty Deferral: Allowing the model to flag ambiguous cases, which significantly improved accuracy on the remaining data.
Performance of models with and without Chain-of-Thought (CoT) prompting across different levels of domain expertise.

To ensure clinical validity, a board-certified radiologist performed a qualitative error analysis, distinguishing between genuine medical mistakes and "label noise" where the dataset's ground truth was flawed. This analysis revealed that GPT-4 often identified genuine ambiguities in reports that human annotators had overlooked.

Benchmarking on Clinical Datasets

GPT-4 was evaluated on several gold-standard radiology datasets to test its breadth of knowledge:

  • MS-CXR-T: Used for temporal sentence similarity and disease progression classification.
  • RadNLI: A dataset for Natural Language Inference (determining if clinical statements entail or contradict one another).
  • Chest ImaGenome: Used for sentence-level disease classification.
  • RadGraph: Used for extracting clinical entities and their relations.
  • MIMIC-CXR & Open-i: Large-scale datasets used for findings summarization.

Performance and Clinical Accuracy

The results demonstrate that GPT-4 frequently matches or exceeds the performance of specialized models. Notably, for tasks requiring logical reasoning like sentence similarity, GPT-4 achieved a ~10% absolute improvement over SOTA using only zero-shot prompting.

Summary of GPT-4 performance across seven radiology tasks compared to state-of-the-art (SOTA) models.

Key findings include:

  • New SOTA Benchmarks: GPT-4 set new records for Natural Language Inference (89.3 macro F1) and Temporal Sentence Similarity (97.3% accuracy).
  • Low Mistake Rates: In disease classification and progression tasks, GPT-4's actual mistake rate was less than 1% after filtering for ambiguous cases.
  • Human-Level Summarization: In 70% of cases, a radiologist found GPT-4's summaries to be equivalent or superior to original human-written impressions.
  • Generalization: GPT-4 showed superior performance on out-of-distribution datasets, suggesting it is more robust than narrow models to variations in hospital data.

Insights: Knowledge vs. Schema

A critical insight from the study is that many of GPT-4's "errors" were not medical in nature but rather failures to adhere to specific dataset "schemas" or formatting quirks. When provided with a few examples of the desired style (few-shot prompting), performance improved significantly. This suggests that GPT-4 possesses deep medical domain knowledge that is often limited more by dataset-specific labeling conventions than by actual clinical ignorance.

Limitations and Future Work

Despite its performance, GPT-4 faces hurdles for clinical adoption. API costs and latency are currently significantly higher than those of smaller, local specialized models. Additionally, this study was limited to text-based tasks; future evaluations must include multimodal models (like GPT-4V) to assess performance on actual medical imagery. Finally, the sensitivity to prompt engineering suggests that "unlocking" the model's full potential still requires careful design for specific clinical contexts.

Summary updated

BibTeX
@inproceedings{liu2023exploring,
  author = {Qianchu Liu and Stephanie L. Hyland and Shruthi Bannur and Kenza Bouzid and Daniel C. Castro and Maria Wetscherek and Robert Tinn and Harshita Sharma and Fernando Pérez-García and Anton Schwaighofer and Pranav Rajpurkar and Sameer Tajdin Khanna and Hoifung Poon and Naoto Usuyama and Anja Thieme and Aditya V. Nori and Matthew P. Lungren and Ozan Oktay and Javier Alvarez-Valle},
  title = {{Exploring the Boundaries of GPT-4 in Radiology}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.891},
}
Figure