Research
MedGemma vs GPT-4: Open-Source and Proprietary Zero-shot Medical Disease Classification from Images
Overview Research area: Medical imaging with multimodal large language models, specifically zero-shot disease classification from images. Technical level: Intermediate. The paper assumes some familiar

- arXiv
- 2512.23304
- Published
- 2025-12-29
- Authors
- Md. Sazzadul Islam Prottasha, Nabil Walid Rafi
AI summary
Overview
Research area: Medical imaging with multimodal large language models, specifically zero-shot disease classification from images.
Technical level: Intermediate. The paper assumes some familiarity with multimodal LLMs, parameter-efficient fine-tuning (LoRA), and standard classification evaluation tools such as confusion matrices.
Scope: A head-to-head comparison of one open-source, domain-tuned medical model (MedGemma) against one proprietary general-purpose multimodal model (GPT-4) on classifying six diseases from medical images.
What This Paper Is About
General-purpose multimodal models like GPT-4 bring broad world knowledge to medical images but were not built specifically for clinical diagnosis. Specialized, open-source medical agents like MedGemma are designed for that setting. This study compares the two directly across six diseases, asking whether domain-specific fine-tuning produces meaningfully better diagnostic accuracy and safety than prompting a large proprietary model as-is.
Key Contributions
- A direct, critical comparison between two fundamentally different architectures: a specialized open-source medical agent and a proprietary general-purpose large multimodal model.
- An evaluation of MedGemma-4b-it adapted with Low-Rank Adaptation (LoRA) against untuned GPT-4 for diagnosing six distinct diseases from images.
- A quantitative performance breakdown using confusion matrices and classification reports across all disease categories, rather than a single aggregate score.
- An assessment of sensitivity in high-stakes clinical tasks, including cancer and pneumonia detection, alongside an argument about hallucinations in clinical deployment.
Main Findings
- MedGemma leads on mean accuracy: The LoRA-tuned MedGemma-4b-it reached a mean test accuracy of 80.37%, compared with 69.58% for untuned GPT-4.
- Higher sensitivity where it counts most: MedGemma showed notably higher sensitivity in high-stakes tasks such as cancer and pneumonia detection.
- Per-category detail is reported, not just an aggregate: The authors used confusion matrices and classification reports to characterize behavior across all six disease categories. The abstract does not state the per-category numbers.
- Fine-tuning is framed as a safety mechanism: The authors conclude that domain-specific fine-tuning is essential for minimizing hallucinations in clinical use.
- Positioning claim: MedGemma is presented as a tool for complex, evidence-based medical reasoning rather than a general-purpose substitute.
Methodology in Plain English
The authors took a specialized open-source medical multimodal model, MedGemma-4b-it, and adapted it to the disease classification task using LoRA, a lightweight fine-tuning technique that adjusts a small number of parameters instead of retraining the whole model. They compared it against GPT-4 used without any task-specific tuning. Both models were asked to classify medical images into one of six disease categories. Performance was then measured with mean test accuracy, and the authors inspected confusion matrices and classification reports to see how errors were distributed across categories, with particular attention to sensitivity on cancer and pneumonia. The abstract does not describe the dataset, image sources, prompt design, or the number of test cases.
Why This Matters
This work speaks to a practical question facing anyone deploying AI in a clinical or health-adjacent setting: pay for a large proprietary model and prompt it, or adopt a smaller open-source model and tune it for the domain? The authors' results point toward the latter for diagnostic tasks.
Impact on research: It adds evidence that domain-specific adaptation of open models can outperform much larger general-purpose models on narrow medical classification, and it argues for reporting per-category metrics rather than a single headline number.
Real-world applications:
- Triage or first-pass screening of medical images in settings where a full specialist read is unavailable.
- Cancer and pneumonia detection support, where the authors report MedGemma's sensitivity advantage.
- Deployment in resource-constrained or privacy-sensitive environments, since an open-source, locally runnable model avoids sending patient images to a proprietary API.
- Quality-control or second-reader tools that flag images for human review.
Industry relevance: The finding favors open-weight, tunable models over API-only proprietary systems for regulated clinical workflows, where auditability, local deployment, and control over hallucination risk matter. It also gives smaller medical AI teams a signal that a compact tuned model can be competitive without frontier-scale compute.
Future Directions
- Establishing whether the advantage holds with a fine-tuned or otherwise adapted GPT-4, since the abstract describes the GPT-4 baseline as untuned.
- Testing generalization beyond the six diseases studied, including rare conditions and images from different scanners, populations, or institutions.
- Quantifying and reducing hallucinations directly, rather than inferring hallucination risk from accuracy and sensitivity figures.
- Moving from classification accuracy toward clinical outcomes, such as whether model-assisted reads change diagnosis or treatment decisions.
Target Audience
Medical AI researchers and engineers deciding between open-source and proprietary multimodal models; clinicians and informatics teams evaluating AI for diagnostic support; and readers interested in how parameter-efficient fine-tuning of small domain-specific models compares with large general-purpose models. The paper is also relevant to regulators and hospital procurement groups weighing deployment and data-privacy trade-offs.
Note: only the abstract was available for this summary. Dataset details, per-category results, and any additional baselines are not described in it.
Authors’ abstract
Multimodal Large Language Models (LLMs) introduce an emerging paradigm for medical imaging by interpreting scans through the lens of extensive clinical knowledge, offering a transformative approach to disease classification. This study presents a critical comparison between two fundamentally different AI architectures: the specialized open-source agent MedGemma and the proprietary large multimodal model GPT-4 for diagnosing six different diseases. The MedGemma-4b-it model, fine-tuned using Low-Rank Adaptation (LoRA), demonstrated superior diagnostic capability by achieving a mean test accuracy of 80.37% compared to 69.58% for the untuned GPT-4. Furthermore, MedGemma exhibited notably higher sensitivity in high-stakes clinical tasks, such as cancer and pneumonia detection. Quantitative analysis via confusion matrices and classification reports provides comprehensive insights into model performance across all categories. These results emphasize that domain-specific fine-tuning is essential for minimizing hallucinations in clinical implementation, positioning MedGemma as a sophisticated tool for complex, evidence-based medical reasoning.