Skip to content
Open access

Integrating Local and Global Representation Learning for Pediatric Pneumonia Detection: A Hybrid CNN–Transformer Ensemble Framework

Jul 2026 · Diagnostics · Vol 16 · 1 citation · 41 references
Medicine

Abstract

Background/Objectives: Pneumonia remains a leading cause of childhood morbidity and mortality worldwide. Accurate interpretation of pediatric chest radiographs is challenging because of anatomical variability, subtle radiographic findings, and inter-observer variability. This study evaluates different CNN–Transformer ensemble strategies for pediatric pneumonia detection by combining complementary local and global image representations. Methods: Experiments were conducted on the publicly available Pediatric Pneumonia Chest X-ray dataset containing 5856 radiographs. EfficientNetV2-S was used to extract local features, whereas Swin Transformer-T modeled global anatomical relationships. Soft voting, weighted voting, and stacking were evaluated under a unified training protocol. Image preprocessing, data augmentation, and Weighted Random Sampling were applied to improve robustness and address class imbalance. Performance was assessed using an independent hold-out test set and five-fold cross-validation. Grad-CAM was used to interpret model predictions. Results: Ensemble learning improved classification performance compared with individual models while revealing different trade-offs among fusion strategies. The Soft Ensemble achieved the highest hold-out accuracy (96.96%) and F1-score (97.59%). The Hybrid CNN–Transformer Stacking model achieved the highest sensitivity (99.49%) and produced the fewest false-negative predictions (n = 2), while demonstrating the most consistent performance across five-fold cross-validation. Grad-CAM visualizations indicated that the CNN and Transformer models captured complementary radiographic information. Conclusions: The proposed framework demonstrates that different ensemble strategies offer distinct advantages. Soft voting provided the best overall hold-out performance, whereas stacking minimized false-negative predictions and achieved the highest sensitivity, indicating its potential for AI-assisted pediatric pneumonia screening.

Read PDF

Similar papers

Open access Aug 2026

Analysis of CNN-Based Deep Learning Architectures and Performance Enhancement Strategies for Pneumonia Classification Using Chest X-Ray Images

These findings demonstrate that reliable medical AI systems require systematic optimization of preprocessing techniques, model architecture, data augmentation strategies, and clinically meaningful evaluation metrics rather than maximizing a single performance indicator.

YongJun Kim, Ji-Yeoun Lee · 0 citations
Open access Aug 2026

Pediatric vs. Adult Pneumonia Detection: Quantifying Age-related Generalization Gaps in Zero-shot Multimodal Large Language Models.

Zero-shot multimodal LLMs show large age-related generalization gaps and clinically relevant error asymmetries in pediatric chest radiography, whereas a domain-trained convolutional neural network remains robust within its training domain.

Matteo Haupt, Martin H. Maurer · 0 citations
Open access Aug 2026

XAI-Enhanced Hybrid CNN–Transformer Framework For Multi-Class Lung Disease Classification

The results suggest that the hybrid CNN-Transformer model provides a strong level of diagnostic accuracy and meaningfully understood visual rationale so it can serve as an excellent decision support mechanism for hospitals and radiologists in their daily operations.

Prasanna Pabba, N. S. Chaitanya, M. Ravikanth et al. · 0 citations
Open access Aug 2026

Multicenter cross domain evaluation of CNNs and vision transformers trained on adult data for pediatric pneumonia screening

The evaluated convolutional neural networks and vision transformers showed comparatively favorable and stable cross-domain behavior, although no architecture eliminated the adult-to-pediatric domain shift, which underscores the need for further pediatric-specific external validation before clinical translation.

Yu-Tao Li, Junghun Kim, Sang-Il Choi · 0 citations
Open access Aug 2026

Comparative Analysis of Image Augmentation and Class Weighting on ResNet50-CBAM for Pneumonia Detection from Chest X-Ray Images

It is demonstrated that integrating image augmentation and class weighting within the ResNet50-CBAM framework effectively mitigates class imbalance and improves the reliability of automated pneumonia classification.

Kafilah Akhmad Fatahillah, T. H. Saragih, D. Kartini et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.