Knowledge distillation with ensembles of convolutional neural networks for medical image segmentation

Julia M. H. Noothout, Matthijs C. van Eede, Nikolas Lessmann, Louis D. van Harten, Ecem Sogancioglu, Friso G. Heslinga, Mitko Veta, Bram van Ginneken, Ivana Isgum

Research output: Contribution to journalArticleAcademicpeer-review

Abstract

Purpose: Ensembles of convolutional neural networks (CNNs) often outperform a single CNN in medical image segmentation tasks, but inference is computationally more expensive and makes ensembles unattractive for some applications. We compared the performance of differently constructed ensembles with the performance of CNNs derived from these ensembles using knowledge distillation, a technique for reducing the footprint of large models such as ensembles. Approach: We investigated two different types of ensembles, namely, diverse ensembles of networks with three different architectures and two different loss-functions, and uniform ensembles of networks with the same architecture but initialized with different random seeds. For each ensemble, additionally, a single student network was trained to mimic the class probabilities predicted by the teacher model, the ensemble. We evaluated the performance of each network, the ensembles, and the corresponding distilled networks across three different publicly available datasets. These included chest computed tomography scans with four annotated organs of interest, brain magnetic resonance imaging (MRI) with six annotated brain structures, and cardiac cine-MRI with three annotated heart structures. Results: Both uniform and diverse ensembles obtained better results than any of the individual networks in the ensemble. Furthermore, applying knowledge distillation resulted in a single network that was smaller and faster without compromising performance compared with the ensemble it learned from. The distilled networks significantly outperformed the same network trained with reference segmentation instead of knowledge distillation. Conclusion: Knowledge distillation can compress segmentation ensembles of uniform or diverse composition into a single CNN while maintaining the performance of the ensemble.
Original languageEnglish
Article number052407
JournalJournal of medical imaging (Bellingham, Wash.)
Volume9
Issue number5
DOIs
Publication statusPublished - 28 May 2022

Keywords

  • Ensemble learning
  • deep learning
  • knowledge distillation
  • segmentation

Cite this