Abstract
Thoracic disease classification in chest X-rays (CXRs) is often hindered by the low signal-to-noise ratio of pathological features compared to normal anatomy. This paper introduces CXR-IRNet, a deep learning framework designed to prioritize lung and heart regions through anatomical segmentation and multi-scale attention. By "zeroing out" irrelevant background noise, the model achieves state-of-the-art results on the Chest X-ray14 benchmark, demonstrating superior classification and localization capabilities.
Introduction
Diagnosing thoracic diseases from CXRs is a high-volume task requiring significant expertise. While deep learning has shown promise, standard global learning strategies often struggle because pathological cues, such as small nodules, occupy only a fraction of the image. Consequently, discriminative features can be obscured by non-pathological structures like ribs or shoulders. CXR-IRNet addresses this by leveraging anatomical domain knowledge to identify disease-specific cues in a weakly supervised manner, using only image-level labels.
Methodology
The CXR-IRNet framework consists of three primary components designed to isolate and amplify relevant signals:
- Multi-scale Attention Module: This module employs multiple convolutional kernel sizes (5x5 and 9x9) to capture features across different spatial scales. This allows the model to detect both large-scale abnormalities, such as cardiomegaly, and subtle textures like nodules.
- Pixel-wise Segmentation: A U-Net model, pre-trained on the JSRT dataset, provides precise segmentation of the left lung, right lung, and heart. This generates a binary mask that defines the regions of interest.
- Feature Weighting: Rather than simple feature fusion, the model performs element-wise multiplication between the global attention map and the anatomical mask. This operation effectively "zeroes out" features outside the lungs and heart, forcing the classifier to focus on areas where thoracic diseases typically manifest.
The classification backbone utilizes a pre-trained DenseNet-121 for efficient feature extraction.
Experimental Setup
The model was evaluated using the following datasets:
- Chest X-ray14: The primary classification dataset, containing 112,120 frontal-view images labeled with 14 thoracic diseases.
- JSRT Dataset: Used for training the U-Net segmentation model.
- Box Set: A subset of 984 images with hand-labeled bounding boxes used to validate localization accuracy.
Results and Analysis
CXR-IRNet established a new state-of-the-art on the Chest X-ray14 benchmark with an average AUROC of 0.8335, outperforming CheXNet (0.8105) and AGCNN (0.8221). Notable gains were observed in challenging categories like Infiltration (0.7901) and Nodule (0.8377).
Qualitative analysis via heatmaps demonstrates the model's ability to accurately localize pathologies. In quantitative tests on the "Box Set," the inclusion of the multi-scale attention module improved localization accuracy (measured by Intersection over Union, or IoU) by 23.67%.
Discussion and Conclusion
The core strength of CXR-IRNet lies in its use of anatomical domain knowledge as an inductive bias. By hard-coding the constraint that pathologies reside within lung and heart boundaries, the model avoids learning spurious correlations from the background. The "weighting" approach proved more effective than standard feature fusion, ensuring that local signals are not diluted.
While the model is dependent on the accuracy of the initial segmentation, its performance gains highlight the value of region-specific focus in medical imaging. Future work may explore more granular region-wise detection to further refine the identification of visual cues unique to specific pathological zones.
Summary updated