cs.CVNov 20, 2026

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 · 

Abstract

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

Explore similar work

CardsList
  1. Leveraging Segmentation Representations for Efficient Classification: A Self-Configuring Framework Based on nnU-Net

    Nov 17, 2026Renjun Cai, Antonio Javier Gallego, Félix Fuentes-HurtadoMedical Image ClassificationTransfer Learning

  2. Detail Consistent Stage-Wise Distillation for Efficient 3D MRI Segmentation

    May 25, 2026Mengchen Fan, Baocheng Geng, Xi Xiao +5Image SegmentationMedical Image Segmentation

  3. LightMedSeg: Lightweight 3D Medical Image Segmentation with Learned Spatial Anchors

    Mar 7, 2026Kavyansh Tyagi, Vishwas Rathi, Puneet GoyalAnatomy-Guided Medical Image SegmentationMedical Image Segmentation