Abstract
Model pruning is a standard technique for compressing deep learning models for clinical deployment, yet its impact on non-uniform data distributions remains under-explored. This study investigates how pruning affects performance in the context of long-tailed, multi-label medical image classification. By analyzing ResNet50 models trained on chest X-ray datasets, we demonstrate that pruning disproportionately harms the detection of rare diseases and complex cases. Furthermore, we show that pruning acts as a diagnostic "stress test," identifying images with high label noise and diagnostic difficulty, which we term Pruning-Identified Exemplars (PIEs).
Introduction
Deep neural networks are notoriously overparameterized, containing significantly more weights than necessary for their primary tasks. Pruning—the systematic removal of redundant weights—is a popular strategy to facilitate the deployment of these models on hardware-constrained medical devices. However, most pruning research evaluates success using "top-line" metrics like overall accuracy on balanced, single-label datasets such as ImageNet.
Clinical reality presents a different challenge: medical datasets are typically long-tailed (where a few conditions are common and many are rare) and multi-label (where a single patient may present with multiple co-occurring conditions). This study addresses a critical safety gap: Does a pruned model maintain its performance on rare, life-threatening conditions, or does it sacrifice the "long tail" to preserve its average performance scores?
Methodology
The researchers evaluated ResNet50 models trained to classify thorax diseases using two large-scale chest X-ray (CXR) datasets. They applied global unstructured L1 pruning, a method where weights with the smallest magnitudes are zeroed out. To ensure statistical robustness, the study utilized a "population" approach, training 30 models with different random initializations across a range of sparsity levels from 0% to 95%.
Two novel analytical tools were introduced to track model degradation:
- Forgettability Curves: These metrics track the relative change in Average Precision (AP) for specific diseases as model sparsity increases.
- Pruning-Identified Exemplars (PIEs): These are specific images where the predictions of the uncompressed model and the heavily pruned model diverge significantly.
To validate the clinical relevance of these findings, six board-certified radiologists participated in a reader study to assess whether the images "forgotten" by the models (PIEs) shared specific clinical or technical characteristics.
Data and Distribution
The study utilized "Long-Tailed" (LT) versions of two standard benchmarks: NIH-CXR-LT (112,120 images, 20 classes) and MIMIC-CXR-LT (257,018 images, 19 classes). The authors specifically augmented these datasets with five rare findings—such as Pneumoperitoneum and Tortuous Aorta—parsed from radiology reports. This ensured a realistic long-tailed distribution where class prevalence ranged from fewer than 100 instances to over 70,000.
Key Insights
The 60% Sparsity Threshold
The research identified a clear safety threshold: models could be pruned up to approximately 60% sparsity before experiencing a statistically significant drop in overall mean Average Precision (mAP). Beyond this point, performance declines sharply, particularly for specialized tasks.
The Vulnerability of Rare Diseases
There is a direct correlation between disease prevalence and its resilience to pruning. Rare diseases are "forgotten" much earlier in the compression process than common ones. Specifically, rare diseases often experience a 20% performance drop at much lower sparsity levels than their more frequent counterparts. The Spearman correlation between training class frequency and the first point of failure ranged from 0.61 to 0.93.
Multi-Label Co-occurrence Dynamics
In multi-label settings, diseases do not exist in isolation. The study found that if a rare disease frequently co-occurs with a common one (high Intersection over Union), its "forgetting trajectory" is often stabilized. Essentially, a rare disease may be "saved" from being forgotten if it is statistically linked to a common condition that the model is incentivized to remember.
Pruning as a Difficulty Filter
PIEs—the images the pruned model fails to classify correctly—are not random errors. The radiologist study revealed that PIEs were 3–15x more likely to contain the rarest disease classes. Furthermore, images with four or more simultaneous diseases appeared 3.2x more often in the PIE group. Radiologists noted that PIEs contained significantly more label noise, lower image quality, and higher diagnostic difficulty. Interestingly, radiologists fully agreed with ground-truth labels only 55% of the time for PIEs, compared to 57.5% for non-PIEs, suggesting that pruning naturally flags "borderline" or incorrectly labeled cases.
Conclusion and Future Work
While pruning is effective for model compression, it introduces a bias that disproportionately affects rare conditions and complex clinical cases. This suggests that "one-size-fits-all" pruning metrics are insufficient for medical AI safety.
However, the discovery of PIEs offers a silver lining: pruning can be repurposed as a tool for data cleaning. By identifying samples where pruned and unpruned models disagree, researchers can flag high-noise or high-difficulty images for expert review. Future research should explore whether other compression methods, such as quantization, exhibit similar biases and develop "pruning-aware" training algorithms designed to protect critical, low-frequency disease classes.
Summary updated