Segment Everything, Materialize Nothing: Exact Streaming Inference for Many-Class 3D Segmentation
Authors: Fabian Isensee, Jakob Wasserthal, Lalith Kumar Shiyam Sundar, Maximilian Rokuss, Moritz Langenberg, Constantin Ulrich Harsy, Stefan Michael Happold, Klaus H. Maier-Hein
Organizations: Division of Medical Image Computing (MIC), German Cancer Research Center (DKFZ), Heidelberg, Germany · National Center for Tumor Diseases (NCT) Heidelberg, a partnership between the German Cancer Research Center (DKFZ) and Heidelberg University Hospital (UKHD), Heidelberg, Germany · Clinic of Radiology and Nuclear Medicine, University Hospital Basel, Basel, Switzerland · DIGITX Lab, Department of Radiology, LMU University Hospital, Munich, Germany · Faculty of Mathematics and Computer Science, Heidelberg University, Germany · Helmholtz Imaging, German Cancer Research Center (DKFZ), Heidelberg, Germany · School of Computation, Information and Technology, Technical University Munich, Munich, Germany · Pattern Analysis and Learning Group, Department of Radiation Oncology, Heidelberg University Hospital, Heidelberg, Germany · Medical Faculty, Heidelberg University, Germany
Whole-body segmentation tools such as TotalSegmentator and MOOSE split more than 100 classes across five or six networks. The reason is memory. Standard 3D inference, as implemented in nnU-Net and MONAI, holds a logit for every class and voxel, on the working grid and again on the scanner's grid. For a median whole-body CT at 125 classes, that is 76 GB. We show that this memory wall lies in what inference materializes, not in the task, and remove it without approximation. Every step after the network is local along one axis, so its outputs can be streamed through a ring one patch thick. The classification head commutes with blending and resampling, so the ring carries the network's features instead of the class logits. Memory thus no longer grows with classes times volume, and the label map on the scanner's grid stays exact. This holds for any model with a pointwise affine head, without retraining. Many-class models, previously impractical, become deployable. One model trained on all classes matches or slightly exceeds the toolkits' five or six specialists in segmentation quality and runs 5.8-15x faster end to end, with 3.2-7.6x less RAM and under 8 GB of VRAM. We provide the method as a drop-in for nnU-Net, TotalSegmentator and MOOSE. The code is part of nnU-Net (https://github.com/MIC-DKFZ/nnUNet), and unified models for both toolkits will be released.
Figures & tables
Figure 1: Many-class 3D segmentation does not need image-sized logits. Top: the standard (canonical) pipeline holds logits for every class over the whole volume (left). Every step after the network is local along one axis, so the logits can be streamed through a ring of slices (middle). The classification head commutes with blending, so the ring can hold features instead of logits (right). All three compute the same label map in exact arithmetic. Bottom: buffer size vs. the number of classes; only the feature ring stays flat. Sizes for a median ENHANCE.PET CT, at 125 classes.
Figure 2: Our pipeline computes the same label map as the canonical one, with 1.3 instead of 76 GB of buffers. Example: the median ENHANCE.PET CT of Fig. 1 , with C=125 and F=32 . Top row: canonical inference applies the affine head H per window; blending B (Gaussian-weighted averaging) and linear resampling R hold C logits per voxel on the working ( N ) and scanner ( M ) grids. Bottom row: ours blends F features in a ring (here r=193 ), applies H per completed slice, and uses two slices of logits for R , then argmax, fused. Dashed arrow: B commutes with H (Proposition 1). Stack depth denotes channels. Equivalence holds in exact arithmetic (Sec. 3.4 ).
TotalSegmentator labels (117 classes)
ENHANCE.PET labels (125 classes, MOOSE)
time
RAM
VRAM
slower than ours
time
RAM
VRAM
slower than ours
pipeline
(s)
(GB)
(GB)
plain
ResEnc
(s)
(GB)
(GB)
plain
ResEnc
5 / 6 plain U-Nets, the toolkit’s split
release
33–95
8.2–21
9.6–21
8.7–9.7 ×
6.3–8.8 ×
46–106
5.6–14
4.6–8.5
10–13 ×
8.6–9.6 ×
Ours
17–52
2.0–5.1
2.5–3.3
4.7–4.9 ×
3.1–4.8 ×
22–49
2.1–5.7
3.0–4.1
5.5–5.8 ×
4.1–5.1 ×
1 plain U-Net, all classes
Table 1: Exact streaming inference is faster and needs far less RAM than all other pipelines. With the toolkits’ five or six networks it is 1.8–2.3 × faster. One network for all classes, run with our inference, is 6.3–13 × faster than the releases. nnU-Net 2.8.1 and MONAI run out of RAM. Numbers show the prediction step only, from the preprocessed image to the label map on the scanner’s grid (for end to end, see Tab. 3 ). Four ENHANCE.PET test scans, one per site, same settings for every pipeline (Sec. 5 ); ranges over the scans, per scan in Suppl. Tab. S1. Plain U-Net: the specialists’ network. ResEnc U-Net: our model. Slower than ours: time relative to ours with the plain or the ResEnc U-Net, per scan. Toolkit pipeline: the toolkit’s own inference on one network for all classes. ‡ Out of RAM on one scan; ranges over the other three.
FP-penalized
present structures
DSC
Δ
DSC
Δ
TotalSegmentator labels (117 classes)
5 specialists
88.21
90.04
1 plain U-Net
88.28
+0.07
89.99
− 0.04
1 ResEnc U-Net
88.73
+0.52
90.35
+0.31 ∗
ENHANCE.PET labels (125 classes)
Table 2: One ResEnc U-Net per label space matches or slightly exceeds five or six specialists. Mean DSC over all classes on the test splits (n=109 / 337), all models exported exactly. Specialists: the toolkits’ five or six networks, retrained with their recipes on the same training splits. Plain U-Net: the specialists’ network used in our training recipe (Sec. 4 ). ResEnc U-Net: our model. FP-penalized: a class predicted in a scan that does not contain it scores 0; a class absent from both reference and prediction is not scored. Present structures: only classes present in the reference are scored. Δ : difference to the specialists; ∗ : its 95 % paired case-bootstrap interval excludes 0.
Figure 3: With our inference, time and memory barely change with the number of classes, while pipelines that hold the logits of all classes grow until they run out of RAM. Prediction step only, from the preprocessed image to the label map on the scanner’s grid, on a head-to-toe CT (ENHANCE.PET 0484), vs. the number of classes in one model. Every pipeline runs the same plain U-Net, and ours also runs our ResEnc U-Net. Dashed: the toolkits’ five or six networks. Gray band: the 117 and 125 classes of the two label spaces. Shaded in (a): more RAM than a 32 GB machine. One run per point.
Figure 4: Nearest-neighbor export produces jagged edges. It also lowers the DSC (Sec. 5.2 ). Left to right: reference labels, exact export and nearest-neighbor export of the same network output of our TotalSegmentator-label model (1.5 mm) on a BTCV CT with 0.59 mm pixels. Every boundary of the nearest-neighbor export lies on the 1.5 mm working grid.
GPU, one scan
folder
CPU
pipeline (networks)
time
RAM
VRAM
time
time
TotalSegmentator labels (117 classes)
2.18 (5)
69–162
13–32
9.6–21
77
510–1630
TS
ours
5.8–11
2.5–6.0
6.1–7.2
2.5
120–325
2.8.1
out of RAM
nnU-Net
ours
11–20
2.6–6.4
6.1–7.3
4.5
343–811
Table 3: End to end, our integrations make TotalSegmentator and MOOSE 5.8–15 × faster, with 3.2–7.6 × less RAM. They run one unified ResEnc U-Net (Sec. 5.3 ), larger than each of the five or six plain U-Nets it replaces, with our inference in an optimized pipeline (Suppl. S5). With the same model, nnU-Net 2.8.1 runs out of RAM, and nnU-Net with our inference takes 10–20 s. Time from launching the command to the label map on disk, with each tool’s shipped settings, in s; memory in GB. Ranges over the scans of Tab. 1 . Folder: time per scan for 14 ENHANCE.PET scans in one call. TotalSegmentator runs at its step 0.8, all others at 0.5.
ours , the 5 plain U-Nets of TotalSegmentator 2.18
16.5
2.2
2.5
25.5
2.9
2.7
29.3
2.0
3.1
52.0
5.1
3.3
Table S1 : Tab. 1 of the main paper per scan: prediction on one ENHANCE.PET test scan from each of its four sites (the site’s median size, field of view and slice thickness above). Time in s (median of three runs), peak RAM and peak VRAM in GB, every pipeline eager at step 0.5 (Sec. S1 ). Plain U-Net: nnU-Net’s plain convolutional U-Net, the network of each toolkit specialist, here for all classes. Ours with the toolkit’s plain U-Nets: each network through our inference, the label maps merged as in the toolkit. † The logit buffer does not fit in VRAM, and the pipeline restarts with it in RAM, here repeating every window. ∗ MONAI 1.6.1 with its automatic fallback (setup with Fig. S1 ): the logit buffer (24–67 GB) does not fit in VRAM, MONAI moves it to RAM, and then resampling the logits to the scanner’s grid (0371, 1046) or adding up the windows in RAM (1412, 1600) needs more; with MONAI’s defaults the buffer stays on the GPU and runs out of VRAM. Out of RAM: more than the 55 GB available to each run. Bold: the lowest value per label set.
ours , the 5 plain U-Nets of TotalSegmentator 2.18
6.8
2.3
2.5
11.6
2.1
2.7
9.9
2.0
3.1
22.6
5.3
3.3
ours , 1 plain U-Net
1.5
1.7
2.7
2.5
1.7
3.0
2.2
1.8
3.6
5.1
2.0
3.8
ours , 1 ResEnc U-Net
1.7
2.1
6.2
1.8
2.2
6.5
3.6
2.3
7.3
4.3
2.5
7.2
Table S2 : Tab. 1 at TotalSegmentator’s step 0.8, TotalSegmentator label set, same scans and protocol as Tab. S1 : time in s (median of three runs), peak RAM and VRAM in GB. On Leipzig and UC Davis ours is faster with the ResEnc U-Net than with the plain U-Net: at this step its 192 3 windows cover these scans with 48 and 58 % of the voxels of the plain U-Net’s 128 3 windows (Leipzig: 16 instead of 112 windows; at step 0.5, 54 and 250 windows take the same time).
Table S3 : Where the toolkits’ time goes: prediction of Tab. S1 split into the networks’ forward passes (column net.) and everything that handles the logits (column logits), in s, each the median of three runs. For the toolkits, each network’s logits are blended into a buffer with one channel per class, moved to the host and converted to a label map, which is then brought to the scanner’s grid; ours does all of this within its single pass.
pipeline stage
what holds the class dimension
nnU-Net 2.8.1, 117–125 classes
ours
sampling data
per-class foreground locations, one file per case
23 / 41 GB (TotalSegmentator / ENHANCE.PET, all cases)
nearest-neighbor label-map resampling: 0.4–0.6 s at any class count; similar DSC (11 specialist pairs, Table S14 )
loss
softmax, one-hot and soft-Dice terms at every deep-supervision scale
+77 ms and +6.3 GB per training step at 117 classes (vs. ours)
whole loss compiled into fused kernels; training step at 117 classes: 30 GB peak on a 48 GB GPU
CE backward
int32 indexing: batch ×C× voxels ≥231
illegal memory access from 3 samples per GPU at 192 3
chunked over the batch; inert below the limit
validation step
one-hot prediction of the patch, (B,C,patch)
out of a 48 GB GPU from 96 classes
C×C confusion matrix from the argmax (int64: 109 / 124 KB for TotalSegmentator / ENHANCE.PET)
final validation
C -channel probabilities per case at native resolution
killed for lack of RAM at 10–31 classes on native geometry
streaming predictor
Table S4 : Where the class count enters the cost of an nnU-Net pipeline at 117–125 classes, stage by stage (training measurements: 192 3 , batch 2, one L40S; inference: one RTX 4090 workstation). The network itself carries C only in its final 1×1×1 convolutions. Training memory and time are PyTorch’s peak allocation and the duration of the training step (250 iterations per epoch), as in Fig. S2 : ours takes 135 s per epoch at 24 classes and 178 s at 117. Whole epochs, with their 50 validation iterations, take 145 and 189 s, and nvidia-smi’s peak over an epoch is 32 GB at 117 classes. Inference row: prediction (Sec. S1 ) on the two scans of Fig. S1 , ours with the ResEnc U-Net; deployment row: end to end (Sec. S5 ).
Figure S1 : The class sweep on two scans: peak RAM, peak VRAM and time of prediction vs. the classes in one model, for the median-size scan (top) and the head-to-toe scan of Fig. 3 (bottom), one run per point. Lines as in Fig. 3, plus VISTA3D (its own model) and MONAI’s inference with the same plain U-Net. A line ends where the pipeline ran out of RAM; MONAI’s ends where its resampling of the logits runs out of VRAM. VISTA3D’s gaps are crashes, out of VRAM in its post-processing. Hollow: the logits were moved to RAM. In VRAM, nnU-Net’s default lies on the TotalSegmentator pipeline where both run (the same nnU-Net 2.8.1 sliding window on the GPU). On the head-to-toe scan, MONAI’s point at 10 classes covers VISTA3D’s (22 GB of VRAM). Ours with the ResEnc U-Net at all 125 classes: 2.2 / 2.5 GB of RAM, 6.4 / 6.9 GB of VRAM, 5.3 / 11.6 s (top / bottom).
AutoPET (0371)
Leipzig (1046)
Careggi (1412)
UC Davis (1600)
GPU: time (s) / RAM (GB) / VRAM (GB)
TotalSegmentator 2.18 (5 networks, step 0.8)
69.3 / 12.9 / 9.6
85.4 / 15.8 / 11.8
96.5 / 18.8 / 14.3
162 / 31.5 / 20.7
TotalSegmentator dev. branch (5, step 0.8)
21.1 / 8.1 / 9.8
27.4 / 9.0 / 12.1
26.6 / 9.8 / 14.6
51.9 / 18.6 / 21.0
TotalSegmentator with ours (1, step 0.8)
5.8 / 2.7 / 6.1
5.8 / 3.0 / 6.5
7.7 / 2.5 / 7.2
11.3 / 6.0 / 7.1
TotalSegmentator with ours, its 5 released (step 0.8)
12.6 / 4.2 / 2.9
17.4 / 4.3 / 3.2
15.3 / 4.5 / 3.5
34.2 / 9.2 / 4.5
MOOSE 3.2.2 (6, step 0.5)
67.4 / 13.0 / 6.8
73.9 / 16.0 / 8.2
69.8 / 11.6 / 4.5
115 / 25.1 / 8.5
Table S5 : The toolkits end to end, per scan (Tab. 3 of the main paper; ranges there). GPU: median time of three runs, largest peak memory. CPU: one run per scan; § from an earlier run with the same code and machine.
networks
start-up,
reading,
forward
logits to
pipeline
(windows)
loading
preprocessing
passes
label map, writing
other
total
TotalSegmentator labels (117 classes), step 0.8
release 2.18
5 (315–1040)
5.0–5.2
17–37
7.0–21
40–96
0.6–2.2
69–162
dev. branch (Oct. 2026)
5 (315–1040)
5.1–5.3
1.0–4.4
6.9–21
4.2–11
3.6–9.9 ‡
21–52
with ours
1 (16–36)
3.3–3.5
0.1–2.3 †
1.6–3.4
0.7–2.1
–
5.8–11
ENHANCE.PET labels (125 classes, MOOSE), step 0.5
Table S6 : Where the end-to-end time goes (GPU, one scan): the times of Table S5 split into parts, in s, ranges over the four scans, each part the median of three runs (the parts add up to the total within 1.1 s). A toolkit and our integration of it run at the same step size. Start-up and loading: interpreter, imports, CUDA context, model loading and exit; ours also warms up the GPU here. Forward passes: GPU time of the networks’ forward passes; networks and windows per scan in parentheses. Logits to label map: everything in the network phase besides the forward passes (blending into the logit buffer; ours: its fused conversion), each network’s conversion to a label map, and everything after the last network (nearest-neighbor upsampling, merging, undoing cropping and reorientation). Unlike in Tab. 1 of the main paper, this includes the transfer of the logits to export processes (2.18, MOOSE 3.2.2) and writing; the toolkits write inside these steps, so writing is not separated (ours writes in at most 0.6 s). Other: time between the networks that the measurement does not attribute (ours runs one network). † Read and preprocessed in a background thread while the model loads (reading alone takes 0.3–3.1 s); given is the main thread’s time before its pass besides loading (on UC Davis, it waits for that thread). ‡ Between its networks, the development branch also moves each network’s logits to the host and takes their argmax.
Figure S2 : Training cost vs. the class count, training step only: peak VRAM (a) and time per epoch of 250 iterations (b), short trainings on one L40S at 192 3 , batch 2, TotalSegmentator labels merged into N classes. At 117 classes ours needs 30 GB and 178 s, nnU-Net 2.8.1 36 GB and 200 s, so ours is 12 % faster.
TotalSegmentator (117 classes)
ENHANCE.PET (125)
network
patch size
schedule
FP-pen.
present
FP-pen.
present
plain U-Net
toolkit’s
toolkit’s
85.14
87.83
84.76
88.80
plain U-Net
toolkit’s
PGPS 5400
86.34
88.58
86.53
89.27
plain U-Net
192 3
PGPS 5400
87.36
89.45
87.59
90.03
ResEnc U-Net
192 3
toolkit’s
86.59
89.61
87.86
90.15
ResEnc U-Net
128 3
PGPS 5400
87.13
89.11
87.51
89.83
Table S7 : From the toolkits’ setting to our recipe. 5-fold CV inside each training split (as Table S8 ), mean DSC over all classes, FP-penalized and on present structures; one training run per arm and fold. Every model covers all classes of its label space. Toolkit’s patch size: 128 3 (TotalSegmentator), 224 × 96 × 96 (MOOSE on ENHANCE.PET); toolkit’s schedule: 1000 (TotalSegmentator) and 2000 (MOOSE) dense epochs. Shaded: our recipe, used for all our models.
Figure S3 : Many-class models need long schedules; progressive growing of patch size makes them affordable. 5-fold CV inside each training split, FP-penalized DSC, dense schedules (gray) vs. progressive growing of patch size (PGPS, blue) along their epoch ladders, against training compute (one unit = a dense 1000-epoch run, from per-stage cost probes on one L40S).
TotalSegmentator (117 classes)
ENHANCE.PET (125)
arm
compute
FP-pen.
present
FP-pen.
present
dense 1000
1.00
86.59
89.61
87.36
90.08
dense 2000
2.00
87.43
89.87
87.86
90.15
dense 5000
5.00
87.65
89.89
88.25 †
90.29
PGPS 1000
0.30
86.48
89.20
86.94
89.79
PGPS 2700
0.82
87.53
89.70
88.04
90.23
Table S8 : The CV ladder. 5-fold CV inside each training split, mean DSC over all classes, FP-penalized and on present structures; one training run per arm and fold. Compute in units of a dense 1000-epoch run of the same configuration (cost probes on one L40S). † : within the selection tolerance of the best FP-penalized arm (text); shaded: the selected schedule, used for all our models.
10 classes
25 classes
125 classes
time
RAM
VRAM
time
RAM
VRAM
time
RAM
VRAM
(a) Canonical vs. streaming : prediction, eager; the same plain U-Net in both
nnU-Net 2.8.1 default (canonical)
68.2
23.3
9.7
185.6
49.2
20.1
out of RAM ‡
ours , as shipped †
7.8
2.1
2.9
8.1
2.1
3.6
8.5
2.0
4.1
(b) Head behind blending, per finished slice : prediction as in (a), compiled; our ResEnc U-Net
ours, logit ring (one channel per class)
8.2
2.4
5.2
8.4
2.4
5.8
10.1
2.4
10.9
Table S9 : What each step of our inference buys , on the head-to-toe scan of Fig. 3 of the main paper (ENHANCE.PET 0484) at 10, 25 and 125 classes (classification head sliced, as in the class sweep there): time in s, peak RAM and VRAM in GB; step 0.5, no test-time augmentation, one run per point. (a) Prediction as in Fig. 3 and Tab. 1 of the main paper (Sec. S1 ): nnU-Net’s default as released, which resamples the logits on the CPU, and ours, both on the same plain U-Net. (b) Our predictor on our ResEnc U-Net with the logit ring forced and as shipped, timed as in (a) but with the network compiled (compilation outside the timed window). The two blocks differ in network and compilation; compare rows within a block only. † As shipped, the ring holds the 32 features, or the logits where these need no more channels (10 and 25 classes); there the two rows of (b) run the same configuration. ‡ Out of RAM (55 GB) already at 40 classes; larger counts were not run.
BTCV
AMOS
TotalSegmentator-label model
ENHANCE.PET-label model
TotalSegmentator-label
ENHANCE.PET-label
class
exact
NN
step 0.8
exact
NN
step 0.8
exact
NN
exact
NN
spleen
95.9
− 0.75
0.00
93.5
− 0.33
+0.03
95.3
− 0.37
93.6
− 0.27
right kidney
92.0
− 0.81
0.00
91.6
− 0.40
+0.01
95.1
− 0.64
93.2
− 0.51
left kidney
93.7
− 0.79
0.00
93.1
− 0.36
− 0.02
94.5
− 0.64
93.0
− 0.50
gallbladder
71.4
− 0.45
+0.15
69.8
+0.01
+0.09
80.6
− 0.56
77.7
− 0.37
Table S10 : Nearest-neighbor vs. exact export per class, DSC in points, FP-penalized, mean over scans; BTCV 30 scans, AMOS 255 CTs. exact: our export at step 0.5. NN: nearest neighbor − exact, the same network output. step 0.8: exact at step 0.8 − exact at step 0.5. –: class not in the model’s label space or not in the dataset. A scan without the structure scores 0 if the model predicts it (BTCV gallbladder: two scans; AMOS: 8 and 13 (scan, class) pairs). Bottom rows: macro DSC as in Sec. 5.2 of the main paper (mean over scans of each scan’s mean over classes); TotalSegmentator 2.18’s zoom − exact; foreground voxels whose label differs between nearest neighbor and exact.
tolerance 1 mm
tolerance 0.7 mm
NN, pixel
NN, pixel
exact
NN
zoom
< 0.7
≥ 0.7
exact
NN
zoom
< 0.7
≥ 0.7
BTCV, TotalSegmentator-label model
79.1
− 1.08 ∗
− 1.88 ∗
− 2.23
− 0.85
63.8
− 3.00 ∗
− 3.84 ∗
− 1.20
− 3.36
BTCV, ENHANCE.PET-label model
78.0
+0.04
− 0.17
− 0.86
+0.22
63.1
− 1.71 ∗
− 1.94 ∗
+0.23
− 2.09
AMOS, TotalSegmentator-label model
75.4
− 0.88 ∗
− 1.79 ∗
− 1.24
− 0.31
67.0
− 1.49 ∗
− 2.42 ∗
− 0.49
− 3.05
AMOS, ENHANCE.PET-label model
76.3
− 0.57 ∗
− 0.54 ∗
− 0.91
− 0.03
68.1
− 1.14 ∗
− 1.05 ∗
− 0.15
− 2.66
Table S11 : Normalized surface Dice (NSD) of the exact export and its change, in points, FP-penalized, mean over scans; BTCV 30 scans, AMOS 255 CTs. exact: our export. NN: nearest neighbor − exact; zoom: TotalSegmentator 2.18’s zoom − exact; ∗ : the 95 % paired case-bootstrap interval excludes 0. NN, pixel: NN − exact on the scans with an in-plane pixel spacing below 0.7 mm and of at least 0.7 mm (BTCV 5 and 25 scans, AMOS 155 and 100).
FP-penalized
present structures
NSD
Δ
NSD
Δ
TotalSegmentator labels (117 classes)
5 specialists
93.51
95.53
1 plain U-Net
93.81
+0.29
95.68
+0.15
1 ResEnc U-Net
94.22
+0.71
95.97
+0.44 ∗
ENHANCE.PET labels (125 classes)
Table S12 : One model vs. the composed specialists in normalized surface Dice (NSD at 3 mm), Tab. 2 of the main paper with NSD in place of DSC: the same predictions, test splits (109 / 337 scans), classes (117 / 125) and rules, mean over all classes. Δ : difference to the specialists; ∗ : its 95 % paired case-bootstrap interval excludes 0.
FP-penalized
present structures
dataset
specialist
classes
share
Δ
ahead
behind
Δ
ahead
behind
TotalSegmentator
organs
24
0.01
+1.90
4
0
+0.25
2
0
vertebrae
26
0.02
− 0.45
0
3
− 0.16
0
1
cardiac
18
0.03
− 0.31
2
1
+0.68
4
0
muscles
23
0.00
+1.22
2
5
− 0.09
0
5
ribs
26
0.05
+0.16
7
0
+0.93
10
0
Table S13 : One model vs. the composed specialists, per class, summarized by specialist (test splits of Tab. 2 of the main paper; one training run per arm). specialist: the class set of one specialist network, named as in the toolkits (“cardiac” includes the large vessels; TotalSegmentator’s “muscles” also the large bones and the brain). share: median over the classes of the share of a class’s reference boundary that touches a class of another specialist. Δ : mean over the classes of one model − specialists, DSC points; row “all” is the Δ of Tab. 2. ahead / behind: classes whose 95 % paired case-bootstrap interval of Δ lies above / below 0; about 5 % of the classes would fall outside by chance alone.
specialist (classes)
Δ FP-pen.
Δ present
Δ detected
absent-structure predictions
stock
order 0
TotalSegmentator, 109 test scans, 1000 epochs
organs (24)
− 0.43
− 0.02
− 0.40
76
85
vertebrae (26)
0.00
+0.12
+0.07
20
22
cardiac (18)
− 0.86
+1.29
+0.50
13
42
muscles (23)
− 0.05
− 0.02
− 0.03
25
26
Table S14 : Order-0 label augmentation, paired trainings. Each specialist network trained twice, with nnU-Net 2.8.1’s label resampling (stock) and with nearest neighbor (order 0), one run each; Δ = order 0 − stock in DSC points on the test split, FP-penalized, on present structures, and on the (scan, structure) pairs the model detects. Absent-structure predictions: (scan, structure) pairs predicted although the reference does not contain the structure. Composed: the specialists merged as the toolkits merge them, with 95 % paired case-bootstrap intervals.
We propose a self-configuring framework that extends the nnU-Net workflow to both segmentation and classification in 3D medical imaging. Building on nnU-Net's self-configuring method, the framework reuses representations learned by a segmentation model for image-level classification. Its encoder features and predicted segmentation probabilities are used by a lightweight classifier. Two information-sharing strategies are investigated. In the frozen-backbone branch, features are augmented with region-of-interest information, predicted foreground volume, and segmentation confidence. In the adaptation branch, the final encoder stage is partially fine-tuned for classification, with an auxiliary segmentation loss to preserve segmentation-related information. Additional five-fold experiments showed that more complex configurations did not consistently improve classification performance. On the public validation leaderboard, our selected framework achieved an Overall score of 0.8056. In the official FLARE 2026 Task 2 final evaluation, our framework ranked first overall, achieving the highest DSC, NSD, and AUROC across all four testing tasks, including two hidden testing tasks. Local inference measurements also remained below the challenge limits of 60s per case and 4GB GPU memory. These results demonstrate the practical value of reusing segmentation representations for classification while maintaining a simple and efficient framework.
Renjun Cai, Antonio Javier Gallego, Félix Fuentes-Hurtado
Au Reikura School of Computing and Mathematical Sciences, University of Waikato, New Zealand · University Institute for Computing Research, University of Alicante, Spain
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
Accurate and efficient 3D medical image segmentation is essential for clinical AI, where models must remain reliable under stringent memory, latency, and data availability constraints. Transformer-based methods achieve strong accuracy but suffer from excessive parameters, high FLOPs, and limited generalization. We propose LightMedSeg, a modular UNet-style segmentation architecture that integrates anatomical priors with adaptive context modeling. Anchor-conditioned FiLM modulation enables anatomy-aware feature calibration, while a local structural prior module and texture-aware routing dynamically allocate representational capacity to boundary-rich regions. Computational redundancy is minimized through ghost and depthwise convolutions, and multi-scale features are adaptively fused via a learned skip router with anchor-relative spatial position bias. Despite requiring only 0.48M parameters and 14.64~GFLOPs, LightMedSeg achieves segmentation accuracy within a few Dice points of heavy transformer baselines. Therefore, LightMedSeg is a deployable and data-efficient solution for 3D medical image segmentation. Code will be released publicly upon acceptance.
Kavyansh Tyagi, Vishwas Rathi, Puneet Goyal
National Institute of Technology Kurukshetra, India · Indian Institute of Technology Ropar, India