Weakly Supervised Pneumonia Localization from Chest X-Rays Using Deep Neural Network and Grad-CAM Explanations

AI-generated keywords: Weakly supervised deep learning

AI-generated Key Points

  • Weakly supervised deep learning framework for pneumonia classification and localization from chest X-rays
  • Utilizes Grad-CAM explanations to generate clinically meaningful heatmaps highlighting regions affected by pneumonia
  • Evaluation of seven ImageNet-pretrained architectures under identical training conditions with focal loss and patient-wise splits
  • ResNet-18 and EfficientNet-B0 achieved highest overall test accuracy of 98%, ROC-AUC of 0.997, and F1 score of 0.987
  • MobileNet-V2 offered a good balance between accuracy and computational cost
  • Models focused on clinically relevant lung regions according to Grad-CAM visualizations
  • Emphasizes potential of weakly supervised explainable models in enhancing transparency in pneumonia screening and building clinical trust in AI-assisted medical imaging
  • Further enhancements include radiologist reader studies and mobile deployment optimizations to strengthen clinical relevance and translational impact
Also access our AI generated: Comprehensive summary, Lay summary, Blog-like article; or ask questions about this paper to our AI assistant.

Authors: Kiran Shahi, Anup Bagale

License: CC BY 4.0

Abstract: This study proposes a weakly supervised deep learning framework for pneumonia classification and localization from chest X-rays, utilizing Grad-CAM explanations. Instead of costly pixel-level annotations, our approach utilizes image-level labels to generate clinically meaningful heatmaps that highlight regions affected by pneumonia. We evaluate seven ImageNet-pretrained architectures ResNet-18/50, DenseNet-121, EfficientNet-B0, MobileNet-V2/V3, and ViT-B16 under identical training conditions with focal loss and patient-wise splits to prevent data leakage. Experimental results on the Kermany CXR dataset demonstrate that ResNet-18 and EfficientNet-B0 achieve the best overall test accuracy of 98\%, ROC-AUC = 0.997, and F1 = 0.987, while MobileNet-V2 provides an optimal trade-off between accuracy and computational cost. Grad-CAM visualizations confirm that the proposed models focus on clinically relevant lung regions, supporting the use of interpretable AI for radiological diagnostics. This work highlights the potential of weakly supervised explainable models that enhance pneumonia screening transparency, and clinical trust in AI-assisted medical imaging. https://github.com/kiranshahi/pneumonia-analysis

Submitted to arXiv on 01 Nov. 2025

Ask questions about this paper to our AI assistant

You can also chat with multiple papers at once here.

AI assistant instructions?

Results of the summarizing process for the arXiv paper: 2511.00456v1

, , , , This study presents a weakly supervised deep learning framework for pneumonia classification and localization from chest X-rays, utilizing Grad-CAM explanations. By leveraging image-level labels instead of costly pixel-level annotations, the approach generates clinically meaningful heatmaps highlighting regions affected by pneumonia. Seven ImageNet-pretrained architectures were evaluated under identical training conditions with focal loss and patient-wise splits to prevent data leakage. Results on the Kermany CXR dataset show that ResNet-18 and EfficientNet-B0 achieved the highest overall test accuracy of 98%, ROC-AUC of 0.997, and F1 score of 0.987, while MobileNet-V2 offered a good balance between accuracy and computational cost. The Grad-CAM visualizations confirmed that the models focused on clinically relevant lung regions, supporting their interpretability for radiological diagnostics. The study emphasizes the potential of weakly supervised explainable models in enhancing transparency in pneumonia screening and building clinical trust in AI-assisted medical imaging. Further enhancements to the framework include radiologist reader studies and mobile deployment optimizations to strengthen its clinical relevance and translational impact. Overall, this research underscores how explainable and weakly supervised deep learning methods can bridge the gap between black-box image classification and clinically interpretable decision support for pneumonia detection. The author contributions include conceptualization, methodology, software development by K.S., data curation and original draft preparation by both K.S. and A.B., visualization and investigation by both authors, supervision by K.S., validation by both authors, as well as reviewing and editing of the manuscript. The research received no external funding. The dataset used is publicly available (Kermany dataset), with the source code supporting the findings accessible at https://github.com/kiranshahi/pneumonia-analysis. The study acknowledges the use of the Chest X-ray dataset by Kerman. In conclusion, this work demonstrates how explainable AI models can enhance pneumonia detection through transparent heatmaps while maintaining clinical interpretability for improved medical imaging outcomes.
Created on 05 Nov. 2025

Assess the quality of the AI-generated content by voting

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Similar papers summarized with our AI tools

Navigate through even more similar papers through a

tree representation

Look for similar papers (in beta version)

By clicking on the button above, our algorithm will scan all papers in our database to find the closest based on the contents of the full papers and not just on metadata. Please note that it only works for papers that we have generated summaries for and you can rerun it from time to time to get a more accurate result while our database grows.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.