A slice method cuts the memory needed to label a CT scan
Segment Everything, Materialize Nothing: Exact Streaming Inference for Many-Class 3D Segmentation · arXiv:2611.27630
In plain words
The paper introduces exact streaming inference, a way to run a 3D scan through segmentation models that label many structures without storing every class score for the whole scan. It works slice by slice, keeping a small ring of network features and finishing labels as each slice becomes ready.
On a specified 125-class whole-body CT, its inference buffers fell from 76 GB in standard inference to 1.3 GB. The label map matches the standard calculation in exact arithmetic, though computer rounding can cause differences.
The research
Whole-body labeling can be blocked by the memory needed to hold a score for every class across a 3D scan. A way to run many labels without that full-volume storage changes whether the label space has to be divided just to fit inference.
Exact streaming inference carries feature slices through 3D segmentation, cutting class-dependent memory while preserving the scanner-grid label map in exact arithmetic.
The authors trained one ResEnc U-Net per label set and compared it with the toolkits’ retrained specialist networks on the same test splits. Mean Dice similarity coefficient (DSC) measures overlap between predicted structures and reference labels; its mean gives classes equal weight across scored test scans.
One scoring rule also gives zero for predictions of absent structures. The single model led by 0.52 and 0.44 DSC points on that rule for TotalSegmentator and ENHANCE.
PET, and was near even on present structures. This supports that the split was not needed to match these specialists under the tested recipes.
Each reported model represents one training run, and the specialist architectures, compute, and schedules were not scaled to match the single model. Resource timings came from one machine; the consumer-hardware claim concerns inference, not training.
What the evidence shows
- The bottleneck is storage
Exact streaming inference is a method for running many-class 3D segmentation without storing class scores for an entire scan. On one head-to-toe CT scan, standard nnU-Net inference used 1.7 GB of RAM per class and ran out at 40 classes; streaming stayed below 3 GB across the tested class counts. That contrast links the memory barrier to how inference handles outputs on this scan.
- Features replace full-volume scores
On the specified median 125-class whole-body CT, carrying features instead of class scores cuts inference-buffer memory while preserving the standard scanner-grid label map in exact arithmetic.
This works because blending and linear resampling are weighted averages that can move before the fixed affine classification head; floating-point rounding can still cause differences.
- One model matches specialists
The authors compared one independently trained ResEnc U-Net per label set with the toolkits’ retrained specialist networks on test splits. Mean Dice similarity coefficient (DSC) measures how much a predicted structure overlaps its reference labels; the reported mean gives classes equal weight across scored test scans.
Under scoring that assigns zero to predictions of absent structures, the single model’s mean DSC was ahead by 0.52 points for TotalSegmentator and 0.44 for ENHANCE. PET.
This indicates that splitting was not needed to match these specialists under the tested training procedures.
- The scoring rule matters
The comparison changes with the scoring rule: using the same overlap measure but scoring only structures present in reference labels, the single model was ahead by 0.31 points for TotalSegmentator and behind by 0.06 for ENHANCE.
PET. Unlike the first rule, this present-structures rule ignores predictions of absent structures. The result supports a match to these specialists, not a universal best-model claim.
- The integrated tools use fewer resources
Across four ENHANCE. PET scans, the integrations were faster end to end and used less RAM than the released toolkits. This reflects the combined changes to one model per label space, streaming inference, and pipeline optimizations, so it does not isolate streaming’s effect.
Deep
- Original paper authors
- Fabian Isensee, Jakob Wasserthal, Lalith Kumar Shiyam Sundar, Maximilian Rokuss, Moritz Langenberg
- Submitted to arXiv
- License
- arXiv non-exclusive