Automated Rib Fracture Detection on Chest X-Ray Using Contrastive Learning

Hongbiao Sun, Xiang Wang, Zheren Li, Aie Liu, Shaochun Xu, Qinling Jiang, Qingchu Li, Zhong Xue, Jing Gong, Lei Chen, Yi Xiao, Shiyuan LiuJ. Imaging Inform. Medicine 2023

Introduction

Rib fractures are a common consequence of severe chest trauma, appearing in approximately 40% of cases. While chest X-rays (CXR) are the primary diagnostic tool, they are notoriously difficult to interpret due to overlapping anatomical structures like the heart and lungs, leading to clinical miss rates as high as 50%. Developing automated detection systems is challenging because high-quality labeled medical datasets are scarce. This study proposes a framework that leverages self-supervised contrastive learning (SimCLR) and an anchor-free object detector (FCOS) to improve detection sensitivity by pretraining on large-scale, unlabeled domain-specific data.

Methods and Study Design

The researchers implemented a multi-stage pipeline designed to overcome data scarcity. The study utilized a massive dataset of 18,631 subjects across multiple centers to facilitate robust training and evaluation.

Study design flowchart showing the progression from pretraining on large unlabeled datasets to specific detection model training and evaluation.

1. Self-Supervised Pretraining (SimCLR)

Instead of relying on generic ImageNet weights (trained on everyday objects like cats or dogs), the authors used SimCLR to pretrain a ResNet50 backbone on thousands of unlabeled chest X-rays. This contrastive learning approach teaches the model to recognize invariant features of medical images by comparing different augmentations of the same image, effectively learning the "language" of X-rays without manual labels.

2. Object Detection (FCOS)

The pretrained backbone was integrated into a Fully Convolutional One-Stage (FCOS) detector. Unlike traditional anchor-based models that use pre-defined boxes, FCOS predicts fractures on a per-pixel basis. This anchor-free approach offers greater flexibility for the irregular and varying shapes of rib fractures.

3. Dataset and Ground Truth

The model was trained on 300 cases (Data-CZ) and validated against external datasets (Data-CH). To ensure accuracy, CT scans—the clinical "gold standard"—were used to verify the presence of fractures on the corresponding 2D X-rays, providing a highly reliable ground truth for the training process.

Results and Key Insights

The study demonstrated that the source of pretraining data is a critical factor in model performance, with domain-specific data providing a significant advantage.

FROC curves comparing model performance across different pretraining strategies for both internal (CZ) and external (CH) datasets.

Domain Specificity

As shown in the performance curves, pretraining on domain-specific X-ray images (DR dataset) significantly outperformed standard ImageNet pretraining. On the internal test set (Data-CZ), the DR-pretrained model achieved a sensitivity of 0.822 at 5 false positives per scan, compared to 0.735 for ImageNet and 0.465 for no pretraining. This improvement was statistically significant ($P < 0.001$).

Clinical Impact

The model proved highly effective at identifying clinically urgent displaced fractures (87.3% sensitivity). Furthermore, the study found that radiologists' diagnostic sensitivity increased from 0.731 to 0.865 when using the AI as a decision-support tool. The system was particularly adept at catching subtle, nondisplaced fractures that are frequently missed by the human eye.

Challenges with Healing Fractures

The model faced difficulties with "old" or healing fractures (F3). These cases lack sharp fracture lines and are characterized by mature calluses that blend into the rib structure, suggesting that human expertise remains essential for interpreting complex, chronic cases.

Conclusion and Future Directions

This research highlights the power of self-supervised learning in medical imaging. By pretraining on unlabeled domain-specific data, the model achieved high sensitivity even with a relatively small labeled training set. Future work will focus on improving detection for subtle buckle and old fractures and conducting prospective clinical trials to evaluate the model's impact on patient outcomes in real-world emergency settings. Integrating 3D spatial context from CT scans into the 2D detection pipeline is also a promising avenue for further narrowing the gap between X-ray and CT diagnostic accuracy.

Summary updated

BibTeX
@article{sun2023automated,
  author = {Hongbiao Sun and Xiang Wang and Zheren Li and Aie Liu and Shaochun Xu and Qinling Jiang and Qingchu Li and Zhong Xue and Jing Gong and Lei Chen and Yi Xiao and Shiyuan Liu},
  title = {{Automated Rib Fracture Detection on Chest X-Ray Using Contrastive Learning}},
  journal = {J. Imaging Inform. Medicine},
  year = {2023},
  doi = {10.1007/s10278-023-00868-z},
}
Figure