Abstract
Deep learning models for medical imaging often achieve high accuracy by exploiting "shortcuts"—spurious correlations like hospital-specific watermarks—rather than identifying actual pathology. This study demonstrates that training models with fine-grained, lesion-level annotations (bounding boxes) effectively overcomes shortcut learning, leading to significantly better generalization across different hospitals and datasets compared to standard image-level labeling.
Introduction
In medical AI, "shortcut learning" occurs when a neural network identifies a spurious correlation in training data—such as a specific hospital's text tag or the presence of a chest tube—and uses it to predict disease. While these models perform well on internal testing, their performance often collapses when deployed to new clinical environments where these shortcuts are absent. This research investigates whether providing models with the exact location of a lesion (fine-grained annotation) can force them to learn relevant clinical features rather than irrelevant background noise.
Methods
The researchers compared two distinct deep learning architectures to evaluate the impact of annotation granularity:
- CheXNet: A standard classification model (DenseNet-121) trained using binary image-level labels (e.g., "fracture present: yes/no").
- CheXDet: A two-stage object detection model utilizing an EfficientNet backbone with a Bidirectional Feature Pyramid Network (BiFPN), trained using lesion-level bounding boxes.
The study evaluated both models on nine chest abnormalities, using Grad-CAM heatmaps to visualize the decision-making process of the classification-only model.
Datasets
The study utilized a massive multicenter collection of data to test internal performance and external generalization:
- DS1 (Internal): 34,501 chest radiographs manually annotated with both image-level labels and bounding boxes.
- CheXpert: 179,919 images used as additional image-level training data.
- External Test Sets: NIH-Google (4,376 images), PadChest (24,536 images), and NIH ChestX-ray14 (880 images with bounding boxes).
Key Insights
- The Illusion of Performance: High AUC scores on internal datasets can be deceptive. CheXNet achieved radiologist-level performance internally but often relied on "hospital tokens" (text markers) rather than lung pathology.
- Granularity as a Regularizer: Bounding boxes act as a powerful constraint, forcing the model to extract features from the actual pathology. This makes the model more robust to changes in image source or equipment.
- More Data is Not Always Better: Adding more image-level data (from CheXpert) actually degraded performance on several diseases, suggesting that biased data simply teaches the model more shortcuts.
- Localization as a Litmus Test: A model's ability to localize a lesion is a strong indicator of its trustworthiness. CheXDet’s superior localization performance directly correlated with its ability to generalize.
Results
CheXDet significantly outperformed CheXNet on external datasets. For example, on the NIH-Google dataset, CheXDet achieved an AUC of 0.67 for fractures, compared to 0.51 for CheXNet ($p < .001$). Furthermore, in localization metrics (JAFROC-FOM) for pneumothorax on the internal set, CheXDet achieved 0.87, while CheXNet managed only 0.13. While both models performed comparably to radiologists on internal data, CheXDet proved more reliable by focusing on the correct anatomical regions.
Conclusion and Limitations
While lesion-level annotation mitigates shortcut learning, it comes with an "annotation tax"—bounding boxes are significantly more labor-intensive to produce. Additionally, even with fine-grained labels, some performance drop occurs during external testing, suggesting that shortcuts are difficult to eliminate entirely. Future research should explore the application of these findings to rarer pathologies and the integration of localization models into complex clinical workflows.
Summary updated