Task-Performance Routing for Multi-Teacher Distillation in CT Medical Image Segmentation
Authors: Jiaye Yang, Yao Liu, Die Dai, Hanwen Zhang, Peiyuan Jiang, Qiao Liu, Yutong Xie, Peng Wang
Organizations: University of Electronic Science and Technology of China, Chengdu, 611731, China · Mohamed bin Zayed University of Artificial Intelligence, Abu Dhabi, UAE
Pre-trained models offer complementary strengths in CT organ segmentation, but their relative accuracy varies across organs and spatial regions. Multi-teacher knowledge distillation can combine these strengths in a single student, yet global or instance-level teacher weights overlook variation within a 3D volume. We propose Task-Performance Routing (TPR), which uses region-wise segmentation errors to determine teacher weights during training without learned routing parameters. In hard regions, TPR favors teachers with lower prediction errors; in easy regions, it uses uniform weights to combine their knowledge. A hierarchical spatial partition provides fine-grained routing in shallow encoder stages and coarse-grained routing in deep stages. Experiments on BTCV, MSD-Liver, and MSD-Pancreas with two teacher pairs and two backbone architectures show higher Dice scores than the individual teachers, adaptive ensembles, and evaluated multi-teacher distillation baselines. On MSD-Pancreas, TPR achieves Dice scores of 65.40% with SwinUNETR and 68.25% with U-Net, compared with 64.38% and 67.45% for the corresponding adaptive ensembles. Inference uses the student alone, with no routing or teacher overhead. Code is available at https://github.com/EdvinCecilia/TPR_MultiTeacher.
Figures & tables
Figure 1: Motivation on BTCV: Complementary performance of two teachers. (a) Input CT slice. (b–c) Encoder feature activation maps from SuPreM and VoCo reveal distinct spatial focus: SuPreM activates strongly around small tubular structures, whereas VoCo responds more broadly along large-organ boundaries. (d) Per-organ Dice scores confirm organ-wise complementarity: SuPreM (blue) excels at the esophagus and portal vein, whereas VoCo (orange) is stronger for the stomach and left adrenal gland.
Figure 2: Task-Performance Routing (TPR). Frozen teachers provide encoder features and predictions. During training, region-wise errors guide hierarchical teacher weighting for student distillation. At inference, only the student is used.
SwinUNETR-based
U-Net-based
(VoCo + SuPreM)
(SuPreM + CLIP)
Method
Metric
BTCV
Liver
Panc.
BTCV
Liver
Panc.
T1
Dice (%)
85.09
81.42
62.28
83.40
82.20
65.60
HD95
2.57
14.65
15.33
2.68
13.95
16.12
T2
Dice (%)
84.50
81.79
63.72
84.20
83.00
67.37
HD95
2.71
13.82
17.99
2.55
13.45
15.68
Table 1: Comparison of the TPR student with individual teachers and multi-teacher distillation baselines on three datasets. T1/T2 denote VoCo/SuPreM for SwinUNETR and SuPreM/CLIP-Driven for U-Net. We report Dice (%, higher is better) and HD95 (mm, lower is better). Best results are bold , second best underlined .
Variant
Mean Dice (%)
Teacher 1 (T1)
62.3
Teacher 2 (T2)
63.7
Baseline (uniform multi-teacher KD)
63.9
w/o global performance weighting
64.3
w/o spatial routing (hard/easy split)
64.8
w/o hierarchical granularity
65.1
Table 2: Component ablation on MSD-Pancreas (SwinUNETR-based setting).
Routing Strategy
Mean Dice (%)
All fine-grained ( 8×8×8 at all stages)
64.6
All coarse-grained ( 1×1×1 at all stages)
64.2
Uniform granularity ( 4×4×4 at all stages)
64.9
Hierarchical (ours)
65.4
Table 3: Routing granularity strategies on MSD-Pancreas.
Lalign
Llogits
Lbalance
Mean Dice (%)
✓
–
✓
64.52
–
✓
✓
64.78
✓
✓
–
65.11
✓
✓
✓
65.40
Table 4: Loss component ablation on MSD-Pancreas (SwinUNETR-based, 1200 epochs).
Figure 3: Qualitative comparison on BTCV. Columns show ground truth, SuPreM, VoCo, the TPR student, and the Student Advantage map. Red boxes highlight local details; green marks indicate regions where the student improves on both teachers. Teacher numbering follows this figure.
Accurate 3D medical segmentation is limited by anatomical variability and high computational costs. While knowledge distillation (KD) offers a route for model compression, conventional methods often fail to preserve complex structures and are overwhelmed by background noise. We propose Displacement-Preserving Relational Distillation (DPRD), which distills latent anatomical trajectories via vector based alignment to preserve the orientation and relative scale of the teacher's manifold, and prevents signal dilution by anchoring distillation in task-relevant structures. Integrated into nnU-Net, DPRD outperforms established baselines on ISLES 2022 and AMOS 2022 benchmarks. Notably, on the AMOS dataset, DPRD achieves a Dice score of 85.46%, edging out the high-capacity MedNeXt teacher while significantly reducing boundary errors. Despite utilizing only ~5% of the teacher's parameters and ~3% of its FLOPs, our approach maintains high structural consistency. This provides a robust, efficient solution for deploying high performance segmenters in resource-constrained clinical environments. Code: https://github.com/ClinicaAlpha/DPRD-3D-MedSeg
Zhicheng Ding, Xinyu Chu, Jung Im Choi +5
Bowling Green State University, Bowling Green, OH, USA · University of Alabama at Birmingham, Birmingham, AL, USA · The University of Findlay, Findlay, OH, USA +3
Deploying high-performing 3D medical image segmenters (e.g., nnU-Net) is often limited by memory footprint and inference latency. Compression is therefore necessary, but compact 3D encoders tend to lose fine structural cues (small lesions and sharp boundaries) as downsampling repeats across multi-resolution stages. We propose Detail Consistent Distillation (DCD), a stage-wise distillation framework that preserves structural detail across scales by aligning teacher-student features in a wavelet-decomposed representation. At each encoder stage, DCD distills directional detail components in the wavelet domain while leaving the coarse approximation comparatively unconstrained, avoiding over-regularization of global semantics. DCD is used only during training and introduces no inference-time overhead. Experiments on the BraTS 2024 and ISLES 2022 benchmarks demonstrate that our approach achieves superior performance in MRI segmentation using 3D multi-modal data. Code and implementation details for DCD are publicly available at https://github.com/ClinicaAlpha/DCD-3D-MedSeg.
Mengchen Fan, Baocheng Geng, Xi Xiao +5
University of Alabama at Birmingham, Birmingham, AL, USA · Friedrich-Alexander-Universität Erlangen-Nürnberg, Erlangen, Germany · UTHealth Houston, Houston, TX, USA
Multi-organ segmentation using deep learning requires large amounts of annotated patient data; however, institutions often lack sufficiently large and diverse annotated datasets. Privacy constraints further prevent institutions from sharing patient data to overcome this limitation. Moreover, due to the labor-intensive nature of annotation and the scarcity of diverse expertise, institutions typically have labels for only a small portion of their local data, leaving the larger unlabeled portion unused. In this work, we propose a flexible semi-supervised federated multi-task student-teacher framework that leverages federated learning (FL) to improve multi-organ segmentation using both labeled and unlabeled data across participating sites. At each communication round, the proposed framework initiates local training, where clients with labels for the same task form a federation to produce an aggregated teacher model. The resulting teachers generate task-specific features for all data at each client. Subsequently, all clients form a second federation to train a multi-task student model with a shared encoder and task-specific decoders that replicate the teacher-generated features across all segmentation tasks. The aggregated student model is then used to update the local teachers and initiate the next training round. Extensive experiments demonstrated the effectiveness of the proposed method compared with local and federated single-organ models, yielding an average performance gain of 13 percent across clients. The experiments also demonstrated the impact of multi-task learning and unlabeled data and the applicability of the framework in relaxing labeled-data requirements for client participation. The code is available at https://github.com/AshknMrd/FedMust.
Department of Circulation and Medical Imaging, Norwegian University of Science and Technology, Trondheim, Norway · Central Staff at St. Olavs Hospital, Trondheim University Hospital, Trondheim, Norway