Rethinking annotation granularity for overcoming deep shortcut learning: A retrospective study on chest radiographs

Luyang Luo, Hao Chen, Yongjie Xiao, Yanning Zhou, Xi Wang, Varut Vardhanabhuti, Mingxiang Wu, Pheng-Ann Heng

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:

  1. CheXNet: A standard classification model (DenseNet-121) trained using binary image-level labels (e.g., "fracture present: yes/no").
  2. 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 CheXDet architecture utilizes an EfficientNet backbone and BiFPN layers for precise lesion localization and classification.

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).
Overview of the dataset splits and external testing sets used to evaluate model generalization.

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

BibTeX
@misc{luo2021rethinking,
  author = {Luyang Luo and Hao Chen and Yongjie Xiao and Yanning Zhou and Xi Wang and Varut Vardhanabhuti and Mingxiang Wu and Pheng-Ann Heng},
  title = {{Rethinking annotation granularity for overcoming deep shortcut learning: A retrospective study on chest radiographs}},
  year = {2021},
  eprint = {2104.10553},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2104.10553},
}
Figure