Pneumonia Detection from Chest X-Rays Using ResNet18 Transfer Learning and Grad-CAM Explainability
编号:50
访问权限:仅限参会人
更新:2026-11-20 03:22:09
浏览:54次
Online
摘要
This study compares a convolutional neural network (CNN) trained from scratch with an ImageNet-pretrained ResNet18 model for binary classification of pediatric chest X-rays as normal or pneumonia. Gradient-weighted class activation mapping (Grad-CAM) provides qualitative visual explanations of model predictions. The recorded pipeline resizes RGB images to 224 × 224 pixels and uses cross-entropy loss for training. The saved notebook reports 2,831 training images and an evaluation set of 624 images, comprising 234 normal and 390 pneumonia cases. Initial evaluation accuracies were 75.64% for the CNN and 85.74% for ResNet18, a difference of 10.10 percentage points. The saved ResNet18 confusion matrix contains 388 true positives, 147 true negatives, 87 false positives, and two false negatives, yielding sensitivity of 99.49%, specificity of 62.82%, precision of 81.68%, and an F1-score of 89.71%. These results show high sensitivity alongside a substantial false-positive rate. Grad-CAM overlays illustrate model activation but do not establish medically validated lesion localization. Repeated use of the evaluation directory during development and incomplete training-run provenance limit interpretation. The study provides an applied comparison of established classification methods and qualitative explainability, with independent evaluation and improved reproducibility required before considering clinical use.
关键词
Chest radiography;Pneumonia;ResNet18;Transfer learning;CNN;Grad-CAM;Explainable AI
稿件作者
SOLOMON RAJAN P
Karunya University *
G NAVEEN SUNDAR
Karunya University *
D NARMADHA
Karunya University *
发表评论