Abstract
This paper presents a self-taught semi-supervised framework for anomaly detection in musculoskeletal radiographs. By leveraging contrastive pre-training to learn domain-specific features and a multi-modal hyper-sphere objective to model normal anatomy, the proposed method addresses the limitations of supervised learning and traditional autoencoders. Experimental results on the MURA dataset demonstrate a state-of-the-art AUC of 78.04% and superior performance in scenarios with limited labeled data.
Introduction
Deep learning in radiology typically requires vast amounts of expert-labeled data, which is both costly and time-consuming to acquire. Furthermore, standard supervised models often operate under a "closed-set" assumption, excelling at identifying specific trained anomalies but failing to generalize to rare or unseen pathologies. This study addresses these challenges by developing a semi-supervised Anomaly Detection (AD) system. The goal is to create a model that understands the variance of "normal" anatomy across different body parts and flags any deviation as a potential anomaly, regardless of whether that specific abnormality was seen during training.
Methodology
The authors propose a two-stage training pipeline designed to maximize the utility of both unlabeled and limited labeled data.
1. Self-Supervised Pre-training
Instead of using generic ImageNet weights, the model undergoes domain-specific pre-training using a contrastive learning pretext task. Utilizing the InfoNCE loss, the network learns to map augmented versions of the same image closer together in the feature space while separating different radiographic studies. This process creates a feature representation inherently tuned to the structural nuances of X-ray imagery.
2. Semi-Supervised Fine-tuning (MAD)
Following pre-training, the model is refined using a Multi-modal Anomaly Detection (MAD) objective. Recognizing that "normal" appearance varies significantly between anatomical regions (e.g., a finger vs. a shoulder), the model maps normal data into multiple "hyper-spheres" or clusters.
- Unlabeled data is penalized based on its distance from the nearest cluster center.
- Known abnormal samples are actively pushed away from these centers.
- Pruning is employed to automatically remove non-meaningful clusters, optimizing the number of modes representing the data distribution.
Experimental Setup
The framework was evaluated using the Stanford MURA (Musculoskeletal Radiograph) dataset, which contains approximately 40,000 images covering seven upper limb regions: elbow, finger, forearm, hand, humerus, shoulder, and wrist.
A custom preprocessing pipeline was implemented to isolate the relevant anatomy by extracting the X-ray carrier and generating body part segmentation masks. To simulate a realistic semi-supervised scenario, the data was split at the patient level, with the training set consisting of roughly 19,000 images (95% normal, 5% abnormal).
Results and Discussion
The proposed method achieved a state-of-the-art AUC of 78.04% on the MURA test set, outperforming the best semi-supervised baseline by nearly 3%.
Key Findings:
- Superiority over Autoencoders: Traditional unsupervised methods using Autoencoders (AEs) often fail because they may reconstruct anomalies too accurately, leading to missed detections. The contrastive approach provides a more robust foundation for distinguishing abnormalities.
- Efficiency and Convergence: The "self-taught" model converges rapidly. It reached a validation AUC of ~69% after just one epoch of fine-tuning, whereas AE-initialized models remained near random chance.
- Robustness: The performance advantage was maintained even when the ratio of known anomalies was reduced to as low as 2.5%, highlighting the model's effectiveness in data-scarce environments.
- Multi-modal Flexibility: By utilizing multiple hyper-spheres, the model avoids the bias of forcing diverse anatomical structures into a single definition of "normal," which is crucial for complex datasets like MURA.
Conclusion
This research demonstrates that a self-taught, multi-modal approach to anomaly detection can significantly improve screening efficiency for musculoskeletal X-rays. While the current model is task-agnostic, future work could focus on improving interpretability through heat maps and extending the framework to 3D imaging modalities such as CT or MRI.
Summary updated