Abstract & Overview
Accurate diagnosis of lung diseases via chest X-rays remains challenging due to subtle pathological patterns, class imbalance, and the opacity of conventional deep learning models. While convolutional neural networks excel in feature extraction, their "black-box" nature and poor interpretability hinder clinical trust, particularly in resource-constrained settings. To address these limitations, we propose a novel hybrid architecture integrating VGG-16 with TabNet, synergizing hierarchical spatial feature extraction with attention-driven interpretability. The model leverages VGG-16’s convolutional layers to capture granular details, while TabNet’s sequential attention masks dynamically prioritize discriminative features, quantifying their clinical relevance. Trained on a dataset of 2,590 chest X-rays (COPD, tuberculosis, pneumonia, and normal cases) from Nigerian hospitals, the model achieved state-of-the-art performance with 97% accuracy, surpassing ResNet-50 (95.7%) and standalone VGG-16 (94.7%). Preprocessing, including non-local means denoising and targeted augmentation, mitigates noise and class imbalance, yielding F1-scores exceeding 97% for COPD and pneumonia, with AUC values above 0.98 across all classes. The model’s interpretability is validated through attention maps highlighting disease-specific radiological markers, such as hyperinflation in COPD and consolidations in pneumonia, aligning with clinical expertise. Deployed as a real-time Android application optimized for low-end devices, the solution achieves inference in <1 second offline, addressing infrastructural barriers in low-resource regions. The model advances equitable healthcare delivery, demonstrating generalizability across demographic subgroups (accuracy deviation ≤1.2%) and compliance with emerging regulatory standards for trustworthy AI. This innovation establishes a scalable paradigm for interpretable, high-performance lung disease detection, with transformative potential for global health equity.