Evaluating ChatGPT's Performance in Classifying Pneumonia from Chest X-Ray Images

Pragna Prahallad, Pranathi Prahallad
10/22/2025
cs.CVcs.AI

No confident code implementation found for this paper.

Abstract

In this study, we evaluate the ability of OpenAI's gpt-4o model to classify chest X-ray images as either NORMAL or PNEUMONIA in a zero-shot setting, without any prior fine-tuning. A balanced test set of 400 images (200 from each class) was used to assess performance across four distinct prompt designs, ranging from minimal instructions to detailed, reasoning-based prompts.

Show full abstract

The results indicate that concise, feature-focused prompts achieved the highest classification accuracy of 74\%, whereas reasoning-oriented prompts resulted in lower performance. These findings highlight that while ChatGPT exhibits emerging potential for medical image interpretation, its diagnostic reliability remains limited. Continued advances in visual reasoning and domain-specific adaptation are required before such models can be safely applied in clinical practice.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{prahallad2025evaluating,
  title  = {Evaluating ChatGPT's Performance in Classifying Pneumonia from Chest X-Ray Images},
  author = {Pragna Prahallad and Pranathi Prahallad},
  year   = {2025},
  eprint = {2510.21839},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.21839v1}
}

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

Discussion