Related Experiment Video
Updated: Jul 6, 2026

07:30
Electromagnetic Navigation Transthoracic Nodule Localization for Minimally Invasive Thoracic Surgery
Published on: May 4, 2022
Capsule Neural Networks with Bayesian Optimization for Pediatric Pneumonia Detection from Chest X-Ray Images
Szymon Salamon1, Wojciech Książek1
1Department of Computer Science, Faculty of Computer Science and Mathematics, Cracow University of Technology, 31-155 Cracow, Poland.
Journal of Clinical Medicine
|October 29, 2025
Summary
This study developed an AI model using capsule networks and Bayesian optimization for early pneumonia detection in children from X-rays. The model achieved high accuracy, showing promise for clinical applications in medical image analysis.
Area of Science:
- Artificial Intelligence
- Medical Imaging
- Pediatric Pneumonia Diagnosis
Background:
- Pneumonia in children is a significant health threat requiring prompt detection.
- Artificial intelligence (AI) offers potential solutions for improving diagnostic accuracy.
- Early identification of pediatric pneumonia is crucial for effective treatment and improved outcomes.
Purpose of the Study:
- To develop and evaluate an AI model for predicting childhood pneumonia using chest X-ray images.
- To leverage capsule networks and Bayesian optimization for enhanced diagnostic performance.
- To assess the clinical relevance and explainability of the AI model's predictions.
Main Methods:
- Chest X-ray images were preprocessed and divided into training, validation, and testing sets.
- A capsule neural network model was designed and optimized using Bayesian optimization.
- Explainability analysis was performed using Grad-CAM to interpret model predictions.
Main Results:
- The AI model achieved high performance metrics, including 95.1% accuracy, 98.9% sensitivity, and 85.4% specificity.
- The model demonstrated strong predictive values with a positive predictive value (PPV) of 94.8% and negative predictive value (NPV) of 96.2%.
- Grad-CAM analysis confirmed that the model's predictions were based on clinically relevant pulmonary regions.
Conclusions:
- The proposed AI model exhibits high accuracy and reliability for pediatric pneumonia detection from chest X-rays.
- The model shows significant potential for integration into clinical practice to aid in early diagnosis.
- The methodology can be extended to other medical image analysis tasks, highlighting its versatility.

