RNNet-MST: A ResNet-50 with Multi-Scale Transformer Blocks for Pulmonary Nodule Classification and Attention-Based Localization on Chest X-Ray Images
Background/Objectives: Lung cancer survival depends on early detection; however, in the Philippines, high radiologist workloads and the anatomical complexity of chest X-rays (CXRs) contribute to missed pulmonary nodules and false-negative diagnoses. This study aims to develop an enhanced deep learning model to improve nodule classification and localization sensitivity. Methods: We propose RNNet-MST, an extension of ResNet-50 that incorporates Multi-Scale Transformer blocks for global context modeling and a custom spatial attention mechanism for attention-based weak localization of disease-relevant regions. The model was trained and evaluated on the NODE21 chest X-ray dataset and compared with a baseline ResNet-50 using classification metrics, with attention maps used for weak localization analysis. Results: RNNet-MST demonstrated consistent improvements over the baseline ResNet-50 across evaluated metrics. Mean Nodule Recall improved from 88.02 ± 1.92% to 91.55 ± 1.41%, reducing false negatives. Mean Test Precision reached 90.46 ± 0.99%, and mean Nodule F1-Score improved to 90.99 ± 0.39%. On the isolated small-nodule subset, RNNet-MST achieved a 12.3% improvement in sensitivity over the baseline. Conclusions: The integration of multi-scale transformer features improved classification sensitivity, while the attention mechanism provided weak localization cues that aligned more closely with annotated nodule regions than the baseline. RNNet-MST shows potential as a diagnostic support tool, warranting further validation on larger and more diverse clinical datasets to reduce perceptual errors and facilitate early lung cancer detection in resource-constrained settings.
Authors
- Khatalyn E. Mata
- Rose Anna R. Banal
- Wei-Ta Chu (ORCID: https://orcid.org/0000-0001-5722-7239)
- Hernando S. Salapare (ORCID: https://orcid.org/0000-0002-8914-1592)
- Dan Michael A. Cortez (ORCID: https://orcid.org/0000-0001-8666-8105)
- Ymir M. Garcia
- Edrill F. Bilan
- Emman T. Manduriaga (ORCID: https://orcid.org/0009-0007-1683-0729)
- Imelda C. Ang
Institutions
- Centre National de la Recherche Scientifique (FR)
- Mapúa University (PH)
- University of the City of Manila (PH)
- University of Makati (PH)
- Institut de Sciences des Matériaux de Mulhouse (FR)
- National Cheng Kung University (TW)
Publication Details
- Journal
- Diagnostics
- Published
- 2026-05-21
- DOI
- https://doi.org/10.3390/diagnostics16101574
- Primary Topic
- COVID-19 diagnosis using AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00