Enhancing Chest X-Ray Classification with Retrieval-Augmented OpenAI GPT Models
In this study, we introduce an innovative method to enhance the classification of Chest X-Ray (CXR) images by integrating retrieval-augmented capabilities of OpenAI's GPT models. The proposed methodology involves encoding CXR reports using a pre-trained text encoder, analyzing X-ray images with GPT-4 to generate descriptive text, encoding these GPT-4 outputs, and then matching them to a database of encoded CXR report vectors for similarity. The most similar report vector is combined with the GPT-4 output vector and input into DenseNet201, a convolutional neural network, for disease classification. We evaluate the performance of our model using the CXR-14 dataset, which includes <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{1 0, 0 0 0}$</tex> X-ray images across five target pathologies: Pneumonia, Effusion, Cardiomegaly, Edema, and Emphysema. The dataset is carefully curated to ensure an even distribution of positive and negative cases for each condition. Our experimental results demonstrate that our model achieves comparable performance to established models such as GoogleNet and ResNet50 across the five thoracic pathologies, with AUC values ranging from 78.6% to 87.4%. This study highlights the potential of integrating retrievalaugmented GPT models with deep learning architectures for improved diagnostic accuracy in chest X-ray image classification.
Authors
- Weicheng Lu (ORCID: https://orcid.org/0000-0001-6498-0931)
- Xia Chen (ORCID: https://orcid.org/0000-0003-0186-7821)
- Han He (ORCID: https://orcid.org/0000-0002-7093-7451)
- Yake Xue
Institutions
- University of Wisconsin–Milwaukee (US)
- City University of Macau (MO)
Publication Details
- Published
- 2025-03-21
- DOI
- https://doi.org/10.1109/icnlp65360.2025.11108514
- Primary Topic
- COVID-19 diagnosis using AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00