Structured Model Pruning for Efficient Inference in Computational Pathology
Mohammed Adnan, Qinle Ba, Nazim Shaikh, Shivam Kalra, Satarupa Mukherjee, Auranuch Lorsakul
TL;DR
The paper addresses the challenge of deploying large AI models in digital and computational pathology by evaluating structured pruning to reduce inference cost with minimal performance loss. It develops a pruning framework tailored for U-Net style architectures and demonstrates it on nuclei instance segmentation and classification (HoverNet) and CRC tissue classification, achieving substantial compression and latency reductions without substantial accuracy degradation. Through a comparison of pruning heuristics (L1/L2, Network Slimmer, Iterative Magnitude Pruning) and strategies (one-shot vs iterative), and by carefully handling encoder-decoder skip connections, the study shows that significant speedups are achievable while preserving task performance. The findings support deploying pruned models at the edge in DP workflows, with potential extensions to quantization and Vision Transformers to further enhance efficiency in resource-constrained clinical settings.
Abstract
Recent years have seen significant efforts to adopt Artificial Intelligence (AI) in healthcare for various use cases, from computer-aided diagnosis to ICU triage. However, the size of AI models has been rapidly growing due to scaling laws and the success of foundational models, which poses an increasing challenge to leverage advanced models in practical applications. It is thus imperative to develop efficient models, especially for deploying AI solutions under resource-constrains or with time sensitivity. One potential solution is to perform model compression, a set of techniques that remove less important model components or reduce parameter precision, to reduce model computation demand. In this work, we demonstrate that model pruning, as a model compression technique, can effectively reduce inference cost for computational and digital pathology based analysis with a negligible loss of analysis performance. To this end, we develop a methodology for pruning the widely used U-Net-style architectures in biomedical imaging, with which we evaluate multiple pruning heuristics on nuclei instance segmentation and classification, and empirically demonstrate that pruning can compress models by at least 70% with a negligible drop in performance.
