NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient Medical Image Segmentation Based on Knowledge Distillation

Dian Qin, Jiajun Bu, Zhe Liu, Xin Shen, Sheng Zhou, Jingjun Gu, Zhijua Wang, Lei Wu, Huifen Dai · DOI

Abstract

Precision is paramount in medical imaging, yet the most accurate segmentation models are often too computationally heavy for real-time clinical deployment. This paper presents an Efficient Medical Knowledge Distillation (EMKD) framework designed to bridge the gap between lightweight "mobile-grade" networks and massive state-of-the-art models. By leveraging Region Affinity Distillation (RAD), the framework forces student models to learn the relative differences between semantic regions rather than just pixel-wise labels. Results on the LiTS17 and KiTS19 datasets demonstrate performance improvements of up to 32.6%, with student models remaining 21 times smaller than their teachers.

Introduction

The field of medical image segmentation has seen significant progress through the development of complex architectures like RA-UNet and UNet++. While these models excel at identifying organs and tumors in CT scans, their high parameter counts and computational requirements necessitate high-end GPUs, limiting their use in portable medical devices. Conversely, lightweight models like ENet or MobileNetV2 often fail to capture the subtle contexts and irregular boundaries of small tumors. The challenge lies in imbuing these efficient models with the "wisdom" of larger architectures without sacrificing their speed and portability.

Methodology: The EMKD Framework

The proposed Efficient Medical Knowledge Distillation (EMKD) framework utilizes a pre-trained "teacher" network to guide a smaller "student" network through three specialized distillation modules:

  1. Prediction Map Distillation (PMD): The student is trained to match the final output probability maps of the teacher, ensuring the overall segmentation logic is consistent.
  2. Importance Maps Distillation (IMD): High-dimensional intermediate features are condensed into 2D spatial attention maps. This forces the student to focus its computational resources on the same "important" regions identified by the teacher.
  3. Region Affinity Distillation (RAD): This core innovation addresses the ambiguity of tissue boundaries. Instead of rigid pixel-wise matching, RAD calculates the contrast between different semantic regions (e.g., tumor vs. healthy tissue). The student learns the relative feature-space differences perceived by the teacher, which is more robust to noise and boundary blur.

Experimental Results

The EMKD framework was validated using two gold-standard public CT datasets: the Liver Tumor Segmentation Challenge (LiTS17) and the Kidney Tumor Segmentation Challenge (KiTS19).

Quantitative Performance

The distillation process yielded massive accuracy gains. For kidney tumor segmentation, an ENet student improved its Dice score from 0.521 to 0.676—a relative improvement of 32.6%. Furthermore, the distilled models effectively closed the gap with their teachers; for instance, an ENet student distilled from RA-UNet achieved a 0.652 Dice score on liver tumors, nearing the teacher's 0.685.

Efficiency and Convergence

Beyond accuracy, the distilled models are approximately 21 times smaller in terms of parameters and significantly faster in FLOPs. Additionally, the distillation process accelerated convergence, allowing student networks to reach high Dice scores in fewer training epochs compared to training from scratch.

Key Insights and Qualitative Analysis

A critical observation is that moving beyond pixel-wise distillation allows the model to learn the underlying relationships between tissues. This "Region Affinity" approach helps the student understand that a tumor should appear distinct from the surrounding liver in feature space, even if the boundaries are visually subtle.

Qualitative comparison of segmentation results between the ground truth, a baseline student model, and the student model enhanced with knowledge distillation (EMKD).

As shown in the figure above, standard lightweight models often produce noisy fragments or miss small tumors entirely. The EMKD-enhanced student produces cleaner, anatomically sensible masks, effectively correcting the inherent limitations of the smaller architecture.

Discussion and Future Work

While highly effective, the current EMKD implementation is focused on 2D slices. Extending this framework to 3D volumes is a logical next step, though it presents challenges regarding memory and computational overhead. Future research may also explore "ensemble distillation," where a single student learns from multiple specialized teachers to further enhance its diagnostic capabilities.

Summary updated

BibTeX
@article{qin2021efficient,
  author = {Dian Qin and Jiajun Bu and Zhe Liu and Xin Shen and Sheng Zhou and Jingjun Gu and Zhijua Wang and Lei Wu and Huifen Dai},
  title = {{Efficient Medical Image Segmentation Based on Knowledge Distillation}},
  journal = {IEEE Trans. Medical Imaging},
  year = {2021},
  doi = {10.1109/tmi.2021.3098703},
}
Figure