← Latest papers
💻 computer science

Hidden Classifier Collapse in Medical Image Classification: The Impact of Structured Pruning, Data Scarcity, and Post-Pruning Optimization

This study reveals that structured pruning of medical image classifiers under data scarcity can induce hidden classifier collapse that evades conventional accuracy metrics, necessitating class-sensitive evaluation and tailored post-pruning optimization strategies to ensure reliable performance.

Original authors: Zulqarnain Ali, Isabel de la Torre Dıez, Park Changhyun, Anny Marıa Hernandez Cuello, Yanelis Manzano Nieves, M. Zeeshan Jhandir, Hafiz Muhammad Raza ur Rehman

Published 2026-11-25
📖 6 min read🧠 Deep dive

Original authors: Zulqarnain Ali, Isabel de la Torre Dıez, Park Changhyun, Anny Marıa Hernandez Cuello, Yanelis Manzano Nieves, M. Zeeshan Jhandir, Hafiz Muhammad Raza ur Rehman

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the world of medical imaging, computers are increasingly asked to look at pictures of lungs, skin, or blood cells and tell a doctor what they see. These systems, known as deep learning models, are powerful but often require massive amounts of computing power to run. To make them fast enough to use on portable devices or in busy clinics, engineers use a technique called structured pruning. Imagine a large, heavy backpack filled with tools; pruning is the process of removing some of those tools to make the pack lighter and easier to carry, while hoping the remaining tools are still enough to get the job done. In the context of artificial intelligence, this means removing entire sections of the computer's internal processing network to speed it up. However, medical data is notoriously difficult to work with because there are often very few images available for training, and the pictures are not always balanced—some diseases appear frequently while others are rare. The central question researchers face is whether this weight-saving process works safely when the computer has to learn from such a small and tricky set of examples.

A team of researchers set out to investigate a hidden danger that might occur when these compressed models are trained on scarce medical data. They discovered that while the computer might still produce a score that looks good on paper, the actual decision-making part of the system can silently fail. This phenomenon, which they call classifier collapse, happens when the model stops trying to distinguish between different diseases and simply predicts the same answer for every single image. It is a subtle failure because standard ways of measuring success, such as overall accuracy or the ability to rank correct answers higher than incorrect ones, can remain high even while the model has given up on making real distinctions. The researchers found that this collapse is not inevitable; it depends heavily on how the model is tuned after the pruning process. By adjusting specific settings related to how the model learns from small batches of data, they were able to prevent this failure in most cases, but they also learned that no single fix works for every type of medical image or every computer architecture.

The study focused on five different types of medical image datasets, ranging from chest X-rays showing pneumonia to images of skin lesions and blood cells. They took standard computer vision models and removed up to 95 percent of their internal components in a single step, leaving only a tiny fraction of the original structure. They then tested these stripped-down models under conditions of extreme data scarcity, training them on as little as one percent of the available images. The researchers compared two different approaches to fine-tuning these models after pruning. The first approach used a fixed, standard setting that did not change based on how little data was available. The second approach was adaptive, meaning it adjusted the learning process to match the small size of the training set. The results were stark: under the fixed approach, the models collapsed completely on three of the five datasets, predicting only one class for every test image. In contrast, the adaptive approach prevented this total failure on four of the five datasets and significantly reduced it on the fifth.

What makes this discovery particularly important is that the failure was invisible to the most common performance metrics. When the models collapsed, their overall accuracy and area under the curve scores remained deceptively high, giving a false sense of security. This happened because these metrics can be satisfied by a model that simply guesses the most common disease every time, or by a model that ranks probabilities correctly but fails to pick the right final label. The researchers found that only metrics which look closely at how well the model performs for each specific disease, such as balanced accuracy, could reveal that the system had stopped working properly. For example, on a dataset of skin images, the model did not collapse entirely but instead stopped recognizing the rarest types of skin conditions, effectively abandoning them while still performing well on the common ones. This partial failure would have gone unnoticed without a detailed, class-by-class check.

The investigation also explored why the adaptive approach worked better. The researchers tested whether the success came from changing the learning rate, increasing the number of times the model updated its knowledge, or adjusting how the model handled statistical averages during training. They found that each of these changes, when applied individually, helped reduce the collapse, suggesting that the problem arises from a combination of factors rather than a single cause. Specifically, they discovered that the way the model tracks statistical averages, known as running statistics, is critical. If these statistics are frozen and not updated during the final training phase, the model is likely to fail. However, if these statistics are allowed to adapt to the new, smaller data distribution, the model recovers its ability to distinguish between different conditions. While this pattern held clearly for pneumonia, blood, and organ datasets, the researchers noted that the results were less consistent and not fully explained for the skin and retina datasets, indicating that the adaptive schedule does not transfer uniformly across all data types or optimizer families.

Despite these successes, the researchers were careful to note that their findings are specific to the conditions they tested and do not guarantee a solution for all medical imaging tasks. They found no single computer architecture that was consistently better at resisting collapse than the others, and the method used to decide which parts of the model to remove did not show a clear advantage over random selection in their tests. Furthermore, the study was conducted on benchmark datasets rather than real-world clinical data, and the models were tested at a relatively low image resolution. The researchers emphasize that while their work highlights a critical vulnerability in compressed medical models, it also provides a roadmap for avoiding it. By using adaptive training protocols and checking for class-specific failures rather than relying on aggregate scores, developers can ensure that the lightweight models they deploy in the field remain reliable and safe for patient care. The work serves as a reminder that in the rush to make artificial intelligence faster and smaller, the subtle ways in which these systems can break must be understood and addressed before they are used to make life-or-death decisions.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →